1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1027 /* Runtime API implementation */
1029 /* Error manipulation */
1032 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1034 PyErr_SetObject(errtype
, obj
);
1036 SWIG_PYTHON_THREAD_END_BLOCK
;
1040 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1042 PyErr_SetString(errtype
, (char *) msg
);
1043 SWIG_PYTHON_THREAD_END_BLOCK
;
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1048 /* Set a constant value */
1051 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1052 PyDict_SetItemString(d
, (char*) name
, obj
);
1056 /* Append a value to the result obj */
1058 SWIGINTERN PyObject
*
1059 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1063 } else if (result
== Py_None
) {
1067 if (!PyList_Check(result
)) {
1068 PyObject
*o2
= result
;
1069 result
= PyList_New(1);
1070 PyList_SetItem(result
, 0, o2
);
1072 PyList_Append(result
,obj
);
1081 } else if (result
== Py_None
) {
1085 if (!PyTuple_Check(result
)) {
1087 result
= PyTuple_New(1);
1088 PyTuple_SET_ITEM(result
, 0, o2
);
1090 o3
= PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3
, 0, obj
);
1093 result
= PySequence_Concat(o2
, o3
);
1101 /* Unpack the argument tuple */
1104 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1110 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1111 name
, (min
== max
? "" : "at least "), min
);
1115 if (!PyTuple_Check(args
)) {
1116 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1119 register int l
= PyTuple_GET_SIZE(args
);
1121 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1122 name
, (min
== max
? "" : "at least "), min
, l
);
1124 } else if (l
> max
) {
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at most "), max
, l
);
1130 for (i
= 0; i
< l
; ++i
) {
1131 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1133 for (; l
< max
; ++l
) {
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1153 #define SWIG_STATIC_POINTER(var) var
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1187 # define Py_None SWIG_Py_None()
1189 SWIGRUNTIMEINLINE PyObject
*
1192 PyObject
*none
= Py_BuildValue("");
1196 SWIGRUNTIME PyObject
*
1199 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1204 /* The python void return value */
1206 SWIGRUNTIMEINLINE PyObject
*
1209 PyObject
*none
= Py_None
;
1214 /* PySwigClientData */
1225 SWIGRUNTIMEINLINE
int
1226 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1228 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1229 return data
? data
->implicitconv
: 0;
1232 SWIGRUNTIMEINLINE PyObject
*
1233 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1234 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1235 PyObject
*klass
= data
? data
->klass
: 0;
1236 return (klass
? klass
: PyExc_RuntimeError
);
1240 SWIGRUNTIME PySwigClientData
*
1241 PySwigClientData_New(PyObject
* obj
)
1246 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1247 /* the klass element */
1249 Py_INCREF(data
->klass
);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj
)) {
1253 data
->newargs
= obj
;
1256 #if (PY_VERSION_HEX < 0x02020000)
1259 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1262 Py_INCREF(data
->newraw
);
1263 data
->newargs
= PyTuple_New(1);
1264 PyTuple_SetItem(data
->newargs
, 0, obj
);
1266 data
->newargs
= obj
;
1268 Py_INCREF(data
->newargs
);
1270 /* the destroy method, aka as the C++ delete method */
1271 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1276 if (data
->destroy
) {
1278 Py_INCREF(data
->destroy
);
1279 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1281 data
->delargs
= !(flags
& (METH_O
));
1288 data
->implicitconv
= 0;
1294 PySwigClientData_Del(PySwigClientData
* data
)
1296 Py_XDECREF(data
->newraw
);
1297 Py_XDECREF(data
->newargs
);
1298 Py_XDECREF(data
->destroy
);
1301 /* =============== PySwigObject =====================*/
1311 SWIGRUNTIME PyObject
*
1312 PySwigObject_long(PySwigObject
*v
)
1314 return PyLong_FromVoidPtr(v
->ptr
);
1317 SWIGRUNTIME PyObject
*
1318 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1320 PyObject
*res
= NULL
;
1321 PyObject
*args
= PyTuple_New(1);
1323 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1324 PyObject
*ofmt
= PyString_FromString(fmt
);
1326 res
= PyString_Format(ofmt
,args
);
1335 SWIGRUNTIME PyObject
*
1336 PySwigObject_oct(PySwigObject
*v
)
1338 return PySwigObject_format("%o",v
);
1341 SWIGRUNTIME PyObject
*
1342 PySwigObject_hex(PySwigObject
*v
)
1344 return PySwigObject_format("%x",v
);
1347 SWIGRUNTIME PyObject
*
1349 PySwigObject_repr(PySwigObject
*v
)
1351 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1354 const char *name
= SWIG_TypePrettyName(v
->ty
);
1355 PyObject
*hex
= PySwigObject_hex(v
);
1356 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1360 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1362 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1364 PyString_ConcatAndDel(&repr
,nrep
);
1370 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1373 PyObject
*repr
= PySwigObject_repr(v
);
1375 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1378 fputs(PyString_AsString(repr
), fp
);
1386 SWIGRUNTIME PyObject
*
1387 PySwigObject_str(PySwigObject
*v
)
1389 char result
[SWIG_BUFFER_SIZE
];
1390 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1391 PyString_FromString(result
) : 0;
1395 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1399 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1402 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1404 SWIGRUNTIME PyTypeObject
*
1405 PySwigObject_type(void) {
1406 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1410 SWIGRUNTIMEINLINE
int
1411 PySwigObject_Check(PyObject
*op
) {
1412 return ((op
)->ob_type
== PySwigObject_type())
1413 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1416 SWIGRUNTIME PyObject
*
1417 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1420 PySwigObject_dealloc(PyObject
*v
)
1422 PySwigObject
*sobj
= (PySwigObject
*) v
;
1423 PyObject
*next
= sobj
->next
;
1425 swig_type_info
*ty
= sobj
->ty
;
1426 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1427 PyObject
*destroy
= data
? data
->destroy
: 0;
1429 /* destroy is always a VARARGS method */
1431 if (data
->delargs
) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1434 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1437 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1438 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1439 res
= ((*meth
)(mself
, v
));
1443 const char *name
= SWIG_TypePrettyName(ty
);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1453 SWIGRUNTIME PyObject
*
1454 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1456 PySwigObject
*sobj
= (PySwigObject
*) v
;
1459 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1462 if (!PySwigObject_Check(next
)) {
1467 return SWIG_Py_Void();
1470 SWIGRUNTIME PyObject
*
1472 PySwigObject_next(PyObject
* v
)
1474 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1477 PySwigObject
*sobj
= (PySwigObject
*) v
;
1479 Py_INCREF(sobj
->next
);
1482 return SWIG_Py_Void();
1486 SWIGINTERN PyObject
*
1488 PySwigObject_disown(PyObject
*v
)
1490 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1493 PySwigObject
*sobj
= (PySwigObject
*)v
;
1495 return SWIG_Py_Void();
1498 SWIGINTERN PyObject
*
1500 PySwigObject_acquire(PyObject
*v
)
1502 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1505 PySwigObject
*sobj
= (PySwigObject
*)v
;
1506 sobj
->own
= SWIG_POINTER_OWN
;
1507 return SWIG_Py_Void();
1510 SWIGINTERN PyObject
*
1511 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1517 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1524 PySwigObject
*sobj
= (PySwigObject
*)v
;
1525 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1528 if (PyObject_IsTrue(val
)) {
1529 PySwigObject_acquire(v
);
1531 PySwigObject_disown(v
);
1534 if (PyObject_IsTrue(val
)) {
1535 PySwigObject_acquire(v
,args
);
1537 PySwigObject_disown(v
,args
);
1547 swigobject_methods
[] = {
1548 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1558 swigobject_methods
[] = {
1559 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject
*
1571 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1573 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1577 SWIGRUNTIME PyTypeObject
*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1581 static PyNumberMethods PySwigObject_as_number
= {
1582 (binaryfunc
)0, /*nb_add*/
1583 (binaryfunc
)0, /*nb_subtract*/
1584 (binaryfunc
)0, /*nb_multiply*/
1585 (binaryfunc
)0, /*nb_divide*/
1586 (binaryfunc
)0, /*nb_remainder*/
1587 (binaryfunc
)0, /*nb_divmod*/
1588 (ternaryfunc
)0,/*nb_power*/
1589 (unaryfunc
)0, /*nb_negative*/
1590 (unaryfunc
)0, /*nb_positive*/
1591 (unaryfunc
)0, /*nb_absolute*/
1592 (inquiry
)0, /*nb_nonzero*/
1599 (coercion
)0, /*nb_coerce*/
1600 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1601 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1602 (unaryfunc
)0, /*nb_float*/
1603 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1604 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1612 static PyTypeObject pyswigobject_type
;
1613 static int type_init
= 0;
1615 const PyTypeObject tmp
1617 PyObject_HEAD_INIT(NULL
)
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject
), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1623 (printfunc
)PySwigObject_print
, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1627 (getattrfunc
)0, /* tp_getattr */
1629 (setattrfunc
)0, /* tp_setattr */
1630 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1631 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1632 &PySwigObject_as_number
, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc
)0, /* tp_hash */
1636 (ternaryfunc
)0, /* tp_call */
1637 (reprfunc
)PySwigObject_str
, /* tp_str */
1638 PyObject_GenericGetAttr
, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1642 swigobject_doc
, /* tp_doc */
1643 0, /* tp_traverse */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1649 0, /* tp_iternext */
1650 swigobject_methods
, /* tp_methods */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1669 #if PY_VERSION_HEX >= 0x02030000
1673 0,0,0,0 /* tp_alloc -> tp_next */
1676 pyswigobject_type
= tmp
;
1677 pyswigobject_type
.ob_type
= &PyType_Type
;
1680 return &pyswigobject_type
;
1683 SWIGRUNTIME PyObject
*
1684 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1686 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1693 return (PyObject
*)sobj
;
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1708 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1710 char result
[SWIG_BUFFER_SIZE
];
1711 fputs("<Swig Packed ", fp
);
1712 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1716 fputs(v
->ty
->name
,fp
);
1721 SWIGRUNTIME PyObject
*
1722 PySwigPacked_repr(PySwigPacked
*v
)
1724 char result
[SWIG_BUFFER_SIZE
];
1725 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1728 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1732 SWIGRUNTIME PyObject
*
1733 PySwigPacked_str(PySwigPacked
*v
)
1735 char result
[SWIG_BUFFER_SIZE
];
1736 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1737 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1739 return PyString_FromString(v
->ty
->name
);
1744 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1748 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1749 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1752 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1754 SWIGRUNTIME PyTypeObject
*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1760 SWIGRUNTIMEINLINE
int
1761 PySwigPacked_Check(PyObject
*op
) {
1762 return ((op
)->ob_type
== _PySwigPacked_type())
1763 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1767 PySwigPacked_dealloc(PyObject
*v
)
1769 if (PySwigPacked_Check(v
)) {
1770 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1776 SWIGRUNTIME PyTypeObject
*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type
;
1780 static int type_init
= 0;
1782 const PyTypeObject tmp
1784 PyObject_HEAD_INIT(NULL
)
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked
), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1790 (printfunc
)PySwigPacked_print
, /* tp_print */
1791 (getattrfunc
)0, /* tp_getattr */
1792 (setattrfunc
)0, /* tp_setattr */
1793 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1794 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc
)0, /* tp_hash */
1799 (ternaryfunc
)0, /* tp_call */
1800 (reprfunc
)PySwigPacked_str
, /* tp_str */
1801 PyObject_GenericGetAttr
, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1805 swigpacked_doc
, /* tp_doc */
1806 0, /* tp_traverse */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1812 0, /* tp_iternext */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1832 #if PY_VERSION_HEX >= 0x02030000
1836 0,0,0,0 /* tp_alloc -> tp_next */
1839 pyswigpacked_type
= tmp
;
1840 pyswigpacked_type
.ob_type
= &PyType_Type
;
1843 return &pyswigpacked_type
;
1846 SWIGRUNTIME PyObject
*
1847 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1849 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1851 void *pack
= malloc(size
);
1853 memcpy(pack
, ptr
, size
);
1858 PyObject_DEL((PyObject
*) sobj
);
1862 return (PyObject
*) sobj
;
1865 SWIGRUNTIME swig_type_info
*
1866 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1868 if (PySwigPacked_Check(obj
)) {
1869 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1870 if (sobj
->size
!= size
) return 0;
1871 memcpy(ptr
, sobj
->pack
, size
);
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1882 SWIGRUNTIMEINLINE PyObject
*
1885 return PyString_FromString("this");
1888 SWIGRUNTIME PyObject
*
1891 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1897 SWIGRUNTIME PySwigObject
*
1898 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1900 if (PySwigObject_Check(pyobj
)) {
1901 return (PySwigObject
*) pyobj
;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj
)) {
1906 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1908 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1909 if (dictptr
!= NULL
) {
1910 PyObject
*dict
= *dictptr
;
1911 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj
)) {
1915 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1916 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1919 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1923 if (PyErr_Occurred()) PyErr_Clear();
1929 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1933 if (PyErr_Occurred()) PyErr_Clear();
1937 if (obj
&& !PySwigObject_Check(obj
)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj
);
1942 return (PySwigObject
*)obj
;
1946 /* Acquire a pointer value */
1949 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1951 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1953 int oldown
= sobj
->own
;
1961 /* Convert a pointer value */
1964 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1965 if (!obj
) return SWIG_ERROR
;
1966 if (obj
== Py_None
) {
1970 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1972 void *vptr
= sobj
->ptr
;
1974 swig_type_info
*to
= sobj
->ty
;
1976 /* no type cast needed */
1977 if (ptr
) *ptr
= vptr
;
1980 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1982 sobj
= (PySwigObject
*)sobj
->next
;
1984 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1989 if (ptr
) *ptr
= vptr
;
1994 if (own
) *own
= sobj
->own
;
1995 if (flags
& SWIG_POINTER_DISOWN
) {
2000 int res
= SWIG_ERROR
;
2001 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2002 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2003 if (data
&& !data
->implicitconv
) {
2004 PyObject
*klass
= data
->klass
;
2007 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2009 data
->implicitconv
= 0;
2010 if (PyErr_Occurred()) {
2015 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2018 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2019 if (SWIG_IsOK(res
)) {
2022 /* transfer the ownership to 'ptr' */
2024 res
= SWIG_AddCast(res
);
2025 res
= SWIG_AddNewMask(res
);
2027 res
= SWIG_AddCast(res
);
2041 /* Convert a function ptr value */
2044 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2045 if (!PyCFunction_Check(obj
)) {
2046 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2050 /* here we get the method pointer for callbacks */
2051 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2052 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2054 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2055 if (!desc
) return SWIG_ERROR
;
2058 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2059 if (!tc
) return SWIG_ERROR
;
2060 *ptr
= SWIG_TypeCast(tc
,vptr
);
2068 /* Convert a packed value value */
2071 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2072 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2073 if (!to
) return SWIG_ERROR
;
2076 /* check type cast? */
2077 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2078 if (!tc
) return SWIG_ERROR
;
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2089 Create a new instance object, whitout calling __init__, and set the
2093 SWIGRUNTIME PyObject
*
2094 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2096 #if (PY_VERSION_HEX >= 0x02020000)
2098 PyObject
*newraw
= data
->newraw
;
2100 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2104 if (dictptr
!= NULL
) {
2105 PyObject
*dict
= *dictptr
;
2107 dict
= PyDict_New();
2109 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2113 PyObject
*key
= SWIG_This();
2114 PyObject_SetAttr(inst
, key
, swig_this
);
2118 PyObject
*dict
= PyDict_New();
2119 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2120 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2125 #if (PY_VERSION_HEX >= 0x02010000)
2127 PyObject
*dict
= PyDict_New();
2128 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2129 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2131 return (PyObject
*) inst
;
2133 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2137 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2138 Py_INCREF(inst
->in_class
);
2139 inst
->in_dict
= PyDict_New();
2140 if (inst
->in_dict
== NULL
) {
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst
->in_weakreflist
= NULL
;
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst
);
2150 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2151 return (PyObject
*) inst
;
2157 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2162 if (dictptr
!= NULL
) {
2165 dict
= PyDict_New();
2168 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2172 dict
= PyObject_GetAttrString(inst
, "__dict__");
2173 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2178 SWIGINTERN PyObject
*
2179 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2184 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2186 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2188 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2190 return SWIG_Py_Void();
2194 /* Create a new pointer object */
2196 SWIGRUNTIME PyObject
*
2197 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2199 return SWIG_Py_Void();
2201 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2202 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2203 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2204 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2205 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2215 /* Create a new packed object */
2217 SWIGRUNTIMEINLINE PyObject
*
2218 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2219 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2222 /* -----------------------------------------------------------------------------*
2224 * -----------------------------------------------------------------------------*/
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2230 SWIGRUNTIME swig_module_info
*
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer
= (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer
) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2238 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2240 if (PyErr_Occurred()) {
2242 type_pointer
= (void *)0;
2246 return (swig_module_info
*) type_pointer
;
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2253 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2256 if (!PyModule_Check(m
)) {
2257 PyErr_SetString(PyExc_TypeError
,
2258 "PyModule_AddObject() needs module as first arg");
2262 PyErr_SetString(PyExc_TypeError
,
2263 "PyModule_AddObject() needs non-NULL value");
2267 dict
= PyModule_GetDict(m
);
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2271 PyModule_GetName(m
));
2274 if (PyDict_SetItemString(dict
, name
, o
))
2282 SWIG_Python_DestroyModule(void *vptr
)
2284 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2285 swig_type_info
**types
= swig_module
->types
;
2287 for (i
=0; i
< swig_module
->size
; ++i
) {
2288 swig_type_info
*ty
= types
[i
];
2290 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2291 if (data
) PySwigClientData_Del(data
);
2294 Py_DECREF(SWIG_This());
2298 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2299 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2301 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2302 swig_empty_runtime_method_table
);
2303 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2304 if (pointer
&& module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2307 Py_XDECREF(pointer
);
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject
*
2313 SWIG_Python_TypeCache() {
2314 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2318 SWIGRUNTIME swig_type_info
*
2319 SWIG_Python_TypeQuery(const char *type
)
2321 PyObject
*cache
= SWIG_Python_TypeCache();
2322 PyObject
*key
= PyString_FromString(type
);
2323 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2324 swig_type_info
*descriptor
;
2326 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2328 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2329 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2331 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2332 PyDict_SetItem(cache
, key
, obj
);
2341 For backward compatibility only
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2348 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2350 if (PyErr_Occurred()) {
2352 PyObject
*value
= 0;
2353 PyObject
*traceback
= 0;
2354 PyErr_Fetch(&type
, &value
, &traceback
);
2356 PyObject
*old_str
= PyObject_Str(value
);
2360 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2362 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2373 SWIG_Python_ArgFail(int argnum
)
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2378 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2379 return SWIG_Python_AddErrMesg(mesg
, 1);
2385 SWIGRUNTIMEINLINE
const char *
2386 PySwigObject_GetDesc(PyObject
*self
)
2388 PySwigObject
*v
= (PySwigObject
*)self
;
2389 swig_type_info
*ty
= v
? v
->ty
: 0;
2390 return ty
? ty
->str
: (char*)"";
2394 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj
&& PySwigObject_Check(obj
)) {
2399 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2401 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2408 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2410 PyObject
*str
= PyObject_Str(obj
);
2411 const char *cstr
= str
? PyString_AsString(str
) : 0;
2413 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2416 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2423 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2425 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2432 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2434 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2436 if (flags
& SWIG_POINTER_EXCEPTION
) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2438 SWIG_Python_ArgFail(argnum
);
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2462 #define SWIGTYPE_p_buffer swig_types[0]
2463 #define SWIGTYPE_p_char swig_types[1]
2464 #define SWIGTYPE_p_form_ops_t swig_types[2]
2465 #define SWIGTYPE_p_int swig_types[3]
2466 #define SWIGTYPE_p_long swig_types[4]
2467 #define SWIGTYPE_p_unsigned_char swig_types[5]
2468 #define SWIGTYPE_p_unsigned_int swig_types[6]
2469 #define SWIGTYPE_p_unsigned_long swig_types[7]
2470 #define SWIGTYPE_p_wxANIHandler swig_types[8]
2471 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[9]
2472 #define SWIGTYPE_p_wxAcceleratorTable swig_types[10]
2473 #define SWIGTYPE_p_wxActivateEvent swig_types[11]
2474 #define SWIGTYPE_p_wxAppTraits swig_types[12]
2475 #define SWIGTYPE_p_wxArrayString swig_types[13]
2476 #define SWIGTYPE_p_wxBMPHandler swig_types[14]
2477 #define SWIGTYPE_p_wxBitmap swig_types[15]
2478 #define SWIGTYPE_p_wxBoxSizer swig_types[16]
2479 #define SWIGTYPE_p_wxButton swig_types[17]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[18]
2481 #define SWIGTYPE_p_wxCaret swig_types[19]
2482 #define SWIGTYPE_p_wxChildFocusEvent swig_types[20]
2483 #define SWIGTYPE_p_wxCloseEvent swig_types[21]
2484 #define SWIGTYPE_p_wxColour swig_types[22]
2485 #define SWIGTYPE_p_wxCommandEvent swig_types[23]
2486 #define SWIGTYPE_p_wxContextMenuEvent swig_types[24]
2487 #define SWIGTYPE_p_wxControl swig_types[25]
2488 #define SWIGTYPE_p_wxControlWithItems swig_types[26]
2489 #define SWIGTYPE_p_wxCursor swig_types[27]
2490 #define SWIGTYPE_p_wxDC swig_types[28]
2491 #define SWIGTYPE_p_wxDateEvent swig_types[29]
2492 #define SWIGTYPE_p_wxDateTime swig_types[30]
2493 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[31]
2494 #define SWIGTYPE_p_wxDropFilesEvent swig_types[32]
2495 #define SWIGTYPE_p_wxDuplexMode swig_types[33]
2496 #define SWIGTYPE_p_wxEraseEvent swig_types[34]
2497 #define SWIGTYPE_p_wxEvent swig_types[35]
2498 #define SWIGTYPE_p_wxEventLoop swig_types[36]
2499 #define SWIGTYPE_p_wxEventLoopActivator swig_types[37]
2500 #define SWIGTYPE_p_wxEvtHandler swig_types[38]
2501 #define SWIGTYPE_p_wxFSFile swig_types[39]
2502 #define SWIGTYPE_p_wxFileSystem swig_types[40]
2503 #define SWIGTYPE_p_wxFileSystemHandler swig_types[41]
2504 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2505 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2506 #define SWIGTYPE_p_wxFont swig_types[44]
2507 #define SWIGTYPE_p_wxFrame swig_types[45]
2508 #define SWIGTYPE_p_wxGBPosition swig_types[46]
2509 #define SWIGTYPE_p_wxGBSizerItem swig_types[47]
2510 #define SWIGTYPE_p_wxGBSpan swig_types[48]
2511 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2512 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2513 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2514 #define SWIGTYPE_p_wxICOHandler swig_types[52]
2515 #define SWIGTYPE_p_wxIconizeEvent swig_types[53]
2516 #define SWIGTYPE_p_wxIdleEvent swig_types[54]
2517 #define SWIGTYPE_p_wxImage swig_types[55]
2518 #define SWIGTYPE_p_wxImageHandler swig_types[56]
2519 #define SWIGTYPE_p_wxImageHistogram swig_types[57]
2520 #define SWIGTYPE_p_wxImage_HSVValue swig_types[58]
2521 #define SWIGTYPE_p_wxImage_RGBValue swig_types[59]
2522 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2523 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2524 #define SWIGTYPE_p_wxInputStream swig_types[62]
2525 #define SWIGTYPE_p_wxInternetFSHandler swig_types[63]
2526 #define SWIGTYPE_p_wxItemContainer swig_types[64]
2527 #define SWIGTYPE_p_wxJPEGHandler swig_types[65]
2528 #define SWIGTYPE_p_wxKeyEvent swig_types[66]
2529 #define SWIGTYPE_p_wxLayoutConstraints swig_types[67]
2530 #define SWIGTYPE_p_wxMaximizeEvent swig_types[68]
2531 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[69]
2532 #define SWIGTYPE_p_wxMenu swig_types[70]
2533 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2534 #define SWIGTYPE_p_wxMenuBarBase swig_types[72]
2535 #define SWIGTYPE_p_wxMenuEvent swig_types[73]
2536 #define SWIGTYPE_p_wxMenuItem swig_types[74]
2537 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[75]
2538 #define SWIGTYPE_p_wxMouseEvent swig_types[76]
2539 #define SWIGTYPE_p_wxMoveEvent swig_types[77]
2540 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[78]
2541 #define SWIGTYPE_p_wxNcPaintEvent swig_types[79]
2542 #define SWIGTYPE_p_wxNotifyEvent swig_types[80]
2543 #define SWIGTYPE_p_wxObject swig_types[81]
2544 #define SWIGTYPE_p_wxOutputStream swig_types[82]
2545 #define SWIGTYPE_p_wxPCXHandler swig_types[83]
2546 #define SWIGTYPE_p_wxPNGHandler swig_types[84]
2547 #define SWIGTYPE_p_wxPNMHandler swig_types[85]
2548 #define SWIGTYPE_p_wxPaintEvent swig_types[86]
2549 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[87]
2550 #define SWIGTYPE_p_wxPaperSize swig_types[88]
2551 #define SWIGTYPE_p_wxPoint swig_types[89]
2552 #define SWIGTYPE_p_wxPoint2D swig_types[90]
2553 #define SWIGTYPE_p_wxPropagateOnce swig_types[91]
2554 #define SWIGTYPE_p_wxPropagationDisabler swig_types[92]
2555 #define SWIGTYPE_p_wxPyApp swig_types[93]
2556 #define SWIGTYPE_p_wxPyCommandEvent swig_types[94]
2557 #define SWIGTYPE_p_wxPyDropTarget swig_types[95]
2558 #define SWIGTYPE_p_wxPyEvent swig_types[96]
2559 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[97]
2560 #define SWIGTYPE_p_wxPyImageHandler swig_types[98]
2561 #define SWIGTYPE_p_wxPyInputStream swig_types[99]
2562 #define SWIGTYPE_p_wxPySizer swig_types[100]
2563 #define SWIGTYPE_p_wxPyValidator swig_types[101]
2564 #define SWIGTYPE_p_wxQuantize swig_types[102]
2565 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[103]
2566 #define SWIGTYPE_p_wxRealPoint swig_types[104]
2567 #define SWIGTYPE_p_wxRect swig_types[105]
2568 #define SWIGTYPE_p_wxRegion swig_types[106]
2569 #define SWIGTYPE_p_wxScrollEvent swig_types[107]
2570 #define SWIGTYPE_p_wxScrollWinEvent swig_types[108]
2571 #define SWIGTYPE_p_wxSetCursorEvent swig_types[109]
2572 #define SWIGTYPE_p_wxShowEvent swig_types[110]
2573 #define SWIGTYPE_p_wxSize swig_types[111]
2574 #define SWIGTYPE_p_wxSizeEvent swig_types[112]
2575 #define SWIGTYPE_p_wxSizer swig_types[113]
2576 #define SWIGTYPE_p_wxSizerItem swig_types[114]
2577 #define SWIGTYPE_p_wxStaticBox swig_types[115]
2578 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[116]
2579 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[117]
2580 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[118]
2581 #define SWIGTYPE_p_wxTIFFHandler swig_types[119]
2582 #define SWIGTYPE_p_wxToolTip swig_types[120]
2583 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[121]
2584 #define SWIGTYPE_p_wxValidator swig_types[122]
2585 #define SWIGTYPE_p_wxVisualAttributes swig_types[123]
2586 #define SWIGTYPE_p_wxWindow swig_types[124]
2587 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[125]
2588 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[126]
2589 #define SWIGTYPE_p_wxXPMHandler swig_types[127]
2590 #define SWIGTYPE_p_wxZipFSHandler swig_types[128]
2591 static swig_type_info
*swig_types
[130];
2592 static swig_module_info swig_module
= {swig_types
, 129, 0, 0, 0, 0};
2593 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2594 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2596 /* -------- TYPES TABLE (END) -------- */
2598 #if (PY_VERSION_HEX <= 0x02000000)
2599 # if !defined(SWIG_PYTHON_CLASSIC)
2600 # error "This python version requires to use swig with the '-classic' option"
2603 #if (PY_VERSION_HEX <= 0x02020000)
2604 # error "This python version requires to use swig with the '-nomodern' option"
2606 #if (PY_VERSION_HEX <= 0x02020000)
2607 # error "This python version requires to use swig with the '-nomodernargs' option"
2610 # error "This python version requires to use swig with the '-nofastunpack' option"
2613 /*-----------------------------------------------
2614 @(target):= _core_.so
2615 ------------------------------------------------*/
2616 #define SWIG_init init_core_
2618 #define SWIG_name "_core_"
2620 #define SWIGVERSION 0x010329
2623 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2624 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2627 #include <stdexcept>
2631 class PyObject_ptr
{
2636 PyObject_ptr() :_obj(0)
2640 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2645 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2647 if (initial_ref
) Py_XINCREF(_obj
);
2650 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2652 Py_XINCREF(item
._obj
);
2663 operator PyObject
*() const
2668 PyObject
*operator->() const
2677 struct PyObject_var
: PyObject_ptr
{
2678 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2680 PyObject_var
& operator = (PyObject
* obj
)
2690 #include "wx/wxPython/wxPython_int.h"
2691 #include "wx/wxPython/pyclasses.h"
2694 #ifndef wxPyUSE_EXPORT
2695 // Helper functions for dealing with SWIG objects and such. These are
2696 // located here so they know about the SWIG types and functions declared
2697 // in the wrapper code.
2699 #include <wx/hashmap.h>
2700 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
2703 // Maintains a hashmap of className to swig_type_info pointers. Given the
2704 // name of a class either looks up the type info in the cache, or scans the
2705 // SWIG tables for it.
2706 extern PyObject
* wxPyPtrTypeMap
;
2708 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
2710 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
2712 if (typeInfoCache
== NULL
)
2713 typeInfoCache
= new wxPyTypeInfoHashMap
;
2715 wxString
name(className
);
2716 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
2719 // it wasn't in the cache, so look it up from SWIG
2720 name
.Append(wxT(" *"));
2721 swigType
= SWIG_TypeQuery(name
.mb_str());
2723 // if it still wasn't found, try looking for a mapped name
2728 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
2729 (char*)(const char*)name
.mbc_str())) != NULL
) {
2730 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
2731 name
.Append(wxT(" *"));
2732 swigType
= SWIG_TypeQuery(name
.mb_str());
2736 // and add it to the map if found
2737 (*typeInfoCache
)[className
] = swigType
;
2744 // Check if a class name is a type known to SWIG
2745 bool wxPyCheckSwigType(const wxChar
* className
) {
2747 swig_type_info
* swigType
= wxPyFindSwigType(className
);
2748 return swigType
!= NULL
;
2752 // Given a pointer to a C++ object and a class name, construct a Python proxy
2754 PyObject
* wxPyConstructObject(void* ptr
,
2755 const wxChar
* className
,
2758 swig_type_info
* swigType
= wxPyFindSwigType(className
);
2759 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
2761 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
2765 // Extract a pointer to the wrapped C++ object from a Python proxy object.
2766 // Ensures that the proxy object is of the specified (or derived) type. If
2767 // not able to perform the conversion then a Python exception is set and the
2768 // error should be handled properly in the caller. Returns True on success.
2769 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
2770 const wxChar
* className
) {
2772 swig_type_info
* swigType
= wxPyFindSwigType(className
);
2773 wxCHECK_MSG(swigType
!= NULL
, false, wxT("Unknown type in wxPyConvertSwigPtr"));
2775 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
2780 // Make a SWIGified pointer object suitable for a .this attribute
2781 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
2783 PyObject
* robj
= NULL
;
2785 swig_type_info
* swigType
= wxPyFindSwigType(className
);
2786 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyMakeSwigPtr"));
2788 robj
= PySwigObject_New(ptr
, swigType
, 0);
2793 // Python's PyInstance_Check does not return True for instances of new-style
2794 // classes. This should get close enough for both new and old classes but I
2795 // should re-evaluate the need for doing instance checks...
2796 bool wxPyInstance_Check(PyObject
* obj
) {
2797 return PyObject_HasAttrString(obj
, "__class__") != 0;
2801 // This one checks if the object is an instance of a SWIG proxy class (it has
2802 // a .this attribute, and the .this attribute is a PySwigObject.)
2803 bool wxPySwigInstance_Check(PyObject
* obj
) {
2804 static PyObject
* this_str
= NULL
;
2805 if (this_str
== NULL
)
2806 this_str
= PyString_FromString("this");
2808 PyObject
* this_attr
= PyObject_GetAttr(obj
, this_str
);
2810 bool retval
= (PySwigObject_Check(this_attr
) != 0);
2811 Py_DECREF(this_attr
);
2820 // Export a C API in a struct. Other modules will be able to load this from
2821 // the wx._core_ module and will then have safe access to these functions,
2822 // even if they are located in another shared library.
2823 static wxPyCoreAPI API
= {
2826 wxPyConstructObject
,
2830 wxPyBeginAllowThreads
,
2831 wxPyEndAllowThreads
,
2832 wxPyBeginBlockThreads
,
2833 wxPyEndBlockThreads
,
2845 wxPoint_LIST_helper
,
2846 wxBitmap_LIST_helper
,
2847 wxString_LIST_helper
,
2848 wxAcceleratorEntry_LIST_helper
,
2857 wxPySimple_typecheck
,
2860 wxPyCBH_setCallbackInfo
,
2861 wxPyCBH_findCallback
,
2862 wxPyCBH_callCallback
,
2863 wxPyCBH_callCallbackObj
,
2869 wxPy2int_seq_helper
,
2870 wxPy4int_seq_helper
,
2871 wxArrayString2PyList_helper
,
2872 wxArrayInt2PyList_helper
,
2874 wxPyClientData_dtor
,
2876 wxPyOORClientData_dtor
,
2878 wxPyCBInputStream_create
,
2879 wxPyCBInputStream_copy
,
2882 wxPySwigInstance_Check
,
2891 #if !WXWIN_COMPATIBILITY_2_4
2892 #define wxHIDE_READONLY 0
2896 #define SWIG_From_long PyInt_FromLong
2899 SWIGINTERNINLINE PyObject
*
2900 SWIG_From_int (int value
)
2902 return SWIG_From_long (value
);
2905 static const wxString
wxPyEmptyString(wxEmptyString
);
2906 SWIGINTERN wxString
wxObject_GetClassName(wxObject
*self
){
2907 return self
->GetClassInfo()->GetClassName();
2909 SWIGINTERN
void wxObject_Destroy(wxObject
*self
){
2914 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
2920 # define LLONG_MIN LONG_LONG_MIN
2923 # define LLONG_MAX LONG_LONG_MAX
2926 # define ULLONG_MAX ULONG_LONG_MAX
2931 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2933 if (PyNumber_Check(obj
)) {
2934 if (val
) *val
= PyInt_AsLong(obj
);
2937 return SWIG_TypeError
;
2942 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2945 int res
= SWIG_AsVal_long (obj
, &v
);
2946 if (SWIG_IsOK(res
)) {
2947 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2948 return SWIG_OverflowError
;
2950 if (val
) *val
= static_cast< int >(v
);
2956 SWIGINTERN PyObject
*wxSize_Get(wxSize
*self
){
2957 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2958 PyObject
* tup
= PyTuple_New(2);
2959 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2960 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2961 wxPyEndBlockThreads(blocked
);
2966 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2968 if (PyNumber_Check(obj
)) {
2969 if (val
) *val
= PyFloat_AsDouble(obj
);
2972 return SWIG_TypeError
;
2976 #define SWIG_From_double PyFloat_FromDouble
2978 SWIGINTERN
void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
2982 SWIGINTERN PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
2983 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2984 PyObject
* tup
= PyTuple_New(2);
2985 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
2986 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
2987 wxPyEndBlockThreads(blocked
);
2990 SWIGINTERN
void wxPoint_Set(wxPoint
*self
,long x
,long y
){
2994 SWIGINTERN PyObject
*wxPoint_Get(wxPoint
*self
){
2995 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2996 PyObject
* tup
= PyTuple_New(2);
2997 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2998 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2999 wxPyEndBlockThreads(blocked
);
3002 SWIGINTERN
void wxRect_Set(wxRect
*self
,int x
=0,int y
=0,int width
=0,int height
=0){
3005 self
->width
= width
;
3006 self
->height
= height
;
3008 SWIGINTERN PyObject
*wxRect_Get(wxRect
*self
){
3009 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3010 PyObject
* tup
= PyTuple_New(4);
3011 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
3012 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
3013 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
3014 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
3015 wxPyEndBlockThreads(blocked
);
3019 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
3022 wxRect
dest(0,0,0,0);
3025 reg1
.Intersect(reg2
);
3026 dest
= reg1
.GetBox();
3028 if (dest
!= wxRect(0,0,0,0)) {
3029 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3030 wxRect
* newRect
= new wxRect(dest
);
3031 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), true);
3032 wxPyEndBlockThreads(blocked
);
3039 SWIGINTERN
void wxPoint2D_Set(wxPoint2D
*self
,double x
=0,double y
=0){
3043 SWIGINTERN PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
3044 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3045 PyObject
* tup
= PyTuple_New(2);
3046 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
3047 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
3048 wxPyEndBlockThreads(blocked
);
3052 #include "wx/wxPython/pyistream.h"
3054 SWIGINTERN wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
3055 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
3057 return new wxPyInputStream(wxis
);
3062 SWIGINTERN swig_type_info
*
3063 SWIG_pchar_descriptor()
3065 static int init
= 0;
3066 static swig_type_info
* info
= 0;
3068 info
= SWIG_TypeQuery("_p_char");
3075 SWIGINTERNINLINE PyObject
*
3076 SWIG_FromCharPtrAndSize(const char* carray
, size_t size
)
3079 if (size
> INT_MAX
) {
3080 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
3081 return pchar_descriptor
?
3082 SWIG_NewPointerObj(const_cast< char * >(carray
), pchar_descriptor
, 0) : SWIG_Py_Void();
3084 return PyString_FromStringAndSize(carray
, static_cast< int >(size
));
3087 return SWIG_Py_Void();
3092 SWIGINTERNINLINE PyObject
*
3093 SWIG_From_char (char c
)
3095 return SWIG_FromCharPtrAndSize(&c
,1);
3099 SWIGINTERNINLINE PyObject
*
3100 SWIG_From_unsigned_SS_long (unsigned long value
)
3102 return (value
> LONG_MAX
) ?
3103 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
3107 SWIGINTERNINLINE PyObject
*
3108 SWIG_From_size_t (size_t value
)
3110 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3115 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
, int *alloc
)
3117 if (PyString_Check(obj
)) {
3118 char *cstr
; int len
;
3119 PyString_AsStringAndSize(obj
, &cstr
, &len
);
3123 In python the user should not be able to modify the inner
3124 string representation. To warranty that, if you define
3125 SWIG_PYTHON_SAFE_CSTRINGS, a new/copy of the python string
3126 buffer is always returned.
3128 The default behavior is just to return the pointer value,
3131 #if defined(SWIG_PYTHON_SAFE_CSTRINGS)
3132 if (*alloc
!= SWIG_OLDOBJ
)
3134 if (*alloc
== SWIG_NEWOBJ
)
3137 *cptr
= reinterpret_cast< char* >(memcpy((new char[len
+ 1]), cstr
, sizeof(char)*(len
+ 1)));
3138 *alloc
= SWIG_NEWOBJ
;
3142 *alloc
= SWIG_OLDOBJ
;
3145 *cptr
= PyString_AsString(obj
);
3148 if (psize
) *psize
= len
+ 1;
3151 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
3152 if (pchar_descriptor
) {
3154 if (SWIG_ConvertPtr(obj
, &vptr
, pchar_descriptor
, 0) == SWIG_OK
) {
3155 if (cptr
) *cptr
= (char *) vptr
;
3156 if (psize
) *psize
= vptr
? (strlen((char *)vptr
) + 1) : 0;
3157 if (alloc
) *alloc
= SWIG_OLDOBJ
;
3162 return SWIG_TypeError
;
3167 SWIG_AsCharArray(PyObject
* obj
, char *val
, size_t size
)
3169 char* cptr
= 0; size_t csize
= 0; int alloc
= SWIG_OLDOBJ
;
3170 int res
= SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
, &alloc
);
3171 if (SWIG_IsOK(res
)) {
3172 if ((csize
== size
+ 1) && cptr
&& !(cptr
[csize
-1])) --csize
;
3173 if (csize
<= size
) {
3175 if (csize
) memcpy(val
, cptr
, csize
*sizeof(char));
3176 if (csize
< size
) memset(val
+ csize
, 0, (size
- csize
)*sizeof(char));
3178 if (alloc
== SWIG_NEWOBJ
) {
3180 res
= SWIG_DelNewMask(res
);
3184 if (alloc
== SWIG_NEWOBJ
) delete[] cptr
;
3186 return SWIG_TypeError
;
3191 SWIG_AsVal_char (PyObject
* obj
, char *val
)
3193 int res
= SWIG_AsCharArray(obj
, val
, 1);
3194 if (!SWIG_IsOK(res
)) {
3196 res
= SWIG_AddCast(SWIG_AsVal_long (obj
, &v
));
3197 if (SWIG_IsOK(res
)) {
3198 if ((CHAR_MIN
<= v
) && (v
<= CHAR_MAX
)) {
3199 if (val
) *val
= static_cast< char >(v
);
3201 res
= SWIG_OverflowError
;
3208 SWIGINTERN
void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
3209 // We use only strings for the streams, not unicode
3210 PyObject
* str
= PyObject_Str(obj
);
3212 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
3215 self
->Write(PyString_AS_STRING(str
),
3216 PyString_GET_SIZE(str
));
3220 #include "wx/wxPython/pyistream.h"
3223 class wxPyFileSystemHandler
: public wxFileSystemHandler
3226 wxPyFileSystemHandler() : wxFileSystemHandler() {}
3228 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
3229 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
3230 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
3231 DEC_PYCALLBACK_STRING__pure(FindNext
);
3233 wxString
GetProtocol(const wxString
& location
) {
3234 return wxFileSystemHandler::GetProtocol(location
);
3237 wxString
GetLeftLocation(const wxString
& location
) {
3238 return wxFileSystemHandler::GetLeftLocation(location
);
3241 wxString
GetAnchor(const wxString
& location
) {
3242 return wxFileSystemHandler::GetAnchor(location
);
3245 wxString
GetRightLocation(const wxString
& location
) {
3246 return wxFileSystemHandler::GetRightLocation(location
);
3249 wxString
GetMimeTypeFromExt(const wxString
& location
) {
3250 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
3257 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
3258 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
3259 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
3260 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
3264 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
3266 if (obj
== Py_True
) {
3267 if (val
) *val
= true;
3269 } else if (obj
== Py_False
) {
3270 if (val
) *val
= false;
3274 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
3275 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
3280 SWIGINTERN wxString
wxFileSystem_URLToFileName(wxString
const &url
){
3281 wxFileName fname
= wxFileSystem::URLToFileName(url
);
3282 return fname
.GetFullPath();
3285 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
3288 wxMemoryFSHandler::AddFile(filename
, image
, type
);
3291 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
3292 const wxBitmap
& bitmap
,
3294 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
3297 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
3299 if (! PyString_Check(data
)) {
3300 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3301 "Expected string object"));
3305 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3306 void* ptr
= (void*)PyString_AsString(data
);
3307 size_t size
= PyString_Size(data
);
3308 wxPyEndBlockThreads(blocked
);
3310 wxMemoryFSHandler::AddFile(filename
, ptr
, size
);
3314 #include "wx/wxPython/pyistream.h"
3318 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
3321 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
3322 return SWIG_TypeError
;
3325 *val
= (unsigned long)v
;
3331 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
3334 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
3335 if (SWIG_IsOK(res
)) {
3336 if ((v
> UCHAR_MAX
)) {
3337 return SWIG_OverflowError
;
3339 if (val
) *val
= static_cast< unsigned char >(v
);
3346 SWIGINTERNINLINE PyObject
*
3347 SWIG_From_unsigned_SS_char (unsigned char value
)
3349 return SWIG_From_unsigned_SS_long (value
);
3352 SWIGINTERN
unsigned long wxImageHistogram_GetCount(wxImageHistogram
*self
,unsigned long key
){
3353 wxImageHistogramEntry e
= (*self
)[key
];
3356 SWIGINTERN
unsigned long wxImageHistogram_GetCountRGB(wxImageHistogram
*self
,byte r
,byte g
,byte b
){
3357 unsigned long key
= wxImageHistogram::MakeKey(r
, g
, b
);
3358 wxImageHistogramEntry e
= (*self
)[key
];
3361 SWIGINTERN
unsigned long wxImageHistogram_GetCountColour(wxImageHistogram
*self
,wxColour
const &colour
){
3362 unsigned long key
= wxImageHistogram::MakeKey(colour
.Red(),
3365 wxImageHistogramEntry e
= (*self
)[key
];
3369 typedef unsigned char* buffer
;
3372 // Pull the nested class out to the top level for SWIG's sake
3373 #define wxImage_RGBValue wxImage::RGBValue
3374 #define wxImage_HSVValue wxImage::HSVValue
3376 SWIGINTERN wxImage
*new_wxImage(int width
=0,int height
=0,bool clear
=true){
3377 if (width
> 0 && height
> 0)
3378 return new wxImage(width
, height
, clear
);
3382 SWIGINTERN wxImage
*new_wxImage(wxBitmap
const &bitmap
){
3383 return new wxImage(bitmap
.ConvertToImage());
3385 SWIGINTERN wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
){
3386 if (DATASIZE
!= width
*height
*3) {
3387 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3391 // Copy the source data so the wxImage can clean it up later
3392 buffer copy
= (buffer
)malloc(DATASIZE
);
3394 wxPyBLOCK_THREADS(PyErr_NoMemory());
3397 memcpy(copy
, data
, DATASIZE
);
3398 return new wxImage(width
, height
, copy
, false);
3400 SWIGINTERN wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
,buffer alpha
,int ALPHASIZE
){
3401 if (DATASIZE
!= width
*height
*3) {
3402 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3405 if (ALPHASIZE
!= width
*height
) {
3406 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3410 // Copy the source data so the wxImage can clean it up later
3411 buffer dcopy
= (buffer
)malloc(DATASIZE
);
3412 if (dcopy
== NULL
) {
3413 wxPyBLOCK_THREADS(PyErr_NoMemory());
3416 memcpy(dcopy
, data
, DATASIZE
);
3418 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
3419 if (acopy
== NULL
) {
3420 wxPyBLOCK_THREADS(PyErr_NoMemory());
3423 memcpy(acopy
, alpha
, ALPHASIZE
);
3425 return new wxImage(width
, height
, dcopy
, acopy
, false);
3427 SWIGINTERN wxSize
wxImage_GetSize(wxImage
*self
){
3428 wxSize
size(self
->GetWidth(), self
->GetHeight());
3431 SWIGINTERN PyObject
*wxImage_GetData(wxImage
*self
){
3432 buffer data
= self
->GetData();
3433 int len
= self
->GetWidth() * self
->GetHeight() * 3;
3435 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
3438 SWIGINTERN
void wxImage_SetData(wxImage
*self
,buffer data
,int DATASIZE
){
3439 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
3440 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3443 buffer copy
= (buffer
)malloc(DATASIZE
);
3445 wxPyBLOCK_THREADS(PyErr_NoMemory());
3448 memcpy(copy
, data
, DATASIZE
);
3449 self
->SetData(copy
, false);
3450 // wxImage takes ownership of copy...
3452 SWIGINTERN PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
3453 buffer data
= self
->GetData();
3454 int len
= self
->GetWidth() * self
->GetHeight() * 3;
3456 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
3459 SWIGINTERN
void wxImage_SetDataBuffer(wxImage
*self
,buffer data
,int DATASIZE
){
3460 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
3461 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3464 self
->SetData(data
, true);
3466 SWIGINTERN PyObject
*wxImage_GetAlphaData(wxImage
*self
){
3467 buffer data
= self
->GetAlpha();
3471 int len
= self
->GetWidth() * self
->GetHeight();
3473 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
3477 SWIGINTERN
void wxImage_SetAlphaData(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
3478 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
3479 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3482 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
3483 if (acopy
== NULL
) {
3484 wxPyBLOCK_THREADS(PyErr_NoMemory());
3487 memcpy(acopy
, alpha
, ALPHASIZE
);
3488 self
->SetAlpha(acopy
, false);
3489 // wxImage takes ownership of acopy...
3491 SWIGINTERN PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
3492 buffer data
= self
->GetAlpha();
3493 int len
= self
->GetWidth() * self
->GetHeight();
3495 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
3498 SWIGINTERN
void wxImage_SetAlphaBuffer(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
3499 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
3500 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3503 self
->SetAlpha(alpha
, true);
3505 SWIGINTERN PyObject
*wxImage_GetHandlers(){
3506 wxList
& list
= wxImage::GetHandlers();
3507 return wxPy_ConvertList(&list
);
3509 SWIGINTERN wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
,int depth
=-1){
3510 wxBitmap
bitmap(*self
, depth
);
3513 SWIGINTERN wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,byte red
,byte green
,byte blue
){
3514 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
3515 wxBitmap
bitmap( mono
, 1 );
3518 static const wxString
wxPyIMAGE_OPTION_FILENAME(wxIMAGE_OPTION_FILENAME
);
3519 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
3520 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
3521 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
3522 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
3523 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONX(wxIMAGE_OPTION_RESOLUTIONX
);
3524 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONY(wxIMAGE_OPTION_RESOLUTIONY
);
3525 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
3526 static const wxString
wxPyIMAGE_OPTION_QUALITY(wxIMAGE_OPTION_QUALITY
);
3527 static const wxString
wxPyIMAGE_OPTION_BITSPERSAMPLE(wxIMAGE_OPTION_BITSPERSAMPLE
);
3528 static const wxString
wxPyIMAGE_OPTION_SAMPLESPERPIXEL(wxIMAGE_OPTION_SAMPLESPERPIXEL
);
3529 static const wxString
wxPyIMAGE_OPTION_COMPRESSION(wxIMAGE_OPTION_COMPRESSION
);
3530 static const wxString
wxPyIMAGE_OPTION_IMAGEDESCRIPTOR(wxIMAGE_OPTION_IMAGEDESCRIPTOR
);
3531 static const wxString
wxPyIMAGE_OPTION_PNG_FORMAT(wxIMAGE_OPTION_PNG_FORMAT
);
3532 static const wxString
wxPyIMAGE_OPTION_PNG_BITDEPTH(wxIMAGE_OPTION_PNG_BITDEPTH
);
3534 #include <wx/quantize.h>
3536 SWIGINTERN
bool wxQuantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
=236,int flags
=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
){
3537 return wxQuantize::Quantize(src
, dest
,
3540 NULL
, // eightBitData
3543 SWIGINTERN
void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
3544 if (PyCallable_Check(func
)) {
3545 self
->Connect(id
, lastId
, eventType
,
3546 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
3547 new wxPyCallback(func
));
3549 else if (func
== Py_None
) {
3550 self
->Disconnect(id
, lastId
, eventType
,
3551 (wxObjectEventFunction
)
3552 &wxPyCallback::EventThunker
);
3556 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
3559 SWIGINTERN
bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
=-1,wxEventType eventType
=wxEVT_NULL
){
3560 return self
->Disconnect(id
, lastId
, eventType
,
3561 (wxObjectEventFunction
)
3562 &wxPyCallback::EventThunker
);
3564 SWIGINTERN
void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
,bool incref
=true){
3565 if (_self
&& _self
!= Py_None
) {
3566 self
->SetClientObject(new wxPyOORClientData(_self
, incref
));
3569 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
3571 self
->SetClientObject(NULL
); // This will delete it too
3577 #define wxEVT_HOTKEY -9999
3580 SWIGINTERN PyObject
*wxCommandEvent_GetClientData(wxCommandEvent
*self
){
3581 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject();
3583 Py_INCREF(data
->m_obj
);
3590 SWIGINTERN
void wxCommandEvent_SetClientData(wxCommandEvent
*self
,PyObject
*clientData
){
3591 wxPyClientData
* data
= new wxPyClientData(clientData
);
3592 self
->SetClientObject(data
);
3594 SWIGINTERN
int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
3596 return self
->GetUnicodeKey();
3602 SWIGINTERNINLINE PyObject
*
3603 SWIG_From_unsigned_SS_int (unsigned int value
)
3605 return SWIG_From_unsigned_SS_long (value
);
3610 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
3613 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
3614 if (SWIG_IsOK(res
)) {
3615 if ((v
> UINT_MAX
)) {
3616 return SWIG_OverflowError
;
3618 if (val
) *val
= static_cast< unsigned int >(v
);
3624 SWIGINTERN
void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
3625 self
->m_size
= size
;
3627 SWIGINTERN PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
3628 int count
= self
->GetNumberOfFiles();
3629 wxString
* files
= self
->GetFiles();
3630 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3631 PyObject
* list
= PyList_New(count
);
3634 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
3635 wxPyEndBlockThreads(blocked
);
3639 for (int i
=0; i
<count
; i
++) {
3640 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
3642 wxPyEndBlockThreads(blocked
);
3647 SWIGINTERN wxPyApp
*new_wxPyApp(){
3648 wxPythonApp
= new wxPyApp();
3651 SWIGINTERN
int wxPyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
3653 void wxApp_CleanUp() {
3658 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
3664 SWIGINTERNINLINE PyObject
*
3665 SWIG_FromCharPtr(const char *cptr
)
3667 return SWIG_FromCharPtrAndSize(cptr
, (cptr
? strlen(cptr
) : 0));
3671 #if 0 // #ifdef __WXMAC__
3673 // A dummy class that raises an exception if used...
3677 wxEventLoop() { wxPyRaiseNotImplemented(); }
3678 int Run() { return 0; }
3679 void Exit(int rc
= 0) {}
3680 bool Pending() const { return false; }
3681 bool Dispatch() { return false; }
3682 bool IsRunning() const { return false; }
3683 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
3684 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
3689 #include <wx/evtloop.h>
3695 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
3696 SWIGINTERN wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
3697 SWIGINTERN
void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
3698 SWIGINTERN PyObject
*wxWindow_GetChildren(wxWindow
*self
){
3699 wxWindowList
& list
= self
->GetChildren();
3700 return wxPy_ConvertList(&list
);
3702 SWIGINTERN
bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
3704 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
3709 SWIGINTERN
bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
3716 SWIGINTERN
long wxWindow_GetHandle(wxWindow
*self
){
3717 return wxPyGetWinHandle(self
);
3719 SWIGINTERN
void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
3720 self
->AssociateHandle((WXWidget
)handle
);
3722 SWIGINTERN
void wxWindow_DragAcceptFiles(wxWindow
*self
,bool accept
){}
3724 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
3725 return wxWindow::FindWindowById(id
, parent
);
3728 wxWindow
* wxFindWindowByName( const wxString
& name
,
3729 const wxWindow
*parent
= NULL
) {
3730 return wxWindow::FindWindowByName(name
, parent
);
3733 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
3734 const wxWindow
*parent
= NULL
) {
3735 return wxWindow::FindWindowByLabel(label
, parent
);
3740 #include <wx/msw/private.h> // to get wxGetWindowId
3744 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
3746 WXHWND hWnd
= (WXHWND
)_hWnd
;
3747 long id
= wxGetWindowId(hWnd
);
3748 wxWindow
* win
= new wxWindow
;
3750 parent
->AddChild(win
);
3751 win
->SetEventHandler(win
);
3754 win
->SubclassWin(hWnd
);
3755 win
->AdoptAttributesFromHWND();
3756 win
->SetupColours();
3759 wxPyRaiseNotImplemented();
3765 PyObject
* GetTopLevelWindows() {
3766 return wxPy_ConvertList(&wxTopLevelWindows
);
3770 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
3771 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
3772 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
3774 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
3777 SWIGINTERNINLINE
int
3778 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3781 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3782 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3786 SWIGINTERN
void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
3787 SWIGINTERN PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
3788 wxMenuItemList
& list
= self
->GetMenuItems();
3789 return wxPy_ConvertList(&list
);
3791 SWIGINTERN
void wxMenuItem_SetFont(wxMenuItem
*self
,wxFont
const &font
){}
3792 SWIGINTERN wxFont
wxMenuItem_GetFont(wxMenuItem
*self
){ return wxNullFont
; }
3793 SWIGINTERN
void wxMenuItem_SetTextColour(wxMenuItem
*self
,wxColour
const &colText
){}
3794 SWIGINTERN wxColour
wxMenuItem_GetTextColour(wxMenuItem
*self
){ return wxNullColour
; }
3795 SWIGINTERN
void wxMenuItem_SetBackgroundColour(wxMenuItem
*self
,wxColour
const &colBack
){}
3796 SWIGINTERN wxColour
wxMenuItem_GetBackgroundColour(wxMenuItem
*self
){ return wxNullColour
; }
3797 SWIGINTERN
void wxMenuItem_SetBitmaps(wxMenuItem
*self
,wxBitmap
const &bmpChecked
,wxBitmap
const &bmpUnchecked
=wxNullBitmap
){ self
->SetBitmap( bmpChecked
); }
3798 SWIGINTERN
void wxMenuItem_SetDisabledBitmap(wxMenuItem
*self
,wxBitmap
const &bmpDisabled
){}
3799 SWIGINTERN wxBitmap
const &wxMenuItem_GetDisabledBitmap(wxMenuItem
const *self
){ return wxNullBitmap
; }
3800 SWIGINTERN
void wxMenuItem_SetMarginWidth(wxMenuItem
*self
,int nWidth
){}
3801 SWIGINTERN
int wxMenuItem_GetMarginWidth(wxMenuItem
*self
){ return 0; }
3802 SWIGINTERN
int wxMenuItem_GetDefaultMarginWidth(){ return 0; }
3803 SWIGINTERN
bool wxMenuItem_IsOwnerDrawn(wxMenuItem
*self
){ return false; }
3804 SWIGINTERN
void wxMenuItem_SetOwnerDrawn(wxMenuItem
*self
,bool ownerDrawn
=true){}
3805 SWIGINTERN
void wxMenuItem_ResetOwnerDrawn(wxMenuItem
*self
){}
3806 static const wxString
wxPyControlNameStr(wxControlNameStr
);
3807 SWIGINTERN
int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
=NULL
){
3809 wxPyClientData
* data
= new wxPyClientData(clientData
);
3810 return self
->Append(item
, data
);
3812 return self
->Append(item
);
3814 SWIGINTERN
int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,unsigned int pos
,PyObject
*clientData
=NULL
){
3816 wxPyClientData
* data
= new wxPyClientData(clientData
);
3817 return self
->Insert(item
, pos
, data
);
3819 return self
->Insert(item
, pos
);
3821 SWIGINTERN PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,unsigned int n
){
3822 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
3824 Py_INCREF(data
->m_obj
);
3831 SWIGINTERN
void wxItemContainer_SetClientData(wxItemContainer
*self
,unsigned int n
,PyObject
*clientData
){
3832 wxPyClientData
* data
= new wxPyClientData(clientData
);
3833 self
->SetClientObject(n
, data
);
3837 SWIGINTERN wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
3838 wxPyUserData
* data
= NULL
;
3840 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3841 data
= new wxPyUserData(userData
);
3842 wxPyEndBlockThreads(blocked
);
3844 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
3846 SWIGINTERN wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
3847 wxPyUserData
* data
= NULL
;
3849 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3850 data
= new wxPyUserData(userData
);
3851 wxPyEndBlockThreads(blocked
);
3853 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
3855 SWIGINTERN wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
3856 wxPyUserData
* data
= NULL
;
3858 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3859 data
= new wxPyUserData(userData
);
3860 wxPyEndBlockThreads(blocked
);
3862 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
3869 SWIG_AsVal_float (PyObject
* obj
, float *val
)
3872 int res
= SWIG_AsVal_double (obj
, &v
);
3873 if (SWIG_IsOK(res
)) {
3874 if ((v
< -FLT_MAX
|| v
> FLT_MAX
)) {
3875 return SWIG_OverflowError
;
3877 if (val
) *val
= static_cast< float >(v
);
3884 SWIGINTERNINLINE PyObject
*
3885 SWIG_From_float (float value
)
3887 return SWIG_From_double (value
);
3890 SWIGINTERN PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
3891 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
3893 Py_INCREF(data
->m_obj
);
3900 SWIGINTERN
void wxSizerItem_SetUserData(wxSizerItem
*self
,PyObject
*userData
){
3901 wxPyUserData
* data
= NULL
;
3903 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3904 data
= new wxPyUserData(userData
);
3905 wxPyEndBlockThreads(blocked
);
3907 self
->SetUserData(data
);
3910 // Figure out the type of the sizer item
3912 struct wxPySizerItemInfo
{
3914 : window(NULL
), sizer(NULL
), gotSize(false),
3915 size(wxDefaultSize
), gotPos(false), pos(-1)
3926 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
3928 wxPySizerItemInfo info
;
3930 wxSize
* sizePtr
= &size
;
3932 // Find out what the type of the item is
3934 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
3939 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
3943 // try wxSize or (w,h)
3944 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
3945 info
.size
= *sizePtr
;
3946 info
.gotSize
= true;
3950 if (checkIdx
&& PyInt_Check(item
)) {
3951 info
.pos
= PyInt_AsLong(item
);
3957 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
3958 // no expected type, figure out what kind of error message to generate
3959 if ( !checkSize
&& !checkIdx
)
3960 PyErr_SetString(PyExc_TypeError
, "wx.Window or wx.Sizer expected for item");
3961 else if ( checkSize
&& !checkIdx
)
3962 PyErr_SetString(PyExc_TypeError
, "wx.Window, wx.Sizer, wx.Size, or (w,h) expected for item");
3963 else if ( !checkSize
&& checkIdx
)
3964 PyErr_SetString(PyExc_TypeError
, "wx.Window, wx.Sizer or int (position) expected for item");
3966 // can this one happen?
3967 PyErr_SetString(PyExc_TypeError
, "wx.Window, wx.Sizer, wx.Size, or (w,h) or int (position) expected for item");
3973 SWIGINTERN
void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
3974 if (!self
->GetClientObject())
3975 self
->SetClientObject(new wxPyOORClientData(_self
));
3977 SWIGINTERN wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
3979 wxPyUserData
* data
= NULL
;
3980 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3981 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
3982 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
3983 data
= new wxPyUserData(userData
);
3985 PyObject_SetAttrString(item
,"thisown",Py_False
);
3986 wxPyEndBlockThreads(blocked
);
3988 // Now call the real Add method if a valid item type was found
3990 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
3991 else if ( info
.sizer
)
3992 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
3993 else if (info
.gotSize
)
3994 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
3995 proportion
, flag
, border
, data
);
3999 SWIGINTERN wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
4001 wxPyUserData
* data
= NULL
;
4002 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4003 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
4004 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
4005 data
= new wxPyUserData(userData
);
4007 PyObject_SetAttrString(item
,"thisown",Py_False
);
4008 wxPyEndBlockThreads(blocked
);
4010 // Now call the real Insert method if a valid item type was found
4012 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
4013 else if ( info
.sizer
)
4014 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
4015 else if (info
.gotSize
)
4016 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
4017 proportion
, flag
, border
, data
);
4021 SWIGINTERN wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
4023 wxPyUserData
* data
= NULL
;
4024 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4025 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
4026 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
4027 data
= new wxPyUserData(userData
);
4029 PyObject_SetAttrString(item
,"thisown",Py_False
);
4030 wxPyEndBlockThreads(blocked
);
4032 // Now call the real Prepend method if a valid item type was found
4034 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
4035 else if ( info
.sizer
)
4036 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
4037 else if (info
.gotSize
)
4038 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
4039 proportion
, flag
, border
, data
);
4043 SWIGINTERN
bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
4044 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4045 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
4046 wxPyEndBlockThreads(blocked
);
4048 return self
->Remove(info
.window
);
4049 else if ( info
.sizer
)
4050 return self
->Remove(info
.sizer
);
4051 else if ( info
.gotPos
)
4052 return self
->Remove(info
.pos
);
4056 SWIGINTERN
bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
4057 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4058 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
4059 wxPyEndBlockThreads(blocked
);
4061 return self
->Detach(info
.window
);
4062 else if ( info
.sizer
)
4063 return self
->Detach(info
.sizer
);
4064 else if ( info
.gotPos
)
4065 return self
->Detach(info
.pos
);
4069 SWIGINTERN wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
4070 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4071 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
4072 wxPyEndBlockThreads(blocked
);
4074 return self
->GetItem(info
.window
);
4075 else if ( info
.sizer
)
4076 return self
->GetItem(info
.sizer
);
4077 else if ( info
.gotPos
)
4078 return self
->GetItem(info
.pos
);
4082 SWIGINTERN
void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
4083 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4084 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
4085 wxPyEndBlockThreads(blocked
);
4087 self
->SetItemMinSize(info
.window
, size
);
4088 else if ( info
.sizer
)
4089 self
->SetItemMinSize(info
.sizer
, size
);
4090 else if ( info
.gotPos
)
4091 self
->SetItemMinSize(info
.pos
, size
);
4093 SWIGINTERN PyObject
*wxSizer_GetChildren(wxSizer
*self
){
4094 wxSizerItemList
& list
= self
->GetChildren();
4095 return wxPy_ConvertList(&list
);
4097 SWIGINTERN
bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
=true,bool recursive
=false){
4098 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4099 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
4100 wxPyEndBlockThreads(blocked
);
4102 return self
->Show(info
.window
, show
, recursive
);
4103 else if ( info
.sizer
)
4104 return self
->Show(info
.sizer
, show
, recursive
);
4105 else if ( info
.gotPos
)
4106 return self
->Show(info
.pos
, show
);
4110 SWIGINTERN
bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
4111 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4112 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
4113 wxPyEndBlockThreads(blocked
);
4115 return self
->IsShown(info
.window
);
4116 else if ( info
.sizer
)
4117 return self
->IsShown(info
.sizer
);
4118 else if ( info
.gotPos
)
4119 return self
->IsShown(info
.pos
);
4125 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
4126 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
4127 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
4132 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
4134 if (source
== Py_None
) {
4135 **obj
= wxGBPosition(-1,-1);
4138 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
4141 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
4143 if (source
== Py_None
) {
4144 **obj
= wxGBSpan(-1,-1);
4147 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
4151 SWIGINTERN
void wxGBPosition_Set(wxGBPosition
*self
,int row
=0,int col
=0){
4155 SWIGINTERN PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
4156 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4157 PyObject
* tup
= PyTuple_New(2);
4158 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
4159 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
4160 wxPyEndBlockThreads(blocked
);
4163 SWIGINTERN
void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
=1,int colspan
=1){
4164 self
->SetRowspan(rowspan
);
4165 self
->SetColspan(colspan
);
4167 SWIGINTERN PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
4168 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4169 PyObject
* tup
= PyTuple_New(2);
4170 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
4171 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
4172 wxPyEndBlockThreads(blocked
);
4175 SWIGINTERN wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
4176 wxPyUserData
* data
= NULL
;
4178 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4179 data
= new wxPyUserData(userData
);
4180 wxPyEndBlockThreads(blocked
);
4182 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
4184 SWIGINTERN wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
4185 wxPyUserData
* data
= NULL
;
4187 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4188 data
= new wxPyUserData(userData
);
4189 wxPyEndBlockThreads(blocked
);
4191 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
4193 SWIGINTERN wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
4194 wxPyUserData
* data
= NULL
;
4196 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4197 data
= new wxPyUserData(userData
);
4198 wxPyEndBlockThreads(blocked
);
4200 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
4202 SWIGINTERN wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
4204 self
->GetEndPos(row
, col
);
4205 return wxGBPosition(row
, col
);
4207 SWIGINTERN wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
=wxDefaultSpan
,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
4209 wxPyUserData
* data
= NULL
;
4210 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4211 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
4212 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
4213 data
= new wxPyUserData(userData
);
4215 PyObject_SetAttrString(item
,"thisown",Py_False
);
4216 wxPyEndBlockThreads(blocked
);
4218 // Now call the real Add method if a valid item type was found
4220 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
4221 else if ( info
.sizer
)
4222 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
4223 else if (info
.gotSize
)
4224 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
4225 pos
, span
, flag
, border
, data
);
4233 SWIGINTERN
int EmptyString_set(PyObject
*) {
4234 SWIG_Error(SWIG_AttributeError
,"Variable EmptyString is read-only.");
4239 SWIGINTERN PyObject
*EmptyString_get(void) {
4240 PyObject
*pyobj
= 0;
4244 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
4246 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
4253 SWIGINTERN PyObject
*_wrap_Object_GetClassName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4254 PyObject
*resultobj
= 0;
4255 wxObject
*arg1
= (wxObject
*) 0 ;
4259 PyObject
*swig_obj
[1] ;
4261 if (!args
) SWIG_fail
;
4263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
4264 if (!SWIG_IsOK(res1
)) {
4265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Object_GetClassName" "', expected argument " "1"" of type '" "wxObject *""'");
4267 arg1
= reinterpret_cast< wxObject
* >(argp1
);
4269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4270 result
= wxObject_GetClassName(arg1
);
4271 wxPyEndAllowThreads(__tstate
);
4272 if (PyErr_Occurred()) SWIG_fail
;
4276 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4278 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4287 SWIGINTERN PyObject
*_wrap_Object_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4288 PyObject
*resultobj
= 0;
4289 wxObject
*arg1
= (wxObject
*) 0 ;
4292 PyObject
*swig_obj
[1] ;
4294 if (!args
) SWIG_fail
;
4296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
4297 if (!SWIG_IsOK(res1
)) {
4298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Object_Destroy" "', expected argument " "1"" of type '" "wxObject *""'");
4300 arg1
= reinterpret_cast< wxObject
* >(argp1
);
4302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4303 wxObject_Destroy(arg1
);
4304 wxPyEndAllowThreads(__tstate
);
4305 if (PyErr_Occurred()) SWIG_fail
;
4307 resultobj
= SWIG_Py_Void();
4314 SWIGINTERN PyObject
*Object_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4316 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4317 SWIG_TypeNewClientData(SWIGTYPE_p_wxObject
, SWIG_NewClientData(obj
));
4318 return SWIG_Py_Void();
4321 SWIGINTERN PyObject
*_wrap_Size_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4322 PyObject
*resultobj
= 0;
4323 wxSize
*arg1
= (wxSize
*) 0 ;
4329 PyObject
*swig_obj
[2] ;
4331 if (!SWIG_Python_UnpackTuple(args
,"Size_width_set",2,2,swig_obj
)) SWIG_fail
;
4332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4333 if (!SWIG_IsOK(res1
)) {
4334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_width_set" "', expected argument " "1"" of type '" "wxSize *""'");
4336 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4337 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4338 if (!SWIG_IsOK(ecode2
)) {
4339 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_width_set" "', expected argument " "2"" of type '" "int""'");
4341 arg2
= static_cast< int >(val2
);
4342 if (arg1
) (arg1
)->x
= arg2
;
4344 resultobj
= SWIG_Py_Void();
4351 SWIGINTERN PyObject
*_wrap_Size_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4352 PyObject
*resultobj
= 0;
4353 wxSize
*arg1
= (wxSize
*) 0 ;
4357 PyObject
*swig_obj
[1] ;
4359 if (!args
) SWIG_fail
;
4361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4362 if (!SWIG_IsOK(res1
)) {
4363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_width_get" "', expected argument " "1"" of type '" "wxSize *""'");
4365 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4366 result
= (int) ((arg1
)->x
);
4367 resultobj
= SWIG_From_int(static_cast< int >(result
));
4374 SWIGINTERN PyObject
*_wrap_Size_height_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4375 PyObject
*resultobj
= 0;
4376 wxSize
*arg1
= (wxSize
*) 0 ;
4382 PyObject
*swig_obj
[2] ;
4384 if (!SWIG_Python_UnpackTuple(args
,"Size_height_set",2,2,swig_obj
)) SWIG_fail
;
4385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4386 if (!SWIG_IsOK(res1
)) {
4387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_height_set" "', expected argument " "1"" of type '" "wxSize *""'");
4389 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4390 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4391 if (!SWIG_IsOK(ecode2
)) {
4392 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_height_set" "', expected argument " "2"" of type '" "int""'");
4394 arg2
= static_cast< int >(val2
);
4395 if (arg1
) (arg1
)->y
= arg2
;
4397 resultobj
= SWIG_Py_Void();
4404 SWIGINTERN PyObject
*_wrap_Size_height_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4405 PyObject
*resultobj
= 0;
4406 wxSize
*arg1
= (wxSize
*) 0 ;
4410 PyObject
*swig_obj
[1] ;
4412 if (!args
) SWIG_fail
;
4414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4415 if (!SWIG_IsOK(res1
)) {
4416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_height_get" "', expected argument " "1"" of type '" "wxSize *""'");
4418 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4419 result
= (int) ((arg1
)->y
);
4420 resultobj
= SWIG_From_int(static_cast< int >(result
));
4427 SWIGINTERN PyObject
*_wrap_new_Size(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4428 PyObject
*resultobj
= 0;
4429 int arg1
= (int) 0 ;
4430 int arg2
= (int) 0 ;
4431 wxSize
*result
= 0 ;
4436 PyObject
* obj0
= 0 ;
4437 PyObject
* obj1
= 0 ;
4438 char * kwnames
[] = {
4439 (char *) "w",(char *) "h", NULL
4442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4444 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4445 if (!SWIG_IsOK(ecode1
)) {
4446 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Size" "', expected argument " "1"" of type '" "int""'");
4448 arg1
= static_cast< int >(val1
);
4451 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4452 if (!SWIG_IsOK(ecode2
)) {
4453 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Size" "', expected argument " "2"" of type '" "int""'");
4455 arg2
= static_cast< int >(val2
);
4458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4459 result
= (wxSize
*)new wxSize(arg1
,arg2
);
4460 wxPyEndAllowThreads(__tstate
);
4461 if (PyErr_Occurred()) SWIG_fail
;
4463 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, SWIG_POINTER_NEW
| 0 );
4470 SWIGINTERN PyObject
*_wrap_delete_Size(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4471 PyObject
*resultobj
= 0;
4472 wxSize
*arg1
= (wxSize
*) 0 ;
4475 PyObject
*swig_obj
[1] ;
4477 if (!args
) SWIG_fail
;
4479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, SWIG_POINTER_DISOWN
| 0 );
4480 if (!SWIG_IsOK(res1
)) {
4481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Size" "', expected argument " "1"" of type '" "wxSize *""'");
4483 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4488 wxPyEndAllowThreads(__tstate
);
4489 if (PyErr_Occurred()) SWIG_fail
;
4491 resultobj
= SWIG_Py_Void();
4498 SWIGINTERN PyObject
*_wrap_Size___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4499 PyObject
*resultobj
= 0;
4500 wxSize
*arg1
= (wxSize
*) 0 ;
4506 PyObject
* obj0
= 0 ;
4507 PyObject
* obj1
= 0 ;
4508 char * kwnames
[] = {
4509 (char *) "self",(char *) "sz", NULL
4512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4514 if (!SWIG_IsOK(res1
)) {
4515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size___eq__" "', expected argument " "1"" of type '" "wxSize *""'");
4517 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4520 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4524 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
4525 wxPyEndAllowThreads(__tstate
);
4526 if (PyErr_Occurred()) SWIG_fail
;
4529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4537 SWIGINTERN PyObject
*_wrap_Size___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4538 PyObject
*resultobj
= 0;
4539 wxSize
*arg1
= (wxSize
*) 0 ;
4545 PyObject
* obj0
= 0 ;
4546 PyObject
* obj1
= 0 ;
4547 char * kwnames
[] = {
4548 (char *) "self",(char *) "sz", NULL
4551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4553 if (!SWIG_IsOK(res1
)) {
4554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size___ne__" "', expected argument " "1"" of type '" "wxSize *""'");
4556 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4559 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4563 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
4564 wxPyEndAllowThreads(__tstate
);
4565 if (PyErr_Occurred()) SWIG_fail
;
4568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4576 SWIGINTERN PyObject
*_wrap_Size___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4577 PyObject
*resultobj
= 0;
4578 wxSize
*arg1
= (wxSize
*) 0 ;
4584 PyObject
* obj0
= 0 ;
4585 PyObject
* obj1
= 0 ;
4586 char * kwnames
[] = {
4587 (char *) "self",(char *) "sz", NULL
4590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4592 if (!SWIG_IsOK(res1
)) {
4593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size___add__" "', expected argument " "1"" of type '" "wxSize *""'");
4595 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4598 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4602 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
4603 wxPyEndAllowThreads(__tstate
);
4604 if (PyErr_Occurred()) SWIG_fail
;
4606 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
4613 SWIGINTERN PyObject
*_wrap_Size___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4614 PyObject
*resultobj
= 0;
4615 wxSize
*arg1
= (wxSize
*) 0 ;
4621 PyObject
* obj0
= 0 ;
4622 PyObject
* obj1
= 0 ;
4623 char * kwnames
[] = {
4624 (char *) "self",(char *) "sz", NULL
4627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4629 if (!SWIG_IsOK(res1
)) {
4630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size___sub__" "', expected argument " "1"" of type '" "wxSize *""'");
4632 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4635 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4639 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
4640 wxPyEndAllowThreads(__tstate
);
4641 if (PyErr_Occurred()) SWIG_fail
;
4643 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
4650 SWIGINTERN PyObject
*_wrap_Size_IncTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4651 PyObject
*resultobj
= 0;
4652 wxSize
*arg1
= (wxSize
*) 0 ;
4657 PyObject
* obj0
= 0 ;
4658 PyObject
* obj1
= 0 ;
4659 char * kwnames
[] = {
4660 (char *) "self",(char *) "sz", NULL
4663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4665 if (!SWIG_IsOK(res1
)) {
4666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_IncTo" "', expected argument " "1"" of type '" "wxSize *""'");
4668 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4671 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4675 (arg1
)->IncTo((wxSize
const &)*arg2
);
4676 wxPyEndAllowThreads(__tstate
);
4677 if (PyErr_Occurred()) SWIG_fail
;
4679 resultobj
= SWIG_Py_Void();
4686 SWIGINTERN PyObject
*_wrap_Size_DecTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4687 PyObject
*resultobj
= 0;
4688 wxSize
*arg1
= (wxSize
*) 0 ;
4693 PyObject
* obj0
= 0 ;
4694 PyObject
* obj1
= 0 ;
4695 char * kwnames
[] = {
4696 (char *) "self",(char *) "sz", NULL
4699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4701 if (!SWIG_IsOK(res1
)) {
4702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_DecTo" "', expected argument " "1"" of type '" "wxSize *""'");
4704 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4707 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4711 (arg1
)->DecTo((wxSize
const &)*arg2
);
4712 wxPyEndAllowThreads(__tstate
);
4713 if (PyErr_Occurred()) SWIG_fail
;
4715 resultobj
= SWIG_Py_Void();
4722 SWIGINTERN PyObject
*_wrap_Size_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4723 PyObject
*resultobj
= 0;
4724 wxSize
*arg1
= (wxSize
*) 0 ;
4733 PyObject
* obj0
= 0 ;
4734 PyObject
* obj1
= 0 ;
4735 PyObject
* obj2
= 0 ;
4736 char * kwnames
[] = {
4737 (char *) "self",(char *) "w",(char *) "h", NULL
4740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4742 if (!SWIG_IsOK(res1
)) {
4743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_Set" "', expected argument " "1"" of type '" "wxSize *""'");
4745 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4746 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4747 if (!SWIG_IsOK(ecode2
)) {
4748 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_Set" "', expected argument " "2"" of type '" "int""'");
4750 arg2
= static_cast< int >(val2
);
4751 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4752 if (!SWIG_IsOK(ecode3
)) {
4753 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Size_Set" "', expected argument " "3"" of type '" "int""'");
4755 arg3
= static_cast< int >(val3
);
4757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4758 (arg1
)->Set(arg2
,arg3
);
4759 wxPyEndAllowThreads(__tstate
);
4760 if (PyErr_Occurred()) SWIG_fail
;
4762 resultobj
= SWIG_Py_Void();
4769 SWIGINTERN PyObject
*_wrap_Size_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4770 PyObject
*resultobj
= 0;
4771 wxSize
*arg1
= (wxSize
*) 0 ;
4777 PyObject
* obj0
= 0 ;
4778 PyObject
* obj1
= 0 ;
4779 char * kwnames
[] = {
4780 (char *) "self",(char *) "w", NULL
4783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4785 if (!SWIG_IsOK(res1
)) {
4786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_SetWidth" "', expected argument " "1"" of type '" "wxSize *""'");
4788 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4789 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4790 if (!SWIG_IsOK(ecode2
)) {
4791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_SetWidth" "', expected argument " "2"" of type '" "int""'");
4793 arg2
= static_cast< int >(val2
);
4795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4796 (arg1
)->SetWidth(arg2
);
4797 wxPyEndAllowThreads(__tstate
);
4798 if (PyErr_Occurred()) SWIG_fail
;
4800 resultobj
= SWIG_Py_Void();
4807 SWIGINTERN PyObject
*_wrap_Size_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4808 PyObject
*resultobj
= 0;
4809 wxSize
*arg1
= (wxSize
*) 0 ;
4815 PyObject
* obj0
= 0 ;
4816 PyObject
* obj1
= 0 ;
4817 char * kwnames
[] = {
4818 (char *) "self",(char *) "h", NULL
4821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4823 if (!SWIG_IsOK(res1
)) {
4824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_SetHeight" "', expected argument " "1"" of type '" "wxSize *""'");
4826 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4827 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4828 if (!SWIG_IsOK(ecode2
)) {
4829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_SetHeight" "', expected argument " "2"" of type '" "int""'");
4831 arg2
= static_cast< int >(val2
);
4833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4834 (arg1
)->SetHeight(arg2
);
4835 wxPyEndAllowThreads(__tstate
);
4836 if (PyErr_Occurred()) SWIG_fail
;
4838 resultobj
= SWIG_Py_Void();
4845 SWIGINTERN PyObject
*_wrap_Size_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4846 PyObject
*resultobj
= 0;
4847 wxSize
*arg1
= (wxSize
*) 0 ;
4851 PyObject
*swig_obj
[1] ;
4853 if (!args
) SWIG_fail
;
4855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4856 if (!SWIG_IsOK(res1
)) {
4857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_GetWidth" "', expected argument " "1"" of type '" "wxSize const *""'");
4859 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4862 result
= (int)((wxSize
const *)arg1
)->GetWidth();
4863 wxPyEndAllowThreads(__tstate
);
4864 if (PyErr_Occurred()) SWIG_fail
;
4866 resultobj
= SWIG_From_int(static_cast< int >(result
));
4873 SWIGINTERN PyObject
*_wrap_Size_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4874 PyObject
*resultobj
= 0;
4875 wxSize
*arg1
= (wxSize
*) 0 ;
4879 PyObject
*swig_obj
[1] ;
4881 if (!args
) SWIG_fail
;
4883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4884 if (!SWIG_IsOK(res1
)) {
4885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_GetHeight" "', expected argument " "1"" of type '" "wxSize const *""'");
4887 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4890 result
= (int)((wxSize
const *)arg1
)->GetHeight();
4891 wxPyEndAllowThreads(__tstate
);
4892 if (PyErr_Occurred()) SWIG_fail
;
4894 resultobj
= SWIG_From_int(static_cast< int >(result
));
4901 SWIGINTERN PyObject
*_wrap_Size_IsFullySpecified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4902 PyObject
*resultobj
= 0;
4903 wxSize
*arg1
= (wxSize
*) 0 ;
4907 PyObject
*swig_obj
[1] ;
4909 if (!args
) SWIG_fail
;
4911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4912 if (!SWIG_IsOK(res1
)) {
4913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_IsFullySpecified" "', expected argument " "1"" of type '" "wxSize const *""'");
4915 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4918 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
4919 wxPyEndAllowThreads(__tstate
);
4920 if (PyErr_Occurred()) SWIG_fail
;
4923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4931 SWIGINTERN PyObject
*_wrap_Size_SetDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4932 PyObject
*resultobj
= 0;
4933 wxSize
*arg1
= (wxSize
*) 0 ;
4938 PyObject
* obj0
= 0 ;
4939 PyObject
* obj1
= 0 ;
4940 char * kwnames
[] = {
4941 (char *) "self",(char *) "size", NULL
4944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4946 if (!SWIG_IsOK(res1
)) {
4947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_SetDefaults" "', expected argument " "1"" of type '" "wxSize *""'");
4949 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4952 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4956 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
4957 wxPyEndAllowThreads(__tstate
);
4958 if (PyErr_Occurred()) SWIG_fail
;
4960 resultobj
= SWIG_Py_Void();
4967 SWIGINTERN PyObject
*_wrap_Size_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4968 PyObject
*resultobj
= 0;
4969 wxSize
*arg1
= (wxSize
*) 0 ;
4970 PyObject
*result
= 0 ;
4973 PyObject
*swig_obj
[1] ;
4975 if (!args
) SWIG_fail
;
4977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4978 if (!SWIG_IsOK(res1
)) {
4979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_Get" "', expected argument " "1"" of type '" "wxSize *""'");
4981 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4984 result
= (PyObject
*)wxSize_Get(arg1
);
4985 wxPyEndAllowThreads(__tstate
);
4986 if (PyErr_Occurred()) SWIG_fail
;
4995 SWIGINTERN PyObject
*Size_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4997 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4998 SWIG_TypeNewClientData(SWIGTYPE_p_wxSize
, SWIG_NewClientData(obj
));
4999 return SWIG_Py_Void();
5002 SWIGINTERN PyObject
*Size_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5003 return SWIG_Python_InitShadowInstance(args
);
5006 SWIGINTERN PyObject
*_wrap_RealPoint_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5007 PyObject
*resultobj
= 0;
5008 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5014 PyObject
*swig_obj
[2] ;
5016 if (!SWIG_Python_UnpackTuple(args
,"RealPoint_x_set",2,2,swig_obj
)) SWIG_fail
;
5017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5018 if (!SWIG_IsOK(res1
)) {
5019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_x_set" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5021 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5022 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
5023 if (!SWIG_IsOK(ecode2
)) {
5024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RealPoint_x_set" "', expected argument " "2"" of type '" "double""'");
5026 arg2
= static_cast< double >(val2
);
5027 if (arg1
) (arg1
)->x
= arg2
;
5029 resultobj
= SWIG_Py_Void();
5036 SWIGINTERN PyObject
*_wrap_RealPoint_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5037 PyObject
*resultobj
= 0;
5038 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5042 PyObject
*swig_obj
[1] ;
5044 if (!args
) SWIG_fail
;
5046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5047 if (!SWIG_IsOK(res1
)) {
5048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_x_get" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5050 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5051 result
= (double) ((arg1
)->x
);
5052 resultobj
= SWIG_From_double(static_cast< double >(result
));
5059 SWIGINTERN PyObject
*_wrap_RealPoint_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5060 PyObject
*resultobj
= 0;
5061 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5067 PyObject
*swig_obj
[2] ;
5069 if (!SWIG_Python_UnpackTuple(args
,"RealPoint_y_set",2,2,swig_obj
)) SWIG_fail
;
5070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5071 if (!SWIG_IsOK(res1
)) {
5072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_y_set" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5074 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5075 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
5076 if (!SWIG_IsOK(ecode2
)) {
5077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RealPoint_y_set" "', expected argument " "2"" of type '" "double""'");
5079 arg2
= static_cast< double >(val2
);
5080 if (arg1
) (arg1
)->y
= arg2
;
5082 resultobj
= SWIG_Py_Void();
5089 SWIGINTERN PyObject
*_wrap_RealPoint_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5090 PyObject
*resultobj
= 0;
5091 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5095 PyObject
*swig_obj
[1] ;
5097 if (!args
) SWIG_fail
;
5099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5100 if (!SWIG_IsOK(res1
)) {
5101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_y_get" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5103 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5104 result
= (double) ((arg1
)->y
);
5105 resultobj
= SWIG_From_double(static_cast< double >(result
));
5112 SWIGINTERN PyObject
*_wrap_new_RealPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5113 PyObject
*resultobj
= 0;
5114 double arg1
= (double) 0.0 ;
5115 double arg2
= (double) 0.0 ;
5116 wxRealPoint
*result
= 0 ;
5121 PyObject
* obj0
= 0 ;
5122 PyObject
* obj1
= 0 ;
5123 char * kwnames
[] = {
5124 (char *) "x",(char *) "y", NULL
5127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5129 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
5130 if (!SWIG_IsOK(ecode1
)) {
5131 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RealPoint" "', expected argument " "1"" of type '" "double""'");
5133 arg1
= static_cast< double >(val1
);
5136 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
5137 if (!SWIG_IsOK(ecode2
)) {
5138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RealPoint" "', expected argument " "2"" of type '" "double""'");
5140 arg2
= static_cast< double >(val2
);
5143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5144 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
5145 wxPyEndAllowThreads(__tstate
);
5146 if (PyErr_Occurred()) SWIG_fail
;
5148 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_NEW
| 0 );
5155 SWIGINTERN PyObject
*_wrap_delete_RealPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5156 PyObject
*resultobj
= 0;
5157 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5160 PyObject
*swig_obj
[1] ;
5162 if (!args
) SWIG_fail
;
5164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_DISOWN
| 0 );
5165 if (!SWIG_IsOK(res1
)) {
5166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RealPoint" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5168 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5173 wxPyEndAllowThreads(__tstate
);
5174 if (PyErr_Occurred()) SWIG_fail
;
5176 resultobj
= SWIG_Py_Void();
5183 SWIGINTERN PyObject
*_wrap_RealPoint___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5184 PyObject
*resultobj
= 0;
5185 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5186 wxRealPoint
*arg2
= 0 ;
5191 PyObject
* obj0
= 0 ;
5192 PyObject
* obj1
= 0 ;
5193 char * kwnames
[] = {
5194 (char *) "self",(char *) "pt", NULL
5197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5199 if (!SWIG_IsOK(res1
)) {
5200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint___eq__" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5202 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5205 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5209 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
5210 wxPyEndAllowThreads(__tstate
);
5211 if (PyErr_Occurred()) SWIG_fail
;
5214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5222 SWIGINTERN PyObject
*_wrap_RealPoint___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5223 PyObject
*resultobj
= 0;
5224 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5225 wxRealPoint
*arg2
= 0 ;
5230 PyObject
* obj0
= 0 ;
5231 PyObject
* obj1
= 0 ;
5232 char * kwnames
[] = {
5233 (char *) "self",(char *) "pt", NULL
5236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5238 if (!SWIG_IsOK(res1
)) {
5239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint___ne__" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5241 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5244 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5248 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
5249 wxPyEndAllowThreads(__tstate
);
5250 if (PyErr_Occurred()) SWIG_fail
;
5253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5261 SWIGINTERN PyObject
*_wrap_RealPoint___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5262 PyObject
*resultobj
= 0;
5263 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5264 wxRealPoint
*arg2
= 0 ;
5269 PyObject
* obj0
= 0 ;
5270 PyObject
* obj1
= 0 ;
5271 char * kwnames
[] = {
5272 (char *) "self",(char *) "pt", NULL
5275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5277 if (!SWIG_IsOK(res1
)) {
5278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint___add__" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5280 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5283 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5287 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
5288 wxPyEndAllowThreads(__tstate
);
5289 if (PyErr_Occurred()) SWIG_fail
;
5291 resultobj
= SWIG_NewPointerObj((new wxRealPoint(static_cast< const wxRealPoint
& >(result
))), SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_OWN
| 0 );
5298 SWIGINTERN PyObject
*_wrap_RealPoint___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5299 PyObject
*resultobj
= 0;
5300 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5301 wxRealPoint
*arg2
= 0 ;
5306 PyObject
* obj0
= 0 ;
5307 PyObject
* obj1
= 0 ;
5308 char * kwnames
[] = {
5309 (char *) "self",(char *) "pt", NULL
5312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5314 if (!SWIG_IsOK(res1
)) {
5315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint___sub__" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5317 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5320 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5324 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
5325 wxPyEndAllowThreads(__tstate
);
5326 if (PyErr_Occurred()) SWIG_fail
;
5328 resultobj
= SWIG_NewPointerObj((new wxRealPoint(static_cast< const wxRealPoint
& >(result
))), SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_OWN
| 0 );
5335 SWIGINTERN PyObject
*_wrap_RealPoint_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5336 PyObject
*resultobj
= 0;
5337 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5346 PyObject
* obj0
= 0 ;
5347 PyObject
* obj1
= 0 ;
5348 PyObject
* obj2
= 0 ;
5349 char * kwnames
[] = {
5350 (char *) "self",(char *) "x",(char *) "y", NULL
5353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5355 if (!SWIG_IsOK(res1
)) {
5356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_Set" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5358 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5359 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
5360 if (!SWIG_IsOK(ecode2
)) {
5361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RealPoint_Set" "', expected argument " "2"" of type '" "double""'");
5363 arg2
= static_cast< double >(val2
);
5364 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
5365 if (!SWIG_IsOK(ecode3
)) {
5366 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RealPoint_Set" "', expected argument " "3"" of type '" "double""'");
5368 arg3
= static_cast< double >(val3
);
5370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5371 wxRealPoint_Set(arg1
,arg2
,arg3
);
5372 wxPyEndAllowThreads(__tstate
);
5373 if (PyErr_Occurred()) SWIG_fail
;
5375 resultobj
= SWIG_Py_Void();
5382 SWIGINTERN PyObject
*_wrap_RealPoint_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5383 PyObject
*resultobj
= 0;
5384 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5385 PyObject
*result
= 0 ;
5388 PyObject
*swig_obj
[1] ;
5390 if (!args
) SWIG_fail
;
5392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5393 if (!SWIG_IsOK(res1
)) {
5394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_Get" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5396 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5399 result
= (PyObject
*)wxRealPoint_Get(arg1
);
5400 wxPyEndAllowThreads(__tstate
);
5401 if (PyErr_Occurred()) SWIG_fail
;
5410 SWIGINTERN PyObject
*RealPoint_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5412 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5413 SWIG_TypeNewClientData(SWIGTYPE_p_wxRealPoint
, SWIG_NewClientData(obj
));
5414 return SWIG_Py_Void();
5417 SWIGINTERN PyObject
*RealPoint_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5418 return SWIG_Python_InitShadowInstance(args
);
5421 SWIGINTERN PyObject
*_wrap_Point_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5422 PyObject
*resultobj
= 0;
5423 wxPoint
*arg1
= (wxPoint
*) 0 ;
5429 PyObject
*swig_obj
[2] ;
5431 if (!SWIG_Python_UnpackTuple(args
,"Point_x_set",2,2,swig_obj
)) SWIG_fail
;
5432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5433 if (!SWIG_IsOK(res1
)) {
5434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_x_set" "', expected argument " "1"" of type '" "wxPoint *""'");
5436 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5437 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
5438 if (!SWIG_IsOK(ecode2
)) {
5439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point_x_set" "', expected argument " "2"" of type '" "int""'");
5441 arg2
= static_cast< int >(val2
);
5442 if (arg1
) (arg1
)->x
= arg2
;
5444 resultobj
= SWIG_Py_Void();
5451 SWIGINTERN PyObject
*_wrap_Point_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5452 PyObject
*resultobj
= 0;
5453 wxPoint
*arg1
= (wxPoint
*) 0 ;
5457 PyObject
*swig_obj
[1] ;
5459 if (!args
) SWIG_fail
;
5461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5462 if (!SWIG_IsOK(res1
)) {
5463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_x_get" "', expected argument " "1"" of type '" "wxPoint *""'");
5465 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5466 result
= (int) ((arg1
)->x
);
5467 resultobj
= SWIG_From_int(static_cast< int >(result
));
5474 SWIGINTERN PyObject
*_wrap_Point_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5475 PyObject
*resultobj
= 0;
5476 wxPoint
*arg1
= (wxPoint
*) 0 ;
5482 PyObject
*swig_obj
[2] ;
5484 if (!SWIG_Python_UnpackTuple(args
,"Point_y_set",2,2,swig_obj
)) SWIG_fail
;
5485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5486 if (!SWIG_IsOK(res1
)) {
5487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_y_set" "', expected argument " "1"" of type '" "wxPoint *""'");
5489 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5490 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
5491 if (!SWIG_IsOK(ecode2
)) {
5492 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point_y_set" "', expected argument " "2"" of type '" "int""'");
5494 arg2
= static_cast< int >(val2
);
5495 if (arg1
) (arg1
)->y
= arg2
;
5497 resultobj
= SWIG_Py_Void();
5504 SWIGINTERN PyObject
*_wrap_Point_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5505 PyObject
*resultobj
= 0;
5506 wxPoint
*arg1
= (wxPoint
*) 0 ;
5510 PyObject
*swig_obj
[1] ;
5512 if (!args
) SWIG_fail
;
5514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5515 if (!SWIG_IsOK(res1
)) {
5516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_y_get" "', expected argument " "1"" of type '" "wxPoint *""'");
5518 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5519 result
= (int) ((arg1
)->y
);
5520 resultobj
= SWIG_From_int(static_cast< int >(result
));
5527 SWIGINTERN PyObject
*_wrap_new_Point(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5528 PyObject
*resultobj
= 0;
5529 int arg1
= (int) 0 ;
5530 int arg2
= (int) 0 ;
5531 wxPoint
*result
= 0 ;
5536 PyObject
* obj0
= 0 ;
5537 PyObject
* obj1
= 0 ;
5538 char * kwnames
[] = {
5539 (char *) "x",(char *) "y", NULL
5542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5544 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5545 if (!SWIG_IsOK(ecode1
)) {
5546 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Point" "', expected argument " "1"" of type '" "int""'");
5548 arg1
= static_cast< int >(val1
);
5551 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5552 if (!SWIG_IsOK(ecode2
)) {
5553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Point" "', expected argument " "2"" of type '" "int""'");
5555 arg2
= static_cast< int >(val2
);
5558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5559 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
5560 wxPyEndAllowThreads(__tstate
);
5561 if (PyErr_Occurred()) SWIG_fail
;
5563 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, SWIG_POINTER_NEW
| 0 );
5570 SWIGINTERN PyObject
*_wrap_delete_Point(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5571 PyObject
*resultobj
= 0;
5572 wxPoint
*arg1
= (wxPoint
*) 0 ;
5575 PyObject
*swig_obj
[1] ;
5577 if (!args
) SWIG_fail
;
5579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, SWIG_POINTER_DISOWN
| 0 );
5580 if (!SWIG_IsOK(res1
)) {
5581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Point" "', expected argument " "1"" of type '" "wxPoint *""'");
5583 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5588 wxPyEndAllowThreads(__tstate
);
5589 if (PyErr_Occurred()) SWIG_fail
;
5591 resultobj
= SWIG_Py_Void();
5598 SWIGINTERN PyObject
*_wrap_Point___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5599 PyObject
*resultobj
= 0;
5600 wxPoint
*arg1
= (wxPoint
*) 0 ;
5606 PyObject
* obj0
= 0 ;
5607 PyObject
* obj1
= 0 ;
5608 char * kwnames
[] = {
5609 (char *) "self",(char *) "pt", NULL
5612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5614 if (!SWIG_IsOK(res1
)) {
5615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___eq__" "', expected argument " "1"" of type '" "wxPoint *""'");
5617 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5620 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5624 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
5625 wxPyEndAllowThreads(__tstate
);
5626 if (PyErr_Occurred()) SWIG_fail
;
5629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5637 SWIGINTERN PyObject
*_wrap_Point___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5638 PyObject
*resultobj
= 0;
5639 wxPoint
*arg1
= (wxPoint
*) 0 ;
5645 PyObject
* obj0
= 0 ;
5646 PyObject
* obj1
= 0 ;
5647 char * kwnames
[] = {
5648 (char *) "self",(char *) "pt", NULL
5651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5653 if (!SWIG_IsOK(res1
)) {
5654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___ne__" "', expected argument " "1"" of type '" "wxPoint *""'");
5656 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5659 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5663 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
5664 wxPyEndAllowThreads(__tstate
);
5665 if (PyErr_Occurred()) SWIG_fail
;
5668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5676 SWIGINTERN PyObject
*_wrap_Point___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5677 PyObject
*resultobj
= 0;
5678 wxPoint
*arg1
= (wxPoint
*) 0 ;
5684 PyObject
* obj0
= 0 ;
5685 PyObject
* obj1
= 0 ;
5686 char * kwnames
[] = {
5687 (char *) "self",(char *) "pt", NULL
5690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5692 if (!SWIG_IsOK(res1
)) {
5693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___add__" "', expected argument " "1"" of type '" "wxPoint *""'");
5695 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5698 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5702 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
5703 wxPyEndAllowThreads(__tstate
);
5704 if (PyErr_Occurred()) SWIG_fail
;
5706 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
5713 SWIGINTERN PyObject
*_wrap_Point___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5714 PyObject
*resultobj
= 0;
5715 wxPoint
*arg1
= (wxPoint
*) 0 ;
5721 PyObject
* obj0
= 0 ;
5722 PyObject
* obj1
= 0 ;
5723 char * kwnames
[] = {
5724 (char *) "self",(char *) "pt", NULL
5727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5729 if (!SWIG_IsOK(res1
)) {
5730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___sub__" "', expected argument " "1"" of type '" "wxPoint *""'");
5732 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5735 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5739 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
5740 wxPyEndAllowThreads(__tstate
);
5741 if (PyErr_Occurred()) SWIG_fail
;
5743 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
5750 SWIGINTERN PyObject
*_wrap_Point___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5751 PyObject
*resultobj
= 0;
5752 wxPoint
*arg1
= (wxPoint
*) 0 ;
5754 wxPoint
*result
= 0 ;
5758 PyObject
* obj0
= 0 ;
5759 PyObject
* obj1
= 0 ;
5760 char * kwnames
[] = {
5761 (char *) "self",(char *) "pt", NULL
5764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, SWIG_POINTER_DISOWN
| 0 );
5766 if (!SWIG_IsOK(res1
)) {
5767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___iadd__" "', expected argument " "1"" of type '" "wxPoint *""'");
5769 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5772 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5777 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
5778 result
= (wxPoint
*) &_result_ref
;
5780 wxPyEndAllowThreads(__tstate
);
5781 if (PyErr_Occurred()) SWIG_fail
;
5783 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
5790 SWIGINTERN PyObject
*_wrap_Point___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5791 PyObject
*resultobj
= 0;
5792 wxPoint
*arg1
= (wxPoint
*) 0 ;
5794 wxPoint
*result
= 0 ;
5798 PyObject
* obj0
= 0 ;
5799 PyObject
* obj1
= 0 ;
5800 char * kwnames
[] = {
5801 (char *) "self",(char *) "pt", NULL
5804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, SWIG_POINTER_DISOWN
| 0 );
5806 if (!SWIG_IsOK(res1
)) {
5807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___isub__" "', expected argument " "1"" of type '" "wxPoint *""'");
5809 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5812 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5817 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
5818 result
= (wxPoint
*) &_result_ref
;
5820 wxPyEndAllowThreads(__tstate
);
5821 if (PyErr_Occurred()) SWIG_fail
;
5823 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
5830 SWIGINTERN PyObject
*_wrap_Point_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5831 PyObject
*resultobj
= 0;
5832 wxPoint
*arg1
= (wxPoint
*) 0 ;
5841 PyObject
* obj0
= 0 ;
5842 PyObject
* obj1
= 0 ;
5843 PyObject
* obj2
= 0 ;
5844 char * kwnames
[] = {
5845 (char *) "self",(char *) "x",(char *) "y", NULL
5848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5850 if (!SWIG_IsOK(res1
)) {
5851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_Set" "', expected argument " "1"" of type '" "wxPoint *""'");
5853 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5854 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
5855 if (!SWIG_IsOK(ecode2
)) {
5856 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point_Set" "', expected argument " "2"" of type '" "long""'");
5858 arg2
= static_cast< long >(val2
);
5859 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5860 if (!SWIG_IsOK(ecode3
)) {
5861 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Point_Set" "', expected argument " "3"" of type '" "long""'");
5863 arg3
= static_cast< long >(val3
);
5865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5866 wxPoint_Set(arg1
,arg2
,arg3
);
5867 wxPyEndAllowThreads(__tstate
);
5868 if (PyErr_Occurred()) SWIG_fail
;
5870 resultobj
= SWIG_Py_Void();
5877 SWIGINTERN PyObject
*_wrap_Point_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5878 PyObject
*resultobj
= 0;
5879 wxPoint
*arg1
= (wxPoint
*) 0 ;
5880 PyObject
*result
= 0 ;
5883 PyObject
*swig_obj
[1] ;
5885 if (!args
) SWIG_fail
;
5887 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5888 if (!SWIG_IsOK(res1
)) {
5889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_Get" "', expected argument " "1"" of type '" "wxPoint *""'");
5891 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5894 result
= (PyObject
*)wxPoint_Get(arg1
);
5895 wxPyEndAllowThreads(__tstate
);
5896 if (PyErr_Occurred()) SWIG_fail
;
5905 SWIGINTERN PyObject
*Point_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5907 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5908 SWIG_TypeNewClientData(SWIGTYPE_p_wxPoint
, SWIG_NewClientData(obj
));
5909 return SWIG_Py_Void();
5912 SWIGINTERN PyObject
*Point_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5913 return SWIG_Python_InitShadowInstance(args
);
5916 SWIGINTERN PyObject
*_wrap_new_Rect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5917 PyObject
*resultobj
= 0;
5918 int arg1
= (int) 0 ;
5919 int arg2
= (int) 0 ;
5920 int arg3
= (int) 0 ;
5921 int arg4
= (int) 0 ;
5922 wxRect
*result
= 0 ;
5931 PyObject
* obj0
= 0 ;
5932 PyObject
* obj1
= 0 ;
5933 PyObject
* obj2
= 0 ;
5934 PyObject
* obj3
= 0 ;
5935 char * kwnames
[] = {
5936 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
5939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
5941 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5942 if (!SWIG_IsOK(ecode1
)) {
5943 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Rect" "', expected argument " "1"" of type '" "int""'");
5945 arg1
= static_cast< int >(val1
);
5948 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5949 if (!SWIG_IsOK(ecode2
)) {
5950 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Rect" "', expected argument " "2"" of type '" "int""'");
5952 arg2
= static_cast< int >(val2
);
5955 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
5956 if (!SWIG_IsOK(ecode3
)) {
5957 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Rect" "', expected argument " "3"" of type '" "int""'");
5959 arg3
= static_cast< int >(val3
);
5962 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
5963 if (!SWIG_IsOK(ecode4
)) {
5964 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Rect" "', expected argument " "4"" of type '" "int""'");
5966 arg4
= static_cast< int >(val4
);
5969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5970 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
5971 wxPyEndAllowThreads(__tstate
);
5972 if (PyErr_Occurred()) SWIG_fail
;
5974 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, SWIG_POINTER_NEW
| 0 );
5981 SWIGINTERN PyObject
*_wrap_new_RectPP(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5982 PyObject
*resultobj
= 0;
5985 wxRect
*result
= 0 ;
5988 PyObject
* obj0
= 0 ;
5989 PyObject
* obj1
= 0 ;
5990 char * kwnames
[] = {
5991 (char *) "topLeft",(char *) "bottomRight", NULL
5994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5997 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6001 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6005 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
6006 wxPyEndAllowThreads(__tstate
);
6007 if (PyErr_Occurred()) SWIG_fail
;
6009 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
6016 SWIGINTERN PyObject
*_wrap_new_RectPS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6017 PyObject
*resultobj
= 0;
6020 wxRect
*result
= 0 ;
6023 PyObject
* obj0
= 0 ;
6024 PyObject
* obj1
= 0 ;
6025 char * kwnames
[] = {
6026 (char *) "pos",(char *) "size", NULL
6029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6032 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6036 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6040 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
6041 wxPyEndAllowThreads(__tstate
);
6042 if (PyErr_Occurred()) SWIG_fail
;
6044 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
6051 SWIGINTERN PyObject
*_wrap_new_RectS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6052 PyObject
*resultobj
= 0;
6054 wxRect
*result
= 0 ;
6056 PyObject
* obj0
= 0 ;
6057 char * kwnames
[] = {
6058 (char *) "size", NULL
6061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) SWIG_fail
;
6064 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
6067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6068 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
6069 wxPyEndAllowThreads(__tstate
);
6070 if (PyErr_Occurred()) SWIG_fail
;
6072 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
6079 SWIGINTERN PyObject
*_wrap_delete_Rect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6080 PyObject
*resultobj
= 0;
6081 wxRect
*arg1
= (wxRect
*) 0 ;
6084 PyObject
*swig_obj
[1] ;
6086 if (!args
) SWIG_fail
;
6088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, SWIG_POINTER_DISOWN
| 0 );
6089 if (!SWIG_IsOK(res1
)) {
6090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Rect" "', expected argument " "1"" of type '" "wxRect *""'");
6092 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6097 wxPyEndAllowThreads(__tstate
);
6098 if (PyErr_Occurred()) SWIG_fail
;
6100 resultobj
= SWIG_Py_Void();
6107 SWIGINTERN PyObject
*_wrap_Rect_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6108 PyObject
*resultobj
= 0;
6109 wxRect
*arg1
= (wxRect
*) 0 ;
6113 PyObject
*swig_obj
[1] ;
6115 if (!args
) SWIG_fail
;
6117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6118 if (!SWIG_IsOK(res1
)) {
6119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetX" "', expected argument " "1"" of type '" "wxRect const *""'");
6121 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6124 result
= (int)((wxRect
const *)arg1
)->GetX();
6125 wxPyEndAllowThreads(__tstate
);
6126 if (PyErr_Occurred()) SWIG_fail
;
6128 resultobj
= SWIG_From_int(static_cast< int >(result
));
6135 SWIGINTERN PyObject
*_wrap_Rect_SetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6136 PyObject
*resultobj
= 0;
6137 wxRect
*arg1
= (wxRect
*) 0 ;
6143 PyObject
* obj0
= 0 ;
6144 PyObject
* obj1
= 0 ;
6145 char * kwnames
[] = {
6146 (char *) "self",(char *) "x", NULL
6149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6151 if (!SWIG_IsOK(res1
)) {
6152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetX" "', expected argument " "1"" of type '" "wxRect *""'");
6154 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6155 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6156 if (!SWIG_IsOK(ecode2
)) {
6157 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetX" "', expected argument " "2"" of type '" "int""'");
6159 arg2
= static_cast< int >(val2
);
6161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6163 wxPyEndAllowThreads(__tstate
);
6164 if (PyErr_Occurred()) SWIG_fail
;
6166 resultobj
= SWIG_Py_Void();
6173 SWIGINTERN PyObject
*_wrap_Rect_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6174 PyObject
*resultobj
= 0;
6175 wxRect
*arg1
= (wxRect
*) 0 ;
6179 PyObject
*swig_obj
[1] ;
6181 if (!args
) SWIG_fail
;
6183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6184 if (!SWIG_IsOK(res1
)) {
6185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetY" "', expected argument " "1"" of type '" "wxRect *""'");
6187 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6190 result
= (int)(arg1
)->GetY();
6191 wxPyEndAllowThreads(__tstate
);
6192 if (PyErr_Occurred()) SWIG_fail
;
6194 resultobj
= SWIG_From_int(static_cast< int >(result
));
6201 SWIGINTERN PyObject
*_wrap_Rect_SetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6202 PyObject
*resultobj
= 0;
6203 wxRect
*arg1
= (wxRect
*) 0 ;
6209 PyObject
* obj0
= 0 ;
6210 PyObject
* obj1
= 0 ;
6211 char * kwnames
[] = {
6212 (char *) "self",(char *) "y", NULL
6215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6217 if (!SWIG_IsOK(res1
)) {
6218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetY" "', expected argument " "1"" of type '" "wxRect *""'");
6220 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6221 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6222 if (!SWIG_IsOK(ecode2
)) {
6223 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetY" "', expected argument " "2"" of type '" "int""'");
6225 arg2
= static_cast< int >(val2
);
6227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6229 wxPyEndAllowThreads(__tstate
);
6230 if (PyErr_Occurred()) SWIG_fail
;
6232 resultobj
= SWIG_Py_Void();
6239 SWIGINTERN PyObject
*_wrap_Rect_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6240 PyObject
*resultobj
= 0;
6241 wxRect
*arg1
= (wxRect
*) 0 ;
6245 PyObject
*swig_obj
[1] ;
6247 if (!args
) SWIG_fail
;
6249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6250 if (!SWIG_IsOK(res1
)) {
6251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetWidth" "', expected argument " "1"" of type '" "wxRect const *""'");
6253 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6256 result
= (int)((wxRect
const *)arg1
)->GetWidth();
6257 wxPyEndAllowThreads(__tstate
);
6258 if (PyErr_Occurred()) SWIG_fail
;
6260 resultobj
= SWIG_From_int(static_cast< int >(result
));
6267 SWIGINTERN PyObject
*_wrap_Rect_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6268 PyObject
*resultobj
= 0;
6269 wxRect
*arg1
= (wxRect
*) 0 ;
6275 PyObject
* obj0
= 0 ;
6276 PyObject
* obj1
= 0 ;
6277 char * kwnames
[] = {
6278 (char *) "self",(char *) "w", NULL
6281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6283 if (!SWIG_IsOK(res1
)) {
6284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetWidth" "', expected argument " "1"" of type '" "wxRect *""'");
6286 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6287 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6288 if (!SWIG_IsOK(ecode2
)) {
6289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetWidth" "', expected argument " "2"" of type '" "int""'");
6291 arg2
= static_cast< int >(val2
);
6293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6294 (arg1
)->SetWidth(arg2
);
6295 wxPyEndAllowThreads(__tstate
);
6296 if (PyErr_Occurred()) SWIG_fail
;
6298 resultobj
= SWIG_Py_Void();
6305 SWIGINTERN PyObject
*_wrap_Rect_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6306 PyObject
*resultobj
= 0;
6307 wxRect
*arg1
= (wxRect
*) 0 ;
6311 PyObject
*swig_obj
[1] ;
6313 if (!args
) SWIG_fail
;
6315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6316 if (!SWIG_IsOK(res1
)) {
6317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetHeight" "', expected argument " "1"" of type '" "wxRect const *""'");
6319 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6322 result
= (int)((wxRect
const *)arg1
)->GetHeight();
6323 wxPyEndAllowThreads(__tstate
);
6324 if (PyErr_Occurred()) SWIG_fail
;
6326 resultobj
= SWIG_From_int(static_cast< int >(result
));
6333 SWIGINTERN PyObject
*_wrap_Rect_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6334 PyObject
*resultobj
= 0;
6335 wxRect
*arg1
= (wxRect
*) 0 ;
6341 PyObject
* obj0
= 0 ;
6342 PyObject
* obj1
= 0 ;
6343 char * kwnames
[] = {
6344 (char *) "self",(char *) "h", NULL
6347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6349 if (!SWIG_IsOK(res1
)) {
6350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetHeight" "', expected argument " "1"" of type '" "wxRect *""'");
6352 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6353 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6354 if (!SWIG_IsOK(ecode2
)) {
6355 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetHeight" "', expected argument " "2"" of type '" "int""'");
6357 arg2
= static_cast< int >(val2
);
6359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6360 (arg1
)->SetHeight(arg2
);
6361 wxPyEndAllowThreads(__tstate
);
6362 if (PyErr_Occurred()) SWIG_fail
;
6364 resultobj
= SWIG_Py_Void();
6371 SWIGINTERN PyObject
*_wrap_Rect_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6372 PyObject
*resultobj
= 0;
6373 wxRect
*arg1
= (wxRect
*) 0 ;
6377 PyObject
*swig_obj
[1] ;
6379 if (!args
) SWIG_fail
;
6381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6382 if (!SWIG_IsOK(res1
)) {
6383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetPosition" "', expected argument " "1"" of type '" "wxRect const *""'");
6385 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6388 result
= ((wxRect
const *)arg1
)->GetPosition();
6389 wxPyEndAllowThreads(__tstate
);
6390 if (PyErr_Occurred()) SWIG_fail
;
6392 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6399 SWIGINTERN PyObject
*_wrap_Rect_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6400 PyObject
*resultobj
= 0;
6401 wxRect
*arg1
= (wxRect
*) 0 ;
6406 PyObject
* obj0
= 0 ;
6407 PyObject
* obj1
= 0 ;
6408 char * kwnames
[] = {
6409 (char *) "self",(char *) "p", NULL
6412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6414 if (!SWIG_IsOK(res1
)) {
6415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetPosition" "', expected argument " "1"" of type '" "wxRect *""'");
6417 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6420 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6424 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
6425 wxPyEndAllowThreads(__tstate
);
6426 if (PyErr_Occurred()) SWIG_fail
;
6428 resultobj
= SWIG_Py_Void();
6435 SWIGINTERN PyObject
*_wrap_Rect_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6436 PyObject
*resultobj
= 0;
6437 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
, 0 | 0 );
6446 if (!SWIG_IsOK(res1
)) {
6447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetSize" "', expected argument " "1"" of type '" "wxRect const *""'");
6449 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6452 result
= ((wxRect
const *)arg1
)->GetSize();
6453 wxPyEndAllowThreads(__tstate
);
6454 if (PyErr_Occurred()) SWIG_fail
;
6456 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6463 SWIGINTERN PyObject
*_wrap_Rect_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6464 PyObject
*resultobj
= 0;
6465 wxRect
*arg1
= (wxRect
*) 0 ;
6470 PyObject
* obj0
= 0 ;
6471 PyObject
* obj1
= 0 ;
6472 char * kwnames
[] = {
6473 (char *) "self",(char *) "s", NULL
6476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6478 if (!SWIG_IsOK(res1
)) {
6479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetSize" "', expected argument " "1"" of type '" "wxRect *""'");
6481 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6484 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6488 (arg1
)->SetSize((wxSize
const &)*arg2
);
6489 wxPyEndAllowThreads(__tstate
);
6490 if (PyErr_Occurred()) SWIG_fail
;
6492 resultobj
= SWIG_Py_Void();
6499 SWIGINTERN PyObject
*_wrap_Rect_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6500 PyObject
*resultobj
= 0;
6501 wxRect
*arg1
= (wxRect
*) 0 ;
6505 PyObject
*swig_obj
[1] ;
6507 if (!args
) SWIG_fail
;
6509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6510 if (!SWIG_IsOK(res1
)) {
6511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_IsEmpty" "', expected argument " "1"" of type '" "wxRect const *""'");
6513 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6516 result
= (bool)((wxRect
const *)arg1
)->IsEmpty();
6517 wxPyEndAllowThreads(__tstate
);
6518 if (PyErr_Occurred()) SWIG_fail
;
6521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6529 SWIGINTERN PyObject
*_wrap_Rect_GetTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6530 PyObject
*resultobj
= 0;
6531 wxRect
*arg1
= (wxRect
*) 0 ;
6535 PyObject
*swig_obj
[1] ;
6537 if (!args
) SWIG_fail
;
6539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6540 if (!SWIG_IsOK(res1
)) {
6541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetTopLeft" "', expected argument " "1"" of type '" "wxRect const *""'");
6543 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6546 result
= ((wxRect
const *)arg1
)->GetTopLeft();
6547 wxPyEndAllowThreads(__tstate
);
6548 if (PyErr_Occurred()) SWIG_fail
;
6550 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6557 SWIGINTERN PyObject
*_wrap_Rect_SetTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6558 PyObject
*resultobj
= 0;
6559 wxRect
*arg1
= (wxRect
*) 0 ;
6564 PyObject
* obj0
= 0 ;
6565 PyObject
* obj1
= 0 ;
6566 char * kwnames
[] = {
6567 (char *) "self",(char *) "p", NULL
6570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6572 if (!SWIG_IsOK(res1
)) {
6573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetTopLeft" "', expected argument " "1"" of type '" "wxRect *""'");
6575 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6578 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6582 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
6583 wxPyEndAllowThreads(__tstate
);
6584 if (PyErr_Occurred()) SWIG_fail
;
6586 resultobj
= SWIG_Py_Void();
6593 SWIGINTERN PyObject
*_wrap_Rect_GetBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6594 PyObject
*resultobj
= 0;
6595 wxRect
*arg1
= (wxRect
*) 0 ;
6599 PyObject
*swig_obj
[1] ;
6601 if (!args
) SWIG_fail
;
6603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6604 if (!SWIG_IsOK(res1
)) {
6605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetBottomRight" "', expected argument " "1"" of type '" "wxRect const *""'");
6607 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6610 result
= ((wxRect
const *)arg1
)->GetBottomRight();
6611 wxPyEndAllowThreads(__tstate
);
6612 if (PyErr_Occurred()) SWIG_fail
;
6614 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6621 SWIGINTERN PyObject
*_wrap_Rect_SetBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6622 PyObject
*resultobj
= 0;
6623 wxRect
*arg1
= (wxRect
*) 0 ;
6628 PyObject
* obj0
= 0 ;
6629 PyObject
* obj1
= 0 ;
6630 char * kwnames
[] = {
6631 (char *) "self",(char *) "p", NULL
6634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6636 if (!SWIG_IsOK(res1
)) {
6637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetBottomRight" "', expected argument " "1"" of type '" "wxRect *""'");
6639 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6642 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6646 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
6647 wxPyEndAllowThreads(__tstate
);
6648 if (PyErr_Occurred()) SWIG_fail
;
6650 resultobj
= SWIG_Py_Void();
6657 SWIGINTERN PyObject
*_wrap_Rect_GetLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6658 PyObject
*resultobj
= 0;
6659 wxRect
*arg1
= (wxRect
*) 0 ;
6663 PyObject
*swig_obj
[1] ;
6665 if (!args
) SWIG_fail
;
6667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6668 if (!SWIG_IsOK(res1
)) {
6669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetLeft" "', expected argument " "1"" of type '" "wxRect const *""'");
6671 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6674 result
= (int)((wxRect
const *)arg1
)->GetLeft();
6675 wxPyEndAllowThreads(__tstate
);
6676 if (PyErr_Occurred()) SWIG_fail
;
6678 resultobj
= SWIG_From_int(static_cast< int >(result
));
6685 SWIGINTERN PyObject
*_wrap_Rect_GetTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6686 PyObject
*resultobj
= 0;
6687 wxRect
*arg1
= (wxRect
*) 0 ;
6691 PyObject
*swig_obj
[1] ;
6693 if (!args
) SWIG_fail
;
6695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6696 if (!SWIG_IsOK(res1
)) {
6697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetTop" "', expected argument " "1"" of type '" "wxRect const *""'");
6699 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6702 result
= (int)((wxRect
const *)arg1
)->GetTop();
6703 wxPyEndAllowThreads(__tstate
);
6704 if (PyErr_Occurred()) SWIG_fail
;
6706 resultobj
= SWIG_From_int(static_cast< int >(result
));
6713 SWIGINTERN PyObject
*_wrap_Rect_GetBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6714 PyObject
*resultobj
= 0;
6715 wxRect
*arg1
= (wxRect
*) 0 ;
6719 PyObject
*swig_obj
[1] ;
6721 if (!args
) SWIG_fail
;
6723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6724 if (!SWIG_IsOK(res1
)) {
6725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetBottom" "', expected argument " "1"" of type '" "wxRect const *""'");
6727 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6730 result
= (int)((wxRect
const *)arg1
)->GetBottom();
6731 wxPyEndAllowThreads(__tstate
);
6732 if (PyErr_Occurred()) SWIG_fail
;
6734 resultobj
= SWIG_From_int(static_cast< int >(result
));
6741 SWIGINTERN PyObject
*_wrap_Rect_GetRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6742 PyObject
*resultobj
= 0;
6743 wxRect
*arg1
= (wxRect
*) 0 ;
6747 PyObject
*swig_obj
[1] ;
6749 if (!args
) SWIG_fail
;
6751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6752 if (!SWIG_IsOK(res1
)) {
6753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetRight" "', expected argument " "1"" of type '" "wxRect const *""'");
6755 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6758 result
= (int)((wxRect
const *)arg1
)->GetRight();
6759 wxPyEndAllowThreads(__tstate
);
6760 if (PyErr_Occurred()) SWIG_fail
;
6762 resultobj
= SWIG_From_int(static_cast< int >(result
));
6769 SWIGINTERN PyObject
*_wrap_Rect_SetLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6770 PyObject
*resultobj
= 0;
6771 wxRect
*arg1
= (wxRect
*) 0 ;
6777 PyObject
* obj0
= 0 ;
6778 PyObject
* obj1
= 0 ;
6779 char * kwnames
[] = {
6780 (char *) "self",(char *) "left", NULL
6783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6785 if (!SWIG_IsOK(res1
)) {
6786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetLeft" "', expected argument " "1"" of type '" "wxRect *""'");
6788 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6789 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6790 if (!SWIG_IsOK(ecode2
)) {
6791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetLeft" "', expected argument " "2"" of type '" "int""'");
6793 arg2
= static_cast< int >(val2
);
6795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6796 (arg1
)->SetLeft(arg2
);
6797 wxPyEndAllowThreads(__tstate
);
6798 if (PyErr_Occurred()) SWIG_fail
;
6800 resultobj
= SWIG_Py_Void();
6807 SWIGINTERN PyObject
*_wrap_Rect_SetRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6808 PyObject
*resultobj
= 0;
6809 wxRect
*arg1
= (wxRect
*) 0 ;
6815 PyObject
* obj0
= 0 ;
6816 PyObject
* obj1
= 0 ;
6817 char * kwnames
[] = {
6818 (char *) "self",(char *) "right", NULL
6821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6823 if (!SWIG_IsOK(res1
)) {
6824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetRight" "', expected argument " "1"" of type '" "wxRect *""'");
6826 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6827 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6828 if (!SWIG_IsOK(ecode2
)) {
6829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetRight" "', expected argument " "2"" of type '" "int""'");
6831 arg2
= static_cast< int >(val2
);
6833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6834 (arg1
)->SetRight(arg2
);
6835 wxPyEndAllowThreads(__tstate
);
6836 if (PyErr_Occurred()) SWIG_fail
;
6838 resultobj
= SWIG_Py_Void();
6845 SWIGINTERN PyObject
*_wrap_Rect_SetTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6846 PyObject
*resultobj
= 0;
6847 wxRect
*arg1
= (wxRect
*) 0 ;
6853 PyObject
* obj0
= 0 ;
6854 PyObject
* obj1
= 0 ;
6855 char * kwnames
[] = {
6856 (char *) "self",(char *) "top", NULL
6859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6861 if (!SWIG_IsOK(res1
)) {
6862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetTop" "', expected argument " "1"" of type '" "wxRect *""'");
6864 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6865 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6866 if (!SWIG_IsOK(ecode2
)) {
6867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetTop" "', expected argument " "2"" of type '" "int""'");
6869 arg2
= static_cast< int >(val2
);
6871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6872 (arg1
)->SetTop(arg2
);
6873 wxPyEndAllowThreads(__tstate
);
6874 if (PyErr_Occurred()) SWIG_fail
;
6876 resultobj
= SWIG_Py_Void();
6883 SWIGINTERN PyObject
*_wrap_Rect_SetBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6884 PyObject
*resultobj
= 0;
6885 wxRect
*arg1
= (wxRect
*) 0 ;
6891 PyObject
* obj0
= 0 ;
6892 PyObject
* obj1
= 0 ;
6893 char * kwnames
[] = {
6894 (char *) "self",(char *) "bottom", NULL
6897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",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_SetBottom" "', expected argument " "1"" of type '" "wxRect *""'");
6902 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6903 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6904 if (!SWIG_IsOK(ecode2
)) {
6905 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetBottom" "', expected argument " "2"" of type '" "int""'");
6907 arg2
= static_cast< int >(val2
);
6909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6910 (arg1
)->SetBottom(arg2
);
6911 wxPyEndAllowThreads(__tstate
);
6912 if (PyErr_Occurred()) SWIG_fail
;
6914 resultobj
= SWIG_Py_Void();
6921 SWIGINTERN PyObject
*_wrap_Rect_Inflate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6922 PyObject
*resultobj
= 0;
6923 wxRect
*arg1
= (wxRect
*) 0 ;
6926 wxRect
*result
= 0 ;
6933 PyObject
* obj0
= 0 ;
6934 PyObject
* obj1
= 0 ;
6935 PyObject
* obj2
= 0 ;
6936 char * kwnames
[] = {
6937 (char *) "self",(char *) "dx",(char *) "dy", NULL
6940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6942 if (!SWIG_IsOK(res1
)) {
6943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Inflate" "', expected argument " "1"" of type '" "wxRect *""'");
6945 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6946 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6947 if (!SWIG_IsOK(ecode2
)) {
6948 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_Inflate" "', expected argument " "2"" of type '" "int""'");
6950 arg2
= static_cast< int >(val2
);
6951 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6952 if (!SWIG_IsOK(ecode3
)) {
6953 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_Inflate" "', expected argument " "3"" of type '" "int""'");
6955 arg3
= static_cast< int >(val3
);
6957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6959 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
6960 result
= (wxRect
*) &_result_ref
;
6962 wxPyEndAllowThreads(__tstate
);
6963 if (PyErr_Occurred()) SWIG_fail
;
6965 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, 0 | 0 );
6972 SWIGINTERN PyObject
*_wrap_Rect_Deflate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6973 PyObject
*resultobj
= 0;
6974 wxRect
*arg1
= (wxRect
*) 0 ;
6977 wxRect
*result
= 0 ;
6984 PyObject
* obj0
= 0 ;
6985 PyObject
* obj1
= 0 ;
6986 PyObject
* obj2
= 0 ;
6987 char * kwnames
[] = {
6988 (char *) "self",(char *) "dx",(char *) "dy", NULL
6991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6993 if (!SWIG_IsOK(res1
)) {
6994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Deflate" "', expected argument " "1"" of type '" "wxRect *""'");
6996 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6997 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6998 if (!SWIG_IsOK(ecode2
)) {
6999 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_Deflate" "', expected argument " "2"" of type '" "int""'");
7001 arg2
= static_cast< int >(val2
);
7002 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7003 if (!SWIG_IsOK(ecode3
)) {
7004 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_Deflate" "', expected argument " "3"" of type '" "int""'");
7006 arg3
= static_cast< int >(val3
);
7008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7010 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
7011 result
= (wxRect
*) &_result_ref
;
7013 wxPyEndAllowThreads(__tstate
);
7014 if (PyErr_Occurred()) SWIG_fail
;
7016 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, 0 | 0 );
7023 SWIGINTERN PyObject
*_wrap_Rect_OffsetXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7024 PyObject
*resultobj
= 0;
7025 wxRect
*arg1
= (wxRect
*) 0 ;
7034 PyObject
* obj0
= 0 ;
7035 PyObject
* obj1
= 0 ;
7036 PyObject
* obj2
= 0 ;
7037 char * kwnames
[] = {
7038 (char *) "self",(char *) "dx",(char *) "dy", NULL
7041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7043 if (!SWIG_IsOK(res1
)) {
7044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_OffsetXY" "', expected argument " "1"" of type '" "wxRect *""'");
7046 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7047 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7048 if (!SWIG_IsOK(ecode2
)) {
7049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_OffsetXY" "', expected argument " "2"" of type '" "int""'");
7051 arg2
= static_cast< int >(val2
);
7052 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7053 if (!SWIG_IsOK(ecode3
)) {
7054 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_OffsetXY" "', expected argument " "3"" of type '" "int""'");
7056 arg3
= static_cast< int >(val3
);
7058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7059 (arg1
)->Offset(arg2
,arg3
);
7060 wxPyEndAllowThreads(__tstate
);
7061 if (PyErr_Occurred()) SWIG_fail
;
7063 resultobj
= SWIG_Py_Void();
7070 SWIGINTERN PyObject
*_wrap_Rect_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7071 PyObject
*resultobj
= 0;
7072 wxRect
*arg1
= (wxRect
*) 0 ;
7077 PyObject
* obj0
= 0 ;
7078 PyObject
* obj1
= 0 ;
7079 char * kwnames
[] = {
7080 (char *) "self",(char *) "pt", NULL
7083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7085 if (!SWIG_IsOK(res1
)) {
7086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Offset" "', expected argument " "1"" of type '" "wxRect *""'");
7088 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7091 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7095 (arg1
)->Offset((wxPoint
const &)*arg2
);
7096 wxPyEndAllowThreads(__tstate
);
7097 if (PyErr_Occurred()) SWIG_fail
;
7099 resultobj
= SWIG_Py_Void();
7106 SWIGINTERN PyObject
*_wrap_Rect_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7107 PyObject
*resultobj
= 0;
7108 wxRect
*arg1
= (wxRect
*) 0 ;
7114 PyObject
* obj0
= 0 ;
7115 PyObject
* obj1
= 0 ;
7116 char * kwnames
[] = {
7117 (char *) "self",(char *) "rect", NULL
7120 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7121 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7122 if (!SWIG_IsOK(res1
)) {
7123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Intersect" "', expected argument " "1"" of type '" "wxRect *""'");
7125 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7128 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7132 result
= (arg1
)->Intersect((wxRect
const &)*arg2
);
7133 wxPyEndAllowThreads(__tstate
);
7134 if (PyErr_Occurred()) SWIG_fail
;
7136 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7143 SWIGINTERN PyObject
*_wrap_Rect_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7144 PyObject
*resultobj
= 0;
7145 wxRect
*arg1
= (wxRect
*) 0 ;
7151 PyObject
* obj0
= 0 ;
7152 PyObject
* obj1
= 0 ;
7153 char * kwnames
[] = {
7154 (char *) "self",(char *) "rect", NULL
7157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Union",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7159 if (!SWIG_IsOK(res1
)) {
7160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Union" "', expected argument " "1"" of type '" "wxRect *""'");
7162 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7165 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7169 result
= (arg1
)->Union((wxRect
const &)*arg2
);
7170 wxPyEndAllowThreads(__tstate
);
7171 if (PyErr_Occurred()) SWIG_fail
;
7173 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7180 SWIGINTERN PyObject
*_wrap_Rect___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7181 PyObject
*resultobj
= 0;
7182 wxRect
*arg1
= (wxRect
*) 0 ;
7188 PyObject
* obj0
= 0 ;
7189 PyObject
* obj1
= 0 ;
7190 char * kwnames
[] = {
7191 (char *) "self",(char *) "rect", NULL
7194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7196 if (!SWIG_IsOK(res1
)) {
7197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect___add__" "', expected argument " "1"" of type '" "wxRect const *""'");
7199 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7202 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7206 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
7207 wxPyEndAllowThreads(__tstate
);
7208 if (PyErr_Occurred()) SWIG_fail
;
7210 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7217 SWIGINTERN PyObject
*_wrap_Rect___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7218 PyObject
*resultobj
= 0;
7219 wxRect
*arg1
= (wxRect
*) 0 ;
7221 wxRect
*result
= 0 ;
7225 PyObject
* obj0
= 0 ;
7226 PyObject
* obj1
= 0 ;
7227 char * kwnames
[] = {
7228 (char *) "self",(char *) "rect", NULL
7231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, SWIG_POINTER_DISOWN
| 0 );
7233 if (!SWIG_IsOK(res1
)) {
7234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect___iadd__" "', expected argument " "1"" of type '" "wxRect *""'");
7236 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7239 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7244 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
7245 result
= (wxRect
*) &_result_ref
;
7247 wxPyEndAllowThreads(__tstate
);
7248 if (PyErr_Occurred()) SWIG_fail
;
7250 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7257 SWIGINTERN PyObject
*_wrap_Rect___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7258 PyObject
*resultobj
= 0;
7259 wxRect
*arg1
= (wxRect
*) 0 ;
7265 PyObject
* obj0
= 0 ;
7266 PyObject
* obj1
= 0 ;
7267 char * kwnames
[] = {
7268 (char *) "self",(char *) "rect", NULL
7271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7273 if (!SWIG_IsOK(res1
)) {
7274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect___eq__" "', expected argument " "1"" of type '" "wxRect const *""'");
7276 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7279 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7283 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
7284 wxPyEndAllowThreads(__tstate
);
7285 if (PyErr_Occurred()) SWIG_fail
;
7288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7296 SWIGINTERN PyObject
*_wrap_Rect___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7297 PyObject
*resultobj
= 0;
7298 wxRect
*arg1
= (wxRect
*) 0 ;
7304 PyObject
* obj0
= 0 ;
7305 PyObject
* obj1
= 0 ;
7306 char * kwnames
[] = {
7307 (char *) "self",(char *) "rect", NULL
7310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7312 if (!SWIG_IsOK(res1
)) {
7313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect___ne__" "', expected argument " "1"" of type '" "wxRect const *""'");
7315 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7318 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7322 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
7323 wxPyEndAllowThreads(__tstate
);
7324 if (PyErr_Occurred()) SWIG_fail
;
7327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7335 SWIGINTERN PyObject
*_wrap_Rect_InsideXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7336 PyObject
*resultobj
= 0;
7337 wxRect
*arg1
= (wxRect
*) 0 ;
7347 PyObject
* obj0
= 0 ;
7348 PyObject
* obj1
= 0 ;
7349 PyObject
* obj2
= 0 ;
7350 char * kwnames
[] = {
7351 (char *) "self",(char *) "x",(char *) "y", NULL
7354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7356 if (!SWIG_IsOK(res1
)) {
7357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_InsideXY" "', expected argument " "1"" of type '" "wxRect const *""'");
7359 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7360 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7361 if (!SWIG_IsOK(ecode2
)) {
7362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_InsideXY" "', expected argument " "2"" of type '" "int""'");
7364 arg2
= static_cast< int >(val2
);
7365 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7366 if (!SWIG_IsOK(ecode3
)) {
7367 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_InsideXY" "', expected argument " "3"" of type '" "int""'");
7369 arg3
= static_cast< int >(val3
);
7371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7372 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
7373 wxPyEndAllowThreads(__tstate
);
7374 if (PyErr_Occurred()) SWIG_fail
;
7377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7385 SWIGINTERN PyObject
*_wrap_Rect_Inside(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7386 PyObject
*resultobj
= 0;
7387 wxRect
*arg1
= (wxRect
*) 0 ;
7393 PyObject
* obj0
= 0 ;
7394 PyObject
* obj1
= 0 ;
7395 char * kwnames
[] = {
7396 (char *) "self",(char *) "pt", NULL
7399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7401 if (!SWIG_IsOK(res1
)) {
7402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Inside" "', expected argument " "1"" of type '" "wxRect const *""'");
7404 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7407 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7411 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
7412 wxPyEndAllowThreads(__tstate
);
7413 if (PyErr_Occurred()) SWIG_fail
;
7416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7424 SWIGINTERN PyObject
*_wrap_Rect_Intersects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7425 PyObject
*resultobj
= 0;
7426 wxRect
*arg1
= (wxRect
*) 0 ;
7432 PyObject
* obj0
= 0 ;
7433 PyObject
* obj1
= 0 ;
7434 char * kwnames
[] = {
7435 (char *) "self",(char *) "rect", NULL
7438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7440 if (!SWIG_IsOK(res1
)) {
7441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Intersects" "', expected argument " "1"" of type '" "wxRect const *""'");
7443 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7446 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7450 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
7451 wxPyEndAllowThreads(__tstate
);
7452 if (PyErr_Occurred()) SWIG_fail
;
7455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7463 SWIGINTERN PyObject
*_wrap_Rect_CenterIn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7464 PyObject
*resultobj
= 0;
7465 wxRect
*arg1
= (wxRect
*) 0 ;
7467 int arg3
= (int) wxBOTH
;
7474 PyObject
* obj0
= 0 ;
7475 PyObject
* obj1
= 0 ;
7476 PyObject
* obj2
= 0 ;
7477 char * kwnames
[] = {
7478 (char *) "self",(char *) "r",(char *) "dir", NULL
7481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Rect_CenterIn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7483 if (!SWIG_IsOK(res1
)) {
7484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_CenterIn" "', expected argument " "1"" of type '" "wxRect *""'");
7486 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7489 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7492 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7493 if (!SWIG_IsOK(ecode3
)) {
7494 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_CenterIn" "', expected argument " "3"" of type '" "int""'");
7496 arg3
= static_cast< int >(val3
);
7499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7500 result
= (arg1
)->CenterIn((wxRect
const &)*arg2
,arg3
);
7501 wxPyEndAllowThreads(__tstate
);
7502 if (PyErr_Occurred()) SWIG_fail
;
7504 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7511 SWIGINTERN PyObject
*_wrap_Rect_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7512 PyObject
*resultobj
= 0;
7513 wxRect
*arg1
= (wxRect
*) 0 ;
7519 PyObject
*swig_obj
[2] ;
7521 if (!SWIG_Python_UnpackTuple(args
,"Rect_x_set",2,2,swig_obj
)) SWIG_fail
;
7522 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7523 if (!SWIG_IsOK(res1
)) {
7524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_x_set" "', expected argument " "1"" of type '" "wxRect *""'");
7526 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7527 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
7528 if (!SWIG_IsOK(ecode2
)) {
7529 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_x_set" "', expected argument " "2"" of type '" "int""'");
7531 arg2
= static_cast< int >(val2
);
7532 if (arg1
) (arg1
)->x
= arg2
;
7534 resultobj
= SWIG_Py_Void();
7541 SWIGINTERN PyObject
*_wrap_Rect_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7542 PyObject
*resultobj
= 0;
7543 wxRect
*arg1
= (wxRect
*) 0 ;
7547 PyObject
*swig_obj
[1] ;
7549 if (!args
) SWIG_fail
;
7551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7552 if (!SWIG_IsOK(res1
)) {
7553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_x_get" "', expected argument " "1"" of type '" "wxRect *""'");
7555 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7556 result
= (int) ((arg1
)->x
);
7557 resultobj
= SWIG_From_int(static_cast< int >(result
));
7564 SWIGINTERN PyObject
*_wrap_Rect_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7565 PyObject
*resultobj
= 0;
7566 wxRect
*arg1
= (wxRect
*) 0 ;
7572 PyObject
*swig_obj
[2] ;
7574 if (!SWIG_Python_UnpackTuple(args
,"Rect_y_set",2,2,swig_obj
)) SWIG_fail
;
7575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7576 if (!SWIG_IsOK(res1
)) {
7577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_y_set" "', expected argument " "1"" of type '" "wxRect *""'");
7579 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7580 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
7581 if (!SWIG_IsOK(ecode2
)) {
7582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_y_set" "', expected argument " "2"" of type '" "int""'");
7584 arg2
= static_cast< int >(val2
);
7585 if (arg1
) (arg1
)->y
= arg2
;
7587 resultobj
= SWIG_Py_Void();
7594 SWIGINTERN PyObject
*_wrap_Rect_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7595 PyObject
*resultobj
= 0;
7596 wxRect
*arg1
= (wxRect
*) 0 ;
7600 PyObject
*swig_obj
[1] ;
7602 if (!args
) SWIG_fail
;
7604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7605 if (!SWIG_IsOK(res1
)) {
7606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_y_get" "', expected argument " "1"" of type '" "wxRect *""'");
7608 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7609 result
= (int) ((arg1
)->y
);
7610 resultobj
= SWIG_From_int(static_cast< int >(result
));
7617 SWIGINTERN PyObject
*_wrap_Rect_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7618 PyObject
*resultobj
= 0;
7619 wxRect
*arg1
= (wxRect
*) 0 ;
7625 PyObject
*swig_obj
[2] ;
7627 if (!SWIG_Python_UnpackTuple(args
,"Rect_width_set",2,2,swig_obj
)) SWIG_fail
;
7628 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7629 if (!SWIG_IsOK(res1
)) {
7630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_width_set" "', expected argument " "1"" of type '" "wxRect *""'");
7632 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7633 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
7634 if (!SWIG_IsOK(ecode2
)) {
7635 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_width_set" "', expected argument " "2"" of type '" "int""'");
7637 arg2
= static_cast< int >(val2
);
7638 if (arg1
) (arg1
)->width
= arg2
;
7640 resultobj
= SWIG_Py_Void();
7647 SWIGINTERN PyObject
*_wrap_Rect_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7648 PyObject
*resultobj
= 0;
7649 wxRect
*arg1
= (wxRect
*) 0 ;
7653 PyObject
*swig_obj
[1] ;
7655 if (!args
) SWIG_fail
;
7657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7658 if (!SWIG_IsOK(res1
)) {
7659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_width_get" "', expected argument " "1"" of type '" "wxRect *""'");
7661 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7662 result
= (int) ((arg1
)->width
);
7663 resultobj
= SWIG_From_int(static_cast< int >(result
));
7670 SWIGINTERN PyObject
*_wrap_Rect_height_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7671 PyObject
*resultobj
= 0;
7672 wxRect
*arg1
= (wxRect
*) 0 ;
7678 PyObject
*swig_obj
[2] ;
7680 if (!SWIG_Python_UnpackTuple(args
,"Rect_height_set",2,2,swig_obj
)) SWIG_fail
;
7681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7682 if (!SWIG_IsOK(res1
)) {
7683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_height_set" "', expected argument " "1"" of type '" "wxRect *""'");
7685 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7686 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
7687 if (!SWIG_IsOK(ecode2
)) {
7688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_height_set" "', expected argument " "2"" of type '" "int""'");
7690 arg2
= static_cast< int >(val2
);
7691 if (arg1
) (arg1
)->height
= arg2
;
7693 resultobj
= SWIG_Py_Void();
7700 SWIGINTERN PyObject
*_wrap_Rect_height_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7701 PyObject
*resultobj
= 0;
7702 wxRect
*arg1
= (wxRect
*) 0 ;
7706 PyObject
*swig_obj
[1] ;
7708 if (!args
) SWIG_fail
;
7710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7711 if (!SWIG_IsOK(res1
)) {
7712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_height_get" "', expected argument " "1"" of type '" "wxRect *""'");
7714 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7715 result
= (int) ((arg1
)->height
);
7716 resultobj
= SWIG_From_int(static_cast< int >(result
));
7723 SWIGINTERN PyObject
*_wrap_Rect_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7724 PyObject
*resultobj
= 0;
7725 wxRect
*arg1
= (wxRect
*) 0 ;
7726 int arg2
= (int) 0 ;
7727 int arg3
= (int) 0 ;
7728 int arg4
= (int) 0 ;
7729 int arg5
= (int) 0 ;
7740 PyObject
* obj0
= 0 ;
7741 PyObject
* obj1
= 0 ;
7742 PyObject
* obj2
= 0 ;
7743 PyObject
* obj3
= 0 ;
7744 PyObject
* obj4
= 0 ;
7745 char * kwnames
[] = {
7746 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
7749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
7750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7751 if (!SWIG_IsOK(res1
)) {
7752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Set" "', expected argument " "1"" of type '" "wxRect *""'");
7754 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7756 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7757 if (!SWIG_IsOK(ecode2
)) {
7758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_Set" "', expected argument " "2"" of type '" "int""'");
7760 arg2
= static_cast< int >(val2
);
7763 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7764 if (!SWIG_IsOK(ecode3
)) {
7765 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_Set" "', expected argument " "3"" of type '" "int""'");
7767 arg3
= static_cast< int >(val3
);
7770 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7771 if (!SWIG_IsOK(ecode4
)) {
7772 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Rect_Set" "', expected argument " "4"" of type '" "int""'");
7774 arg4
= static_cast< int >(val4
);
7777 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
7778 if (!SWIG_IsOK(ecode5
)) {
7779 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Rect_Set" "', expected argument " "5"" of type '" "int""'");
7781 arg5
= static_cast< int >(val5
);
7784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7785 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
7786 wxPyEndAllowThreads(__tstate
);
7787 if (PyErr_Occurred()) SWIG_fail
;
7789 resultobj
= SWIG_Py_Void();
7796 SWIGINTERN PyObject
*_wrap_Rect_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7797 PyObject
*resultobj
= 0;
7798 wxRect
*arg1
= (wxRect
*) 0 ;
7799 PyObject
*result
= 0 ;
7802 PyObject
*swig_obj
[1] ;
7804 if (!args
) SWIG_fail
;
7806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7807 if (!SWIG_IsOK(res1
)) {
7808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Get" "', expected argument " "1"" of type '" "wxRect *""'");
7810 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7813 result
= (PyObject
*)wxRect_Get(arg1
);
7814 wxPyEndAllowThreads(__tstate
);
7815 if (PyErr_Occurred()) SWIG_fail
;
7824 SWIGINTERN PyObject
*Rect_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7826 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7827 SWIG_TypeNewClientData(SWIGTYPE_p_wxRect
, SWIG_NewClientData(obj
));
7828 return SWIG_Py_Void();
7831 SWIGINTERN PyObject
*Rect_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7832 return SWIG_Python_InitShadowInstance(args
);
7835 SWIGINTERN PyObject
*_wrap_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7836 PyObject
*resultobj
= 0;
7837 wxRect
*arg1
= (wxRect
*) 0 ;
7838 wxRect
*arg2
= (wxRect
*) 0 ;
7839 PyObject
*result
= 0 ;
7844 PyObject
* obj0
= 0 ;
7845 PyObject
* obj1
= 0 ;
7846 char * kwnames
[] = {
7847 (char *) "r1",(char *) "r2", NULL
7850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7852 if (!SWIG_IsOK(res1
)) {
7853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IntersectRect" "', expected argument " "1"" of type '" "wxRect *""'");
7855 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7856 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
7857 if (!SWIG_IsOK(res2
)) {
7858 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IntersectRect" "', expected argument " "2"" of type '" "wxRect *""'");
7860 arg2
= reinterpret_cast< wxRect
* >(argp2
);
7862 if (!wxPyCheckForApp()) SWIG_fail
;
7863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7864 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
7865 wxPyEndAllowThreads(__tstate
);
7866 if (PyErr_Occurred()) SWIG_fail
;
7875 SWIGINTERN PyObject
*_wrap_new_Point2D(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7876 PyObject
*resultobj
= 0;
7877 double arg1
= (double) 0.0 ;
7878 double arg2
= (double) 0.0 ;
7879 wxPoint2D
*result
= 0 ;
7884 PyObject
* obj0
= 0 ;
7885 PyObject
* obj1
= 0 ;
7886 char * kwnames
[] = {
7887 (char *) "x",(char *) "y", NULL
7890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7892 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
7893 if (!SWIG_IsOK(ecode1
)) {
7894 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Point2D" "', expected argument " "1"" of type '" "double""'");
7896 arg1
= static_cast< double >(val1
);
7899 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
7900 if (!SWIG_IsOK(ecode2
)) {
7901 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Point2D" "', expected argument " "2"" of type '" "double""'");
7903 arg2
= static_cast< double >(val2
);
7906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7907 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
7908 wxPyEndAllowThreads(__tstate
);
7909 if (PyErr_Occurred()) SWIG_fail
;
7911 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_NEW
| 0 );
7918 SWIGINTERN PyObject
*_wrap_new_Point2DCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7919 PyObject
*resultobj
= 0;
7920 wxPoint2D
*arg1
= 0 ;
7921 wxPoint2D
*result
= 0 ;
7923 PyObject
* obj0
= 0 ;
7924 char * kwnames
[] = {
7928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) SWIG_fail
;
7931 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
7934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7935 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
7936 wxPyEndAllowThreads(__tstate
);
7937 if (PyErr_Occurred()) SWIG_fail
;
7939 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
7946 SWIGINTERN PyObject
*_wrap_new_Point2DFromPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7947 PyObject
*resultobj
= 0;
7949 wxPoint2D
*result
= 0 ;
7951 PyObject
* obj0
= 0 ;
7952 char * kwnames
[] = {
7956 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) SWIG_fail
;
7959 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
7962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7963 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
7964 wxPyEndAllowThreads(__tstate
);
7965 if (PyErr_Occurred()) SWIG_fail
;
7967 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
7974 SWIGINTERN PyObject
*_wrap_Point2D_GetFloor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7975 PyObject
*resultobj
= 0;
7976 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
7977 int *arg2
= (int *) 0 ;
7978 int *arg3
= (int *) 0 ;
7982 int res2
= SWIG_TMPOBJ
;
7984 int res3
= SWIG_TMPOBJ
;
7985 PyObject
*swig_obj
[1] ;
7989 if (!args
) SWIG_fail
;
7991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
7992 if (!SWIG_IsOK(res1
)) {
7993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetFloor" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
7995 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
7997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7998 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
7999 wxPyEndAllowThreads(__tstate
);
8000 if (PyErr_Occurred()) SWIG_fail
;
8002 resultobj
= SWIG_Py_Void();
8003 if (SWIG_IsTmpObj(res2
)) {
8004 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8006 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8007 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8009 if (SWIG_IsTmpObj(res3
)) {
8010 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8012 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8013 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8021 SWIGINTERN PyObject
*_wrap_Point2D_GetRounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8022 PyObject
*resultobj
= 0;
8023 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8024 int *arg2
= (int *) 0 ;
8025 int *arg3
= (int *) 0 ;
8029 int res2
= SWIG_TMPOBJ
;
8031 int res3
= SWIG_TMPOBJ
;
8032 PyObject
*swig_obj
[1] ;
8036 if (!args
) SWIG_fail
;
8038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8039 if (!SWIG_IsOK(res1
)) {
8040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetRounded" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8042 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8045 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
8046 wxPyEndAllowThreads(__tstate
);
8047 if (PyErr_Occurred()) SWIG_fail
;
8049 resultobj
= SWIG_Py_Void();
8050 if (SWIG_IsTmpObj(res2
)) {
8051 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8053 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8054 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8056 if (SWIG_IsTmpObj(res3
)) {
8057 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8059 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8060 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8068 SWIGINTERN PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8069 PyObject
*resultobj
= 0;
8070 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8074 PyObject
*swig_obj
[1] ;
8076 if (!args
) SWIG_fail
;
8078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8079 if (!SWIG_IsOK(res1
)) {
8080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetVectorLength" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8082 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8085 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
8086 wxPyEndAllowThreads(__tstate
);
8087 if (PyErr_Occurred()) SWIG_fail
;
8089 resultobj
= SWIG_From_double(static_cast< double >(result
));
8096 SWIGINTERN PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8097 PyObject
*resultobj
= 0;
8098 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8102 PyObject
*swig_obj
[1] ;
8104 if (!args
) SWIG_fail
;
8106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8107 if (!SWIG_IsOK(res1
)) {
8108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetVectorAngle" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8110 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8113 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
8114 wxPyEndAllowThreads(__tstate
);
8115 if (PyErr_Occurred()) SWIG_fail
;
8117 resultobj
= SWIG_From_double(static_cast< double >(result
));
8124 SWIGINTERN PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8125 PyObject
*resultobj
= 0;
8126 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8132 PyObject
* obj0
= 0 ;
8133 PyObject
* obj1
= 0 ;
8134 char * kwnames
[] = {
8135 (char *) "self",(char *) "length", NULL
8138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8140 if (!SWIG_IsOK(res1
)) {
8141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_SetVectorLength" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8143 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8144 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
8145 if (!SWIG_IsOK(ecode2
)) {
8146 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point2D_SetVectorLength" "', expected argument " "2"" of type '" "double""'");
8148 arg2
= static_cast< double >(val2
);
8150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8151 (arg1
)->SetVectorLength(arg2
);
8152 wxPyEndAllowThreads(__tstate
);
8153 if (PyErr_Occurred()) SWIG_fail
;
8155 resultobj
= SWIG_Py_Void();
8162 SWIGINTERN PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8163 PyObject
*resultobj
= 0;
8164 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8170 PyObject
* obj0
= 0 ;
8171 PyObject
* obj1
= 0 ;
8172 char * kwnames
[] = {
8173 (char *) "self",(char *) "degrees", NULL
8176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8178 if (!SWIG_IsOK(res1
)) {
8179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_SetVectorAngle" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8181 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8182 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
8183 if (!SWIG_IsOK(ecode2
)) {
8184 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point2D_SetVectorAngle" "', expected argument " "2"" of type '" "double""'");
8186 arg2
= static_cast< double >(val2
);
8188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8189 (arg1
)->SetVectorAngle(arg2
);
8190 wxPyEndAllowThreads(__tstate
);
8191 if (PyErr_Occurred()) SWIG_fail
;
8193 resultobj
= SWIG_Py_Void();
8200 SWIGINTERN PyObject
*_wrap_Point2D_GetDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8201 PyObject
*resultobj
= 0;
8202 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8203 wxPoint2D
*arg2
= 0 ;
8208 PyObject
* obj0
= 0 ;
8209 PyObject
* obj1
= 0 ;
8210 char * kwnames
[] = {
8211 (char *) "self",(char *) "pt", NULL
8214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8216 if (!SWIG_IsOK(res1
)) {
8217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetDistance" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8219 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8222 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8226 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
8227 wxPyEndAllowThreads(__tstate
);
8228 if (PyErr_Occurred()) SWIG_fail
;
8230 resultobj
= SWIG_From_double(static_cast< double >(result
));
8237 SWIGINTERN PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8238 PyObject
*resultobj
= 0;
8239 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8240 wxPoint2D
*arg2
= 0 ;
8245 PyObject
* obj0
= 0 ;
8246 PyObject
* obj1
= 0 ;
8247 char * kwnames
[] = {
8248 (char *) "self",(char *) "pt", NULL
8251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8253 if (!SWIG_IsOK(res1
)) {
8254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetDistanceSquare" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8256 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8259 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8263 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
8264 wxPyEndAllowThreads(__tstate
);
8265 if (PyErr_Occurred()) SWIG_fail
;
8267 resultobj
= SWIG_From_double(static_cast< double >(result
));
8274 SWIGINTERN PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8275 PyObject
*resultobj
= 0;
8276 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8277 wxPoint2D
*arg2
= 0 ;
8282 PyObject
* obj0
= 0 ;
8283 PyObject
* obj1
= 0 ;
8284 char * kwnames
[] = {
8285 (char *) "self",(char *) "vec", NULL
8288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8290 if (!SWIG_IsOK(res1
)) {
8291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetDotProduct" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8293 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8296 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8300 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
8301 wxPyEndAllowThreads(__tstate
);
8302 if (PyErr_Occurred()) SWIG_fail
;
8304 resultobj
= SWIG_From_double(static_cast< double >(result
));
8311 SWIGINTERN PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8312 PyObject
*resultobj
= 0;
8313 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8314 wxPoint2D
*arg2
= 0 ;
8319 PyObject
* obj0
= 0 ;
8320 PyObject
* obj1
= 0 ;
8321 char * kwnames
[] = {
8322 (char *) "self",(char *) "vec", NULL
8325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8327 if (!SWIG_IsOK(res1
)) {
8328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetCrossProduct" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8330 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8333 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8337 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
8338 wxPyEndAllowThreads(__tstate
);
8339 if (PyErr_Occurred()) SWIG_fail
;
8341 resultobj
= SWIG_From_double(static_cast< double >(result
));
8348 SWIGINTERN PyObject
*_wrap_Point2D___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8349 PyObject
*resultobj
= 0;
8350 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8354 PyObject
*swig_obj
[1] ;
8356 if (!args
) SWIG_fail
;
8358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8359 if (!SWIG_IsOK(res1
)) {
8360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___neg__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8362 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8365 result
= (arg1
)->operator -();
8366 wxPyEndAllowThreads(__tstate
);
8367 if (PyErr_Occurred()) SWIG_fail
;
8369 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8376 SWIGINTERN PyObject
*_wrap_Point2D___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8377 PyObject
*resultobj
= 0;
8378 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8379 wxPoint2D
*arg2
= 0 ;
8380 wxPoint2D
*result
= 0 ;
8384 PyObject
* obj0
= 0 ;
8385 PyObject
* obj1
= 0 ;
8386 char * kwnames
[] = {
8387 (char *) "self",(char *) "pt", NULL
8390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_DISOWN
| 0 );
8392 if (!SWIG_IsOK(res1
)) {
8393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___iadd__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8395 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8398 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8403 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
8404 result
= (wxPoint2D
*) &_result_ref
;
8406 wxPyEndAllowThreads(__tstate
);
8407 if (PyErr_Occurred()) SWIG_fail
;
8409 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8416 SWIGINTERN PyObject
*_wrap_Point2D___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8417 PyObject
*resultobj
= 0;
8418 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8419 wxPoint2D
*arg2
= 0 ;
8420 wxPoint2D
*result
= 0 ;
8424 PyObject
* obj0
= 0 ;
8425 PyObject
* obj1
= 0 ;
8426 char * kwnames
[] = {
8427 (char *) "self",(char *) "pt", NULL
8430 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8431 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_DISOWN
| 0 );
8432 if (!SWIG_IsOK(res1
)) {
8433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___isub__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8435 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8438 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8443 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
8444 result
= (wxPoint2D
*) &_result_ref
;
8446 wxPyEndAllowThreads(__tstate
);
8447 if (PyErr_Occurred()) SWIG_fail
;
8449 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8456 SWIGINTERN PyObject
*_wrap_Point2D___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8457 PyObject
*resultobj
= 0;
8458 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8459 wxPoint2D
*arg2
= 0 ;
8460 wxPoint2D
*result
= 0 ;
8464 PyObject
* obj0
= 0 ;
8465 PyObject
* obj1
= 0 ;
8466 char * kwnames
[] = {
8467 (char *) "self",(char *) "pt", NULL
8470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_DISOWN
| 0 );
8472 if (!SWIG_IsOK(res1
)) {
8473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___imul__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8475 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8478 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8483 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
8484 result
= (wxPoint2D
*) &_result_ref
;
8486 wxPyEndAllowThreads(__tstate
);
8487 if (PyErr_Occurred()) SWIG_fail
;
8489 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8496 SWIGINTERN PyObject
*_wrap_Point2D___idiv__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8497 PyObject
*resultobj
= 0;
8498 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8499 wxPoint2D
*arg2
= 0 ;
8500 wxPoint2D
*result
= 0 ;
8504 PyObject
* obj0
= 0 ;
8505 PyObject
* obj1
= 0 ;
8506 char * kwnames
[] = {
8507 (char *) "self",(char *) "pt", NULL
8510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_DISOWN
| 0 );
8512 if (!SWIG_IsOK(res1
)) {
8513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___idiv__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8515 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8518 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8523 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
8524 result
= (wxPoint2D
*) &_result_ref
;
8526 wxPyEndAllowThreads(__tstate
);
8527 if (PyErr_Occurred()) SWIG_fail
;
8529 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8536 SWIGINTERN PyObject
*_wrap_Point2D___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8537 PyObject
*resultobj
= 0;
8538 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8539 wxPoint2D
*arg2
= 0 ;
8544 PyObject
* obj0
= 0 ;
8545 PyObject
* obj1
= 0 ;
8546 char * kwnames
[] = {
8547 (char *) "self",(char *) "pt", NULL
8550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8552 if (!SWIG_IsOK(res1
)) {
8553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___eq__" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8555 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8558 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8562 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
8563 wxPyEndAllowThreads(__tstate
);
8564 if (PyErr_Occurred()) SWIG_fail
;
8567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8575 SWIGINTERN PyObject
*_wrap_Point2D___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8576 PyObject
*resultobj
= 0;
8577 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8578 wxPoint2D
*arg2
= 0 ;
8583 PyObject
* obj0
= 0 ;
8584 PyObject
* obj1
= 0 ;
8585 char * kwnames
[] = {
8586 (char *) "self",(char *) "pt", NULL
8589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8591 if (!SWIG_IsOK(res1
)) {
8592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___ne__" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8594 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8597 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8601 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
8602 wxPyEndAllowThreads(__tstate
);
8603 if (PyErr_Occurred()) SWIG_fail
;
8606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8614 SWIGINTERN PyObject
*_wrap_Point2D_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8615 PyObject
*resultobj
= 0;
8616 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8622 PyObject
*swig_obj
[2] ;
8624 if (!SWIG_Python_UnpackTuple(args
,"Point2D_x_set",2,2,swig_obj
)) SWIG_fail
;
8625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8626 if (!SWIG_IsOK(res1
)) {
8627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_x_set" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8629 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8630 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
8631 if (!SWIG_IsOK(ecode2
)) {
8632 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point2D_x_set" "', expected argument " "2"" of type '" "double""'");
8634 arg2
= static_cast< double >(val2
);
8635 if (arg1
) (arg1
)->m_x
= arg2
;
8637 resultobj
= SWIG_Py_Void();
8644 SWIGINTERN PyObject
*_wrap_Point2D_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8645 PyObject
*resultobj
= 0;
8646 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8650 PyObject
*swig_obj
[1] ;
8652 if (!args
) SWIG_fail
;
8654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8655 if (!SWIG_IsOK(res1
)) {
8656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_x_get" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8658 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8659 result
= (double) ((arg1
)->m_x
);
8660 resultobj
= SWIG_From_double(static_cast< double >(result
));
8667 SWIGINTERN PyObject
*_wrap_Point2D_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8668 PyObject
*resultobj
= 0;
8669 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8675 PyObject
*swig_obj
[2] ;
8677 if (!SWIG_Python_UnpackTuple(args
,"Point2D_y_set",2,2,swig_obj
)) SWIG_fail
;
8678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8679 if (!SWIG_IsOK(res1
)) {
8680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_y_set" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8682 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8683 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
8684 if (!SWIG_IsOK(ecode2
)) {
8685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point2D_y_set" "', expected argument " "2"" of type '" "double""'");
8687 arg2
= static_cast< double >(val2
);
8688 if (arg1
) (arg1
)->m_y
= arg2
;
8690 resultobj
= SWIG_Py_Void();
8697 SWIGINTERN PyObject
*_wrap_Point2D_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8698 PyObject
*resultobj
= 0;
8699 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8703 PyObject
*swig_obj
[1] ;
8705 if (!args
) SWIG_fail
;
8707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8708 if (!SWIG_IsOK(res1
)) {
8709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_y_get" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8711 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8712 result
= (double) ((arg1
)->m_y
);
8713 resultobj
= SWIG_From_double(static_cast< double >(result
));
8720 SWIGINTERN PyObject
*_wrap_Point2D_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8721 PyObject
*resultobj
= 0;
8722 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8723 double arg2
= (double) 0 ;
8724 double arg3
= (double) 0 ;
8731 PyObject
* obj0
= 0 ;
8732 PyObject
* obj1
= 0 ;
8733 PyObject
* obj2
= 0 ;
8734 char * kwnames
[] = {
8735 (char *) "self",(char *) "x",(char *) "y", NULL
8738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8740 if (!SWIG_IsOK(res1
)) {
8741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_Set" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8743 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8745 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
8746 if (!SWIG_IsOK(ecode2
)) {
8747 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point2D_Set" "', expected argument " "2"" of type '" "double""'");
8749 arg2
= static_cast< double >(val2
);
8752 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
8753 if (!SWIG_IsOK(ecode3
)) {
8754 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Point2D_Set" "', expected argument " "3"" of type '" "double""'");
8756 arg3
= static_cast< double >(val3
);
8759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8760 wxPoint2D_Set(arg1
,arg2
,arg3
);
8761 wxPyEndAllowThreads(__tstate
);
8762 if (PyErr_Occurred()) SWIG_fail
;
8764 resultobj
= SWIG_Py_Void();
8771 SWIGINTERN PyObject
*_wrap_Point2D_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8772 PyObject
*resultobj
= 0;
8773 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8774 PyObject
*result
= 0 ;
8777 PyObject
*swig_obj
[1] ;
8779 if (!args
) SWIG_fail
;
8781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8782 if (!SWIG_IsOK(res1
)) {
8783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_Get" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8785 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8788 result
= (PyObject
*)wxPoint2D_Get(arg1
);
8789 wxPyEndAllowThreads(__tstate
);
8790 if (PyErr_Occurred()) SWIG_fail
;
8799 SWIGINTERN PyObject
*Point2D_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8801 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8802 SWIG_TypeNewClientData(SWIGTYPE_p_wxPoint2D
, SWIG_NewClientData(obj
));
8803 return SWIG_Py_Void();
8806 SWIGINTERN PyObject
*Point2D_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8807 return SWIG_Python_InitShadowInstance(args
);
8810 SWIGINTERN
int DefaultPosition_set(PyObject
*) {
8811 SWIG_Error(SWIG_AttributeError
,"Variable DefaultPosition is read-only.");
8816 SWIGINTERN PyObject
*DefaultPosition_get(void) {
8817 PyObject
*pyobj
= 0;
8819 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0 );
8824 SWIGINTERN
int DefaultSize_set(PyObject
*) {
8825 SWIG_Error(SWIG_AttributeError
,"Variable DefaultSize is read-only.");
8830 SWIGINTERN PyObject
*DefaultSize_get(void) {
8831 PyObject
*pyobj
= 0;
8833 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0 );
8838 SWIGINTERN PyObject
*_wrap_new_InputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8839 PyObject
*resultobj
= 0;
8840 PyObject
*arg1
= (PyObject
*) 0 ;
8841 wxPyInputStream
*result
= 0 ;
8842 PyObject
* obj0
= 0 ;
8843 char * kwnames
[] = {
8847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) SWIG_fail
;
8850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8851 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
8852 wxPyEndAllowThreads(__tstate
);
8853 if (PyErr_Occurred()) SWIG_fail
;
8855 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_NEW
| 0 );
8862 SWIGINTERN PyObject
*_wrap_delete_InputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8863 PyObject
*resultobj
= 0;
8864 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
8867 PyObject
*swig_obj
[1] ;
8869 if (!args
) SWIG_fail
;
8871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_DISOWN
| 0 );
8872 if (!SWIG_IsOK(res1
)) {
8873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_InputStream" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
8875 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
8877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8880 wxPyEndAllowThreads(__tstate
);
8881 if (PyErr_Occurred()) SWIG_fail
;
8883 resultobj
= SWIG_Py_Void();
8890 SWIGINTERN PyObject
*_wrap_InputStream_close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8891 PyObject
*resultobj
= 0;
8892 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
8895 PyObject
*swig_obj
[1] ;
8897 if (!args
) SWIG_fail
;
8899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
8900 if (!SWIG_IsOK(res1
)) {
8901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_close" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
8903 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
8905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8907 wxPyEndAllowThreads(__tstate
);
8908 if (PyErr_Occurred()) SWIG_fail
;
8910 resultobj
= SWIG_Py_Void();
8917 SWIGINTERN PyObject
*_wrap_InputStream_flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8918 PyObject
*resultobj
= 0;
8919 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
8922 PyObject
*swig_obj
[1] ;
8924 if (!args
) SWIG_fail
;
8926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
8927 if (!SWIG_IsOK(res1
)) {
8928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_flush" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
8930 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
8932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8934 wxPyEndAllowThreads(__tstate
);
8935 if (PyErr_Occurred()) SWIG_fail
;
8937 resultobj
= SWIG_Py_Void();
8944 SWIGINTERN PyObject
*_wrap_InputStream_eof(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8945 PyObject
*resultobj
= 0;
8946 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
8950 PyObject
*swig_obj
[1] ;
8952 if (!args
) SWIG_fail
;
8954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
8955 if (!SWIG_IsOK(res1
)) {
8956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_eof" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
8958 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
8960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8961 result
= (bool)(arg1
)->eof();
8962 wxPyEndAllowThreads(__tstate
);
8963 if (PyErr_Occurred()) SWIG_fail
;
8966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8974 SWIGINTERN PyObject
*_wrap_InputStream_read(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8975 PyObject
*resultobj
= 0;
8976 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
8977 int arg2
= (int) -1 ;
8978 PyObject
*result
= 0 ;
8983 PyObject
* obj0
= 0 ;
8984 PyObject
* obj1
= 0 ;
8985 char * kwnames
[] = {
8986 (char *) "self",(char *) "size", NULL
8989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
8991 if (!SWIG_IsOK(res1
)) {
8992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_read" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
8994 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
8996 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8997 if (!SWIG_IsOK(ecode2
)) {
8998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_read" "', expected argument " "2"" of type '" "int""'");
9000 arg2
= static_cast< int >(val2
);
9003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9004 result
= (PyObject
*)(arg1
)->read(arg2
);
9005 wxPyEndAllowThreads(__tstate
);
9006 if (PyErr_Occurred()) SWIG_fail
;
9015 SWIGINTERN PyObject
*_wrap_InputStream_readline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9016 PyObject
*resultobj
= 0;
9017 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9018 int arg2
= (int) -1 ;
9019 PyObject
*result
= 0 ;
9024 PyObject
* obj0
= 0 ;
9025 PyObject
* obj1
= 0 ;
9026 char * kwnames
[] = {
9027 (char *) "self",(char *) "size", NULL
9030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9032 if (!SWIG_IsOK(res1
)) {
9033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_readline" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9035 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9037 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9038 if (!SWIG_IsOK(ecode2
)) {
9039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_readline" "', expected argument " "2"" of type '" "int""'");
9041 arg2
= static_cast< int >(val2
);
9044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9045 result
= (PyObject
*)(arg1
)->readline(arg2
);
9046 wxPyEndAllowThreads(__tstate
);
9047 if (PyErr_Occurred()) SWIG_fail
;
9056 SWIGINTERN PyObject
*_wrap_InputStream_readlines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9057 PyObject
*resultobj
= 0;
9058 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9059 int arg2
= (int) -1 ;
9060 PyObject
*result
= 0 ;
9065 PyObject
* obj0
= 0 ;
9066 PyObject
* obj1
= 0 ;
9067 char * kwnames
[] = {
9068 (char *) "self",(char *) "sizehint", NULL
9071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9073 if (!SWIG_IsOK(res1
)) {
9074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_readlines" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9076 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9078 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9079 if (!SWIG_IsOK(ecode2
)) {
9080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_readlines" "', expected argument " "2"" of type '" "int""'");
9082 arg2
= static_cast< int >(val2
);
9085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9086 result
= (PyObject
*)(arg1
)->readlines(arg2
);
9087 wxPyEndAllowThreads(__tstate
);
9088 if (PyErr_Occurred()) SWIG_fail
;
9097 SWIGINTERN PyObject
*_wrap_InputStream_seek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9098 PyObject
*resultobj
= 0;
9099 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9101 int arg3
= (int) 0 ;
9108 PyObject
* obj0
= 0 ;
9109 PyObject
* obj1
= 0 ;
9110 PyObject
* obj2
= 0 ;
9111 char * kwnames
[] = {
9112 (char *) "self",(char *) "offset",(char *) "whence", NULL
9115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9117 if (!SWIG_IsOK(res1
)) {
9118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_seek" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9120 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9121 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9122 if (!SWIG_IsOK(ecode2
)) {
9123 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_seek" "', expected argument " "2"" of type '" "int""'");
9125 arg2
= static_cast< int >(val2
);
9127 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9128 if (!SWIG_IsOK(ecode3
)) {
9129 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "InputStream_seek" "', expected argument " "3"" of type '" "int""'");
9131 arg3
= static_cast< int >(val3
);
9134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9135 (arg1
)->seek(arg2
,arg3
);
9136 wxPyEndAllowThreads(__tstate
);
9137 if (PyErr_Occurred()) SWIG_fail
;
9139 resultobj
= SWIG_Py_Void();
9146 SWIGINTERN PyObject
*_wrap_InputStream_tell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9147 PyObject
*resultobj
= 0;
9148 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9152 PyObject
*swig_obj
[1] ;
9154 if (!args
) SWIG_fail
;
9156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9157 if (!SWIG_IsOK(res1
)) {
9158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_tell" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9160 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9163 result
= (int)(arg1
)->tell();
9164 wxPyEndAllowThreads(__tstate
);
9165 if (PyErr_Occurred()) SWIG_fail
;
9167 resultobj
= SWIG_From_int(static_cast< int >(result
));
9174 SWIGINTERN PyObject
*_wrap_InputStream_Peek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9175 PyObject
*resultobj
= 0;
9176 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9180 PyObject
*swig_obj
[1] ;
9182 if (!args
) SWIG_fail
;
9184 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9185 if (!SWIG_IsOK(res1
)) {
9186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_Peek" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9188 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9191 result
= (char)(arg1
)->Peek();
9192 wxPyEndAllowThreads(__tstate
);
9193 if (PyErr_Occurred()) SWIG_fail
;
9195 resultobj
= SWIG_From_char(static_cast< char >(result
));
9202 SWIGINTERN PyObject
*_wrap_InputStream_GetC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9203 PyObject
*resultobj
= 0;
9204 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9208 PyObject
*swig_obj
[1] ;
9210 if (!args
) SWIG_fail
;
9212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9213 if (!SWIG_IsOK(res1
)) {
9214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_GetC" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9216 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9219 result
= (char)(arg1
)->GetC();
9220 wxPyEndAllowThreads(__tstate
);
9221 if (PyErr_Occurred()) SWIG_fail
;
9223 resultobj
= SWIG_From_char(static_cast< char >(result
));
9230 SWIGINTERN PyObject
*_wrap_InputStream_LastRead(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9231 PyObject
*resultobj
= 0;
9232 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9236 PyObject
*swig_obj
[1] ;
9238 if (!args
) SWIG_fail
;
9240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9241 if (!SWIG_IsOK(res1
)) {
9242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_LastRead" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9244 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9247 result
= (size_t)(arg1
)->LastRead();
9248 wxPyEndAllowThreads(__tstate
);
9249 if (PyErr_Occurred()) SWIG_fail
;
9251 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
9258 SWIGINTERN PyObject
*_wrap_InputStream_CanRead(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9259 PyObject
*resultobj
= 0;
9260 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9264 PyObject
*swig_obj
[1] ;
9266 if (!args
) SWIG_fail
;
9268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9269 if (!SWIG_IsOK(res1
)) {
9270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_CanRead" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9272 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9275 result
= (bool)(arg1
)->CanRead();
9276 wxPyEndAllowThreads(__tstate
);
9277 if (PyErr_Occurred()) SWIG_fail
;
9280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9288 SWIGINTERN PyObject
*_wrap_InputStream_Eof(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9289 PyObject
*resultobj
= 0;
9290 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9294 PyObject
*swig_obj
[1] ;
9296 if (!args
) SWIG_fail
;
9298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9299 if (!SWIG_IsOK(res1
)) {
9300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_Eof" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9302 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9305 result
= (bool)(arg1
)->Eof();
9306 wxPyEndAllowThreads(__tstate
);
9307 if (PyErr_Occurred()) SWIG_fail
;
9310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9318 SWIGINTERN PyObject
*_wrap_InputStream_Ungetch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9319 PyObject
*resultobj
= 0;
9320 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9327 PyObject
* obj0
= 0 ;
9328 PyObject
* obj1
= 0 ;
9329 char * kwnames
[] = {
9330 (char *) "self",(char *) "c", NULL
9333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9335 if (!SWIG_IsOK(res1
)) {
9336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_Ungetch" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9338 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9339 ecode2
= SWIG_AsVal_char(obj1
, &val2
);
9340 if (!SWIG_IsOK(ecode2
)) {
9341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_Ungetch" "', expected argument " "2"" of type '" "char""'");
9343 arg2
= static_cast< char >(val2
);
9345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9346 result
= (bool)(arg1
)->Ungetch(arg2
);
9347 wxPyEndAllowThreads(__tstate
);
9348 if (PyErr_Occurred()) SWIG_fail
;
9351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9359 SWIGINTERN PyObject
*_wrap_InputStream_SeekI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9360 PyObject
*resultobj
= 0;
9361 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9363 wxSeekMode arg3
= (wxSeekMode
) wxFromStart
;
9371 PyObject
* obj0
= 0 ;
9372 PyObject
* obj1
= 0 ;
9373 PyObject
* obj2
= 0 ;
9374 char * kwnames
[] = {
9375 (char *) "self",(char *) "pos",(char *) "mode", NULL
9378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9380 if (!SWIG_IsOK(res1
)) {
9381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_SeekI" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9383 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9384 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9385 if (!SWIG_IsOK(ecode2
)) {
9386 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_SeekI" "', expected argument " "2"" of type '" "long""'");
9388 arg2
= static_cast< long >(val2
);
9390 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9391 if (!SWIG_IsOK(ecode3
)) {
9392 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "InputStream_SeekI" "', expected argument " "3"" of type '" "wxSeekMode""'");
9394 arg3
= static_cast< wxSeekMode
>(val3
);
9397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9398 result
= (long)(arg1
)->SeekI(arg2
,arg3
);
9399 wxPyEndAllowThreads(__tstate
);
9400 if (PyErr_Occurred()) SWIG_fail
;
9402 resultobj
= SWIG_From_long(static_cast< long >(result
));
9409 SWIGINTERN PyObject
*_wrap_InputStream_TellI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9410 PyObject
*resultobj
= 0;
9411 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9415 PyObject
*swig_obj
[1] ;
9417 if (!args
) SWIG_fail
;
9419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9420 if (!SWIG_IsOK(res1
)) {
9421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_TellI" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9423 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9426 result
= (long)(arg1
)->TellI();
9427 wxPyEndAllowThreads(__tstate
);
9428 if (PyErr_Occurred()) SWIG_fail
;
9430 resultobj
= SWIG_From_long(static_cast< long >(result
));
9437 SWIGINTERN PyObject
*InputStream_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9439 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9440 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyInputStream
, SWIG_NewClientData(obj
));
9441 return SWIG_Py_Void();
9444 SWIGINTERN PyObject
*InputStream_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9445 return SWIG_Python_InitShadowInstance(args
);
9448 SWIGINTERN PyObject
*_wrap_OutputStream_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9449 PyObject
*resultobj
= 0;
9450 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
9451 PyObject
*arg2
= (PyObject
*) 0 ;
9454 PyObject
* obj0
= 0 ;
9455 PyObject
* obj1
= 0 ;
9456 char * kwnames
[] = {
9457 (char *) "self",(char *) "obj", NULL
9460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxOutputStream
, 0 | 0 );
9462 if (!SWIG_IsOK(res1
)) {
9463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "OutputStream_write" "', expected argument " "1"" of type '" "wxOutputStream *""'");
9465 arg1
= reinterpret_cast< wxOutputStream
* >(argp1
);
9468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9469 wxOutputStream_write(arg1
,arg2
);
9470 wxPyEndAllowThreads(__tstate
);
9471 if (PyErr_Occurred()) SWIG_fail
;
9473 resultobj
= SWIG_Py_Void();
9480 SWIGINTERN PyObject
*_wrap_OutputStream_LastWrite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9481 PyObject
*resultobj
= 0;
9482 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
9486 PyObject
*swig_obj
[1] ;
9488 if (!args
) SWIG_fail
;
9490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOutputStream
, 0 | 0 );
9491 if (!SWIG_IsOK(res1
)) {
9492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "OutputStream_LastWrite" "', expected argument " "1"" of type '" "wxOutputStream const *""'");
9494 arg1
= reinterpret_cast< wxOutputStream
* >(argp1
);
9496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9497 result
= (size_t)((wxOutputStream
const *)arg1
)->LastWrite();
9498 wxPyEndAllowThreads(__tstate
);
9499 if (PyErr_Occurred()) SWIG_fail
;
9501 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
9508 SWIGINTERN PyObject
*OutputStream_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9510 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9511 SWIG_TypeNewClientData(SWIGTYPE_p_wxOutputStream
, SWIG_NewClientData(obj
));
9512 return SWIG_Py_Void();
9515 SWIGINTERN PyObject
*_wrap_new_FSFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9516 PyObject
*resultobj
= 0;
9517 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
9518 wxString
*arg2
= 0 ;
9519 wxString
*arg3
= 0 ;
9520 wxString
*arg4
= 0 ;
9522 wxFSFile
*result
= 0 ;
9523 wxPyInputStream
*temp1
;
9524 bool temp2
= false ;
9525 bool temp3
= false ;
9526 bool temp4
= false ;
9529 PyObject
* obj0
= 0 ;
9530 PyObject
* obj1
= 0 ;
9531 PyObject
* obj2
= 0 ;
9532 PyObject
* obj3
= 0 ;
9533 PyObject
* obj4
= 0 ;
9534 char * kwnames
[] = {
9535 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
9538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9540 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9541 arg1
= wxPyCBInputStream_copy((wxPyCBInputStream
*)temp1
->m_wxis
);
9543 PyErr_Clear(); // clear the failure of the wxPyConvert above
9544 arg1
= wxPyCBInputStream_create(obj0
, true);
9546 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
9552 arg2
= wxString_in_helper(obj1
);
9553 if (arg2
== NULL
) SWIG_fail
;
9557 arg3
= wxString_in_helper(obj2
);
9558 if (arg3
== NULL
) SWIG_fail
;
9562 arg4
= wxString_in_helper(obj3
);
9563 if (arg4
== NULL
) SWIG_fail
;
9567 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxDateTime
, 0 | 0);
9568 if (!SWIG_IsOK(res5
)) {
9569 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "new_FSFile" "', expected argument " "5"" of type '" "wxDateTime""'");
9572 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FSFile" "', expected argument " "5"" of type '" "wxDateTime""'");
9574 wxDateTime
* temp
= reinterpret_cast< wxDateTime
* >(argp5
);
9576 if (SWIG_IsNewObj(res5
)) delete temp
;
9580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9581 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
9582 wxPyEndAllowThreads(__tstate
);
9583 if (PyErr_Occurred()) SWIG_fail
;
9586 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
9618 SWIGINTERN PyObject
*_wrap_delete_FSFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9619 PyObject
*resultobj
= 0;
9620 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
9623 PyObject
*swig_obj
[1] ;
9625 if (!args
) SWIG_fail
;
9627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, SWIG_POINTER_DISOWN
| 0 );
9628 if (!SWIG_IsOK(res1
)) {
9629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FSFile" "', expected argument " "1"" of type '" "wxFSFile *""'");
9631 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
9633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9636 wxPyEndAllowThreads(__tstate
);
9637 if (PyErr_Occurred()) SWIG_fail
;
9639 resultobj
= SWIG_Py_Void();
9646 SWIGINTERN PyObject
*_wrap_FSFile_GetStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9647 PyObject
*resultobj
= 0;
9648 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
9649 wxInputStream
*result
= 0 ;
9652 PyObject
*swig_obj
[1] ;
9654 if (!args
) SWIG_fail
;
9656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
9657 if (!SWIG_IsOK(res1
)) {
9658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_GetStream" "', expected argument " "1"" of type '" "wxFSFile *""'");
9660 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
9662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9663 result
= (wxInputStream
*)(arg1
)->GetStream();
9664 wxPyEndAllowThreads(__tstate
);
9665 if (PyErr_Occurred()) SWIG_fail
;
9668 wxPyInputStream
* _ptr
= NULL
;
9671 _ptr
= new wxPyInputStream(result
);
9673 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
9681 SWIGINTERN PyObject
*_wrap_FSFile_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9682 PyObject
*resultobj
= 0;
9683 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
9684 wxString
*result
= 0 ;
9687 PyObject
*swig_obj
[1] ;
9689 if (!args
) SWIG_fail
;
9691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
9692 if (!SWIG_IsOK(res1
)) {
9693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_GetMimeType" "', expected argument " "1"" of type '" "wxFSFile *""'");
9695 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
9697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9699 wxString
const &_result_ref
= (arg1
)->GetMimeType();
9700 result
= (wxString
*) &_result_ref
;
9702 wxPyEndAllowThreads(__tstate
);
9703 if (PyErr_Occurred()) SWIG_fail
;
9707 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9709 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9718 SWIGINTERN PyObject
*_wrap_FSFile_GetLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9719 PyObject
*resultobj
= 0;
9720 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
9721 wxString
*result
= 0 ;
9724 PyObject
*swig_obj
[1] ;
9726 if (!args
) SWIG_fail
;
9728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
9729 if (!SWIG_IsOK(res1
)) {
9730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_GetLocation" "', expected argument " "1"" of type '" "wxFSFile *""'");
9732 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
9734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9736 wxString
const &_result_ref
= (arg1
)->GetLocation();
9737 result
= (wxString
*) &_result_ref
;
9739 wxPyEndAllowThreads(__tstate
);
9740 if (PyErr_Occurred()) SWIG_fail
;
9744 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9746 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9755 SWIGINTERN PyObject
*_wrap_FSFile_GetAnchor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9756 PyObject
*resultobj
= 0;
9757 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
9758 wxString
*result
= 0 ;
9761 PyObject
*swig_obj
[1] ;
9763 if (!args
) SWIG_fail
;
9765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
9766 if (!SWIG_IsOK(res1
)) {
9767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_GetAnchor" "', expected argument " "1"" of type '" "wxFSFile *""'");
9769 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
9771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9773 wxString
const &_result_ref
= (arg1
)->GetAnchor();
9774 result
= (wxString
*) &_result_ref
;
9776 wxPyEndAllowThreads(__tstate
);
9777 if (PyErr_Occurred()) SWIG_fail
;
9781 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9783 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9792 SWIGINTERN PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9793 PyObject
*resultobj
= 0;
9794 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
9798 PyObject
*swig_obj
[1] ;
9800 if (!args
) SWIG_fail
;
9802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
9803 if (!SWIG_IsOK(res1
)) {
9804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_GetModificationTime" "', expected argument " "1"" of type '" "wxFSFile *""'");
9806 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
9808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9809 result
= (arg1
)->GetModificationTime();
9810 wxPyEndAllowThreads(__tstate
);
9811 if (PyErr_Occurred()) SWIG_fail
;
9813 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
9820 SWIGINTERN PyObject
*FSFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9822 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9823 SWIG_TypeNewClientData(SWIGTYPE_p_wxFSFile
, SWIG_NewClientData(obj
));
9824 return SWIG_Py_Void();
9827 SWIGINTERN PyObject
*FSFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9828 return SWIG_Python_InitShadowInstance(args
);
9831 SWIGINTERN PyObject
*_wrap_delete_CPPFileSystemHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9832 PyObject
*resultobj
= 0;
9833 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
9836 PyObject
*swig_obj
[1] ;
9838 if (!args
) SWIG_fail
;
9840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_DISOWN
| 0 );
9841 if (!SWIG_IsOK(res1
)) {
9842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_CPPFileSystemHandler" "', expected argument " "1"" of type '" "wxFileSystemHandler *""'");
9844 arg1
= reinterpret_cast< wxFileSystemHandler
* >(argp1
);
9846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9849 wxPyEndAllowThreads(__tstate
);
9850 if (PyErr_Occurred()) SWIG_fail
;
9852 resultobj
= SWIG_Py_Void();
9859 SWIGINTERN PyObject
*CPPFileSystemHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9861 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9862 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileSystemHandler
, SWIG_NewClientData(obj
));
9863 return SWIG_Py_Void();
9866 SWIGINTERN PyObject
*_wrap_new_FileSystemHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9867 PyObject
*resultobj
= 0;
9868 wxPyFileSystemHandler
*result
= 0 ;
9870 if (!SWIG_Python_UnpackTuple(args
,"new_FileSystemHandler",0,0,0)) SWIG_fail
;
9872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9873 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
9874 wxPyEndAllowThreads(__tstate
);
9875 if (PyErr_Occurred()) SWIG_fail
;
9877 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_NEW
| 0 );
9884 SWIGINTERN PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9885 PyObject
*resultobj
= 0;
9886 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
9887 PyObject
*arg2
= (PyObject
*) 0 ;
9888 PyObject
*arg3
= (PyObject
*) 0 ;
9891 PyObject
* obj0
= 0 ;
9892 PyObject
* obj1
= 0 ;
9893 PyObject
* obj2
= 0 ;
9894 char * kwnames
[] = {
9895 (char *) "self",(char *) "self",(char *) "_class", NULL
9898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
9900 if (!SWIG_IsOK(res1
)) {
9901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
9903 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
9907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9908 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9909 wxPyEndAllowThreads(__tstate
);
9910 if (PyErr_Occurred()) SWIG_fail
;
9912 resultobj
= SWIG_Py_Void();
9919 SWIGINTERN PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9920 PyObject
*resultobj
= 0;
9921 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
9922 wxString
*arg2
= 0 ;
9926 bool temp2
= false ;
9927 PyObject
* obj0
= 0 ;
9928 PyObject
* obj1
= 0 ;
9929 char * kwnames
[] = {
9930 (char *) "self",(char *) "location", NULL
9933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
9935 if (!SWIG_IsOK(res1
)) {
9936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_CanOpen" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
9938 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
9940 arg2
= wxString_in_helper(obj1
);
9941 if (arg2
== NULL
) SWIG_fail
;
9945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9946 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
9947 wxPyEndAllowThreads(__tstate
);
9948 if (PyErr_Occurred()) SWIG_fail
;
9951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9967 SWIGINTERN PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9968 PyObject
*resultobj
= 0;
9969 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
9970 wxFileSystem
*arg2
= 0 ;
9971 wxString
*arg3
= 0 ;
9972 wxFSFile
*result
= 0 ;
9977 bool temp3
= false ;
9978 PyObject
* obj0
= 0 ;
9979 PyObject
* obj1
= 0 ;
9980 PyObject
* obj2
= 0 ;
9981 char * kwnames
[] = {
9982 (char *) "self",(char *) "fs",(char *) "location", NULL
9985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
9987 if (!SWIG_IsOK(res1
)) {
9988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_OpenFile" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
9990 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
9991 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileSystem
, 0 );
9992 if (!SWIG_IsOK(res2
)) {
9993 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileSystemHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
9996 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileSystemHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
9998 arg2
= reinterpret_cast< wxFileSystem
* >(argp2
);
10000 arg3
= wxString_in_helper(obj2
);
10001 if (arg3
== NULL
) SWIG_fail
;
10005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10006 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
10007 wxPyEndAllowThreads(__tstate
);
10008 if (PyErr_Occurred()) SWIG_fail
;
10011 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
10027 SWIGINTERN PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10028 PyObject
*resultobj
= 0;
10029 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10030 wxString
*arg2
= 0 ;
10031 int arg3
= (int) 0 ;
10035 bool temp2
= false ;
10038 PyObject
* obj0
= 0 ;
10039 PyObject
* obj1
= 0 ;
10040 PyObject
* obj2
= 0 ;
10041 char * kwnames
[] = {
10042 (char *) "self",(char *) "spec",(char *) "flags", NULL
10045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10047 if (!SWIG_IsOK(res1
)) {
10048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_FindFirst" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10050 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10052 arg2
= wxString_in_helper(obj1
);
10053 if (arg2
== NULL
) SWIG_fail
;
10057 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10058 if (!SWIG_IsOK(ecode3
)) {
10059 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileSystemHandler_FindFirst" "', expected argument " "3"" of type '" "int""'");
10061 arg3
= static_cast< int >(val3
);
10064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10065 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
10066 wxPyEndAllowThreads(__tstate
);
10067 if (PyErr_Occurred()) SWIG_fail
;
10071 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10073 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10090 SWIGINTERN PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10091 PyObject
*resultobj
= 0;
10092 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10096 PyObject
*swig_obj
[1] ;
10098 if (!args
) SWIG_fail
;
10099 swig_obj
[0] = args
;
10100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10101 if (!SWIG_IsOK(res1
)) {
10102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_FindNext" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10104 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10107 result
= (arg1
)->FindNext();
10108 wxPyEndAllowThreads(__tstate
);
10109 if (PyErr_Occurred()) SWIG_fail
;
10113 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10115 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10124 SWIGINTERN PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10125 PyObject
*resultobj
= 0;
10126 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10127 wxString
*arg2
= 0 ;
10131 bool temp2
= false ;
10132 PyObject
* obj0
= 0 ;
10133 PyObject
* obj1
= 0 ;
10134 char * kwnames
[] = {
10135 (char *) "self",(char *) "location", NULL
10138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10140 if (!SWIG_IsOK(res1
)) {
10141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_GetProtocol" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10143 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10145 arg2
= wxString_in_helper(obj1
);
10146 if (arg2
== NULL
) SWIG_fail
;
10150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10151 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
10152 wxPyEndAllowThreads(__tstate
);
10153 if (PyErr_Occurred()) SWIG_fail
;
10157 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10159 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10176 SWIGINTERN PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10177 PyObject
*resultobj
= 0;
10178 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10179 wxString
*arg2
= 0 ;
10183 bool temp2
= false ;
10184 PyObject
* obj0
= 0 ;
10185 PyObject
* obj1
= 0 ;
10186 char * kwnames
[] = {
10187 (char *) "self",(char *) "location", NULL
10190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10192 if (!SWIG_IsOK(res1
)) {
10193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_GetLeftLocation" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10195 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10197 arg2
= wxString_in_helper(obj1
);
10198 if (arg2
== NULL
) SWIG_fail
;
10202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10203 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
10204 wxPyEndAllowThreads(__tstate
);
10205 if (PyErr_Occurred()) SWIG_fail
;
10209 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10211 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10228 SWIGINTERN PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10229 PyObject
*resultobj
= 0;
10230 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10231 wxString
*arg2
= 0 ;
10235 bool temp2
= false ;
10236 PyObject
* obj0
= 0 ;
10237 PyObject
* obj1
= 0 ;
10238 char * kwnames
[] = {
10239 (char *) "self",(char *) "location", NULL
10242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10244 if (!SWIG_IsOK(res1
)) {
10245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_GetAnchor" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10247 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10249 arg2
= wxString_in_helper(obj1
);
10250 if (arg2
== NULL
) SWIG_fail
;
10254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10255 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
10256 wxPyEndAllowThreads(__tstate
);
10257 if (PyErr_Occurred()) SWIG_fail
;
10261 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10263 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10280 SWIGINTERN PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10281 PyObject
*resultobj
= 0;
10282 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10283 wxString
*arg2
= 0 ;
10287 bool temp2
= false ;
10288 PyObject
* obj0
= 0 ;
10289 PyObject
* obj1
= 0 ;
10290 char * kwnames
[] = {
10291 (char *) "self",(char *) "location", NULL
10294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10296 if (!SWIG_IsOK(res1
)) {
10297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_GetRightLocation" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10299 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10301 arg2
= wxString_in_helper(obj1
);
10302 if (arg2
== NULL
) SWIG_fail
;
10306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10307 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
10308 wxPyEndAllowThreads(__tstate
);
10309 if (PyErr_Occurred()) SWIG_fail
;
10313 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10315 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10332 SWIGINTERN PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10333 PyObject
*resultobj
= 0;
10334 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10335 wxString
*arg2
= 0 ;
10339 bool temp2
= false ;
10340 PyObject
* obj0
= 0 ;
10341 PyObject
* obj1
= 0 ;
10342 char * kwnames
[] = {
10343 (char *) "self",(char *) "location", NULL
10346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10348 if (!SWIG_IsOK(res1
)) {
10349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_GetMimeTypeFromExt" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10351 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10353 arg2
= wxString_in_helper(obj1
);
10354 if (arg2
== NULL
) SWIG_fail
;
10358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10359 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
10360 wxPyEndAllowThreads(__tstate
);
10361 if (PyErr_Occurred()) SWIG_fail
;
10365 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10367 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10384 SWIGINTERN PyObject
*FileSystemHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10386 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10387 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_NewClientData(obj
));
10388 return SWIG_Py_Void();
10391 SWIGINTERN PyObject
*FileSystemHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10392 return SWIG_Python_InitShadowInstance(args
);
10395 SWIGINTERN PyObject
*_wrap_new_FileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10396 PyObject
*resultobj
= 0;
10397 wxFileSystem
*result
= 0 ;
10399 if (!SWIG_Python_UnpackTuple(args
,"new_FileSystem",0,0,0)) SWIG_fail
;
10401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10402 result
= (wxFileSystem
*)new wxFileSystem();
10403 wxPyEndAllowThreads(__tstate
);
10404 if (PyErr_Occurred()) SWIG_fail
;
10407 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
10415 SWIGINTERN PyObject
*_wrap_delete_FileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10416 PyObject
*resultobj
= 0;
10417 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
10420 PyObject
*swig_obj
[1] ;
10422 if (!args
) SWIG_fail
;
10423 swig_obj
[0] = args
;
10424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_DISOWN
| 0 );
10425 if (!SWIG_IsOK(res1
)) {
10426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileSystem" "', expected argument " "1"" of type '" "wxFileSystem *""'");
10428 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
10430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10433 wxPyEndAllowThreads(__tstate
);
10434 if (PyErr_Occurred()) SWIG_fail
;
10436 resultobj
= SWIG_Py_Void();
10443 SWIGINTERN PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10444 PyObject
*resultobj
= 0;
10445 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
10446 wxString
*arg2
= 0 ;
10447 bool arg3
= (bool) false ;
10450 bool temp2
= false ;
10453 PyObject
* obj0
= 0 ;
10454 PyObject
* obj1
= 0 ;
10455 PyObject
* obj2
= 0 ;
10456 char * kwnames
[] = {
10457 (char *) "self",(char *) "location",(char *) "is_dir", NULL
10460 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10461 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
10462 if (!SWIG_IsOK(res1
)) {
10463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_ChangePathTo" "', expected argument " "1"" of type '" "wxFileSystem *""'");
10465 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
10467 arg2
= wxString_in_helper(obj1
);
10468 if (arg2
== NULL
) SWIG_fail
;
10472 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10473 if (!SWIG_IsOK(ecode3
)) {
10474 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileSystem_ChangePathTo" "', expected argument " "3"" of type '" "bool""'");
10476 arg3
= static_cast< bool >(val3
);
10479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10480 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
10481 wxPyEndAllowThreads(__tstate
);
10482 if (PyErr_Occurred()) SWIG_fail
;
10484 resultobj
= SWIG_Py_Void();
10499 SWIGINTERN PyObject
*_wrap_FileSystem_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10500 PyObject
*resultobj
= 0;
10501 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
10505 PyObject
*swig_obj
[1] ;
10507 if (!args
) SWIG_fail
;
10508 swig_obj
[0] = args
;
10509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
10510 if (!SWIG_IsOK(res1
)) {
10511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_GetPath" "', expected argument " "1"" of type '" "wxFileSystem *""'");
10513 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
10515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10516 result
= (arg1
)->GetPath();
10517 wxPyEndAllowThreads(__tstate
);
10518 if (PyErr_Occurred()) SWIG_fail
;
10522 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10524 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10533 SWIGINTERN PyObject
*_wrap_FileSystem_OpenFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10534 PyObject
*resultobj
= 0;
10535 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
10536 wxString
*arg2
= 0 ;
10537 wxFSFile
*result
= 0 ;
10540 bool temp2
= false ;
10541 PyObject
* obj0
= 0 ;
10542 PyObject
* obj1
= 0 ;
10543 char * kwnames
[] = {
10544 (char *) "self",(char *) "location", NULL
10547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
10549 if (!SWIG_IsOK(res1
)) {
10550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_OpenFile" "', expected argument " "1"" of type '" "wxFileSystem *""'");
10552 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
10554 arg2
= wxString_in_helper(obj1
);
10555 if (arg2
== NULL
) SWIG_fail
;
10559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10560 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
10561 wxPyEndAllowThreads(__tstate
);
10562 if (PyErr_Occurred()) SWIG_fail
;
10565 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
10581 SWIGINTERN PyObject
*_wrap_FileSystem_FindFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10582 PyObject
*resultobj
= 0;
10583 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
10584 wxString
*arg2
= 0 ;
10585 int arg3
= (int) 0 ;
10589 bool temp2
= false ;
10592 PyObject
* obj0
= 0 ;
10593 PyObject
* obj1
= 0 ;
10594 PyObject
* obj2
= 0 ;
10595 char * kwnames
[] = {
10596 (char *) "self",(char *) "spec",(char *) "flags", NULL
10599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
10601 if (!SWIG_IsOK(res1
)) {
10602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_FindFirst" "', expected argument " "1"" of type '" "wxFileSystem *""'");
10604 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
10606 arg2
= wxString_in_helper(obj1
);
10607 if (arg2
== NULL
) SWIG_fail
;
10611 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10612 if (!SWIG_IsOK(ecode3
)) {
10613 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileSystem_FindFirst" "', expected argument " "3"" of type '" "int""'");
10615 arg3
= static_cast< int >(val3
);
10618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10619 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
10620 wxPyEndAllowThreads(__tstate
);
10621 if (PyErr_Occurred()) SWIG_fail
;
10625 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10627 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10644 SWIGINTERN PyObject
*_wrap_FileSystem_FindNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10645 PyObject
*resultobj
= 0;
10646 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
10650 PyObject
*swig_obj
[1] ;
10652 if (!args
) SWIG_fail
;
10653 swig_obj
[0] = args
;
10654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
10655 if (!SWIG_IsOK(res1
)) {
10656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_FindNext" "', expected argument " "1"" of type '" "wxFileSystem *""'");
10658 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
10660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10661 result
= (arg1
)->FindNext();
10662 wxPyEndAllowThreads(__tstate
);
10663 if (PyErr_Occurred()) SWIG_fail
;
10667 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10669 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10678 SWIGINTERN PyObject
*_wrap_FileSystem_AddHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10679 PyObject
*resultobj
= 0;
10680 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
10682 PyObject
* obj0
= 0 ;
10683 char * kwnames
[] = {
10684 (char *) "handler", NULL
10687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) SWIG_fail
;
10688 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_DISOWN
| 0 );
10689 if (!SWIG_IsOK(res1
)) {
10690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_AddHandler" "', expected argument " "1"" of type '" "wxFileSystemHandler *""'");
10693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10694 wxFileSystem::AddHandler(arg1
);
10695 wxPyEndAllowThreads(__tstate
);
10696 if (PyErr_Occurred()) SWIG_fail
;
10698 resultobj
= SWIG_Py_Void();
10705 SWIGINTERN PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10706 PyObject
*resultobj
= 0;
10708 if (!SWIG_Python_UnpackTuple(args
,"FileSystem_CleanUpHandlers",0,0,0)) SWIG_fail
;
10710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10711 wxFileSystem::CleanUpHandlers();
10712 wxPyEndAllowThreads(__tstate
);
10713 if (PyErr_Occurred()) SWIG_fail
;
10715 resultobj
= SWIG_Py_Void();
10722 SWIGINTERN PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10723 PyObject
*resultobj
= 0;
10724 wxString
*arg1
= 0 ;
10726 bool temp1
= false ;
10727 PyObject
* obj0
= 0 ;
10728 char * kwnames
[] = {
10729 (char *) "filename", NULL
10732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) SWIG_fail
;
10734 arg1
= wxString_in_helper(obj0
);
10735 if (arg1
== NULL
) SWIG_fail
;
10739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10740 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
10741 wxPyEndAllowThreads(__tstate
);
10742 if (PyErr_Occurred()) SWIG_fail
;
10746 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10748 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10765 SWIGINTERN PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10766 PyObject
*resultobj
= 0;
10767 wxString
*arg1
= 0 ;
10769 bool temp1
= false ;
10770 PyObject
* obj0
= 0 ;
10771 char * kwnames
[] = {
10772 (char *) "url", NULL
10775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) SWIG_fail
;
10777 arg1
= wxString_in_helper(obj0
);
10778 if (arg1
== NULL
) SWIG_fail
;
10782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10783 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
10784 wxPyEndAllowThreads(__tstate
);
10785 if (PyErr_Occurred()) SWIG_fail
;
10789 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10791 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10808 SWIGINTERN PyObject
*FileSystem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10810 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10811 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileSystem
, SWIG_NewClientData(obj
));
10812 return SWIG_Py_Void();
10815 SWIGINTERN PyObject
*FileSystem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10816 return SWIG_Python_InitShadowInstance(args
);
10819 SWIGINTERN PyObject
*_wrap_new_InternetFSHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10820 PyObject
*resultobj
= 0;
10821 wxInternetFSHandler
*result
= 0 ;
10823 if (!SWIG_Python_UnpackTuple(args
,"new_InternetFSHandler",0,0,0)) SWIG_fail
;
10825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10826 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
10827 wxPyEndAllowThreads(__tstate
);
10828 if (PyErr_Occurred()) SWIG_fail
;
10830 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_NEW
| 0 );
10837 SWIGINTERN PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10838 PyObject
*resultobj
= 0;
10839 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
10840 wxString
*arg2
= 0 ;
10844 bool temp2
= false ;
10845 PyObject
* obj0
= 0 ;
10846 PyObject
* obj1
= 0 ;
10847 char * kwnames
[] = {
10848 (char *) "self",(char *) "location", NULL
10851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxInternetFSHandler
, 0 | 0 );
10853 if (!SWIG_IsOK(res1
)) {
10854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InternetFSHandler_CanOpen" "', expected argument " "1"" of type '" "wxInternetFSHandler *""'");
10856 arg1
= reinterpret_cast< wxInternetFSHandler
* >(argp1
);
10858 arg2
= wxString_in_helper(obj1
);
10859 if (arg2
== NULL
) SWIG_fail
;
10863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10864 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
10865 wxPyEndAllowThreads(__tstate
);
10866 if (PyErr_Occurred()) SWIG_fail
;
10869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10885 SWIGINTERN PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10886 PyObject
*resultobj
= 0;
10887 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
10888 wxFileSystem
*arg2
= 0 ;
10889 wxString
*arg3
= 0 ;
10890 wxFSFile
*result
= 0 ;
10895 bool temp3
= false ;
10896 PyObject
* obj0
= 0 ;
10897 PyObject
* obj1
= 0 ;
10898 PyObject
* obj2
= 0 ;
10899 char * kwnames
[] = {
10900 (char *) "self",(char *) "fs",(char *) "location", NULL
10903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxInternetFSHandler
, 0 | 0 );
10905 if (!SWIG_IsOK(res1
)) {
10906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InternetFSHandler_OpenFile" "', expected argument " "1"" of type '" "wxInternetFSHandler *""'");
10908 arg1
= reinterpret_cast< wxInternetFSHandler
* >(argp1
);
10909 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileSystem
, 0 );
10910 if (!SWIG_IsOK(res2
)) {
10911 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "InternetFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
10914 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "InternetFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
10916 arg2
= reinterpret_cast< wxFileSystem
* >(argp2
);
10918 arg3
= wxString_in_helper(obj2
);
10919 if (arg3
== NULL
) SWIG_fail
;
10923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10924 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
10925 wxPyEndAllowThreads(__tstate
);
10926 if (PyErr_Occurred()) SWIG_fail
;
10929 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
10945 SWIGINTERN PyObject
*InternetFSHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10947 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10948 SWIG_TypeNewClientData(SWIGTYPE_p_wxInternetFSHandler
, SWIG_NewClientData(obj
));
10949 return SWIG_Py_Void();
10952 SWIGINTERN PyObject
*InternetFSHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10953 return SWIG_Python_InitShadowInstance(args
);
10956 SWIGINTERN PyObject
*_wrap_new_ZipFSHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10957 PyObject
*resultobj
= 0;
10958 wxZipFSHandler
*result
= 0 ;
10960 if (!SWIG_Python_UnpackTuple(args
,"new_ZipFSHandler",0,0,0)) SWIG_fail
;
10962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10963 result
= (wxZipFSHandler
*)new wxZipFSHandler();
10964 wxPyEndAllowThreads(__tstate
);
10965 if (PyErr_Occurred()) SWIG_fail
;
10967 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_NEW
| 0 );
10974 SWIGINTERN PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10975 PyObject
*resultobj
= 0;
10976 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
10977 wxString
*arg2
= 0 ;
10981 bool temp2
= false ;
10982 PyObject
* obj0
= 0 ;
10983 PyObject
* obj1
= 0 ;
10984 char * kwnames
[] = {
10985 (char *) "self",(char *) "location", NULL
10988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxZipFSHandler
, 0 | 0 );
10990 if (!SWIG_IsOK(res1
)) {
10991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ZipFSHandler_CanOpen" "', expected argument " "1"" of type '" "wxZipFSHandler *""'");
10993 arg1
= reinterpret_cast< wxZipFSHandler
* >(argp1
);
10995 arg2
= wxString_in_helper(obj1
);
10996 if (arg2
== NULL
) SWIG_fail
;
11000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11001 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
11002 wxPyEndAllowThreads(__tstate
);
11003 if (PyErr_Occurred()) SWIG_fail
;
11006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11022 SWIGINTERN PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11023 PyObject
*resultobj
= 0;
11024 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
11025 wxFileSystem
*arg2
= 0 ;
11026 wxString
*arg3
= 0 ;
11027 wxFSFile
*result
= 0 ;
11032 bool temp3
= false ;
11033 PyObject
* obj0
= 0 ;
11034 PyObject
* obj1
= 0 ;
11035 PyObject
* obj2
= 0 ;
11036 char * kwnames
[] = {
11037 (char *) "self",(char *) "fs",(char *) "location", NULL
11040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxZipFSHandler
, 0 | 0 );
11042 if (!SWIG_IsOK(res1
)) {
11043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ZipFSHandler_OpenFile" "', expected argument " "1"" of type '" "wxZipFSHandler *""'");
11045 arg1
= reinterpret_cast< wxZipFSHandler
* >(argp1
);
11046 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileSystem
, 0 );
11047 if (!SWIG_IsOK(res2
)) {
11048 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ZipFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
11051 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ZipFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
11053 arg2
= reinterpret_cast< wxFileSystem
* >(argp2
);
11055 arg3
= wxString_in_helper(obj2
);
11056 if (arg3
== NULL
) SWIG_fail
;
11060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11061 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
11062 wxPyEndAllowThreads(__tstate
);
11063 if (PyErr_Occurred()) SWIG_fail
;
11066 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
11082 SWIGINTERN PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11083 PyObject
*resultobj
= 0;
11084 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
11085 wxString
*arg2
= 0 ;
11086 int arg3
= (int) 0 ;
11090 bool temp2
= false ;
11093 PyObject
* obj0
= 0 ;
11094 PyObject
* obj1
= 0 ;
11095 PyObject
* obj2
= 0 ;
11096 char * kwnames
[] = {
11097 (char *) "self",(char *) "spec",(char *) "flags", NULL
11100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxZipFSHandler
, 0 | 0 );
11102 if (!SWIG_IsOK(res1
)) {
11103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ZipFSHandler_FindFirst" "', expected argument " "1"" of type '" "wxZipFSHandler *""'");
11105 arg1
= reinterpret_cast< wxZipFSHandler
* >(argp1
);
11107 arg2
= wxString_in_helper(obj1
);
11108 if (arg2
== NULL
) SWIG_fail
;
11112 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11113 if (!SWIG_IsOK(ecode3
)) {
11114 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ZipFSHandler_FindFirst" "', expected argument " "3"" of type '" "int""'");
11116 arg3
= static_cast< int >(val3
);
11119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11120 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
11121 wxPyEndAllowThreads(__tstate
);
11122 if (PyErr_Occurred()) SWIG_fail
;
11126 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11128 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11145 SWIGINTERN PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11146 PyObject
*resultobj
= 0;
11147 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
11151 PyObject
*swig_obj
[1] ;
11153 if (!args
) SWIG_fail
;
11154 swig_obj
[0] = args
;
11155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxZipFSHandler
, 0 | 0 );
11156 if (!SWIG_IsOK(res1
)) {
11157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ZipFSHandler_FindNext" "', expected argument " "1"" of type '" "wxZipFSHandler *""'");
11159 arg1
= reinterpret_cast< wxZipFSHandler
* >(argp1
);
11161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11162 result
= (arg1
)->FindNext();
11163 wxPyEndAllowThreads(__tstate
);
11164 if (PyErr_Occurred()) SWIG_fail
;
11168 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11170 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11179 SWIGINTERN PyObject
*ZipFSHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11182 SWIG_TypeNewClientData(SWIGTYPE_p_wxZipFSHandler
, SWIG_NewClientData(obj
));
11183 return SWIG_Py_Void();
11186 SWIGINTERN PyObject
*ZipFSHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11187 return SWIG_Python_InitShadowInstance(args
);
11190 SWIGINTERN PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11191 PyObject
*resultobj
= 0;
11192 wxString
*arg1
= 0 ;
11193 wxImage
*arg2
= 0 ;
11195 bool temp1
= false ;
11200 PyObject
* obj0
= 0 ;
11201 PyObject
* obj1
= 0 ;
11202 PyObject
* obj2
= 0 ;
11203 char * kwnames
[] = {
11204 (char *) "filename",(char *) "image",(char *) "type", NULL
11207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11209 arg1
= wxString_in_helper(obj0
);
11210 if (arg1
== NULL
) SWIG_fail
;
11213 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
, 0 );
11214 if (!SWIG_IsOK(res2
)) {
11215 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "__wxMemoryFSHandler_AddFile_wxImage" "', expected argument " "2"" of type '" "wxImage &""'");
11218 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "__wxMemoryFSHandler_AddFile_wxImage" "', expected argument " "2"" of type '" "wxImage &""'");
11220 arg2
= reinterpret_cast< wxImage
* >(argp2
);
11221 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
11222 if (!SWIG_IsOK(ecode3
)) {
11223 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "__wxMemoryFSHandler_AddFile_wxImage" "', expected argument " "3"" of type '" "long""'");
11225 arg3
= static_cast< long >(val3
);
11227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11228 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
11229 wxPyEndAllowThreads(__tstate
);
11230 if (PyErr_Occurred()) SWIG_fail
;
11232 resultobj
= SWIG_Py_Void();
11247 SWIGINTERN PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11248 PyObject
*resultobj
= 0;
11249 wxString
*arg1
= 0 ;
11250 wxBitmap
*arg2
= 0 ;
11252 bool temp1
= false ;
11257 PyObject
* obj0
= 0 ;
11258 PyObject
* obj1
= 0 ;
11259 PyObject
* obj2
= 0 ;
11260 char * kwnames
[] = {
11261 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
11264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11266 arg1
= wxString_in_helper(obj0
);
11267 if (arg1
== NULL
) SWIG_fail
;
11270 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11271 if (!SWIG_IsOK(res2
)) {
11272 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "__wxMemoryFSHandler_AddFile_wxBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11275 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "__wxMemoryFSHandler_AddFile_wxBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11277 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11278 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
11279 if (!SWIG_IsOK(ecode3
)) {
11280 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "__wxMemoryFSHandler_AddFile_wxBitmap" "', expected argument " "3"" of type '" "long""'");
11282 arg3
= static_cast< long >(val3
);
11284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11285 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
11286 wxPyEndAllowThreads(__tstate
);
11287 if (PyErr_Occurred()) SWIG_fail
;
11289 resultobj
= SWIG_Py_Void();
11304 SWIGINTERN PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11305 PyObject
*resultobj
= 0;
11306 wxString
*arg1
= 0 ;
11307 PyObject
*arg2
= (PyObject
*) 0 ;
11308 bool temp1
= false ;
11309 PyObject
* obj0
= 0 ;
11310 PyObject
* obj1
= 0 ;
11311 char * kwnames
[] = {
11312 (char *) "filename",(char *) "data", NULL
11315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11317 arg1
= wxString_in_helper(obj0
);
11318 if (arg1
== NULL
) SWIG_fail
;
11323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11324 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
11325 wxPyEndAllowThreads(__tstate
);
11326 if (PyErr_Occurred()) SWIG_fail
;
11328 resultobj
= SWIG_Py_Void();
11343 SWIGINTERN PyObject
*_wrap_new_MemoryFSHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11344 PyObject
*resultobj
= 0;
11345 wxMemoryFSHandler
*result
= 0 ;
11347 if (!SWIG_Python_UnpackTuple(args
,"new_MemoryFSHandler",0,0,0)) SWIG_fail
;
11349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11350 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
11351 wxPyEndAllowThreads(__tstate
);
11352 if (PyErr_Occurred()) SWIG_fail
;
11354 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_NEW
| 0 );
11361 SWIGINTERN PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11362 PyObject
*resultobj
= 0;
11363 wxString
*arg1
= 0 ;
11364 bool temp1
= false ;
11365 PyObject
* obj0
= 0 ;
11366 char * kwnames
[] = {
11367 (char *) "filename", NULL
11370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) SWIG_fail
;
11372 arg1
= wxString_in_helper(obj0
);
11373 if (arg1
== NULL
) SWIG_fail
;
11377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11378 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
11379 wxPyEndAllowThreads(__tstate
);
11380 if (PyErr_Occurred()) SWIG_fail
;
11382 resultobj
= SWIG_Py_Void();
11397 SWIGINTERN PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11398 PyObject
*resultobj
= 0;
11399 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
11400 wxString
*arg2
= 0 ;
11404 bool temp2
= false ;
11405 PyObject
* obj0
= 0 ;
11406 PyObject
* obj1
= 0 ;
11407 char * kwnames
[] = {
11408 (char *) "self",(char *) "location", NULL
11411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryFSHandler
, 0 | 0 );
11413 if (!SWIG_IsOK(res1
)) {
11414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryFSHandler_CanOpen" "', expected argument " "1"" of type '" "wxMemoryFSHandler *""'");
11416 arg1
= reinterpret_cast< wxMemoryFSHandler
* >(argp1
);
11418 arg2
= wxString_in_helper(obj1
);
11419 if (arg2
== NULL
) SWIG_fail
;
11423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11424 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
11425 wxPyEndAllowThreads(__tstate
);
11426 if (PyErr_Occurred()) SWIG_fail
;
11429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11445 SWIGINTERN PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11446 PyObject
*resultobj
= 0;
11447 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
11448 wxFileSystem
*arg2
= 0 ;
11449 wxString
*arg3
= 0 ;
11450 wxFSFile
*result
= 0 ;
11455 bool temp3
= false ;
11456 PyObject
* obj0
= 0 ;
11457 PyObject
* obj1
= 0 ;
11458 PyObject
* obj2
= 0 ;
11459 char * kwnames
[] = {
11460 (char *) "self",(char *) "fs",(char *) "location", NULL
11463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryFSHandler
, 0 | 0 );
11465 if (!SWIG_IsOK(res1
)) {
11466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryFSHandler_OpenFile" "', expected argument " "1"" of type '" "wxMemoryFSHandler *""'");
11468 arg1
= reinterpret_cast< wxMemoryFSHandler
* >(argp1
);
11469 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileSystem
, 0 );
11470 if (!SWIG_IsOK(res2
)) {
11471 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
11474 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
11476 arg2
= reinterpret_cast< wxFileSystem
* >(argp2
);
11478 arg3
= wxString_in_helper(obj2
);
11479 if (arg3
== NULL
) SWIG_fail
;
11483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11484 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
11485 wxPyEndAllowThreads(__tstate
);
11486 if (PyErr_Occurred()) SWIG_fail
;
11489 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
11505 SWIGINTERN PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11506 PyObject
*resultobj
= 0;
11507 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
11508 wxString
*arg2
= 0 ;
11509 int arg3
= (int) 0 ;
11513 bool temp2
= false ;
11516 PyObject
* obj0
= 0 ;
11517 PyObject
* obj1
= 0 ;
11518 PyObject
* obj2
= 0 ;
11519 char * kwnames
[] = {
11520 (char *) "self",(char *) "spec",(char *) "flags", NULL
11523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryFSHandler
, 0 | 0 );
11525 if (!SWIG_IsOK(res1
)) {
11526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryFSHandler_FindFirst" "', expected argument " "1"" of type '" "wxMemoryFSHandler *""'");
11528 arg1
= reinterpret_cast< wxMemoryFSHandler
* >(argp1
);
11530 arg2
= wxString_in_helper(obj1
);
11531 if (arg2
== NULL
) SWIG_fail
;
11535 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11536 if (!SWIG_IsOK(ecode3
)) {
11537 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MemoryFSHandler_FindFirst" "', expected argument " "3"" of type '" "int""'");
11539 arg3
= static_cast< int >(val3
);
11542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11543 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
11544 wxPyEndAllowThreads(__tstate
);
11545 if (PyErr_Occurred()) SWIG_fail
;
11549 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11551 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11568 SWIGINTERN PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11569 PyObject
*resultobj
= 0;
11570 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
11574 PyObject
*swig_obj
[1] ;
11576 if (!args
) SWIG_fail
;
11577 swig_obj
[0] = args
;
11578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMemoryFSHandler
, 0 | 0 );
11579 if (!SWIG_IsOK(res1
)) {
11580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryFSHandler_FindNext" "', expected argument " "1"" of type '" "wxMemoryFSHandler *""'");
11582 arg1
= reinterpret_cast< wxMemoryFSHandler
* >(argp1
);
11584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11585 result
= (arg1
)->FindNext();
11586 wxPyEndAllowThreads(__tstate
);
11587 if (PyErr_Occurred()) SWIG_fail
;
11591 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11593 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11602 SWIGINTERN PyObject
*MemoryFSHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11604 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11605 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryFSHandler
, SWIG_NewClientData(obj
));
11606 return SWIG_Py_Void();
11609 SWIGINTERN PyObject
*MemoryFSHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11610 return SWIG_Python_InitShadowInstance(args
);
11613 SWIGINTERN PyObject
*_wrap_ImageHandler_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11614 PyObject
*resultobj
= 0;
11615 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11619 PyObject
*swig_obj
[1] ;
11621 if (!args
) SWIG_fail
;
11622 swig_obj
[0] = args
;
11623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
11624 if (!SWIG_IsOK(res1
)) {
11625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_GetName" "', expected argument " "1"" of type '" "wxImageHandler *""'");
11627 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
11629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11630 result
= (arg1
)->GetName();
11631 wxPyEndAllowThreads(__tstate
);
11632 if (PyErr_Occurred()) SWIG_fail
;
11636 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11638 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11647 SWIGINTERN PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11648 PyObject
*resultobj
= 0;
11649 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11653 PyObject
*swig_obj
[1] ;
11655 if (!args
) SWIG_fail
;
11656 swig_obj
[0] = args
;
11657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
11658 if (!SWIG_IsOK(res1
)) {
11659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_GetExtension" "', expected argument " "1"" of type '" "wxImageHandler *""'");
11661 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
11663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11664 result
= (arg1
)->GetExtension();
11665 wxPyEndAllowThreads(__tstate
);
11666 if (PyErr_Occurred()) SWIG_fail
;
11670 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11672 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11681 SWIGINTERN PyObject
*_wrap_ImageHandler_GetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11682 PyObject
*resultobj
= 0;
11683 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11687 PyObject
*swig_obj
[1] ;
11689 if (!args
) SWIG_fail
;
11690 swig_obj
[0] = args
;
11691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
11692 if (!SWIG_IsOK(res1
)) {
11693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_GetType" "', expected argument " "1"" of type '" "wxImageHandler *""'");
11695 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
11697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11698 result
= (long)(arg1
)->GetType();
11699 wxPyEndAllowThreads(__tstate
);
11700 if (PyErr_Occurred()) SWIG_fail
;
11702 resultobj
= SWIG_From_long(static_cast< long >(result
));
11709 SWIGINTERN PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11710 PyObject
*resultobj
= 0;
11711 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11715 PyObject
*swig_obj
[1] ;
11717 if (!args
) SWIG_fail
;
11718 swig_obj
[0] = args
;
11719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
11720 if (!SWIG_IsOK(res1
)) {
11721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_GetMimeType" "', expected argument " "1"" of type '" "wxImageHandler *""'");
11723 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
11725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11726 result
= (arg1
)->GetMimeType();
11727 wxPyEndAllowThreads(__tstate
);
11728 if (PyErr_Occurred()) SWIG_fail
;
11732 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11734 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11743 SWIGINTERN PyObject
*_wrap_ImageHandler_CanRead(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11744 PyObject
*resultobj
= 0;
11745 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11746 wxString
*arg2
= 0 ;
11750 bool temp2
= false ;
11751 PyObject
* obj0
= 0 ;
11752 PyObject
* obj1
= 0 ;
11753 char * kwnames
[] = {
11754 (char *) "self",(char *) "name", NULL
11757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
11759 if (!SWIG_IsOK(res1
)) {
11760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_CanRead" "', expected argument " "1"" of type '" "wxImageHandler *""'");
11762 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
11764 arg2
= wxString_in_helper(obj1
);
11765 if (arg2
== NULL
) SWIG_fail
;
11769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11770 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
11771 wxPyEndAllowThreads(__tstate
);
11772 if (PyErr_Occurred()) SWIG_fail
;
11775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11791 SWIGINTERN PyObject
*_wrap_ImageHandler_SetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11792 PyObject
*resultobj
= 0;
11793 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11794 wxString
*arg2
= 0 ;
11797 bool temp2
= false ;
11798 PyObject
* obj0
= 0 ;
11799 PyObject
* obj1
= 0 ;
11800 char * kwnames
[] = {
11801 (char *) "self",(char *) "name", NULL
11804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
11806 if (!SWIG_IsOK(res1
)) {
11807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_SetName" "', expected argument " "1"" of type '" "wxImageHandler *""'");
11809 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
11811 arg2
= wxString_in_helper(obj1
);
11812 if (arg2
== NULL
) SWIG_fail
;
11816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11817 (arg1
)->SetName((wxString
const &)*arg2
);
11818 wxPyEndAllowThreads(__tstate
);
11819 if (PyErr_Occurred()) SWIG_fail
;
11821 resultobj
= SWIG_Py_Void();
11836 SWIGINTERN PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11837 PyObject
*resultobj
= 0;
11838 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11839 wxString
*arg2
= 0 ;
11842 bool temp2
= false ;
11843 PyObject
* obj0
= 0 ;
11844 PyObject
* obj1
= 0 ;
11845 char * kwnames
[] = {
11846 (char *) "self",(char *) "extension", NULL
11849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
11851 if (!SWIG_IsOK(res1
)) {
11852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_SetExtension" "', expected argument " "1"" of type '" "wxImageHandler *""'");
11854 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
11856 arg2
= wxString_in_helper(obj1
);
11857 if (arg2
== NULL
) SWIG_fail
;
11861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11862 (arg1
)->SetExtension((wxString
const &)*arg2
);
11863 wxPyEndAllowThreads(__tstate
);
11864 if (PyErr_Occurred()) SWIG_fail
;
11866 resultobj
= SWIG_Py_Void();
11881 SWIGINTERN PyObject
*_wrap_ImageHandler_SetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11882 PyObject
*resultobj
= 0;
11883 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11889 PyObject
* obj0
= 0 ;
11890 PyObject
* obj1
= 0 ;
11891 char * kwnames
[] = {
11892 (char *) "self",(char *) "type", NULL
11895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
11897 if (!SWIG_IsOK(res1
)) {
11898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_SetType" "', expected argument " "1"" of type '" "wxImageHandler *""'");
11900 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
11901 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
11902 if (!SWIG_IsOK(ecode2
)) {
11903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageHandler_SetType" "', expected argument " "2"" of type '" "long""'");
11905 arg2
= static_cast< long >(val2
);
11907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11908 (arg1
)->SetType(arg2
);
11909 wxPyEndAllowThreads(__tstate
);
11910 if (PyErr_Occurred()) SWIG_fail
;
11912 resultobj
= SWIG_Py_Void();
11919 SWIGINTERN PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11920 PyObject
*resultobj
= 0;
11921 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11922 wxString
*arg2
= 0 ;
11925 bool temp2
= false ;
11926 PyObject
* obj0
= 0 ;
11927 PyObject
* obj1
= 0 ;
11928 char * kwnames
[] = {
11929 (char *) "self",(char *) "mimetype", NULL
11932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
11934 if (!SWIG_IsOK(res1
)) {
11935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_SetMimeType" "', expected argument " "1"" of type '" "wxImageHandler *""'");
11937 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
11939 arg2
= wxString_in_helper(obj1
);
11940 if (arg2
== NULL
) SWIG_fail
;
11944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11945 (arg1
)->SetMimeType((wxString
const &)*arg2
);
11946 wxPyEndAllowThreads(__tstate
);
11947 if (PyErr_Occurred()) SWIG_fail
;
11949 resultobj
= SWIG_Py_Void();
11964 SWIGINTERN PyObject
*ImageHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11966 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11967 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageHandler
, SWIG_NewClientData(obj
));
11968 return SWIG_Py_Void();
11971 SWIGINTERN PyObject
*_wrap_new_PyImageHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11972 PyObject
*resultobj
= 0;
11973 wxPyImageHandler
*result
= 0 ;
11975 if (!SWIG_Python_UnpackTuple(args
,"new_PyImageHandler",0,0,0)) SWIG_fail
;
11977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11978 result
= (wxPyImageHandler
*)new wxPyImageHandler();
11979 wxPyEndAllowThreads(__tstate
);
11980 if (PyErr_Occurred()) SWIG_fail
;
11982 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyImageHandler
, SWIG_POINTER_NEW
| 0 );
11989 SWIGINTERN PyObject
*_wrap_PyImageHandler__SetSelf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11990 PyObject
*resultobj
= 0;
11991 wxPyImageHandler
*arg1
= (wxPyImageHandler
*) 0 ;
11992 PyObject
*arg2
= (PyObject
*) 0 ;
11995 PyObject
* obj0
= 0 ;
11996 PyObject
* obj1
= 0 ;
11997 char * kwnames
[] = {
11998 (char *) "self",(char *) "self", NULL
12001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyImageHandler__SetSelf",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyImageHandler
, 0 | 0 );
12003 if (!SWIG_IsOK(res1
)) {
12004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyImageHandler__SetSelf" "', expected argument " "1"" of type '" "wxPyImageHandler *""'");
12006 arg1
= reinterpret_cast< wxPyImageHandler
* >(argp1
);
12009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12010 (arg1
)->_SetSelf(arg2
);
12011 wxPyEndAllowThreads(__tstate
);
12012 if (PyErr_Occurred()) SWIG_fail
;
12014 resultobj
= SWIG_Py_Void();
12021 SWIGINTERN PyObject
*PyImageHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12023 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12024 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyImageHandler
, SWIG_NewClientData(obj
));
12025 return SWIG_Py_Void();
12028 SWIGINTERN PyObject
*PyImageHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12029 return SWIG_Python_InitShadowInstance(args
);
12032 SWIGINTERN PyObject
*_wrap_new_ImageHistogram(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12033 PyObject
*resultobj
= 0;
12034 wxImageHistogram
*result
= 0 ;
12036 if (!SWIG_Python_UnpackTuple(args
,"new_ImageHistogram",0,0,0)) SWIG_fail
;
12038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12039 result
= (wxImageHistogram
*)new wxImageHistogram();
12040 wxPyEndAllowThreads(__tstate
);
12041 if (PyErr_Occurred()) SWIG_fail
;
12043 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_NEW
| 0 );
12050 SWIGINTERN PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12051 PyObject
*resultobj
= 0;
12055 unsigned long result
;
12056 unsigned char val1
;
12058 unsigned char val2
;
12060 unsigned char val3
;
12062 PyObject
* obj0
= 0 ;
12063 PyObject
* obj1
= 0 ;
12064 PyObject
* obj2
= 0 ;
12065 char * kwnames
[] = {
12066 (char *) "r",(char *) "g",(char *) "b", NULL
12069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12070 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
12071 if (!SWIG_IsOK(ecode1
)) {
12072 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ImageHistogram_MakeKey" "', expected argument " "1"" of type '" "byte""'");
12074 arg1
= static_cast< byte
>(val1
);
12075 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
12076 if (!SWIG_IsOK(ecode2
)) {
12077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageHistogram_MakeKey" "', expected argument " "2"" of type '" "byte""'");
12079 arg2
= static_cast< byte
>(val2
);
12080 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
12081 if (!SWIG_IsOK(ecode3
)) {
12082 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ImageHistogram_MakeKey" "', expected argument " "3"" of type '" "byte""'");
12084 arg3
= static_cast< byte
>(val3
);
12086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12087 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
12088 wxPyEndAllowThreads(__tstate
);
12089 if (PyErr_Occurred()) SWIG_fail
;
12091 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12098 SWIGINTERN PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12099 PyObject
*resultobj
= 0;
12100 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
12101 byte
*arg2
= (byte
*) 0 ;
12102 byte
*arg3
= (byte
*) 0 ;
12103 byte
*arg4
= (byte
*) 0 ;
12104 byte arg5
= (byte
) 1 ;
12105 byte arg6
= (byte
) 0 ;
12106 byte arg7
= (byte
) 0 ;
12111 int res2
= SWIG_TMPOBJ
;
12113 int res3
= SWIG_TMPOBJ
;
12115 int res4
= SWIG_TMPOBJ
;
12116 unsigned char val5
;
12118 unsigned char val6
;
12120 unsigned char val7
;
12122 PyObject
* obj0
= 0 ;
12123 PyObject
* obj1
= 0 ;
12124 PyObject
* obj2
= 0 ;
12125 PyObject
* obj3
= 0 ;
12126 char * kwnames
[] = {
12127 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
12133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHistogram
, 0 | 0 );
12135 if (!SWIG_IsOK(res1
)) {
12136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHistogram_FindFirstUnusedColour" "', expected argument " "1"" of type '" "wxImageHistogram const *""'");
12138 arg1
= reinterpret_cast< wxImageHistogram
* >(argp1
);
12140 ecode5
= SWIG_AsVal_unsigned_SS_char(obj1
, &val5
);
12141 if (!SWIG_IsOK(ecode5
)) {
12142 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageHistogram_FindFirstUnusedColour" "', expected argument " "5"" of type '" "byte""'");
12144 arg5
= static_cast< byte
>(val5
);
12147 ecode6
= SWIG_AsVal_unsigned_SS_char(obj2
, &val6
);
12148 if (!SWIG_IsOK(ecode6
)) {
12149 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageHistogram_FindFirstUnusedColour" "', expected argument " "6"" of type '" "byte""'");
12151 arg6
= static_cast< byte
>(val6
);
12154 ecode7
= SWIG_AsVal_unsigned_SS_char(obj3
, &val7
);
12155 if (!SWIG_IsOK(ecode7
)) {
12156 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageHistogram_FindFirstUnusedColour" "', expected argument " "7"" of type '" "byte""'");
12158 arg7
= static_cast< byte
>(val7
);
12161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12162 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12163 wxPyEndAllowThreads(__tstate
);
12164 if (PyErr_Occurred()) SWIG_fail
;
12167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12169 if (SWIG_IsTmpObj(res2
)) {
12170 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg2
)));
12172 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12173 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, new_flags
));
12175 if (SWIG_IsTmpObj(res3
)) {
12176 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
12178 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12179 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
12181 if (SWIG_IsTmpObj(res4
)) {
12182 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
12184 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12185 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
12193 SWIGINTERN PyObject
*_wrap_ImageHistogram_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12194 PyObject
*resultobj
= 0;
12195 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
12196 unsigned long arg2
;
12197 unsigned long result
;
12200 unsigned long val2
;
12202 PyObject
* obj0
= 0 ;
12203 PyObject
* obj1
= 0 ;
12204 char * kwnames
[] = {
12205 (char *) "self",(char *) "key", NULL
12208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHistogram
, 0 | 0 );
12210 if (!SWIG_IsOK(res1
)) {
12211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHistogram_GetCount" "', expected argument " "1"" of type '" "wxImageHistogram *""'");
12213 arg1
= reinterpret_cast< wxImageHistogram
* >(argp1
);
12214 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12215 if (!SWIG_IsOK(ecode2
)) {
12216 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageHistogram_GetCount" "', expected argument " "2"" of type '" "unsigned long""'");
12218 arg2
= static_cast< unsigned long >(val2
);
12220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12221 result
= (unsigned long)wxImageHistogram_GetCount(arg1
,arg2
);
12222 wxPyEndAllowThreads(__tstate
);
12223 if (PyErr_Occurred()) SWIG_fail
;
12225 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12232 SWIGINTERN PyObject
*_wrap_ImageHistogram_GetCountRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12233 PyObject
*resultobj
= 0;
12234 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
12238 unsigned long result
;
12241 unsigned char val2
;
12243 unsigned char val3
;
12245 unsigned char val4
;
12247 PyObject
* obj0
= 0 ;
12248 PyObject
* obj1
= 0 ;
12249 PyObject
* obj2
= 0 ;
12250 PyObject
* obj3
= 0 ;
12251 char * kwnames
[] = {
12252 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ImageHistogram_GetCountRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHistogram
, 0 | 0 );
12257 if (!SWIG_IsOK(res1
)) {
12258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHistogram_GetCountRGB" "', expected argument " "1"" of type '" "wxImageHistogram *""'");
12260 arg1
= reinterpret_cast< wxImageHistogram
* >(argp1
);
12261 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
12262 if (!SWIG_IsOK(ecode2
)) {
12263 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageHistogram_GetCountRGB" "', expected argument " "2"" of type '" "byte""'");
12265 arg2
= static_cast< byte
>(val2
);
12266 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
12267 if (!SWIG_IsOK(ecode3
)) {
12268 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ImageHistogram_GetCountRGB" "', expected argument " "3"" of type '" "byte""'");
12270 arg3
= static_cast< byte
>(val3
);
12271 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
12272 if (!SWIG_IsOK(ecode4
)) {
12273 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageHistogram_GetCountRGB" "', expected argument " "4"" of type '" "byte""'");
12275 arg4
= static_cast< byte
>(val4
);
12277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12278 result
= (unsigned long)wxImageHistogram_GetCountRGB(arg1
,arg2
,arg3
,arg4
);
12279 wxPyEndAllowThreads(__tstate
);
12280 if (PyErr_Occurred()) SWIG_fail
;
12282 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12289 SWIGINTERN PyObject
*_wrap_ImageHistogram_GetCountColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12290 PyObject
*resultobj
= 0;
12291 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
12292 wxColour
*arg2
= 0 ;
12293 unsigned long result
;
12297 PyObject
* obj0
= 0 ;
12298 PyObject
* obj1
= 0 ;
12299 char * kwnames
[] = {
12300 (char *) "self",(char *) "colour", NULL
12303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCountColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHistogram
, 0 | 0 );
12305 if (!SWIG_IsOK(res1
)) {
12306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHistogram_GetCountColour" "', expected argument " "1"" of type '" "wxImageHistogram *""'");
12308 arg1
= reinterpret_cast< wxImageHistogram
* >(argp1
);
12311 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12315 result
= (unsigned long)wxImageHistogram_GetCountColour(arg1
,(wxColour
const &)*arg2
);
12316 wxPyEndAllowThreads(__tstate
);
12317 if (PyErr_Occurred()) SWIG_fail
;
12319 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12326 SWIGINTERN PyObject
*ImageHistogram_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12328 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12329 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageHistogram
, SWIG_NewClientData(obj
));
12330 return SWIG_Py_Void();
12333 SWIGINTERN PyObject
*ImageHistogram_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12334 return SWIG_Python_InitShadowInstance(args
);
12337 SWIGINTERN PyObject
*_wrap_new_Image_RGBValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12338 PyObject
*resultobj
= 0;
12339 byte arg1
= (byte
) 0 ;
12340 byte arg2
= (byte
) 0 ;
12341 byte arg3
= (byte
) 0 ;
12342 wxImage_RGBValue
*result
= 0 ;
12343 unsigned char val1
;
12345 unsigned char val2
;
12347 unsigned char val3
;
12349 PyObject
* obj0
= 0 ;
12350 PyObject
* obj1
= 0 ;
12351 PyObject
* obj2
= 0 ;
12352 char * kwnames
[] = {
12353 (char *) "r",(char *) "g",(char *) "b", NULL
12356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Image_RGBValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12358 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
12359 if (!SWIG_IsOK(ecode1
)) {
12360 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Image_RGBValue" "', expected argument " "1"" of type '" "byte""'");
12362 arg1
= static_cast< byte
>(val1
);
12365 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
12366 if (!SWIG_IsOK(ecode2
)) {
12367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Image_RGBValue" "', expected argument " "2"" of type '" "byte""'");
12369 arg2
= static_cast< byte
>(val2
);
12372 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
12373 if (!SWIG_IsOK(ecode3
)) {
12374 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Image_RGBValue" "', expected argument " "3"" of type '" "byte""'");
12376 arg3
= static_cast< byte
>(val3
);
12379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12380 result
= (wxImage_RGBValue
*)new wxImage_RGBValue(arg1
,arg2
,arg3
);
12381 wxPyEndAllowThreads(__tstate
);
12382 if (PyErr_Occurred()) SWIG_fail
;
12384 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage_RGBValue
, SWIG_POINTER_NEW
| 0 );
12391 SWIGINTERN PyObject
*_wrap_Image_RGBValue_red_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12392 PyObject
*resultobj
= 0;
12393 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
12397 unsigned char val2
;
12399 PyObject
*swig_obj
[2] ;
12401 if (!SWIG_Python_UnpackTuple(args
,"Image_RGBValue_red_set",2,2,swig_obj
)) SWIG_fail
;
12402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
12403 if (!SWIG_IsOK(res1
)) {
12404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_red_set" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
12406 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
12407 ecode2
= SWIG_AsVal_unsigned_SS_char(swig_obj
[1], &val2
);
12408 if (!SWIG_IsOK(ecode2
)) {
12409 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_RGBValue_red_set" "', expected argument " "2"" of type '" "byte""'");
12411 arg2
= static_cast< byte
>(val2
);
12412 if (arg1
) (arg1
)->red
= arg2
;
12414 resultobj
= SWIG_Py_Void();
12421 SWIGINTERN PyObject
*_wrap_Image_RGBValue_red_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12422 PyObject
*resultobj
= 0;
12423 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
12427 PyObject
*swig_obj
[1] ;
12429 if (!args
) SWIG_fail
;
12430 swig_obj
[0] = args
;
12431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
12432 if (!SWIG_IsOK(res1
)) {
12433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_red_get" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
12435 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
12436 result
= (byte
) ((arg1
)->red
);
12437 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
12444 SWIGINTERN PyObject
*_wrap_Image_RGBValue_green_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12445 PyObject
*resultobj
= 0;
12446 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
12450 unsigned char val2
;
12452 PyObject
*swig_obj
[2] ;
12454 if (!SWIG_Python_UnpackTuple(args
,"Image_RGBValue_green_set",2,2,swig_obj
)) SWIG_fail
;
12455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
12456 if (!SWIG_IsOK(res1
)) {
12457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_green_set" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
12459 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
12460 ecode2
= SWIG_AsVal_unsigned_SS_char(swig_obj
[1], &val2
);
12461 if (!SWIG_IsOK(ecode2
)) {
12462 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_RGBValue_green_set" "', expected argument " "2"" of type '" "byte""'");
12464 arg2
= static_cast< byte
>(val2
);
12465 if (arg1
) (arg1
)->green
= arg2
;
12467 resultobj
= SWIG_Py_Void();
12474 SWIGINTERN PyObject
*_wrap_Image_RGBValue_green_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12475 PyObject
*resultobj
= 0;
12476 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
12480 PyObject
*swig_obj
[1] ;
12482 if (!args
) SWIG_fail
;
12483 swig_obj
[0] = args
;
12484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
12485 if (!SWIG_IsOK(res1
)) {
12486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_green_get" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
12488 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
12489 result
= (byte
) ((arg1
)->green
);
12490 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
12497 SWIGINTERN PyObject
*_wrap_Image_RGBValue_blue_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12498 PyObject
*resultobj
= 0;
12499 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
12503 unsigned char val2
;
12505 PyObject
*swig_obj
[2] ;
12507 if (!SWIG_Python_UnpackTuple(args
,"Image_RGBValue_blue_set",2,2,swig_obj
)) SWIG_fail
;
12508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
12509 if (!SWIG_IsOK(res1
)) {
12510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_blue_set" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
12512 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
12513 ecode2
= SWIG_AsVal_unsigned_SS_char(swig_obj
[1], &val2
);
12514 if (!SWIG_IsOK(ecode2
)) {
12515 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_RGBValue_blue_set" "', expected argument " "2"" of type '" "byte""'");
12517 arg2
= static_cast< byte
>(val2
);
12518 if (arg1
) (arg1
)->blue
= arg2
;
12520 resultobj
= SWIG_Py_Void();
12527 SWIGINTERN PyObject
*_wrap_Image_RGBValue_blue_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12528 PyObject
*resultobj
= 0;
12529 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
12533 PyObject
*swig_obj
[1] ;
12535 if (!args
) SWIG_fail
;
12536 swig_obj
[0] = args
;
12537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
12538 if (!SWIG_IsOK(res1
)) {
12539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_blue_get" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
12541 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
12542 result
= (byte
) ((arg1
)->blue
);
12543 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
12550 SWIGINTERN PyObject
*Image_RGBValue_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12552 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12553 SWIG_TypeNewClientData(SWIGTYPE_p_wxImage_RGBValue
, SWIG_NewClientData(obj
));
12554 return SWIG_Py_Void();
12557 SWIGINTERN PyObject
*Image_RGBValue_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12558 return SWIG_Python_InitShadowInstance(args
);
12561 SWIGINTERN PyObject
*_wrap_new_Image_HSVValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12562 PyObject
*resultobj
= 0;
12563 double arg1
= (double) 0.0 ;
12564 double arg2
= (double) 0.0 ;
12565 double arg3
= (double) 0.0 ;
12566 wxImage_HSVValue
*result
= 0 ;
12573 PyObject
* obj0
= 0 ;
12574 PyObject
* obj1
= 0 ;
12575 PyObject
* obj2
= 0 ;
12576 char * kwnames
[] = {
12577 (char *) "h",(char *) "s",(char *) "v", NULL
12580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Image_HSVValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12582 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
12583 if (!SWIG_IsOK(ecode1
)) {
12584 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Image_HSVValue" "', expected argument " "1"" of type '" "double""'");
12586 arg1
= static_cast< double >(val1
);
12589 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
12590 if (!SWIG_IsOK(ecode2
)) {
12591 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Image_HSVValue" "', expected argument " "2"" of type '" "double""'");
12593 arg2
= static_cast< double >(val2
);
12596 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
12597 if (!SWIG_IsOK(ecode3
)) {
12598 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Image_HSVValue" "', expected argument " "3"" of type '" "double""'");
12600 arg3
= static_cast< double >(val3
);
12603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12604 result
= (wxImage_HSVValue
*)new wxImage_HSVValue(arg1
,arg2
,arg3
);
12605 wxPyEndAllowThreads(__tstate
);
12606 if (PyErr_Occurred()) SWIG_fail
;
12608 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage_HSVValue
, SWIG_POINTER_NEW
| 0 );
12615 SWIGINTERN PyObject
*_wrap_Image_HSVValue_hue_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12616 PyObject
*resultobj
= 0;
12617 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
12623 PyObject
*swig_obj
[2] ;
12625 if (!SWIG_Python_UnpackTuple(args
,"Image_HSVValue_hue_set",2,2,swig_obj
)) SWIG_fail
;
12626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
12627 if (!SWIG_IsOK(res1
)) {
12628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_hue_set" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
12630 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
12631 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
12632 if (!SWIG_IsOK(ecode2
)) {
12633 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_HSVValue_hue_set" "', expected argument " "2"" of type '" "double""'");
12635 arg2
= static_cast< double >(val2
);
12636 if (arg1
) (arg1
)->hue
= arg2
;
12638 resultobj
= SWIG_Py_Void();
12645 SWIGINTERN PyObject
*_wrap_Image_HSVValue_hue_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12646 PyObject
*resultobj
= 0;
12647 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
12651 PyObject
*swig_obj
[1] ;
12653 if (!args
) SWIG_fail
;
12654 swig_obj
[0] = args
;
12655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
12656 if (!SWIG_IsOK(res1
)) {
12657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_hue_get" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
12659 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
12660 result
= (double) ((arg1
)->hue
);
12661 resultobj
= SWIG_From_double(static_cast< double >(result
));
12668 SWIGINTERN PyObject
*_wrap_Image_HSVValue_saturation_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12669 PyObject
*resultobj
= 0;
12670 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
12676 PyObject
*swig_obj
[2] ;
12678 if (!SWIG_Python_UnpackTuple(args
,"Image_HSVValue_saturation_set",2,2,swig_obj
)) SWIG_fail
;
12679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
12680 if (!SWIG_IsOK(res1
)) {
12681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_saturation_set" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
12683 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
12684 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
12685 if (!SWIG_IsOK(ecode2
)) {
12686 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_HSVValue_saturation_set" "', expected argument " "2"" of type '" "double""'");
12688 arg2
= static_cast< double >(val2
);
12689 if (arg1
) (arg1
)->saturation
= arg2
;
12691 resultobj
= SWIG_Py_Void();
12698 SWIGINTERN PyObject
*_wrap_Image_HSVValue_saturation_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12699 PyObject
*resultobj
= 0;
12700 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
12704 PyObject
*swig_obj
[1] ;
12706 if (!args
) SWIG_fail
;
12707 swig_obj
[0] = args
;
12708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
12709 if (!SWIG_IsOK(res1
)) {
12710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_saturation_get" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
12712 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
12713 result
= (double) ((arg1
)->saturation
);
12714 resultobj
= SWIG_From_double(static_cast< double >(result
));
12721 SWIGINTERN PyObject
*_wrap_Image_HSVValue_value_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12722 PyObject
*resultobj
= 0;
12723 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
12729 PyObject
*swig_obj
[2] ;
12731 if (!SWIG_Python_UnpackTuple(args
,"Image_HSVValue_value_set",2,2,swig_obj
)) SWIG_fail
;
12732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
12733 if (!SWIG_IsOK(res1
)) {
12734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_value_set" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
12736 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
12737 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
12738 if (!SWIG_IsOK(ecode2
)) {
12739 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_HSVValue_value_set" "', expected argument " "2"" of type '" "double""'");
12741 arg2
= static_cast< double >(val2
);
12742 if (arg1
) (arg1
)->value
= arg2
;
12744 resultobj
= SWIG_Py_Void();
12751 SWIGINTERN PyObject
*_wrap_Image_HSVValue_value_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12752 PyObject
*resultobj
= 0;
12753 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
12757 PyObject
*swig_obj
[1] ;
12759 if (!args
) SWIG_fail
;
12760 swig_obj
[0] = args
;
12761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
12762 if (!SWIG_IsOK(res1
)) {
12763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_value_get" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
12765 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
12766 result
= (double) ((arg1
)->value
);
12767 resultobj
= SWIG_From_double(static_cast< double >(result
));
12774 SWIGINTERN PyObject
*Image_HSVValue_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12776 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12777 SWIG_TypeNewClientData(SWIGTYPE_p_wxImage_HSVValue
, SWIG_NewClientData(obj
));
12778 return SWIG_Py_Void();
12781 SWIGINTERN PyObject
*Image_HSVValue_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12782 return SWIG_Python_InitShadowInstance(args
);
12785 SWIGINTERN PyObject
*_wrap_new_Image(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12786 PyObject
*resultobj
= 0;
12787 wxString
*arg1
= 0 ;
12788 long arg2
= (long) wxBITMAP_TYPE_ANY
;
12789 int arg3
= (int) -1 ;
12790 wxImage
*result
= 0 ;
12791 bool temp1
= false ;
12796 PyObject
* obj0
= 0 ;
12797 PyObject
* obj1
= 0 ;
12798 PyObject
* obj2
= 0 ;
12799 char * kwnames
[] = {
12800 (char *) "name",(char *) "type",(char *) "index", NULL
12803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12805 arg1
= wxString_in_helper(obj0
);
12806 if (arg1
== NULL
) SWIG_fail
;
12810 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12811 if (!SWIG_IsOK(ecode2
)) {
12812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Image" "', expected argument " "2"" of type '" "long""'");
12814 arg2
= static_cast< long >(val2
);
12817 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12818 if (!SWIG_IsOK(ecode3
)) {
12819 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Image" "', expected argument " "3"" of type '" "int""'");
12821 arg3
= static_cast< int >(val3
);
12824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12825 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
12826 wxPyEndAllowThreads(__tstate
);
12827 if (PyErr_Occurred()) SWIG_fail
;
12829 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_NEW
| 0 );
12844 SWIGINTERN PyObject
*_wrap_delete_Image(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12845 PyObject
*resultobj
= 0;
12846 wxImage
*arg1
= (wxImage
*) 0 ;
12849 PyObject
*swig_obj
[1] ;
12851 if (!args
) SWIG_fail
;
12852 swig_obj
[0] = args
;
12853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, SWIG_POINTER_DISOWN
| 0 );
12854 if (!SWIG_IsOK(res1
)) {
12855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Image" "', expected argument " "1"" of type '" "wxImage *""'");
12857 arg1
= reinterpret_cast< wxImage
* >(argp1
);
12859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12862 wxPyEndAllowThreads(__tstate
);
12863 if (PyErr_Occurred()) SWIG_fail
;
12865 resultobj
= SWIG_Py_Void();
12872 SWIGINTERN PyObject
*_wrap_new_ImageFromMime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12873 PyObject
*resultobj
= 0;
12874 wxString
*arg1
= 0 ;
12875 wxString
*arg2
= 0 ;
12876 int arg3
= (int) -1 ;
12877 wxImage
*result
= 0 ;
12878 bool temp1
= false ;
12879 bool temp2
= false ;
12882 PyObject
* obj0
= 0 ;
12883 PyObject
* obj1
= 0 ;
12884 PyObject
* obj2
= 0 ;
12885 char * kwnames
[] = {
12886 (char *) "name",(char *) "mimetype",(char *) "index", NULL
12889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12891 arg1
= wxString_in_helper(obj0
);
12892 if (arg1
== NULL
) SWIG_fail
;
12896 arg2
= wxString_in_helper(obj1
);
12897 if (arg2
== NULL
) SWIG_fail
;
12901 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12902 if (!SWIG_IsOK(ecode3
)) {
12903 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageFromMime" "', expected argument " "3"" of type '" "int""'");
12905 arg3
= static_cast< int >(val3
);
12908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12909 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
12910 wxPyEndAllowThreads(__tstate
);
12911 if (PyErr_Occurred()) SWIG_fail
;
12913 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
12936 SWIGINTERN PyObject
*_wrap_new_ImageFromStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12937 PyObject
*resultobj
= 0;
12938 wxInputStream
*arg1
= 0 ;
12939 long arg2
= (long) wxBITMAP_TYPE_ANY
;
12940 int arg3
= (int) -1 ;
12941 wxImage
*result
= 0 ;
12942 wxPyInputStream
*temp1
;
12948 PyObject
* obj0
= 0 ;
12949 PyObject
* obj1
= 0 ;
12950 PyObject
* obj2
= 0 ;
12951 char * kwnames
[] = {
12952 (char *) "stream",(char *) "type",(char *) "index", NULL
12955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12957 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
12958 arg1
= temp1
->m_wxis
;
12961 PyErr_Clear(); // clear the failure of the wxPyConvert above
12962 arg1
= wxPyCBInputStream_create(obj0
, false);
12963 if (arg1
== NULL
) {
12964 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
12971 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12972 if (!SWIG_IsOK(ecode2
)) {
12973 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageFromStream" "', expected argument " "2"" of type '" "long""'");
12975 arg2
= static_cast< long >(val2
);
12978 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12979 if (!SWIG_IsOK(ecode3
)) {
12980 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageFromStream" "', expected argument " "3"" of type '" "int""'");
12982 arg3
= static_cast< int >(val3
);
12985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12986 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
12987 wxPyEndAllowThreads(__tstate
);
12988 if (PyErr_Occurred()) SWIG_fail
;
12990 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
12992 if (created1
) delete arg1
;
12997 if (created1
) delete arg1
;
13003 SWIGINTERN PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13004 PyObject
*resultobj
= 0;
13005 wxInputStream
*arg1
= 0 ;
13006 wxString
*arg2
= 0 ;
13007 int arg3
= (int) -1 ;
13008 wxImage
*result
= 0 ;
13009 wxPyInputStream
*temp1
;
13011 bool temp2
= false ;
13014 PyObject
* obj0
= 0 ;
13015 PyObject
* obj1
= 0 ;
13016 PyObject
* obj2
= 0 ;
13017 char * kwnames
[] = {
13018 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
13021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13023 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
13024 arg1
= temp1
->m_wxis
;
13027 PyErr_Clear(); // clear the failure of the wxPyConvert above
13028 arg1
= wxPyCBInputStream_create(obj0
, false);
13029 if (arg1
== NULL
) {
13030 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
13037 arg2
= wxString_in_helper(obj1
);
13038 if (arg2
== NULL
) SWIG_fail
;
13042 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13043 if (!SWIG_IsOK(ecode3
)) {
13044 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageFromStreamMime" "', expected argument " "3"" of type '" "int""'");
13046 arg3
= static_cast< int >(val3
);
13049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13050 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
13051 wxPyEndAllowThreads(__tstate
);
13052 if (PyErr_Occurred()) SWIG_fail
;
13054 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13056 if (created1
) delete arg1
;
13065 if (created1
) delete arg1
;
13075 SWIGINTERN PyObject
*_wrap_new_EmptyImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13076 PyObject
*resultobj
= 0;
13077 int arg1
= (int) 0 ;
13078 int arg2
= (int) 0 ;
13079 bool arg3
= (bool) true ;
13080 wxImage
*result
= 0 ;
13087 PyObject
* obj0
= 0 ;
13088 PyObject
* obj1
= 0 ;
13089 PyObject
* obj2
= 0 ;
13090 char * kwnames
[] = {
13091 (char *) "width",(char *) "height",(char *) "clear", NULL
13094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13096 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13097 if (!SWIG_IsOK(ecode1
)) {
13098 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyImage" "', expected argument " "1"" of type '" "int""'");
13100 arg1
= static_cast< int >(val1
);
13103 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13104 if (!SWIG_IsOK(ecode2
)) {
13105 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyImage" "', expected argument " "2"" of type '" "int""'");
13107 arg2
= static_cast< int >(val2
);
13110 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13111 if (!SWIG_IsOK(ecode3
)) {
13112 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyImage" "', expected argument " "3"" of type '" "bool""'");
13114 arg3
= static_cast< bool >(val3
);
13117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13118 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
13119 wxPyEndAllowThreads(__tstate
);
13120 if (PyErr_Occurred()) SWIG_fail
;
13122 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13129 SWIGINTERN PyObject
*_wrap_new_ImageFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13130 PyObject
*resultobj
= 0;
13131 wxBitmap
*arg1
= 0 ;
13132 wxImage
*result
= 0 ;
13135 PyObject
* obj0
= 0 ;
13136 char * kwnames
[] = {
13137 (char *) "bitmap", NULL
13140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
13141 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
13142 if (!SWIG_IsOK(res1
)) {
13143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ImageFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
13146 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ImageFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
13148 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
13150 if (!wxPyCheckForApp()) SWIG_fail
;
13151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13152 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
13153 wxPyEndAllowThreads(__tstate
);
13154 if (PyErr_Occurred()) SWIG_fail
;
13156 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13163 SWIGINTERN PyObject
*_wrap_new_ImageFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13164 PyObject
*resultobj
= 0;
13169 wxImage
*result
= 0 ;
13174 PyObject
* obj0
= 0 ;
13175 PyObject
* obj1
= 0 ;
13176 PyObject
* obj2
= 0 ;
13177 char * kwnames
[] = {
13178 (char *) "width",(char *) "height",(char *) "data", NULL
13181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13182 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13183 if (!SWIG_IsOK(ecode1
)) {
13184 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageFromData" "', expected argument " "1"" of type '" "int""'");
13186 arg1
= static_cast< int >(val1
);
13187 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13188 if (!SWIG_IsOK(ecode2
)) {
13189 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageFromData" "', expected argument " "2"" of type '" "int""'");
13191 arg2
= static_cast< int >(val2
);
13193 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
13196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13197 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
);
13198 wxPyEndAllowThreads(__tstate
);
13199 if (PyErr_Occurred()) SWIG_fail
;
13201 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13208 SWIGINTERN PyObject
*_wrap_new_ImageFromDataWithAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13209 PyObject
*resultobj
= 0;
13216 wxImage
*result
= 0 ;
13221 PyObject
* obj0
= 0 ;
13222 PyObject
* obj1
= 0 ;
13223 PyObject
* obj2
= 0 ;
13224 PyObject
* obj3
= 0 ;
13225 char * kwnames
[] = {
13226 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
13229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13230 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13231 if (!SWIG_IsOK(ecode1
)) {
13232 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageFromDataWithAlpha" "', expected argument " "1"" of type '" "int""'");
13234 arg1
= static_cast< int >(val1
);
13235 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13236 if (!SWIG_IsOK(ecode2
)) {
13237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageFromDataWithAlpha" "', expected argument " "2"" of type '" "int""'");
13239 arg2
= static_cast< int >(val2
);
13241 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
13244 if (!PyArg_Parse(obj3
, "t#", &arg5
, &arg6
)) SWIG_fail
;
13247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13248 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
13249 wxPyEndAllowThreads(__tstate
);
13250 if (PyErr_Occurred()) SWIG_fail
;
13252 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13259 SWIGINTERN PyObject
*_wrap_Image_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13260 PyObject
*resultobj
= 0;
13261 wxImage
*arg1
= (wxImage
*) 0 ;
13264 bool arg4
= (bool) true ;
13273 PyObject
* obj0
= 0 ;
13274 PyObject
* obj1
= 0 ;
13275 PyObject
* obj2
= 0 ;
13276 PyObject
* obj3
= 0 ;
13277 char * kwnames
[] = {
13278 (char *) "self",(char *) "width",(char *) "height",(char *) "clear", NULL
13281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13283 if (!SWIG_IsOK(res1
)) {
13284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Create" "', expected argument " "1"" of type '" "wxImage *""'");
13286 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13287 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13288 if (!SWIG_IsOK(ecode2
)) {
13289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Create" "', expected argument " "2"" of type '" "int""'");
13291 arg2
= static_cast< int >(val2
);
13292 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13293 if (!SWIG_IsOK(ecode3
)) {
13294 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_Create" "', expected argument " "3"" of type '" "int""'");
13296 arg3
= static_cast< int >(val3
);
13298 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13299 if (!SWIG_IsOK(ecode4
)) {
13300 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Create" "', expected argument " "4"" of type '" "bool""'");
13302 arg4
= static_cast< bool >(val4
);
13305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13306 (arg1
)->Create(arg2
,arg3
,arg4
);
13307 wxPyEndAllowThreads(__tstate
);
13308 if (PyErr_Occurred()) SWIG_fail
;
13310 resultobj
= SWIG_Py_Void();
13317 SWIGINTERN PyObject
*_wrap_Image_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13318 PyObject
*resultobj
= 0;
13319 wxImage
*arg1
= (wxImage
*) 0 ;
13322 PyObject
*swig_obj
[1] ;
13324 if (!args
) SWIG_fail
;
13325 swig_obj
[0] = args
;
13326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13327 if (!SWIG_IsOK(res1
)) {
13328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Destroy" "', expected argument " "1"" of type '" "wxImage *""'");
13330 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13334 wxPyEndAllowThreads(__tstate
);
13335 if (PyErr_Occurred()) SWIG_fail
;
13337 resultobj
= SWIG_Py_Void();
13344 SWIGINTERN PyObject
*_wrap_Image_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13345 PyObject
*resultobj
= 0;
13346 wxImage
*arg1
= (wxImage
*) 0 ;
13349 SwigValueWrapper
<wxImage
> result
;
13356 PyObject
* obj0
= 0 ;
13357 PyObject
* obj1
= 0 ;
13358 PyObject
* obj2
= 0 ;
13359 char * kwnames
[] = {
13360 (char *) "self",(char *) "width",(char *) "height", NULL
13363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13365 if (!SWIG_IsOK(res1
)) {
13366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Scale" "', expected argument " "1"" of type '" "wxImage *""'");
13368 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13369 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13370 if (!SWIG_IsOK(ecode2
)) {
13371 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Scale" "', expected argument " "2"" of type '" "int""'");
13373 arg2
= static_cast< int >(val2
);
13374 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13375 if (!SWIG_IsOK(ecode3
)) {
13376 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_Scale" "', expected argument " "3"" of type '" "int""'");
13378 arg3
= static_cast< int >(val3
);
13380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13381 result
= (arg1
)->Scale(arg2
,arg3
);
13382 wxPyEndAllowThreads(__tstate
);
13383 if (PyErr_Occurred()) SWIG_fail
;
13385 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13392 SWIGINTERN PyObject
*_wrap_Image_ShrinkBy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13393 PyObject
*resultobj
= 0;
13394 wxImage
*arg1
= (wxImage
*) 0 ;
13397 SwigValueWrapper
<wxImage
> result
;
13404 PyObject
* obj0
= 0 ;
13405 PyObject
* obj1
= 0 ;
13406 PyObject
* obj2
= 0 ;
13407 char * kwnames
[] = {
13408 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
13411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13413 if (!SWIG_IsOK(res1
)) {
13414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ShrinkBy" "', expected argument " "1"" of type '" "wxImage const *""'");
13416 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13417 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13418 if (!SWIG_IsOK(ecode2
)) {
13419 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ShrinkBy" "', expected argument " "2"" of type '" "int""'");
13421 arg2
= static_cast< int >(val2
);
13422 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13423 if (!SWIG_IsOK(ecode3
)) {
13424 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ShrinkBy" "', expected argument " "3"" of type '" "int""'");
13426 arg3
= static_cast< int >(val3
);
13428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13429 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
13430 wxPyEndAllowThreads(__tstate
);
13431 if (PyErr_Occurred()) SWIG_fail
;
13433 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13440 SWIGINTERN PyObject
*_wrap_Image_Rescale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13441 PyObject
*resultobj
= 0;
13442 wxImage
*arg1
= (wxImage
*) 0 ;
13445 wxImage
*result
= 0 ;
13452 PyObject
* obj0
= 0 ;
13453 PyObject
* obj1
= 0 ;
13454 PyObject
* obj2
= 0 ;
13455 char * kwnames
[] = {
13456 (char *) "self",(char *) "width",(char *) "height", NULL
13459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13461 if (!SWIG_IsOK(res1
)) {
13462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Rescale" "', expected argument " "1"" of type '" "wxImage *""'");
13464 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13465 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13466 if (!SWIG_IsOK(ecode2
)) {
13467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Rescale" "', expected argument " "2"" of type '" "int""'");
13469 arg2
= static_cast< int >(val2
);
13470 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13471 if (!SWIG_IsOK(ecode3
)) {
13472 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_Rescale" "', expected argument " "3"" of type '" "int""'");
13474 arg3
= static_cast< int >(val3
);
13476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13478 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
13479 result
= (wxImage
*) &_result_ref
;
13481 wxPyEndAllowThreads(__tstate
);
13482 if (PyErr_Occurred()) SWIG_fail
;
13484 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, 0 | 0 );
13491 SWIGINTERN PyObject
*_wrap_Image_Resize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13492 PyObject
*resultobj
= 0;
13493 wxImage
*arg1
= (wxImage
*) 0 ;
13495 wxPoint
*arg3
= 0 ;
13496 int arg4
= (int) -1 ;
13497 int arg5
= (int) -1 ;
13498 int arg6
= (int) -1 ;
13499 wxImage
*result
= 0 ;
13510 PyObject
* obj0
= 0 ;
13511 PyObject
* obj1
= 0 ;
13512 PyObject
* obj2
= 0 ;
13513 PyObject
* obj3
= 0 ;
13514 PyObject
* obj4
= 0 ;
13515 PyObject
* obj5
= 0 ;
13516 char * kwnames
[] = {
13517 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
13520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Resize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13522 if (!SWIG_IsOK(res1
)) {
13523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Resize" "', expected argument " "1"" of type '" "wxImage *""'");
13525 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13528 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13532 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13535 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13536 if (!SWIG_IsOK(ecode4
)) {
13537 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Resize" "', expected argument " "4"" of type '" "int""'");
13539 arg4
= static_cast< int >(val4
);
13542 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13543 if (!SWIG_IsOK(ecode5
)) {
13544 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_Resize" "', expected argument " "5"" of type '" "int""'");
13546 arg5
= static_cast< int >(val5
);
13549 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
13550 if (!SWIG_IsOK(ecode6
)) {
13551 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Image_Resize" "', expected argument " "6"" of type '" "int""'");
13553 arg6
= static_cast< int >(val6
);
13556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13558 wxImage
&_result_ref
= (arg1
)->Resize((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
13559 result
= (wxImage
*) &_result_ref
;
13561 wxPyEndAllowThreads(__tstate
);
13562 if (PyErr_Occurred()) SWIG_fail
;
13564 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, 0 | 0 );
13571 SWIGINTERN PyObject
*_wrap_Image_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13572 PyObject
*resultobj
= 0;
13573 wxImage
*arg1
= (wxImage
*) 0 ;
13585 unsigned char val4
;
13587 unsigned char val5
;
13589 unsigned char val6
;
13591 PyObject
* obj0
= 0 ;
13592 PyObject
* obj1
= 0 ;
13593 PyObject
* obj2
= 0 ;
13594 PyObject
* obj3
= 0 ;
13595 PyObject
* obj4
= 0 ;
13596 PyObject
* obj5
= 0 ;
13597 char * kwnames
[] = {
13598 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
13601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13603 if (!SWIG_IsOK(res1
)) {
13604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetRGB" "', expected argument " "1"" of type '" "wxImage *""'");
13606 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13607 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13608 if (!SWIG_IsOK(ecode2
)) {
13609 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_SetRGB" "', expected argument " "2"" of type '" "int""'");
13611 arg2
= static_cast< int >(val2
);
13612 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13613 if (!SWIG_IsOK(ecode3
)) {
13614 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetRGB" "', expected argument " "3"" of type '" "int""'");
13616 arg3
= static_cast< int >(val3
);
13617 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
13618 if (!SWIG_IsOK(ecode4
)) {
13619 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_SetRGB" "', expected argument " "4"" of type '" "byte""'");
13621 arg4
= static_cast< byte
>(val4
);
13622 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
13623 if (!SWIG_IsOK(ecode5
)) {
13624 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_SetRGB" "', expected argument " "5"" of type '" "byte""'");
13626 arg5
= static_cast< byte
>(val5
);
13627 ecode6
= SWIG_AsVal_unsigned_SS_char(obj5
, &val6
);
13628 if (!SWIG_IsOK(ecode6
)) {
13629 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Image_SetRGB" "', expected argument " "6"" of type '" "byte""'");
13631 arg6
= static_cast< byte
>(val6
);
13633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13634 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
13635 wxPyEndAllowThreads(__tstate
);
13636 if (PyErr_Occurred()) SWIG_fail
;
13638 resultobj
= SWIG_Py_Void();
13645 SWIGINTERN PyObject
*_wrap_Image_SetRGBRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13646 PyObject
*resultobj
= 0;
13647 wxImage
*arg1
= (wxImage
*) 0 ;
13655 unsigned char val3
;
13657 unsigned char val4
;
13659 unsigned char val5
;
13661 PyObject
* obj0
= 0 ;
13662 PyObject
* obj1
= 0 ;
13663 PyObject
* obj2
= 0 ;
13664 PyObject
* obj3
= 0 ;
13665 PyObject
* obj4
= 0 ;
13666 char * kwnames
[] = {
13667 (char *) "self",(char *) "rect",(char *) "r",(char *) "g",(char *) "b", NULL
13670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetRGBRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13672 if (!SWIG_IsOK(res1
)) {
13673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetRGBRect" "', expected argument " "1"" of type '" "wxImage *""'");
13675 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13678 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13680 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
13681 if (!SWIG_IsOK(ecode3
)) {
13682 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetRGBRect" "', expected argument " "3"" of type '" "byte""'");
13684 arg3
= static_cast< byte
>(val3
);
13685 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
13686 if (!SWIG_IsOK(ecode4
)) {
13687 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_SetRGBRect" "', expected argument " "4"" of type '" "byte""'");
13689 arg4
= static_cast< byte
>(val4
);
13690 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
13691 if (!SWIG_IsOK(ecode5
)) {
13692 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_SetRGBRect" "', expected argument " "5"" of type '" "byte""'");
13694 arg5
= static_cast< byte
>(val5
);
13696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13697 (arg1
)->SetRGB((wxRect
const &)*arg2
,arg3
,arg4
,arg5
);
13698 wxPyEndAllowThreads(__tstate
);
13699 if (PyErr_Occurred()) SWIG_fail
;
13701 resultobj
= SWIG_Py_Void();
13708 SWIGINTERN PyObject
*_wrap_Image_GetRed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13709 PyObject
*resultobj
= 0;
13710 wxImage
*arg1
= (wxImage
*) 0 ;
13720 PyObject
* obj0
= 0 ;
13721 PyObject
* obj1
= 0 ;
13722 PyObject
* obj2
= 0 ;
13723 char * kwnames
[] = {
13724 (char *) "self",(char *) "x",(char *) "y", NULL
13727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13729 if (!SWIG_IsOK(res1
)) {
13730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetRed" "', expected argument " "1"" of type '" "wxImage *""'");
13732 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13733 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13734 if (!SWIG_IsOK(ecode2
)) {
13735 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_GetRed" "', expected argument " "2"" of type '" "int""'");
13737 arg2
= static_cast< int >(val2
);
13738 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13739 if (!SWIG_IsOK(ecode3
)) {
13740 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_GetRed" "', expected argument " "3"" of type '" "int""'");
13742 arg3
= static_cast< int >(val3
);
13744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13745 result
= (byte
)(arg1
)->GetRed(arg2
,arg3
);
13746 wxPyEndAllowThreads(__tstate
);
13747 if (PyErr_Occurred()) SWIG_fail
;
13749 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
13756 SWIGINTERN PyObject
*_wrap_Image_GetGreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13757 PyObject
*resultobj
= 0;
13758 wxImage
*arg1
= (wxImage
*) 0 ;
13768 PyObject
* obj0
= 0 ;
13769 PyObject
* obj1
= 0 ;
13770 PyObject
* obj2
= 0 ;
13771 char * kwnames
[] = {
13772 (char *) "self",(char *) "x",(char *) "y", NULL
13775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13777 if (!SWIG_IsOK(res1
)) {
13778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetGreen" "', expected argument " "1"" of type '" "wxImage *""'");
13780 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13781 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13782 if (!SWIG_IsOK(ecode2
)) {
13783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_GetGreen" "', expected argument " "2"" of type '" "int""'");
13785 arg2
= static_cast< int >(val2
);
13786 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13787 if (!SWIG_IsOK(ecode3
)) {
13788 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_GetGreen" "', expected argument " "3"" of type '" "int""'");
13790 arg3
= static_cast< int >(val3
);
13792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13793 result
= (byte
)(arg1
)->GetGreen(arg2
,arg3
);
13794 wxPyEndAllowThreads(__tstate
);
13795 if (PyErr_Occurred()) SWIG_fail
;
13797 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
13804 SWIGINTERN PyObject
*_wrap_Image_GetBlue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13805 PyObject
*resultobj
= 0;
13806 wxImage
*arg1
= (wxImage
*) 0 ;
13816 PyObject
* obj0
= 0 ;
13817 PyObject
* obj1
= 0 ;
13818 PyObject
* obj2
= 0 ;
13819 char * kwnames
[] = {
13820 (char *) "self",(char *) "x",(char *) "y", NULL
13823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13825 if (!SWIG_IsOK(res1
)) {
13826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetBlue" "', expected argument " "1"" of type '" "wxImage *""'");
13828 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13829 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13830 if (!SWIG_IsOK(ecode2
)) {
13831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_GetBlue" "', expected argument " "2"" of type '" "int""'");
13833 arg2
= static_cast< int >(val2
);
13834 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13835 if (!SWIG_IsOK(ecode3
)) {
13836 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_GetBlue" "', expected argument " "3"" of type '" "int""'");
13838 arg3
= static_cast< int >(val3
);
13840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13841 result
= (byte
)(arg1
)->GetBlue(arg2
,arg3
);
13842 wxPyEndAllowThreads(__tstate
);
13843 if (PyErr_Occurred()) SWIG_fail
;
13845 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
13852 SWIGINTERN PyObject
*_wrap_Image_SetAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13853 PyObject
*resultobj
= 0;
13854 wxImage
*arg1
= (wxImage
*) 0 ;
13864 unsigned char val4
;
13866 PyObject
* obj0
= 0 ;
13867 PyObject
* obj1
= 0 ;
13868 PyObject
* obj2
= 0 ;
13869 PyObject
* obj3
= 0 ;
13870 char * kwnames
[] = {
13871 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
13874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13876 if (!SWIG_IsOK(res1
)) {
13877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetAlpha" "', expected argument " "1"" of type '" "wxImage *""'");
13879 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13880 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13881 if (!SWIG_IsOK(ecode2
)) {
13882 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_SetAlpha" "', expected argument " "2"" of type '" "int""'");
13884 arg2
= static_cast< int >(val2
);
13885 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13886 if (!SWIG_IsOK(ecode3
)) {
13887 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetAlpha" "', expected argument " "3"" of type '" "int""'");
13889 arg3
= static_cast< int >(val3
);
13890 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
13891 if (!SWIG_IsOK(ecode4
)) {
13892 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_SetAlpha" "', expected argument " "4"" of type '" "byte""'");
13894 arg4
= static_cast< byte
>(val4
);
13896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13897 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
13898 wxPyEndAllowThreads(__tstate
);
13899 if (PyErr_Occurred()) SWIG_fail
;
13901 resultobj
= SWIG_Py_Void();
13908 SWIGINTERN PyObject
*_wrap_Image_GetAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13909 PyObject
*resultobj
= 0;
13910 wxImage
*arg1
= (wxImage
*) 0 ;
13920 PyObject
* obj0
= 0 ;
13921 PyObject
* obj1
= 0 ;
13922 PyObject
* obj2
= 0 ;
13923 char * kwnames
[] = {
13924 (char *) "self",(char *) "x",(char *) "y", NULL
13927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13929 if (!SWIG_IsOK(res1
)) {
13930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetAlpha" "', expected argument " "1"" of type '" "wxImage *""'");
13932 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13933 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13934 if (!SWIG_IsOK(ecode2
)) {
13935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_GetAlpha" "', expected argument " "2"" of type '" "int""'");
13937 arg2
= static_cast< int >(val2
);
13938 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13939 if (!SWIG_IsOK(ecode3
)) {
13940 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_GetAlpha" "', expected argument " "3"" of type '" "int""'");
13942 arg3
= static_cast< int >(val3
);
13944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13945 result
= (byte
)(arg1
)->GetAlpha(arg2
,arg3
);
13946 wxPyEndAllowThreads(__tstate
);
13947 if (PyErr_Occurred()) SWIG_fail
;
13949 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
13956 SWIGINTERN PyObject
*_wrap_Image_HasAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13957 PyObject
*resultobj
= 0;
13958 wxImage
*arg1
= (wxImage
*) 0 ;
13962 PyObject
*swig_obj
[1] ;
13964 if (!args
) SWIG_fail
;
13965 swig_obj
[0] = args
;
13966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13967 if (!SWIG_IsOK(res1
)) {
13968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HasAlpha" "', expected argument " "1"" of type '" "wxImage *""'");
13970 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13973 result
= (bool)(arg1
)->HasAlpha();
13974 wxPyEndAllowThreads(__tstate
);
13975 if (PyErr_Occurred()) SWIG_fail
;
13978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13986 SWIGINTERN PyObject
*_wrap_Image_InitAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13987 PyObject
*resultobj
= 0;
13988 wxImage
*arg1
= (wxImage
*) 0 ;
13991 PyObject
*swig_obj
[1] ;
13993 if (!args
) SWIG_fail
;
13994 swig_obj
[0] = args
;
13995 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13996 if (!SWIG_IsOK(res1
)) {
13997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_InitAlpha" "', expected argument " "1"" of type '" "wxImage *""'");
13999 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14002 (arg1
)->InitAlpha();
14003 wxPyEndAllowThreads(__tstate
);
14004 if (PyErr_Occurred()) SWIG_fail
;
14006 resultobj
= SWIG_Py_Void();
14013 SWIGINTERN PyObject
*_wrap_Image_IsTransparent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14014 PyObject
*resultobj
= 0;
14015 wxImage
*arg1
= (wxImage
*) 0 ;
14018 byte arg4
= (byte
) wxIMAGE_ALPHA_THRESHOLD
;
14026 unsigned char val4
;
14028 PyObject
* obj0
= 0 ;
14029 PyObject
* obj1
= 0 ;
14030 PyObject
* obj2
= 0 ;
14031 PyObject
* obj3
= 0 ;
14032 char * kwnames
[] = {
14033 (char *) "self",(char *) "x",(char *) "y",(char *) "threshold", NULL
14036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_IsTransparent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14038 if (!SWIG_IsOK(res1
)) {
14039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_IsTransparent" "', expected argument " "1"" of type '" "wxImage const *""'");
14041 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14042 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14043 if (!SWIG_IsOK(ecode2
)) {
14044 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_IsTransparent" "', expected argument " "2"" of type '" "int""'");
14046 arg2
= static_cast< int >(val2
);
14047 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14048 if (!SWIG_IsOK(ecode3
)) {
14049 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_IsTransparent" "', expected argument " "3"" of type '" "int""'");
14051 arg3
= static_cast< int >(val3
);
14053 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
14054 if (!SWIG_IsOK(ecode4
)) {
14055 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_IsTransparent" "', expected argument " "4"" of type '" "byte""'");
14057 arg4
= static_cast< byte
>(val4
);
14060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14061 result
= (bool)((wxImage
const *)arg1
)->IsTransparent(arg2
,arg3
,arg4
);
14062 wxPyEndAllowThreads(__tstate
);
14063 if (PyErr_Occurred()) SWIG_fail
;
14066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14074 SWIGINTERN PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14075 PyObject
*resultobj
= 0;
14076 wxImage
*arg1
= (wxImage
*) 0 ;
14077 byte
*arg2
= (byte
*) 0 ;
14078 byte
*arg3
= (byte
*) 0 ;
14079 byte
*arg4
= (byte
*) 0 ;
14080 byte arg5
= (byte
) 0 ;
14081 byte arg6
= (byte
) 0 ;
14082 byte arg7
= (byte
) 0 ;
14087 int res2
= SWIG_TMPOBJ
;
14089 int res3
= SWIG_TMPOBJ
;
14091 int res4
= SWIG_TMPOBJ
;
14092 unsigned char val5
;
14094 unsigned char val6
;
14096 unsigned char val7
;
14098 PyObject
* obj0
= 0 ;
14099 PyObject
* obj1
= 0 ;
14100 PyObject
* obj2
= 0 ;
14101 PyObject
* obj3
= 0 ;
14102 char * kwnames
[] = {
14103 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
14109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14111 if (!SWIG_IsOK(res1
)) {
14112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_FindFirstUnusedColour" "', expected argument " "1"" of type '" "wxImage const *""'");
14114 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14116 ecode5
= SWIG_AsVal_unsigned_SS_char(obj1
, &val5
);
14117 if (!SWIG_IsOK(ecode5
)) {
14118 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_FindFirstUnusedColour" "', expected argument " "5"" of type '" "byte""'");
14120 arg5
= static_cast< byte
>(val5
);
14123 ecode6
= SWIG_AsVal_unsigned_SS_char(obj2
, &val6
);
14124 if (!SWIG_IsOK(ecode6
)) {
14125 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Image_FindFirstUnusedColour" "', expected argument " "6"" of type '" "byte""'");
14127 arg6
= static_cast< byte
>(val6
);
14130 ecode7
= SWIG_AsVal_unsigned_SS_char(obj3
, &val7
);
14131 if (!SWIG_IsOK(ecode7
)) {
14132 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Image_FindFirstUnusedColour" "', expected argument " "7"" of type '" "byte""'");
14134 arg7
= static_cast< byte
>(val7
);
14137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14138 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
14139 wxPyEndAllowThreads(__tstate
);
14140 if (PyErr_Occurred()) SWIG_fail
;
14143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14145 if (SWIG_IsTmpObj(res2
)) {
14146 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg2
)));
14148 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
14149 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, new_flags
));
14151 if (SWIG_IsTmpObj(res3
)) {
14152 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
14154 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
14155 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
14157 if (SWIG_IsTmpObj(res4
)) {
14158 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
14160 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
14161 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
14169 SWIGINTERN PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14170 PyObject
*resultobj
= 0;
14171 wxImage
*arg1
= (wxImage
*) 0 ;
14172 byte arg2
= (byte
) wxIMAGE_ALPHA_THRESHOLD
;
14176 unsigned char val2
;
14178 PyObject
* obj0
= 0 ;
14179 PyObject
* obj1
= 0 ;
14180 char * kwnames
[] = {
14181 (char *) "self",(char *) "threshold", NULL
14184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14186 if (!SWIG_IsOK(res1
)) {
14187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertAlphaToMask" "', expected argument " "1"" of type '" "wxImage *""'");
14189 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14191 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
14192 if (!SWIG_IsOK(ecode2
)) {
14193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertAlphaToMask" "', expected argument " "2"" of type '" "byte""'");
14195 arg2
= static_cast< byte
>(val2
);
14198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14199 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
14200 wxPyEndAllowThreads(__tstate
);
14201 if (PyErr_Occurred()) SWIG_fail
;
14204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14212 SWIGINTERN PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14213 PyObject
*resultobj
= 0;
14214 wxImage
*arg1
= (wxImage
*) 0 ;
14221 unsigned char val2
;
14223 unsigned char val3
;
14225 unsigned char val4
;
14227 PyObject
* obj0
= 0 ;
14228 PyObject
* obj1
= 0 ;
14229 PyObject
* obj2
= 0 ;
14230 PyObject
* obj3
= 0 ;
14231 char * kwnames
[] = {
14232 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
14235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14237 if (!SWIG_IsOK(res1
)) {
14238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertColourToAlpha" "', expected argument " "1"" of type '" "wxImage *""'");
14240 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14241 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
14242 if (!SWIG_IsOK(ecode2
)) {
14243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertColourToAlpha" "', expected argument " "2"" of type '" "byte""'");
14245 arg2
= static_cast< byte
>(val2
);
14246 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
14247 if (!SWIG_IsOK(ecode3
)) {
14248 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ConvertColourToAlpha" "', expected argument " "3"" of type '" "byte""'");
14250 arg3
= static_cast< byte
>(val3
);
14251 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
14252 if (!SWIG_IsOK(ecode4
)) {
14253 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_ConvertColourToAlpha" "', expected argument " "4"" of type '" "byte""'");
14255 arg4
= static_cast< byte
>(val4
);
14257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14258 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
14259 wxPyEndAllowThreads(__tstate
);
14260 if (PyErr_Occurred()) SWIG_fail
;
14263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14271 SWIGINTERN PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14272 PyObject
*resultobj
= 0;
14273 wxImage
*arg1
= (wxImage
*) 0 ;
14274 wxImage
*arg2
= 0 ;
14283 unsigned char val3
;
14285 unsigned char val4
;
14287 unsigned char val5
;
14289 PyObject
* obj0
= 0 ;
14290 PyObject
* obj1
= 0 ;
14291 PyObject
* obj2
= 0 ;
14292 PyObject
* obj3
= 0 ;
14293 PyObject
* obj4
= 0 ;
14294 char * kwnames
[] = {
14295 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
14298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14300 if (!SWIG_IsOK(res1
)) {
14301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetMaskFromImage" "', expected argument " "1"" of type '" "wxImage *""'");
14303 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14304 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
, 0 | 0);
14305 if (!SWIG_IsOK(res2
)) {
14306 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Image_SetMaskFromImage" "', expected argument " "2"" of type '" "wxImage const &""'");
14309 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Image_SetMaskFromImage" "', expected argument " "2"" of type '" "wxImage const &""'");
14311 arg2
= reinterpret_cast< wxImage
* >(argp2
);
14312 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
14313 if (!SWIG_IsOK(ecode3
)) {
14314 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetMaskFromImage" "', expected argument " "3"" of type '" "byte""'");
14316 arg3
= static_cast< byte
>(val3
);
14317 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
14318 if (!SWIG_IsOK(ecode4
)) {
14319 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_SetMaskFromImage" "', expected argument " "4"" of type '" "byte""'");
14321 arg4
= static_cast< byte
>(val4
);
14322 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
14323 if (!SWIG_IsOK(ecode5
)) {
14324 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_SetMaskFromImage" "', expected argument " "5"" of type '" "byte""'");
14326 arg5
= static_cast< byte
>(val5
);
14328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14329 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
14330 wxPyEndAllowThreads(__tstate
);
14331 if (PyErr_Occurred()) SWIG_fail
;
14334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14342 SWIGINTERN PyObject
*_wrap_Image_CanRead(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14343 PyObject
*resultobj
= 0;
14344 wxString
*arg1
= 0 ;
14346 bool temp1
= false ;
14347 PyObject
* obj0
= 0 ;
14348 char * kwnames
[] = {
14349 (char *) "filename", NULL
14352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) SWIG_fail
;
14354 arg1
= wxString_in_helper(obj0
);
14355 if (arg1
== NULL
) SWIG_fail
;
14359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14360 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
14361 wxPyEndAllowThreads(__tstate
);
14362 if (PyErr_Occurred()) SWIG_fail
;
14365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14381 SWIGINTERN PyObject
*_wrap_Image_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14382 PyObject
*resultobj
= 0;
14383 wxString
*arg1
= 0 ;
14384 long arg2
= (long) wxBITMAP_TYPE_ANY
;
14386 bool temp1
= false ;
14389 PyObject
* obj0
= 0 ;
14390 PyObject
* obj1
= 0 ;
14391 char * kwnames
[] = {
14392 (char *) "filename",(char *) "type", NULL
14395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14397 arg1
= wxString_in_helper(obj0
);
14398 if (arg1
== NULL
) SWIG_fail
;
14402 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
14403 if (!SWIG_IsOK(ecode2
)) {
14404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_GetImageCount" "', expected argument " "2"" of type '" "long""'");
14406 arg2
= static_cast< long >(val2
);
14409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14410 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
14411 wxPyEndAllowThreads(__tstate
);
14412 if (PyErr_Occurred()) SWIG_fail
;
14414 resultobj
= SWIG_From_int(static_cast< int >(result
));
14429 SWIGINTERN PyObject
*_wrap_Image_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14430 PyObject
*resultobj
= 0;
14431 wxImage
*arg1
= (wxImage
*) 0 ;
14432 wxString
*arg2
= 0 ;
14433 long arg3
= (long) wxBITMAP_TYPE_ANY
;
14434 int arg4
= (int) -1 ;
14438 bool temp2
= false ;
14443 PyObject
* obj0
= 0 ;
14444 PyObject
* obj1
= 0 ;
14445 PyObject
* obj2
= 0 ;
14446 PyObject
* obj3
= 0 ;
14447 char * kwnames
[] = {
14448 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
14451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14453 if (!SWIG_IsOK(res1
)) {
14454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_LoadFile" "', expected argument " "1"" of type '" "wxImage *""'");
14456 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14458 arg2
= wxString_in_helper(obj1
);
14459 if (arg2
== NULL
) SWIG_fail
;
14463 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14464 if (!SWIG_IsOK(ecode3
)) {
14465 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_LoadFile" "', expected argument " "3"" of type '" "long""'");
14467 arg3
= static_cast< long >(val3
);
14470 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14471 if (!SWIG_IsOK(ecode4
)) {
14472 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_LoadFile" "', expected argument " "4"" of type '" "int""'");
14474 arg4
= static_cast< int >(val4
);
14477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14478 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
14479 wxPyEndAllowThreads(__tstate
);
14480 if (PyErr_Occurred()) SWIG_fail
;
14483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14499 SWIGINTERN PyObject
*_wrap_Image_LoadMimeFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14500 PyObject
*resultobj
= 0;
14501 wxImage
*arg1
= (wxImage
*) 0 ;
14502 wxString
*arg2
= 0 ;
14503 wxString
*arg3
= 0 ;
14504 int arg4
= (int) -1 ;
14508 bool temp2
= false ;
14509 bool temp3
= false ;
14512 PyObject
* obj0
= 0 ;
14513 PyObject
* obj1
= 0 ;
14514 PyObject
* obj2
= 0 ;
14515 PyObject
* obj3
= 0 ;
14516 char * kwnames
[] = {
14517 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
14520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14522 if (!SWIG_IsOK(res1
)) {
14523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_LoadMimeFile" "', expected argument " "1"" of type '" "wxImage *""'");
14525 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14527 arg2
= wxString_in_helper(obj1
);
14528 if (arg2
== NULL
) SWIG_fail
;
14532 arg3
= wxString_in_helper(obj2
);
14533 if (arg3
== NULL
) SWIG_fail
;
14537 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14538 if (!SWIG_IsOK(ecode4
)) {
14539 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_LoadMimeFile" "', expected argument " "4"" of type '" "int""'");
14541 arg4
= static_cast< int >(val4
);
14544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14545 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
14546 wxPyEndAllowThreads(__tstate
);
14547 if (PyErr_Occurred()) SWIG_fail
;
14550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14574 SWIGINTERN PyObject
*_wrap_Image_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14575 PyObject
*resultobj
= 0;
14576 wxImage
*arg1
= (wxImage
*) 0 ;
14577 wxString
*arg2
= 0 ;
14582 bool temp2
= false ;
14585 PyObject
* obj0
= 0 ;
14586 PyObject
* obj1
= 0 ;
14587 PyObject
* obj2
= 0 ;
14588 char * kwnames
[] = {
14589 (char *) "self",(char *) "name",(char *) "type", NULL
14592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14594 if (!SWIG_IsOK(res1
)) {
14595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SaveFile" "', expected argument " "1"" of type '" "wxImage *""'");
14597 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14599 arg2
= wxString_in_helper(obj1
);
14600 if (arg2
== NULL
) SWIG_fail
;
14603 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14604 if (!SWIG_IsOK(ecode3
)) {
14605 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SaveFile" "', expected argument " "3"" of type '" "int""'");
14607 arg3
= static_cast< int >(val3
);
14609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14610 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
14611 wxPyEndAllowThreads(__tstate
);
14612 if (PyErr_Occurred()) SWIG_fail
;
14615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14631 SWIGINTERN PyObject
*_wrap_Image_SaveMimeFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14632 PyObject
*resultobj
= 0;
14633 wxImage
*arg1
= (wxImage
*) 0 ;
14634 wxString
*arg2
= 0 ;
14635 wxString
*arg3
= 0 ;
14639 bool temp2
= false ;
14640 bool temp3
= false ;
14641 PyObject
* obj0
= 0 ;
14642 PyObject
* obj1
= 0 ;
14643 PyObject
* obj2
= 0 ;
14644 char * kwnames
[] = {
14645 (char *) "self",(char *) "name",(char *) "mimetype", NULL
14648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14650 if (!SWIG_IsOK(res1
)) {
14651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SaveMimeFile" "', expected argument " "1"" of type '" "wxImage *""'");
14653 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14655 arg2
= wxString_in_helper(obj1
);
14656 if (arg2
== NULL
) SWIG_fail
;
14660 arg3
= wxString_in_helper(obj2
);
14661 if (arg3
== NULL
) SWIG_fail
;
14665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14666 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
14667 wxPyEndAllowThreads(__tstate
);
14668 if (PyErr_Occurred()) SWIG_fail
;
14671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14695 SWIGINTERN PyObject
*_wrap_Image_CanReadStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14696 PyObject
*resultobj
= 0;
14697 wxInputStream
*arg1
= 0 ;
14699 wxPyInputStream
*temp1
;
14701 PyObject
* obj0
= 0 ;
14702 char * kwnames
[] = {
14703 (char *) "stream", NULL
14706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) SWIG_fail
;
14708 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
14709 arg1
= temp1
->m_wxis
;
14712 PyErr_Clear(); // clear the failure of the wxPyConvert above
14713 arg1
= wxPyCBInputStream_create(obj0
, false);
14714 if (arg1
== NULL
) {
14715 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
14722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14723 result
= (bool)wxImage::CanRead(*arg1
);
14724 wxPyEndAllowThreads(__tstate
);
14725 if (PyErr_Occurred()) SWIG_fail
;
14728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14731 if (created1
) delete arg1
;
14736 if (created1
) delete arg1
;
14742 SWIGINTERN PyObject
*_wrap_Image_LoadStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14743 PyObject
*resultobj
= 0;
14744 wxImage
*arg1
= (wxImage
*) 0 ;
14745 wxInputStream
*arg2
= 0 ;
14746 long arg3
= (long) wxBITMAP_TYPE_ANY
;
14747 int arg4
= (int) -1 ;
14751 wxPyInputStream
*temp2
;
14757 PyObject
* obj0
= 0 ;
14758 PyObject
* obj1
= 0 ;
14759 PyObject
* obj2
= 0 ;
14760 PyObject
* obj3
= 0 ;
14761 char * kwnames
[] = {
14762 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
14765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14767 if (!SWIG_IsOK(res1
)) {
14768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_LoadStream" "', expected argument " "1"" of type '" "wxImage *""'");
14770 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14772 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
14773 arg2
= temp2
->m_wxis
;
14776 PyErr_Clear(); // clear the failure of the wxPyConvert above
14777 arg2
= wxPyCBInputStream_create(obj1
, false);
14778 if (arg2
== NULL
) {
14779 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
14786 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14787 if (!SWIG_IsOK(ecode3
)) {
14788 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_LoadStream" "', expected argument " "3"" of type '" "long""'");
14790 arg3
= static_cast< long >(val3
);
14793 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14794 if (!SWIG_IsOK(ecode4
)) {
14795 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_LoadStream" "', expected argument " "4"" of type '" "int""'");
14797 arg4
= static_cast< int >(val4
);
14800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14801 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
14802 wxPyEndAllowThreads(__tstate
);
14803 if (PyErr_Occurred()) SWIG_fail
;
14806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14809 if (created2
) delete arg2
;
14814 if (created2
) delete arg2
;
14820 SWIGINTERN PyObject
*_wrap_Image_LoadMimeStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14821 PyObject
*resultobj
= 0;
14822 wxImage
*arg1
= (wxImage
*) 0 ;
14823 wxInputStream
*arg2
= 0 ;
14824 wxString
*arg3
= 0 ;
14825 int arg4
= (int) -1 ;
14829 wxPyInputStream
*temp2
;
14831 bool temp3
= false ;
14834 PyObject
* obj0
= 0 ;
14835 PyObject
* obj1
= 0 ;
14836 PyObject
* obj2
= 0 ;
14837 PyObject
* obj3
= 0 ;
14838 char * kwnames
[] = {
14839 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
14842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14843 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14844 if (!SWIG_IsOK(res1
)) {
14845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_LoadMimeStream" "', expected argument " "1"" of type '" "wxImage *""'");
14847 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14849 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
14850 arg2
= temp2
->m_wxis
;
14853 PyErr_Clear(); // clear the failure of the wxPyConvert above
14854 arg2
= wxPyCBInputStream_create(obj1
, false);
14855 if (arg2
== NULL
) {
14856 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
14863 arg3
= wxString_in_helper(obj2
);
14864 if (arg3
== NULL
) SWIG_fail
;
14868 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14869 if (!SWIG_IsOK(ecode4
)) {
14870 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_LoadMimeStream" "', expected argument " "4"" of type '" "int""'");
14872 arg4
= static_cast< int >(val4
);
14875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14876 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
14877 wxPyEndAllowThreads(__tstate
);
14878 if (PyErr_Occurred()) SWIG_fail
;
14881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14884 if (created2
) delete arg2
;
14893 if (created2
) delete arg2
;
14903 SWIGINTERN PyObject
*_wrap_Image_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14904 PyObject
*resultobj
= 0;
14905 wxImage
*arg1
= (wxImage
*) 0 ;
14909 PyObject
*swig_obj
[1] ;
14911 if (!args
) SWIG_fail
;
14912 swig_obj
[0] = args
;
14913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14914 if (!SWIG_IsOK(res1
)) {
14915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Ok" "', expected argument " "1"" of type '" "wxImage *""'");
14917 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14920 result
= (bool)(arg1
)->Ok();
14921 wxPyEndAllowThreads(__tstate
);
14922 if (PyErr_Occurred()) SWIG_fail
;
14925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14933 SWIGINTERN PyObject
*_wrap_Image_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14934 PyObject
*resultobj
= 0;
14935 wxImage
*arg1
= (wxImage
*) 0 ;
14939 PyObject
*swig_obj
[1] ;
14941 if (!args
) SWIG_fail
;
14942 swig_obj
[0] = args
;
14943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14944 if (!SWIG_IsOK(res1
)) {
14945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetWidth" "', expected argument " "1"" of type '" "wxImage *""'");
14947 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14950 result
= (int)(arg1
)->GetWidth();
14951 wxPyEndAllowThreads(__tstate
);
14952 if (PyErr_Occurred()) SWIG_fail
;
14954 resultobj
= SWIG_From_int(static_cast< int >(result
));
14961 SWIGINTERN PyObject
*_wrap_Image_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14962 PyObject
*resultobj
= 0;
14963 wxImage
*arg1
= (wxImage
*) 0 ;
14967 PyObject
*swig_obj
[1] ;
14969 if (!args
) SWIG_fail
;
14970 swig_obj
[0] = args
;
14971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14972 if (!SWIG_IsOK(res1
)) {
14973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetHeight" "', expected argument " "1"" of type '" "wxImage *""'");
14975 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14978 result
= (int)(arg1
)->GetHeight();
14979 wxPyEndAllowThreads(__tstate
);
14980 if (PyErr_Occurred()) SWIG_fail
;
14982 resultobj
= SWIG_From_int(static_cast< int >(result
));
14989 SWIGINTERN PyObject
*_wrap_Image_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14990 PyObject
*resultobj
= 0;
14991 wxImage
*arg1
= (wxImage
*) 0 ;
14995 PyObject
*swig_obj
[1] ;
14997 if (!args
) SWIG_fail
;
14998 swig_obj
[0] = args
;
14999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15000 if (!SWIG_IsOK(res1
)) {
15001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetSize" "', expected argument " "1"" of type '" "wxImage *""'");
15003 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15006 result
= wxImage_GetSize(arg1
);
15007 wxPyEndAllowThreads(__tstate
);
15008 if (PyErr_Occurred()) SWIG_fail
;
15010 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
15017 SWIGINTERN PyObject
*_wrap_Image_GetSubImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15018 PyObject
*resultobj
= 0;
15019 wxImage
*arg1
= (wxImage
*) 0 ;
15021 SwigValueWrapper
<wxImage
> result
;
15025 PyObject
* obj0
= 0 ;
15026 PyObject
* obj1
= 0 ;
15027 char * kwnames
[] = {
15028 (char *) "self",(char *) "rect", NULL
15031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15033 if (!SWIG_IsOK(res1
)) {
15034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetSubImage" "', expected argument " "1"" of type '" "wxImage *""'");
15036 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15039 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15043 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
15044 wxPyEndAllowThreads(__tstate
);
15045 if (PyErr_Occurred()) SWIG_fail
;
15047 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15054 SWIGINTERN PyObject
*_wrap_Image_Size(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15055 PyObject
*resultobj
= 0;
15056 wxImage
*arg1
= (wxImage
*) 0 ;
15058 wxPoint
*arg3
= 0 ;
15059 int arg4
= (int) -1 ;
15060 int arg5
= (int) -1 ;
15061 int arg6
= (int) -1 ;
15062 SwigValueWrapper
<wxImage
> result
;
15073 PyObject
* obj0
= 0 ;
15074 PyObject
* obj1
= 0 ;
15075 PyObject
* obj2
= 0 ;
15076 PyObject
* obj3
= 0 ;
15077 PyObject
* obj4
= 0 ;
15078 PyObject
* obj5
= 0 ;
15079 char * kwnames
[] = {
15080 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
15083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Size",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15085 if (!SWIG_IsOK(res1
)) {
15086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Size" "', expected argument " "1"" of type '" "wxImage const *""'");
15088 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15091 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15095 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15098 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15099 if (!SWIG_IsOK(ecode4
)) {
15100 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Size" "', expected argument " "4"" of type '" "int""'");
15102 arg4
= static_cast< int >(val4
);
15105 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15106 if (!SWIG_IsOK(ecode5
)) {
15107 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_Size" "', expected argument " "5"" of type '" "int""'");
15109 arg5
= static_cast< int >(val5
);
15112 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
15113 if (!SWIG_IsOK(ecode6
)) {
15114 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Image_Size" "', expected argument " "6"" of type '" "int""'");
15116 arg6
= static_cast< int >(val6
);
15119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15120 result
= ((wxImage
const *)arg1
)->Size((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
15121 wxPyEndAllowThreads(__tstate
);
15122 if (PyErr_Occurred()) SWIG_fail
;
15124 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15131 SWIGINTERN PyObject
*_wrap_Image_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15132 PyObject
*resultobj
= 0;
15133 wxImage
*arg1
= (wxImage
*) 0 ;
15134 SwigValueWrapper
<wxImage
> result
;
15137 PyObject
*swig_obj
[1] ;
15139 if (!args
) SWIG_fail
;
15140 swig_obj
[0] = args
;
15141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15142 if (!SWIG_IsOK(res1
)) {
15143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Copy" "', expected argument " "1"" of type '" "wxImage *""'");
15145 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15148 result
= (arg1
)->Copy();
15149 wxPyEndAllowThreads(__tstate
);
15150 if (PyErr_Occurred()) SWIG_fail
;
15152 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15159 SWIGINTERN PyObject
*_wrap_Image_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15160 PyObject
*resultobj
= 0;
15161 wxImage
*arg1
= (wxImage
*) 0 ;
15162 wxImage
*arg2
= 0 ;
15173 PyObject
* obj0
= 0 ;
15174 PyObject
* obj1
= 0 ;
15175 PyObject
* obj2
= 0 ;
15176 PyObject
* obj3
= 0 ;
15177 char * kwnames
[] = {
15178 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
15181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15183 if (!SWIG_IsOK(res1
)) {
15184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Paste" "', expected argument " "1"" of type '" "wxImage *""'");
15186 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15187 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
, 0 | 0);
15188 if (!SWIG_IsOK(res2
)) {
15189 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Image_Paste" "', expected argument " "2"" of type '" "wxImage const &""'");
15192 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Image_Paste" "', expected argument " "2"" of type '" "wxImage const &""'");
15194 arg2
= reinterpret_cast< wxImage
* >(argp2
);
15195 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15196 if (!SWIG_IsOK(ecode3
)) {
15197 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_Paste" "', expected argument " "3"" of type '" "int""'");
15199 arg3
= static_cast< int >(val3
);
15200 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15201 if (!SWIG_IsOK(ecode4
)) {
15202 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Paste" "', expected argument " "4"" of type '" "int""'");
15204 arg4
= static_cast< int >(val4
);
15206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15207 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
15208 wxPyEndAllowThreads(__tstate
);
15209 if (PyErr_Occurred()) SWIG_fail
;
15211 resultobj
= SWIG_Py_Void();
15218 SWIGINTERN PyObject
*_wrap_Image_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15219 PyObject
*resultobj
= 0;
15220 wxImage
*arg1
= (wxImage
*) 0 ;
15221 PyObject
*result
= 0 ;
15224 PyObject
*swig_obj
[1] ;
15226 if (!args
) SWIG_fail
;
15227 swig_obj
[0] = args
;
15228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15229 if (!SWIG_IsOK(res1
)) {
15230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetData" "', expected argument " "1"" of type '" "wxImage *""'");
15232 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15235 result
= (PyObject
*)wxImage_GetData(arg1
);
15236 wxPyEndAllowThreads(__tstate
);
15237 if (PyErr_Occurred()) SWIG_fail
;
15239 resultobj
= result
;
15246 SWIGINTERN PyObject
*_wrap_Image_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15247 PyObject
*resultobj
= 0;
15248 wxImage
*arg1
= (wxImage
*) 0 ;
15253 PyObject
* obj0
= 0 ;
15254 PyObject
* obj1
= 0 ;
15255 char * kwnames
[] = {
15256 (char *) "self",(char *) "data", NULL
15259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15261 if (!SWIG_IsOK(res1
)) {
15262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetData" "', expected argument " "1"" of type '" "wxImage *""'");
15264 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15266 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
15269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15270 wxImage_SetData(arg1
,arg2
,arg3
);
15271 wxPyEndAllowThreads(__tstate
);
15272 if (PyErr_Occurred()) SWIG_fail
;
15274 resultobj
= SWIG_Py_Void();
15281 SWIGINTERN PyObject
*_wrap_Image_GetDataBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15282 PyObject
*resultobj
= 0;
15283 wxImage
*arg1
= (wxImage
*) 0 ;
15284 PyObject
*result
= 0 ;
15287 PyObject
*swig_obj
[1] ;
15289 if (!args
) SWIG_fail
;
15290 swig_obj
[0] = args
;
15291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15292 if (!SWIG_IsOK(res1
)) {
15293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetDataBuffer" "', expected argument " "1"" of type '" "wxImage *""'");
15295 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15298 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
15299 wxPyEndAllowThreads(__tstate
);
15300 if (PyErr_Occurred()) SWIG_fail
;
15302 resultobj
= result
;
15309 SWIGINTERN PyObject
*_wrap_Image_SetDataBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15310 PyObject
*resultobj
= 0;
15311 wxImage
*arg1
= (wxImage
*) 0 ;
15316 PyObject
* obj0
= 0 ;
15317 PyObject
* obj1
= 0 ;
15318 char * kwnames
[] = {
15319 (char *) "self",(char *) "data", NULL
15322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15324 if (!SWIG_IsOK(res1
)) {
15325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetDataBuffer" "', expected argument " "1"" of type '" "wxImage *""'");
15327 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15329 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
15332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15333 wxImage_SetDataBuffer(arg1
,arg2
,arg3
);
15334 wxPyEndAllowThreads(__tstate
);
15335 if (PyErr_Occurred()) SWIG_fail
;
15337 resultobj
= SWIG_Py_Void();
15344 SWIGINTERN PyObject
*_wrap_Image_GetAlphaData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15345 PyObject
*resultobj
= 0;
15346 wxImage
*arg1
= (wxImage
*) 0 ;
15347 PyObject
*result
= 0 ;
15350 PyObject
*swig_obj
[1] ;
15352 if (!args
) SWIG_fail
;
15353 swig_obj
[0] = args
;
15354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15355 if (!SWIG_IsOK(res1
)) {
15356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetAlphaData" "', expected argument " "1"" of type '" "wxImage *""'");
15358 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15361 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
15362 wxPyEndAllowThreads(__tstate
);
15363 if (PyErr_Occurred()) SWIG_fail
;
15365 resultobj
= result
;
15372 SWIGINTERN PyObject
*_wrap_Image_SetAlphaData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15373 PyObject
*resultobj
= 0;
15374 wxImage
*arg1
= (wxImage
*) 0 ;
15379 PyObject
* obj0
= 0 ;
15380 PyObject
* obj1
= 0 ;
15381 char * kwnames
[] = {
15382 (char *) "self",(char *) "alpha", NULL
15385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15387 if (!SWIG_IsOK(res1
)) {
15388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetAlphaData" "', expected argument " "1"" of type '" "wxImage *""'");
15390 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15392 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
15395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15396 wxImage_SetAlphaData(arg1
,arg2
,arg3
);
15397 wxPyEndAllowThreads(__tstate
);
15398 if (PyErr_Occurred()) SWIG_fail
;
15400 resultobj
= SWIG_Py_Void();
15407 SWIGINTERN PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15408 PyObject
*resultobj
= 0;
15409 wxImage
*arg1
= (wxImage
*) 0 ;
15410 PyObject
*result
= 0 ;
15413 PyObject
*swig_obj
[1] ;
15415 if (!args
) SWIG_fail
;
15416 swig_obj
[0] = args
;
15417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15418 if (!SWIG_IsOK(res1
)) {
15419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetAlphaBuffer" "', expected argument " "1"" of type '" "wxImage *""'");
15421 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15424 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
15425 wxPyEndAllowThreads(__tstate
);
15426 if (PyErr_Occurred()) SWIG_fail
;
15428 resultobj
= result
;
15435 SWIGINTERN PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15436 PyObject
*resultobj
= 0;
15437 wxImage
*arg1
= (wxImage
*) 0 ;
15442 PyObject
* obj0
= 0 ;
15443 PyObject
* obj1
= 0 ;
15444 char * kwnames
[] = {
15445 (char *) "self",(char *) "alpha", NULL
15448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15450 if (!SWIG_IsOK(res1
)) {
15451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetAlphaBuffer" "', expected argument " "1"" of type '" "wxImage *""'");
15453 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15455 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
15458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15459 wxImage_SetAlphaBuffer(arg1
,arg2
,arg3
);
15460 wxPyEndAllowThreads(__tstate
);
15461 if (PyErr_Occurred()) SWIG_fail
;
15463 resultobj
= SWIG_Py_Void();
15470 SWIGINTERN PyObject
*_wrap_Image_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15471 PyObject
*resultobj
= 0;
15472 wxImage
*arg1
= (wxImage
*) 0 ;
15478 unsigned char val2
;
15480 unsigned char val3
;
15482 unsigned char val4
;
15484 PyObject
* obj0
= 0 ;
15485 PyObject
* obj1
= 0 ;
15486 PyObject
* obj2
= 0 ;
15487 PyObject
* obj3
= 0 ;
15488 char * kwnames
[] = {
15489 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
15492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15494 if (!SWIG_IsOK(res1
)) {
15495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetMaskColour" "', expected argument " "1"" of type '" "wxImage *""'");
15497 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15498 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
15499 if (!SWIG_IsOK(ecode2
)) {
15500 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_SetMaskColour" "', expected argument " "2"" of type '" "byte""'");
15502 arg2
= static_cast< byte
>(val2
);
15503 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
15504 if (!SWIG_IsOK(ecode3
)) {
15505 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetMaskColour" "', expected argument " "3"" of type '" "byte""'");
15507 arg3
= static_cast< byte
>(val3
);
15508 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
15509 if (!SWIG_IsOK(ecode4
)) {
15510 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_SetMaskColour" "', expected argument " "4"" of type '" "byte""'");
15512 arg4
= static_cast< byte
>(val4
);
15514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15515 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
15516 wxPyEndAllowThreads(__tstate
);
15517 if (PyErr_Occurred()) SWIG_fail
;
15519 resultobj
= SWIG_Py_Void();
15526 SWIGINTERN PyObject
*_wrap_Image_GetOrFindMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15527 PyObject
*resultobj
= 0;
15528 wxImage
*arg1
= (wxImage
*) 0 ;
15529 byte
*arg2
= (byte
*) 0 ;
15530 byte
*arg3
= (byte
*) 0 ;
15531 byte
*arg4
= (byte
*) 0 ;
15535 int res2
= SWIG_TMPOBJ
;
15537 int res3
= SWIG_TMPOBJ
;
15539 int res4
= SWIG_TMPOBJ
;
15540 PyObject
*swig_obj
[1] ;
15545 if (!args
) SWIG_fail
;
15546 swig_obj
[0] = args
;
15547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15548 if (!SWIG_IsOK(res1
)) {
15549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetOrFindMaskColour" "', expected argument " "1"" of type '" "wxImage const *""'");
15551 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15554 ((wxImage
const *)arg1
)->GetOrFindMaskColour(arg2
,arg3
,arg4
);
15555 wxPyEndAllowThreads(__tstate
);
15556 if (PyErr_Occurred()) SWIG_fail
;
15558 resultobj
= SWIG_Py_Void();
15559 if (SWIG_IsTmpObj(res2
)) {
15560 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg2
)));
15562 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
15563 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, new_flags
));
15565 if (SWIG_IsTmpObj(res3
)) {
15566 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
15568 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
15569 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
15571 if (SWIG_IsTmpObj(res4
)) {
15572 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
15574 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
15575 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
15583 SWIGINTERN PyObject
*_wrap_Image_GetMaskRed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15584 PyObject
*resultobj
= 0;
15585 wxImage
*arg1
= (wxImage
*) 0 ;
15589 PyObject
*swig_obj
[1] ;
15591 if (!args
) SWIG_fail
;
15592 swig_obj
[0] = args
;
15593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15594 if (!SWIG_IsOK(res1
)) {
15595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetMaskRed" "', expected argument " "1"" of type '" "wxImage *""'");
15597 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15600 result
= (byte
)(arg1
)->GetMaskRed();
15601 wxPyEndAllowThreads(__tstate
);
15602 if (PyErr_Occurred()) SWIG_fail
;
15604 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
15611 SWIGINTERN PyObject
*_wrap_Image_GetMaskGreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15612 PyObject
*resultobj
= 0;
15613 wxImage
*arg1
= (wxImage
*) 0 ;
15617 PyObject
*swig_obj
[1] ;
15619 if (!args
) SWIG_fail
;
15620 swig_obj
[0] = args
;
15621 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15622 if (!SWIG_IsOK(res1
)) {
15623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetMaskGreen" "', expected argument " "1"" of type '" "wxImage *""'");
15625 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15628 result
= (byte
)(arg1
)->GetMaskGreen();
15629 wxPyEndAllowThreads(__tstate
);
15630 if (PyErr_Occurred()) SWIG_fail
;
15632 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
15639 SWIGINTERN PyObject
*_wrap_Image_GetMaskBlue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15640 PyObject
*resultobj
= 0;
15641 wxImage
*arg1
= (wxImage
*) 0 ;
15645 PyObject
*swig_obj
[1] ;
15647 if (!args
) SWIG_fail
;
15648 swig_obj
[0] = args
;
15649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15650 if (!SWIG_IsOK(res1
)) {
15651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetMaskBlue" "', expected argument " "1"" of type '" "wxImage *""'");
15653 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15656 result
= (byte
)(arg1
)->GetMaskBlue();
15657 wxPyEndAllowThreads(__tstate
);
15658 if (PyErr_Occurred()) SWIG_fail
;
15660 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
15667 SWIGINTERN PyObject
*_wrap_Image_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15668 PyObject
*resultobj
= 0;
15669 wxImage
*arg1
= (wxImage
*) 0 ;
15670 bool arg2
= (bool) true ;
15675 PyObject
* obj0
= 0 ;
15676 PyObject
* obj1
= 0 ;
15677 char * kwnames
[] = {
15678 (char *) "self",(char *) "mask", NULL
15681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15683 if (!SWIG_IsOK(res1
)) {
15684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetMask" "', expected argument " "1"" of type '" "wxImage *""'");
15686 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15688 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15689 if (!SWIG_IsOK(ecode2
)) {
15690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_SetMask" "', expected argument " "2"" of type '" "bool""'");
15692 arg2
= static_cast< bool >(val2
);
15695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15696 (arg1
)->SetMask(arg2
);
15697 wxPyEndAllowThreads(__tstate
);
15698 if (PyErr_Occurred()) SWIG_fail
;
15700 resultobj
= SWIG_Py_Void();
15707 SWIGINTERN PyObject
*_wrap_Image_HasMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15708 PyObject
*resultobj
= 0;
15709 wxImage
*arg1
= (wxImage
*) 0 ;
15713 PyObject
*swig_obj
[1] ;
15715 if (!args
) SWIG_fail
;
15716 swig_obj
[0] = args
;
15717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15718 if (!SWIG_IsOK(res1
)) {
15719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HasMask" "', expected argument " "1"" of type '" "wxImage *""'");
15721 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15724 result
= (bool)(arg1
)->HasMask();
15725 wxPyEndAllowThreads(__tstate
);
15726 if (PyErr_Occurred()) SWIG_fail
;
15729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15737 SWIGINTERN PyObject
*_wrap_Image_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15738 PyObject
*resultobj
= 0;
15739 wxImage
*arg1
= (wxImage
*) 0 ;
15741 wxPoint
*arg3
= 0 ;
15742 bool arg4
= (bool) true ;
15743 wxPoint
*arg5
= (wxPoint
*) NULL
;
15744 SwigValueWrapper
<wxImage
> result
;
15754 PyObject
* obj0
= 0 ;
15755 PyObject
* obj1
= 0 ;
15756 PyObject
* obj2
= 0 ;
15757 PyObject
* obj3
= 0 ;
15758 PyObject
* obj4
= 0 ;
15759 char * kwnames
[] = {
15760 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
15763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15765 if (!SWIG_IsOK(res1
)) {
15766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Rotate" "', expected argument " "1"" of type '" "wxImage const *""'");
15768 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15769 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
15770 if (!SWIG_IsOK(ecode2
)) {
15771 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Rotate" "', expected argument " "2"" of type '" "double""'");
15773 arg2
= static_cast< double >(val2
);
15776 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15779 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
15780 if (!SWIG_IsOK(ecode4
)) {
15781 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Rotate" "', expected argument " "4"" of type '" "bool""'");
15783 arg4
= static_cast< bool >(val4
);
15786 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxPoint
, 0 | 0 );
15787 if (!SWIG_IsOK(res5
)) {
15788 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "Image_Rotate" "', expected argument " "5"" of type '" "wxPoint *""'");
15790 arg5
= reinterpret_cast< wxPoint
* >(argp5
);
15793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15794 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
15795 wxPyEndAllowThreads(__tstate
);
15796 if (PyErr_Occurred()) SWIG_fail
;
15798 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15805 SWIGINTERN PyObject
*_wrap_Image_Rotate90(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15806 PyObject
*resultobj
= 0;
15807 wxImage
*arg1
= (wxImage
*) 0 ;
15808 bool arg2
= (bool) true ;
15809 SwigValueWrapper
<wxImage
> result
;
15814 PyObject
* obj0
= 0 ;
15815 PyObject
* obj1
= 0 ;
15816 char * kwnames
[] = {
15817 (char *) "self",(char *) "clockwise", NULL
15820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15822 if (!SWIG_IsOK(res1
)) {
15823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Rotate90" "', expected argument " "1"" of type '" "wxImage *""'");
15825 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15827 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15828 if (!SWIG_IsOK(ecode2
)) {
15829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Rotate90" "', expected argument " "2"" of type '" "bool""'");
15831 arg2
= static_cast< bool >(val2
);
15834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15835 result
= (arg1
)->Rotate90(arg2
);
15836 wxPyEndAllowThreads(__tstate
);
15837 if (PyErr_Occurred()) SWIG_fail
;
15839 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15846 SWIGINTERN PyObject
*_wrap_Image_Mirror(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15847 PyObject
*resultobj
= 0;
15848 wxImage
*arg1
= (wxImage
*) 0 ;
15849 bool arg2
= (bool) true ;
15850 SwigValueWrapper
<wxImage
> result
;
15855 PyObject
* obj0
= 0 ;
15856 PyObject
* obj1
= 0 ;
15857 char * kwnames
[] = {
15858 (char *) "self",(char *) "horizontally", NULL
15861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15863 if (!SWIG_IsOK(res1
)) {
15864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Mirror" "', expected argument " "1"" of type '" "wxImage *""'");
15866 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15868 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15869 if (!SWIG_IsOK(ecode2
)) {
15870 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Mirror" "', expected argument " "2"" of type '" "bool""'");
15872 arg2
= static_cast< bool >(val2
);
15875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15876 result
= (arg1
)->Mirror(arg2
);
15877 wxPyEndAllowThreads(__tstate
);
15878 if (PyErr_Occurred()) SWIG_fail
;
15880 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15887 SWIGINTERN PyObject
*_wrap_Image_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15888 PyObject
*resultobj
= 0;
15889 wxImage
*arg1
= (wxImage
*) 0 ;
15898 unsigned char val2
;
15900 unsigned char val3
;
15902 unsigned char val4
;
15904 unsigned char val5
;
15906 unsigned char val6
;
15908 unsigned char val7
;
15910 PyObject
* obj0
= 0 ;
15911 PyObject
* obj1
= 0 ;
15912 PyObject
* obj2
= 0 ;
15913 PyObject
* obj3
= 0 ;
15914 PyObject
* obj4
= 0 ;
15915 PyObject
* obj5
= 0 ;
15916 PyObject
* obj6
= 0 ;
15917 char * kwnames
[] = {
15918 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
15921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15923 if (!SWIG_IsOK(res1
)) {
15924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Replace" "', expected argument " "1"" of type '" "wxImage *""'");
15926 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15927 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
15928 if (!SWIG_IsOK(ecode2
)) {
15929 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Replace" "', expected argument " "2"" of type '" "byte""'");
15931 arg2
= static_cast< byte
>(val2
);
15932 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
15933 if (!SWIG_IsOK(ecode3
)) {
15934 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_Replace" "', expected argument " "3"" of type '" "byte""'");
15936 arg3
= static_cast< byte
>(val3
);
15937 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
15938 if (!SWIG_IsOK(ecode4
)) {
15939 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Replace" "', expected argument " "4"" of type '" "byte""'");
15941 arg4
= static_cast< byte
>(val4
);
15942 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
15943 if (!SWIG_IsOK(ecode5
)) {
15944 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_Replace" "', expected argument " "5"" of type '" "byte""'");
15946 arg5
= static_cast< byte
>(val5
);
15947 ecode6
= SWIG_AsVal_unsigned_SS_char(obj5
, &val6
);
15948 if (!SWIG_IsOK(ecode6
)) {
15949 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Image_Replace" "', expected argument " "6"" of type '" "byte""'");
15951 arg6
= static_cast< byte
>(val6
);
15952 ecode7
= SWIG_AsVal_unsigned_SS_char(obj6
, &val7
);
15953 if (!SWIG_IsOK(ecode7
)) {
15954 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Image_Replace" "', expected argument " "7"" of type '" "byte""'");
15956 arg7
= static_cast< byte
>(val7
);
15958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15959 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
15960 wxPyEndAllowThreads(__tstate
);
15961 if (PyErr_Occurred()) SWIG_fail
;
15963 resultobj
= SWIG_Py_Void();
15970 SWIGINTERN PyObject
*_wrap_Image_ConvertToGreyscale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15971 PyObject
*resultobj
= 0;
15972 wxImage
*arg1
= (wxImage
*) 0 ;
15973 double arg2
= (double) 0.299 ;
15974 double arg3
= (double) 0.587 ;
15975 double arg4
= (double) 0.114 ;
15976 SwigValueWrapper
<wxImage
> result
;
15985 PyObject
* obj0
= 0 ;
15986 PyObject
* obj1
= 0 ;
15987 PyObject
* obj2
= 0 ;
15988 PyObject
* obj3
= 0 ;
15989 char * kwnames
[] = {
15990 (char *) "self",(char *) "lr",(char *) "lg",(char *) "lb", NULL
15993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_ConvertToGreyscale",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15995 if (!SWIG_IsOK(res1
)) {
15996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertToGreyscale" "', expected argument " "1"" of type '" "wxImage const *""'");
15998 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16000 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
16001 if (!SWIG_IsOK(ecode2
)) {
16002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertToGreyscale" "', expected argument " "2"" of type '" "double""'");
16004 arg2
= static_cast< double >(val2
);
16007 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
16008 if (!SWIG_IsOK(ecode3
)) {
16009 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ConvertToGreyscale" "', expected argument " "3"" of type '" "double""'");
16011 arg3
= static_cast< double >(val3
);
16014 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
16015 if (!SWIG_IsOK(ecode4
)) {
16016 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_ConvertToGreyscale" "', expected argument " "4"" of type '" "double""'");
16018 arg4
= static_cast< double >(val4
);
16021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16022 result
= ((wxImage
const *)arg1
)->ConvertToGreyscale(arg2
,arg3
,arg4
);
16023 wxPyEndAllowThreads(__tstate
);
16024 if (PyErr_Occurred()) SWIG_fail
;
16026 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
16033 SWIGINTERN PyObject
*_wrap_Image_ConvertToMono(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16034 PyObject
*resultobj
= 0;
16035 wxImage
*arg1
= (wxImage
*) 0 ;
16039 SwigValueWrapper
<wxImage
> result
;
16042 unsigned char val2
;
16044 unsigned char val3
;
16046 unsigned char val4
;
16048 PyObject
* obj0
= 0 ;
16049 PyObject
* obj1
= 0 ;
16050 PyObject
* obj2
= 0 ;
16051 PyObject
* obj3
= 0 ;
16052 char * kwnames
[] = {
16053 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
16056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16058 if (!SWIG_IsOK(res1
)) {
16059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertToMono" "', expected argument " "1"" of type '" "wxImage const *""'");
16061 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16062 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
16063 if (!SWIG_IsOK(ecode2
)) {
16064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertToMono" "', expected argument " "2"" of type '" "byte""'");
16066 arg2
= static_cast< byte
>(val2
);
16067 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
16068 if (!SWIG_IsOK(ecode3
)) {
16069 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ConvertToMono" "', expected argument " "3"" of type '" "byte""'");
16071 arg3
= static_cast< byte
>(val3
);
16072 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
16073 if (!SWIG_IsOK(ecode4
)) {
16074 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_ConvertToMono" "', expected argument " "4"" of type '" "byte""'");
16076 arg4
= static_cast< byte
>(val4
);
16078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16079 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
16080 wxPyEndAllowThreads(__tstate
);
16081 if (PyErr_Occurred()) SWIG_fail
;
16083 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
16090 SWIGINTERN PyObject
*_wrap_Image_SetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16091 PyObject
*resultobj
= 0;
16092 wxImage
*arg1
= (wxImage
*) 0 ;
16093 wxString
*arg2
= 0 ;
16094 wxString
*arg3
= 0 ;
16097 bool temp2
= false ;
16098 bool temp3
= false ;
16099 PyObject
* obj0
= 0 ;
16100 PyObject
* obj1
= 0 ;
16101 PyObject
* obj2
= 0 ;
16102 char * kwnames
[] = {
16103 (char *) "self",(char *) "name",(char *) "value", NULL
16106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16108 if (!SWIG_IsOK(res1
)) {
16109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetOption" "', expected argument " "1"" of type '" "wxImage *""'");
16111 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16113 arg2
= wxString_in_helper(obj1
);
16114 if (arg2
== NULL
) SWIG_fail
;
16118 arg3
= wxString_in_helper(obj2
);
16119 if (arg3
== NULL
) SWIG_fail
;
16123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16124 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16125 wxPyEndAllowThreads(__tstate
);
16126 if (PyErr_Occurred()) SWIG_fail
;
16128 resultobj
= SWIG_Py_Void();
16151 SWIGINTERN PyObject
*_wrap_Image_SetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16152 PyObject
*resultobj
= 0;
16153 wxImage
*arg1
= (wxImage
*) 0 ;
16154 wxString
*arg2
= 0 ;
16158 bool temp2
= false ;
16161 PyObject
* obj0
= 0 ;
16162 PyObject
* obj1
= 0 ;
16163 PyObject
* obj2
= 0 ;
16164 char * kwnames
[] = {
16165 (char *) "self",(char *) "name",(char *) "value", NULL
16168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16170 if (!SWIG_IsOK(res1
)) {
16171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetOptionInt" "', expected argument " "1"" of type '" "wxImage *""'");
16173 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16175 arg2
= wxString_in_helper(obj1
);
16176 if (arg2
== NULL
) SWIG_fail
;
16179 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16180 if (!SWIG_IsOK(ecode3
)) {
16181 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetOptionInt" "', expected argument " "3"" of type '" "int""'");
16183 arg3
= static_cast< int >(val3
);
16185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16186 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
16187 wxPyEndAllowThreads(__tstate
);
16188 if (PyErr_Occurred()) SWIG_fail
;
16190 resultobj
= SWIG_Py_Void();
16205 SWIGINTERN PyObject
*_wrap_Image_GetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16206 PyObject
*resultobj
= 0;
16207 wxImage
*arg1
= (wxImage
*) 0 ;
16208 wxString
*arg2
= 0 ;
16212 bool temp2
= false ;
16213 PyObject
* obj0
= 0 ;
16214 PyObject
* obj1
= 0 ;
16215 char * kwnames
[] = {
16216 (char *) "self",(char *) "name", NULL
16219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16221 if (!SWIG_IsOK(res1
)) {
16222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetOption" "', expected argument " "1"" of type '" "wxImage const *""'");
16224 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16226 arg2
= wxString_in_helper(obj1
);
16227 if (arg2
== NULL
) SWIG_fail
;
16231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16232 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
16233 wxPyEndAllowThreads(__tstate
);
16234 if (PyErr_Occurred()) SWIG_fail
;
16238 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16240 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16257 SWIGINTERN PyObject
*_wrap_Image_GetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16258 PyObject
*resultobj
= 0;
16259 wxImage
*arg1
= (wxImage
*) 0 ;
16260 wxString
*arg2
= 0 ;
16264 bool temp2
= false ;
16265 PyObject
* obj0
= 0 ;
16266 PyObject
* obj1
= 0 ;
16267 char * kwnames
[] = {
16268 (char *) "self",(char *) "name", NULL
16271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16273 if (!SWIG_IsOK(res1
)) {
16274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetOptionInt" "', expected argument " "1"" of type '" "wxImage const *""'");
16276 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16278 arg2
= wxString_in_helper(obj1
);
16279 if (arg2
== NULL
) SWIG_fail
;
16283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16284 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
16285 wxPyEndAllowThreads(__tstate
);
16286 if (PyErr_Occurred()) SWIG_fail
;
16288 resultobj
= SWIG_From_int(static_cast< int >(result
));
16303 SWIGINTERN PyObject
*_wrap_Image_HasOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16304 PyObject
*resultobj
= 0;
16305 wxImage
*arg1
= (wxImage
*) 0 ;
16306 wxString
*arg2
= 0 ;
16310 bool temp2
= false ;
16311 PyObject
* obj0
= 0 ;
16312 PyObject
* obj1
= 0 ;
16313 char * kwnames
[] = {
16314 (char *) "self",(char *) "name", NULL
16317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16319 if (!SWIG_IsOK(res1
)) {
16320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HasOption" "', expected argument " "1"" of type '" "wxImage const *""'");
16322 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16324 arg2
= wxString_in_helper(obj1
);
16325 if (arg2
== NULL
) SWIG_fail
;
16329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16330 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
16331 wxPyEndAllowThreads(__tstate
);
16332 if (PyErr_Occurred()) SWIG_fail
;
16335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16351 SWIGINTERN PyObject
*_wrap_Image_CountColours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16352 PyObject
*resultobj
= 0;
16353 wxImage
*arg1
= (wxImage
*) 0 ;
16354 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
16355 unsigned long result
;
16358 unsigned long val2
;
16360 PyObject
* obj0
= 0 ;
16361 PyObject
* obj1
= 0 ;
16362 char * kwnames
[] = {
16363 (char *) "self",(char *) "stopafter", NULL
16366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16368 if (!SWIG_IsOK(res1
)) {
16369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_CountColours" "', expected argument " "1"" of type '" "wxImage *""'");
16371 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16373 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
16374 if (!SWIG_IsOK(ecode2
)) {
16375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_CountColours" "', expected argument " "2"" of type '" "unsigned long""'");
16377 arg2
= static_cast< unsigned long >(val2
);
16380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16381 result
= (unsigned long)(arg1
)->CountColours(arg2
);
16382 wxPyEndAllowThreads(__tstate
);
16383 if (PyErr_Occurred()) SWIG_fail
;
16385 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
16392 SWIGINTERN PyObject
*_wrap_Image_ComputeHistogram(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16393 PyObject
*resultobj
= 0;
16394 wxImage
*arg1
= (wxImage
*) 0 ;
16395 wxImageHistogram
*arg2
= 0 ;
16396 unsigned long result
;
16401 PyObject
* obj0
= 0 ;
16402 PyObject
* obj1
= 0 ;
16403 char * kwnames
[] = {
16404 (char *) "self",(char *) "h", NULL
16407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16409 if (!SWIG_IsOK(res1
)) {
16410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ComputeHistogram" "', expected argument " "1"" of type '" "wxImage *""'");
16412 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16413 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImageHistogram
, 0 );
16414 if (!SWIG_IsOK(res2
)) {
16415 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Image_ComputeHistogram" "', expected argument " "2"" of type '" "wxImageHistogram &""'");
16418 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Image_ComputeHistogram" "', expected argument " "2"" of type '" "wxImageHistogram &""'");
16420 arg2
= reinterpret_cast< wxImageHistogram
* >(argp2
);
16422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16423 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
16424 wxPyEndAllowThreads(__tstate
);
16425 if (PyErr_Occurred()) SWIG_fail
;
16427 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
16434 SWIGINTERN PyObject
*_wrap_Image_AddHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16435 PyObject
*resultobj
= 0;
16436 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
16439 PyObject
* obj0
= 0 ;
16440 char * kwnames
[] = {
16441 (char *) "handler", NULL
16444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) SWIG_fail
;
16445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
16446 if (!SWIG_IsOK(res1
)) {
16447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_AddHandler" "', expected argument " "1"" of type '" "wxImageHandler *""'");
16449 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
16451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16452 wxImage::AddHandler(arg1
);
16453 wxPyEndAllowThreads(__tstate
);
16454 if (PyErr_Occurred()) SWIG_fail
;
16456 resultobj
= SWIG_Py_Void();
16463 SWIGINTERN PyObject
*_wrap_Image_InsertHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16464 PyObject
*resultobj
= 0;
16465 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
16468 PyObject
* obj0
= 0 ;
16469 char * kwnames
[] = {
16470 (char *) "handler", NULL
16473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) SWIG_fail
;
16474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
16475 if (!SWIG_IsOK(res1
)) {
16476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_InsertHandler" "', expected argument " "1"" of type '" "wxImageHandler *""'");
16478 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
16480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16481 wxImage::InsertHandler(arg1
);
16482 wxPyEndAllowThreads(__tstate
);
16483 if (PyErr_Occurred()) SWIG_fail
;
16485 resultobj
= SWIG_Py_Void();
16492 SWIGINTERN PyObject
*_wrap_Image_RemoveHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16493 PyObject
*resultobj
= 0;
16494 wxString
*arg1
= 0 ;
16496 bool temp1
= false ;
16497 PyObject
* obj0
= 0 ;
16498 char * kwnames
[] = {
16499 (char *) "name", NULL
16502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) SWIG_fail
;
16504 arg1
= wxString_in_helper(obj0
);
16505 if (arg1
== NULL
) SWIG_fail
;
16509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16510 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
16511 wxPyEndAllowThreads(__tstate
);
16512 if (PyErr_Occurred()) SWIG_fail
;
16515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16531 SWIGINTERN PyObject
*_wrap_Image_GetHandlers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16532 PyObject
*resultobj
= 0;
16533 PyObject
*result
= 0 ;
16535 if (!SWIG_Python_UnpackTuple(args
,"Image_GetHandlers",0,0,0)) SWIG_fail
;
16537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16538 result
= (PyObject
*)wxImage_GetHandlers();
16539 wxPyEndAllowThreads(__tstate
);
16540 if (PyErr_Occurred()) SWIG_fail
;
16542 resultobj
= result
;
16549 SWIGINTERN PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16550 PyObject
*resultobj
= 0;
16553 if (!SWIG_Python_UnpackTuple(args
,"Image_GetImageExtWildcard",0,0,0)) SWIG_fail
;
16555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16556 result
= wxImage::GetImageExtWildcard();
16557 wxPyEndAllowThreads(__tstate
);
16558 if (PyErr_Occurred()) SWIG_fail
;
16562 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16564 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16573 SWIGINTERN PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16574 PyObject
*resultobj
= 0;
16575 wxImage
*arg1
= (wxImage
*) 0 ;
16576 int arg2
= (int) -1 ;
16582 PyObject
* obj0
= 0 ;
16583 PyObject
* obj1
= 0 ;
16584 char * kwnames
[] = {
16585 (char *) "self",(char *) "depth", NULL
16588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16590 if (!SWIG_IsOK(res1
)) {
16591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertToBitmap" "', expected argument " "1"" of type '" "wxImage *""'");
16593 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16595 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16596 if (!SWIG_IsOK(ecode2
)) {
16597 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertToBitmap" "', expected argument " "2"" of type '" "int""'");
16599 arg2
= static_cast< int >(val2
);
16602 if (!wxPyCheckForApp()) SWIG_fail
;
16603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16604 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
16605 wxPyEndAllowThreads(__tstate
);
16606 if (PyErr_Occurred()) SWIG_fail
;
16608 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
16615 SWIGINTERN PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16616 PyObject
*resultobj
= 0;
16617 wxImage
*arg1
= (wxImage
*) 0 ;
16624 unsigned char val2
;
16626 unsigned char val3
;
16628 unsigned char val4
;
16630 PyObject
* obj0
= 0 ;
16631 PyObject
* obj1
= 0 ;
16632 PyObject
* obj2
= 0 ;
16633 PyObject
* obj3
= 0 ;
16634 char * kwnames
[] = {
16635 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
16638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16640 if (!SWIG_IsOK(res1
)) {
16641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertToMonoBitmap" "', expected argument " "1"" of type '" "wxImage *""'");
16643 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16644 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
16645 if (!SWIG_IsOK(ecode2
)) {
16646 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertToMonoBitmap" "', expected argument " "2"" of type '" "byte""'");
16648 arg2
= static_cast< byte
>(val2
);
16649 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
16650 if (!SWIG_IsOK(ecode3
)) {
16651 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ConvertToMonoBitmap" "', expected argument " "3"" of type '" "byte""'");
16653 arg3
= static_cast< byte
>(val3
);
16654 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
16655 if (!SWIG_IsOK(ecode4
)) {
16656 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_ConvertToMonoBitmap" "', expected argument " "4"" of type '" "byte""'");
16658 arg4
= static_cast< byte
>(val4
);
16660 if (!wxPyCheckForApp()) SWIG_fail
;
16661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16662 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
16663 wxPyEndAllowThreads(__tstate
);
16664 if (PyErr_Occurred()) SWIG_fail
;
16666 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
16673 SWIGINTERN PyObject
*_wrap_Image_RotateHue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16674 PyObject
*resultobj
= 0;
16675 wxImage
*arg1
= (wxImage
*) 0 ;
16681 PyObject
* obj0
= 0 ;
16682 PyObject
* obj1
= 0 ;
16683 char * kwnames
[] = {
16684 (char *) "self",(char *) "angle", NULL
16687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_RotateHue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16689 if (!SWIG_IsOK(res1
)) {
16690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RotateHue" "', expected argument " "1"" of type '" "wxImage *""'");
16692 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16693 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
16694 if (!SWIG_IsOK(ecode2
)) {
16695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_RotateHue" "', expected argument " "2"" of type '" "double""'");
16697 arg2
= static_cast< double >(val2
);
16699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16700 (arg1
)->RotateHue(arg2
);
16701 wxPyEndAllowThreads(__tstate
);
16702 if (PyErr_Occurred()) SWIG_fail
;
16704 resultobj
= SWIG_Py_Void();
16711 SWIGINTERN PyObject
*_wrap_Image_RGBtoHSV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16712 PyObject
*resultobj
= 0;
16713 wxImage_RGBValue arg1
;
16714 wxImage_HSVValue result
;
16717 PyObject
* obj0
= 0 ;
16718 char * kwnames
[] = {
16719 (char *) "rgb", NULL
16722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RGBtoHSV",kwnames
,&obj0
)) SWIG_fail
;
16724 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage_RGBValue
, 0 | 0);
16725 if (!SWIG_IsOK(res1
)) {
16726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBtoHSV" "', expected argument " "1"" of type '" "wxImage_RGBValue""'");
16729 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Image_RGBtoHSV" "', expected argument " "1"" of type '" "wxImage_RGBValue""'");
16731 wxImage_RGBValue
* temp
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
16733 if (SWIG_IsNewObj(res1
)) delete temp
;
16737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16738 result
= wxImage::RGBtoHSV(arg1
);
16739 wxPyEndAllowThreads(__tstate
);
16740 if (PyErr_Occurred()) SWIG_fail
;
16742 resultobj
= SWIG_NewPointerObj((new wxImage_HSVValue(static_cast< const wxImage_HSVValue
& >(result
))), SWIGTYPE_p_wxImage_HSVValue
, SWIG_POINTER_OWN
| 0 );
16749 SWIGINTERN PyObject
*_wrap_Image_HSVtoRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16750 PyObject
*resultobj
= 0;
16751 wxImage_HSVValue arg1
;
16752 wxImage_RGBValue result
;
16755 PyObject
* obj0
= 0 ;
16756 char * kwnames
[] = {
16757 (char *) "hsv", NULL
16760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HSVtoRGB",kwnames
,&obj0
)) SWIG_fail
;
16762 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage_HSVValue
, 0 | 0);
16763 if (!SWIG_IsOK(res1
)) {
16764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVtoRGB" "', expected argument " "1"" of type '" "wxImage_HSVValue""'");
16767 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Image_HSVtoRGB" "', expected argument " "1"" of type '" "wxImage_HSVValue""'");
16769 wxImage_HSVValue
* temp
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
16771 if (SWIG_IsNewObj(res1
)) delete temp
;
16775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16776 result
= wxImage::HSVtoRGB(arg1
);
16777 wxPyEndAllowThreads(__tstate
);
16778 if (PyErr_Occurred()) SWIG_fail
;
16780 resultobj
= SWIG_NewPointerObj((new wxImage_RGBValue(static_cast< const wxImage_RGBValue
& >(result
))), SWIGTYPE_p_wxImage_RGBValue
, SWIG_POINTER_OWN
| 0 );
16787 SWIGINTERN PyObject
*Image_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16789 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16790 SWIG_TypeNewClientData(SWIGTYPE_p_wxImage
, SWIG_NewClientData(obj
));
16791 return SWIG_Py_Void();
16794 SWIGINTERN PyObject
*Image_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16795 return SWIG_Python_InitShadowInstance(args
);
16798 SWIGINTERN
int NullImage_set(PyObject
*) {
16799 SWIG_Error(SWIG_AttributeError
,"Variable NullImage is read-only.");
16804 SWIGINTERN PyObject
*NullImage_get(void) {
16805 PyObject
*pyobj
= 0;
16807 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullImage
), SWIGTYPE_p_wxImage
, 0 );
16812 SWIGINTERN
int IMAGE_OPTION_FILENAME_set(PyObject
*) {
16813 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_FILENAME is read-only.");
16818 SWIGINTERN PyObject
*IMAGE_OPTION_FILENAME_get(void) {
16819 PyObject
*pyobj
= 0;
16823 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
16825 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
16832 SWIGINTERN
int IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
16833 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
16838 SWIGINTERN PyObject
*IMAGE_OPTION_BMP_FORMAT_get(void) {
16839 PyObject
*pyobj
= 0;
16843 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
16845 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
16852 SWIGINTERN
int IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
16853 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
16858 SWIGINTERN PyObject
*IMAGE_OPTION_CUR_HOTSPOT_X_get(void) {
16859 PyObject
*pyobj
= 0;
16863 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
16865 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
16872 SWIGINTERN
int IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
16873 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
16878 SWIGINTERN PyObject
*IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) {
16879 PyObject
*pyobj
= 0;
16883 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
16885 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
16892 SWIGINTERN
int IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
16893 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
16898 SWIGINTERN PyObject
*IMAGE_OPTION_RESOLUTION_get(void) {
16899 PyObject
*pyobj
= 0;
16903 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
16905 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
16912 SWIGINTERN
int IMAGE_OPTION_RESOLUTIONX_set(PyObject
*) {
16913 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_RESOLUTIONX is read-only.");
16918 SWIGINTERN PyObject
*IMAGE_OPTION_RESOLUTIONX_get(void) {
16919 PyObject
*pyobj
= 0;
16923 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
16925 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
16932 SWIGINTERN
int IMAGE_OPTION_RESOLUTIONY_set(PyObject
*) {
16933 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_RESOLUTIONY is read-only.");
16938 SWIGINTERN PyObject
*IMAGE_OPTION_RESOLUTIONY_get(void) {
16939 PyObject
*pyobj
= 0;
16943 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
16945 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
16952 SWIGINTERN
int IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
16953 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
16958 SWIGINTERN PyObject
*IMAGE_OPTION_RESOLUTIONUNIT_get(void) {
16959 PyObject
*pyobj
= 0;
16963 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
16965 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
16972 SWIGINTERN
int IMAGE_OPTION_QUALITY_set(PyObject
*) {
16973 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_QUALITY is read-only.");
16978 SWIGINTERN PyObject
*IMAGE_OPTION_QUALITY_get(void) {
16979 PyObject
*pyobj
= 0;
16983 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
16985 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
16992 SWIGINTERN
int IMAGE_OPTION_BITSPERSAMPLE_set(PyObject
*) {
16993 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_BITSPERSAMPLE is read-only.");
16998 SWIGINTERN PyObject
*IMAGE_OPTION_BITSPERSAMPLE_get(void) {
16999 PyObject
*pyobj
= 0;
17003 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
17005 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
17012 SWIGINTERN
int IMAGE_OPTION_SAMPLESPERPIXEL_set(PyObject
*) {
17013 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_SAMPLESPERPIXEL is read-only.");
17018 SWIGINTERN PyObject
*IMAGE_OPTION_SAMPLESPERPIXEL_get(void) {
17019 PyObject
*pyobj
= 0;
17023 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
17025 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
17032 SWIGINTERN
int IMAGE_OPTION_COMPRESSION_set(PyObject
*) {
17033 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_COMPRESSION is read-only.");
17038 SWIGINTERN PyObject
*IMAGE_OPTION_COMPRESSION_get(void) {
17039 PyObject
*pyobj
= 0;
17043 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
17045 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
17052 SWIGINTERN
int IMAGE_OPTION_IMAGEDESCRIPTOR_set(PyObject
*) {
17053 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_IMAGEDESCRIPTOR is read-only.");
17058 SWIGINTERN PyObject
*IMAGE_OPTION_IMAGEDESCRIPTOR_get(void) {
17059 PyObject
*pyobj
= 0;
17063 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
17065 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
17072 SWIGINTERN
int IMAGE_OPTION_PNG_FORMAT_set(PyObject
*) {
17073 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_PNG_FORMAT is read-only.");
17078 SWIGINTERN PyObject
*IMAGE_OPTION_PNG_FORMAT_get(void) {
17079 PyObject
*pyobj
= 0;
17083 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
17085 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
17092 SWIGINTERN
int IMAGE_OPTION_PNG_BITDEPTH_set(PyObject
*) {
17093 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_PNG_BITDEPTH is read-only.");
17098 SWIGINTERN PyObject
*IMAGE_OPTION_PNG_BITDEPTH_get(void) {
17099 PyObject
*pyobj
= 0;
17103 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
17105 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
17112 SWIGINTERN PyObject
*_wrap_new_BMPHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17113 PyObject
*resultobj
= 0;
17114 wxBMPHandler
*result
= 0 ;
17116 if (!SWIG_Python_UnpackTuple(args
,"new_BMPHandler",0,0,0)) SWIG_fail
;
17118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17119 result
= (wxBMPHandler
*)new wxBMPHandler();
17120 wxPyEndAllowThreads(__tstate
);
17121 if (PyErr_Occurred()) SWIG_fail
;
17123 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBMPHandler
, SWIG_POINTER_NEW
| 0 );
17130 SWIGINTERN PyObject
*BMPHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17132 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17133 SWIG_TypeNewClientData(SWIGTYPE_p_wxBMPHandler
, SWIG_NewClientData(obj
));
17134 return SWIG_Py_Void();
17137 SWIGINTERN PyObject
*BMPHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17138 return SWIG_Python_InitShadowInstance(args
);
17141 SWIGINTERN PyObject
*_wrap_new_ICOHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17142 PyObject
*resultobj
= 0;
17143 wxICOHandler
*result
= 0 ;
17145 if (!SWIG_Python_UnpackTuple(args
,"new_ICOHandler",0,0,0)) SWIG_fail
;
17147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17148 result
= (wxICOHandler
*)new wxICOHandler();
17149 wxPyEndAllowThreads(__tstate
);
17150 if (PyErr_Occurred()) SWIG_fail
;
17152 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxICOHandler
, SWIG_POINTER_NEW
| 0 );
17159 SWIGINTERN PyObject
*ICOHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17161 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17162 SWIG_TypeNewClientData(SWIGTYPE_p_wxICOHandler
, SWIG_NewClientData(obj
));
17163 return SWIG_Py_Void();
17166 SWIGINTERN PyObject
*ICOHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17167 return SWIG_Python_InitShadowInstance(args
);
17170 SWIGINTERN PyObject
*_wrap_new_CURHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17171 PyObject
*resultobj
= 0;
17172 wxCURHandler
*result
= 0 ;
17174 if (!SWIG_Python_UnpackTuple(args
,"new_CURHandler",0,0,0)) SWIG_fail
;
17176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17177 result
= (wxCURHandler
*)new wxCURHandler();
17178 wxPyEndAllowThreads(__tstate
);
17179 if (PyErr_Occurred()) SWIG_fail
;
17181 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCURHandler
, SWIG_POINTER_NEW
| 0 );
17188 SWIGINTERN PyObject
*CURHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17190 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17191 SWIG_TypeNewClientData(SWIGTYPE_p_wxCURHandler
, SWIG_NewClientData(obj
));
17192 return SWIG_Py_Void();
17195 SWIGINTERN PyObject
*CURHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17196 return SWIG_Python_InitShadowInstance(args
);
17199 SWIGINTERN PyObject
*_wrap_new_ANIHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17200 PyObject
*resultobj
= 0;
17201 wxANIHandler
*result
= 0 ;
17203 if (!SWIG_Python_UnpackTuple(args
,"new_ANIHandler",0,0,0)) SWIG_fail
;
17205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17206 result
= (wxANIHandler
*)new wxANIHandler();
17207 wxPyEndAllowThreads(__tstate
);
17208 if (PyErr_Occurred()) SWIG_fail
;
17210 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxANIHandler
, SWIG_POINTER_NEW
| 0 );
17217 SWIGINTERN PyObject
*ANIHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17219 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17220 SWIG_TypeNewClientData(SWIGTYPE_p_wxANIHandler
, SWIG_NewClientData(obj
));
17221 return SWIG_Py_Void();
17224 SWIGINTERN PyObject
*ANIHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17225 return SWIG_Python_InitShadowInstance(args
);
17228 SWIGINTERN PyObject
*_wrap_new_PNGHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17229 PyObject
*resultobj
= 0;
17230 wxPNGHandler
*result
= 0 ;
17232 if (!SWIG_Python_UnpackTuple(args
,"new_PNGHandler",0,0,0)) SWIG_fail
;
17234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17235 result
= (wxPNGHandler
*)new wxPNGHandler();
17236 wxPyEndAllowThreads(__tstate
);
17237 if (PyErr_Occurred()) SWIG_fail
;
17239 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPNGHandler
, SWIG_POINTER_NEW
| 0 );
17246 SWIGINTERN PyObject
*PNGHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17248 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17249 SWIG_TypeNewClientData(SWIGTYPE_p_wxPNGHandler
, SWIG_NewClientData(obj
));
17250 return SWIG_Py_Void();
17253 SWIGINTERN PyObject
*PNGHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17254 return SWIG_Python_InitShadowInstance(args
);
17257 SWIGINTERN PyObject
*_wrap_new_GIFHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17258 PyObject
*resultobj
= 0;
17259 wxGIFHandler
*result
= 0 ;
17261 if (!SWIG_Python_UnpackTuple(args
,"new_GIFHandler",0,0,0)) SWIG_fail
;
17263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17264 result
= (wxGIFHandler
*)new wxGIFHandler();
17265 wxPyEndAllowThreads(__tstate
);
17266 if (PyErr_Occurred()) SWIG_fail
;
17268 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGIFHandler
, SWIG_POINTER_NEW
| 0 );
17275 SWIGINTERN PyObject
*GIFHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17277 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17278 SWIG_TypeNewClientData(SWIGTYPE_p_wxGIFHandler
, SWIG_NewClientData(obj
));
17279 return SWIG_Py_Void();
17282 SWIGINTERN PyObject
*GIFHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17283 return SWIG_Python_InitShadowInstance(args
);
17286 SWIGINTERN PyObject
*_wrap_new_PCXHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17287 PyObject
*resultobj
= 0;
17288 wxPCXHandler
*result
= 0 ;
17290 if (!SWIG_Python_UnpackTuple(args
,"new_PCXHandler",0,0,0)) SWIG_fail
;
17292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17293 result
= (wxPCXHandler
*)new wxPCXHandler();
17294 wxPyEndAllowThreads(__tstate
);
17295 if (PyErr_Occurred()) SWIG_fail
;
17297 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPCXHandler
, SWIG_POINTER_NEW
| 0 );
17304 SWIGINTERN PyObject
*PCXHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17306 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17307 SWIG_TypeNewClientData(SWIGTYPE_p_wxPCXHandler
, SWIG_NewClientData(obj
));
17308 return SWIG_Py_Void();
17311 SWIGINTERN PyObject
*PCXHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17312 return SWIG_Python_InitShadowInstance(args
);
17315 SWIGINTERN PyObject
*_wrap_new_JPEGHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17316 PyObject
*resultobj
= 0;
17317 wxJPEGHandler
*result
= 0 ;
17319 if (!SWIG_Python_UnpackTuple(args
,"new_JPEGHandler",0,0,0)) SWIG_fail
;
17321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17322 result
= (wxJPEGHandler
*)new wxJPEGHandler();
17323 wxPyEndAllowThreads(__tstate
);
17324 if (PyErr_Occurred()) SWIG_fail
;
17326 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJPEGHandler
, SWIG_POINTER_NEW
| 0 );
17333 SWIGINTERN PyObject
*JPEGHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17335 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17336 SWIG_TypeNewClientData(SWIGTYPE_p_wxJPEGHandler
, SWIG_NewClientData(obj
));
17337 return SWIG_Py_Void();
17340 SWIGINTERN PyObject
*JPEGHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17341 return SWIG_Python_InitShadowInstance(args
);
17344 SWIGINTERN PyObject
*_wrap_new_PNMHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17345 PyObject
*resultobj
= 0;
17346 wxPNMHandler
*result
= 0 ;
17348 if (!SWIG_Python_UnpackTuple(args
,"new_PNMHandler",0,0,0)) SWIG_fail
;
17350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17351 result
= (wxPNMHandler
*)new wxPNMHandler();
17352 wxPyEndAllowThreads(__tstate
);
17353 if (PyErr_Occurred()) SWIG_fail
;
17355 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPNMHandler
, SWIG_POINTER_NEW
| 0 );
17362 SWIGINTERN PyObject
*PNMHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17364 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17365 SWIG_TypeNewClientData(SWIGTYPE_p_wxPNMHandler
, SWIG_NewClientData(obj
));
17366 return SWIG_Py_Void();
17369 SWIGINTERN PyObject
*PNMHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17370 return SWIG_Python_InitShadowInstance(args
);
17373 SWIGINTERN PyObject
*_wrap_new_XPMHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17374 PyObject
*resultobj
= 0;
17375 wxXPMHandler
*result
= 0 ;
17377 if (!SWIG_Python_UnpackTuple(args
,"new_XPMHandler",0,0,0)) SWIG_fail
;
17379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17380 result
= (wxXPMHandler
*)new wxXPMHandler();
17381 wxPyEndAllowThreads(__tstate
);
17382 if (PyErr_Occurred()) SWIG_fail
;
17384 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxXPMHandler
, SWIG_POINTER_NEW
| 0 );
17391 SWIGINTERN PyObject
*XPMHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17393 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17394 SWIG_TypeNewClientData(SWIGTYPE_p_wxXPMHandler
, SWIG_NewClientData(obj
));
17395 return SWIG_Py_Void();
17398 SWIGINTERN PyObject
*XPMHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17399 return SWIG_Python_InitShadowInstance(args
);
17402 SWIGINTERN PyObject
*_wrap_new_TIFFHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17403 PyObject
*resultobj
= 0;
17404 wxTIFFHandler
*result
= 0 ;
17406 if (!SWIG_Python_UnpackTuple(args
,"new_TIFFHandler",0,0,0)) SWIG_fail
;
17408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17409 result
= (wxTIFFHandler
*)new wxTIFFHandler();
17410 wxPyEndAllowThreads(__tstate
);
17411 if (PyErr_Occurred()) SWIG_fail
;
17413 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTIFFHandler
, SWIG_POINTER_NEW
| 0 );
17420 SWIGINTERN PyObject
*TIFFHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17422 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17423 SWIG_TypeNewClientData(SWIGTYPE_p_wxTIFFHandler
, SWIG_NewClientData(obj
));
17424 return SWIG_Py_Void();
17427 SWIGINTERN PyObject
*TIFFHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17428 return SWIG_Python_InitShadowInstance(args
);
17431 SWIGINTERN PyObject
*_wrap_Quantize_Quantize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17432 PyObject
*resultobj
= 0;
17433 wxImage
*arg1
= 0 ;
17434 wxImage
*arg2
= 0 ;
17435 int arg3
= (int) 236 ;
17436 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
17446 PyObject
* obj0
= 0 ;
17447 PyObject
* obj1
= 0 ;
17448 PyObject
* obj2
= 0 ;
17449 PyObject
* obj3
= 0 ;
17450 char * kwnames
[] = {
17451 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
17454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17455 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
17456 if (!SWIG_IsOK(res1
)) {
17457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Quantize_Quantize" "', expected argument " "1"" of type '" "wxImage const &""'");
17460 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Quantize_Quantize" "', expected argument " "1"" of type '" "wxImage const &""'");
17462 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17463 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
, 0 );
17464 if (!SWIG_IsOK(res2
)) {
17465 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Quantize_Quantize" "', expected argument " "2"" of type '" "wxImage &""'");
17468 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Quantize_Quantize" "', expected argument " "2"" of type '" "wxImage &""'");
17470 arg2
= reinterpret_cast< wxImage
* >(argp2
);
17472 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17473 if (!SWIG_IsOK(ecode3
)) {
17474 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Quantize_Quantize" "', expected argument " "3"" of type '" "int""'");
17476 arg3
= static_cast< int >(val3
);
17479 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17480 if (!SWIG_IsOK(ecode4
)) {
17481 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Quantize_Quantize" "', expected argument " "4"" of type '" "int""'");
17483 arg4
= static_cast< int >(val4
);
17486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17487 result
= (bool)wxQuantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
17488 wxPyEndAllowThreads(__tstate
);
17489 if (PyErr_Occurred()) SWIG_fail
;
17492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17500 SWIGINTERN PyObject
*Quantize_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17502 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17503 SWIG_TypeNewClientData(SWIGTYPE_p_wxQuantize
, SWIG_NewClientData(obj
));
17504 return SWIG_Py_Void();
17507 SWIGINTERN PyObject
*_wrap_new_EvtHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17508 PyObject
*resultobj
= 0;
17509 wxEvtHandler
*result
= 0 ;
17511 if (!SWIG_Python_UnpackTuple(args
,"new_EvtHandler",0,0,0)) SWIG_fail
;
17513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17514 result
= (wxEvtHandler
*)new wxEvtHandler();
17515 wxPyEndAllowThreads(__tstate
);
17516 if (PyErr_Occurred()) SWIG_fail
;
17518 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_NEW
| 0 );
17525 SWIGINTERN PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17526 PyObject
*resultobj
= 0;
17527 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17528 wxEvtHandler
*result
= 0 ;
17531 PyObject
*swig_obj
[1] ;
17533 if (!args
) SWIG_fail
;
17534 swig_obj
[0] = args
;
17535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17536 if (!SWIG_IsOK(res1
)) {
17537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_GetNextHandler" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17539 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17542 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
17543 wxPyEndAllowThreads(__tstate
);
17544 if (PyErr_Occurred()) SWIG_fail
;
17547 resultobj
= wxPyMake_wxObject(result
, 0);
17555 SWIGINTERN PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17556 PyObject
*resultobj
= 0;
17557 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17558 wxEvtHandler
*result
= 0 ;
17561 PyObject
*swig_obj
[1] ;
17563 if (!args
) SWIG_fail
;
17564 swig_obj
[0] = args
;
17565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17566 if (!SWIG_IsOK(res1
)) {
17567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_GetPreviousHandler" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17569 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17572 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
17573 wxPyEndAllowThreads(__tstate
);
17574 if (PyErr_Occurred()) SWIG_fail
;
17577 resultobj
= wxPyMake_wxObject(result
, 0);
17585 SWIGINTERN PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17586 PyObject
*resultobj
= 0;
17587 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17588 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
17593 PyObject
* obj0
= 0 ;
17594 PyObject
* obj1
= 0 ;
17595 char * kwnames
[] = {
17596 (char *) "self",(char *) "handler", NULL
17599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17601 if (!SWIG_IsOK(res1
)) {
17602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_SetNextHandler" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17604 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17605 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17606 if (!SWIG_IsOK(res2
)) {
17607 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "EvtHandler_SetNextHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
17609 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
17611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17612 (arg1
)->SetNextHandler(arg2
);
17613 wxPyEndAllowThreads(__tstate
);
17614 if (PyErr_Occurred()) SWIG_fail
;
17616 resultobj
= SWIG_Py_Void();
17623 SWIGINTERN PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17624 PyObject
*resultobj
= 0;
17625 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17626 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
17631 PyObject
* obj0
= 0 ;
17632 PyObject
* obj1
= 0 ;
17633 char * kwnames
[] = {
17634 (char *) "self",(char *) "handler", NULL
17637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17639 if (!SWIG_IsOK(res1
)) {
17640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_SetPreviousHandler" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17642 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17643 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17644 if (!SWIG_IsOK(res2
)) {
17645 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "EvtHandler_SetPreviousHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
17647 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
17649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17650 (arg1
)->SetPreviousHandler(arg2
);
17651 wxPyEndAllowThreads(__tstate
);
17652 if (PyErr_Occurred()) SWIG_fail
;
17654 resultobj
= SWIG_Py_Void();
17661 SWIGINTERN PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17662 PyObject
*resultobj
= 0;
17663 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17667 PyObject
*swig_obj
[1] ;
17669 if (!args
) SWIG_fail
;
17670 swig_obj
[0] = args
;
17671 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17672 if (!SWIG_IsOK(res1
)) {
17673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_GetEvtHandlerEnabled" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17675 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17678 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
17679 wxPyEndAllowThreads(__tstate
);
17680 if (PyErr_Occurred()) SWIG_fail
;
17683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17691 SWIGINTERN PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17692 PyObject
*resultobj
= 0;
17693 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17699 PyObject
* obj0
= 0 ;
17700 PyObject
* obj1
= 0 ;
17701 char * kwnames
[] = {
17702 (char *) "self",(char *) "enabled", NULL
17705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17707 if (!SWIG_IsOK(res1
)) {
17708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_SetEvtHandlerEnabled" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17710 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17711 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17712 if (!SWIG_IsOK(ecode2
)) {
17713 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EvtHandler_SetEvtHandlerEnabled" "', expected argument " "2"" of type '" "bool""'");
17715 arg2
= static_cast< bool >(val2
);
17717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17718 (arg1
)->SetEvtHandlerEnabled(arg2
);
17719 wxPyEndAllowThreads(__tstate
);
17720 if (PyErr_Occurred()) SWIG_fail
;
17722 resultobj
= SWIG_Py_Void();
17729 SWIGINTERN PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17730 PyObject
*resultobj
= 0;
17731 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17732 wxEvent
*arg2
= 0 ;
17738 PyObject
* obj0
= 0 ;
17739 PyObject
* obj1
= 0 ;
17740 char * kwnames
[] = {
17741 (char *) "self",(char *) "event", NULL
17744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17746 if (!SWIG_IsOK(res1
)) {
17747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_ProcessEvent" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17749 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17750 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxEvent
, 0 );
17751 if (!SWIG_IsOK(res2
)) {
17752 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "EvtHandler_ProcessEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
17755 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "EvtHandler_ProcessEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
17757 arg2
= reinterpret_cast< wxEvent
* >(argp2
);
17759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17760 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
17761 wxPyEndAllowThreads(__tstate
);
17762 if (PyErr_Occurred()) SWIG_fail
;
17765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17773 SWIGINTERN PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17774 PyObject
*resultobj
= 0;
17775 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17776 wxEvent
*arg2
= 0 ;
17781 PyObject
* obj0
= 0 ;
17782 PyObject
* obj1
= 0 ;
17783 char * kwnames
[] = {
17784 (char *) "self",(char *) "event", NULL
17787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17789 if (!SWIG_IsOK(res1
)) {
17790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_AddPendingEvent" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17792 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17793 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxEvent
, 0 );
17794 if (!SWIG_IsOK(res2
)) {
17795 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "EvtHandler_AddPendingEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
17798 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "EvtHandler_AddPendingEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
17800 arg2
= reinterpret_cast< wxEvent
* >(argp2
);
17802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17803 (arg1
)->AddPendingEvent(*arg2
);
17804 wxPyEndAllowThreads(__tstate
);
17805 if (PyErr_Occurred()) SWIG_fail
;
17807 resultobj
= SWIG_Py_Void();
17814 SWIGINTERN PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17815 PyObject
*resultobj
= 0;
17816 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17819 PyObject
*swig_obj
[1] ;
17821 if (!args
) SWIG_fail
;
17822 swig_obj
[0] = args
;
17823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17824 if (!SWIG_IsOK(res1
)) {
17825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_ProcessPendingEvents" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17827 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17830 (arg1
)->ProcessPendingEvents();
17831 wxPyEndAllowThreads(__tstate
);
17832 if (PyErr_Occurred()) SWIG_fail
;
17834 resultobj
= SWIG_Py_Void();
17841 SWIGINTERN PyObject
*_wrap_EvtHandler_Connect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17842 PyObject
*resultobj
= 0;
17843 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17847 PyObject
*arg5
= (PyObject
*) 0 ;
17856 PyObject
* obj0
= 0 ;
17857 PyObject
* obj1
= 0 ;
17858 PyObject
* obj2
= 0 ;
17859 PyObject
* obj3
= 0 ;
17860 PyObject
* obj4
= 0 ;
17861 char * kwnames
[] = {
17862 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
17865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17867 if (!SWIG_IsOK(res1
)) {
17868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_Connect" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17870 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17871 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17872 if (!SWIG_IsOK(ecode2
)) {
17873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EvtHandler_Connect" "', expected argument " "2"" of type '" "int""'");
17875 arg2
= static_cast< int >(val2
);
17876 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17877 if (!SWIG_IsOK(ecode3
)) {
17878 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EvtHandler_Connect" "', expected argument " "3"" of type '" "int""'");
17880 arg3
= static_cast< int >(val3
);
17881 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17882 if (!SWIG_IsOK(ecode4
)) {
17883 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EvtHandler_Connect" "', expected argument " "4"" of type '" "int""'");
17885 arg4
= static_cast< int >(val4
);
17888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17889 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
17890 wxPyEndAllowThreads(__tstate
);
17891 if (PyErr_Occurred()) SWIG_fail
;
17893 resultobj
= SWIG_Py_Void();
17900 SWIGINTERN PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17901 PyObject
*resultobj
= 0;
17902 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17904 int arg3
= (int) -1 ;
17905 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
17915 PyObject
* obj0
= 0 ;
17916 PyObject
* obj1
= 0 ;
17917 PyObject
* obj2
= 0 ;
17918 PyObject
* obj3
= 0 ;
17919 char * kwnames
[] = {
17920 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
17923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17925 if (!SWIG_IsOK(res1
)) {
17926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_Disconnect" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17928 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17929 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17930 if (!SWIG_IsOK(ecode2
)) {
17931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EvtHandler_Disconnect" "', expected argument " "2"" of type '" "int""'");
17933 arg2
= static_cast< int >(val2
);
17935 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17936 if (!SWIG_IsOK(ecode3
)) {
17937 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EvtHandler_Disconnect" "', expected argument " "3"" of type '" "int""'");
17939 arg3
= static_cast< int >(val3
);
17942 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17943 if (!SWIG_IsOK(ecode4
)) {
17944 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EvtHandler_Disconnect" "', expected argument " "4"" of type '" "wxEventType""'");
17946 arg4
= static_cast< wxEventType
>(val4
);
17949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17950 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
17951 wxPyEndAllowThreads(__tstate
);
17952 if (PyErr_Occurred()) SWIG_fail
;
17955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17963 SWIGINTERN PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17964 PyObject
*resultobj
= 0;
17965 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17966 PyObject
*arg2
= (PyObject
*) 0 ;
17967 bool arg3
= (bool) true ;
17972 PyObject
* obj0
= 0 ;
17973 PyObject
* obj1
= 0 ;
17974 PyObject
* obj2
= 0 ;
17975 char * kwnames
[] = {
17976 (char *) "self",(char *) "_self",(char *) "incref", NULL
17979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
17980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17981 if (!SWIG_IsOK(res1
)) {
17982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler__setOORInfo" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17984 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17987 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
17988 if (!SWIG_IsOK(ecode3
)) {
17989 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EvtHandler__setOORInfo" "', expected argument " "3"" of type '" "bool""'");
17991 arg3
= static_cast< bool >(val3
);
17994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17995 wxEvtHandler__setOORInfo(arg1
,arg2
,arg3
);
17996 wxPyEndAllowThreads(__tstate
);
17997 if (PyErr_Occurred()) SWIG_fail
;
17999 resultobj
= SWIG_Py_Void();
18006 SWIGINTERN PyObject
*EvtHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18008 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18009 SWIG_TypeNewClientData(SWIGTYPE_p_wxEvtHandler
, SWIG_NewClientData(obj
));
18010 return SWIG_Py_Void();
18013 SWIGINTERN PyObject
*EvtHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18014 return SWIG_Python_InitShadowInstance(args
);
18017 SWIGINTERN PyObject
*_wrap_NewEventType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18018 PyObject
*resultobj
= 0;
18019 wxEventType result
;
18021 if (!SWIG_Python_UnpackTuple(args
,"NewEventType",0,0,0)) SWIG_fail
;
18023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18024 result
= (wxEventType
)wxNewEventType();
18025 wxPyEndAllowThreads(__tstate
);
18026 if (PyErr_Occurred()) SWIG_fail
;
18028 resultobj
= SWIG_From_int(static_cast< int >(result
));
18035 SWIGINTERN PyObject
*_wrap_delete_Event(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18036 PyObject
*resultobj
= 0;
18037 wxEvent
*arg1
= (wxEvent
*) 0 ;
18040 PyObject
*swig_obj
[1] ;
18042 if (!args
) SWIG_fail
;
18043 swig_obj
[0] = args
;
18044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, SWIG_POINTER_DISOWN
| 0 );
18045 if (!SWIG_IsOK(res1
)) {
18046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Event" "', expected argument " "1"" of type '" "wxEvent *""'");
18048 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18053 wxPyEndAllowThreads(__tstate
);
18054 if (PyErr_Occurred()) SWIG_fail
;
18056 resultobj
= SWIG_Py_Void();
18063 SWIGINTERN PyObject
*_wrap_Event_SetEventType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18064 PyObject
*resultobj
= 0;
18065 wxEvent
*arg1
= (wxEvent
*) 0 ;
18071 PyObject
* obj0
= 0 ;
18072 PyObject
* obj1
= 0 ;
18073 char * kwnames
[] = {
18074 (char *) "self",(char *) "typ", NULL
18077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18079 if (!SWIG_IsOK(res1
)) {
18080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_SetEventType" "', expected argument " "1"" of type '" "wxEvent *""'");
18082 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18083 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18084 if (!SWIG_IsOK(ecode2
)) {
18085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Event_SetEventType" "', expected argument " "2"" of type '" "wxEventType""'");
18087 arg2
= static_cast< wxEventType
>(val2
);
18089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18090 (arg1
)->SetEventType(arg2
);
18091 wxPyEndAllowThreads(__tstate
);
18092 if (PyErr_Occurred()) SWIG_fail
;
18094 resultobj
= SWIG_Py_Void();
18101 SWIGINTERN PyObject
*_wrap_Event_GetEventType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18102 PyObject
*resultobj
= 0;
18103 wxEvent
*arg1
= (wxEvent
*) 0 ;
18104 wxEventType result
;
18107 PyObject
*swig_obj
[1] ;
18109 if (!args
) SWIG_fail
;
18110 swig_obj
[0] = args
;
18111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18112 if (!SWIG_IsOK(res1
)) {
18113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_GetEventType" "', expected argument " "1"" of type '" "wxEvent const *""'");
18115 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18118 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
18119 wxPyEndAllowThreads(__tstate
);
18120 if (PyErr_Occurred()) SWIG_fail
;
18122 resultobj
= SWIG_From_int(static_cast< int >(result
));
18129 SWIGINTERN PyObject
*_wrap_Event_GetEventObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18130 PyObject
*resultobj
= 0;
18131 wxEvent
*arg1
= (wxEvent
*) 0 ;
18132 wxObject
*result
= 0 ;
18135 PyObject
*swig_obj
[1] ;
18137 if (!args
) SWIG_fail
;
18138 swig_obj
[0] = args
;
18139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18140 if (!SWIG_IsOK(res1
)) {
18141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_GetEventObject" "', expected argument " "1"" of type '" "wxEvent const *""'");
18143 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18146 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
18147 wxPyEndAllowThreads(__tstate
);
18148 if (PyErr_Occurred()) SWIG_fail
;
18151 resultobj
= wxPyMake_wxObject(result
, (bool)0);
18159 SWIGINTERN PyObject
*_wrap_Event_SetEventObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18160 PyObject
*resultobj
= 0;
18161 wxEvent
*arg1
= (wxEvent
*) 0 ;
18162 wxObject
*arg2
= (wxObject
*) 0 ;
18167 PyObject
* obj0
= 0 ;
18168 PyObject
* obj1
= 0 ;
18169 char * kwnames
[] = {
18170 (char *) "self",(char *) "obj", NULL
18173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18175 if (!SWIG_IsOK(res1
)) {
18176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_SetEventObject" "', expected argument " "1"" of type '" "wxEvent *""'");
18178 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18179 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
18180 if (!SWIG_IsOK(res2
)) {
18181 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Event_SetEventObject" "', expected argument " "2"" of type '" "wxObject *""'");
18183 arg2
= reinterpret_cast< wxObject
* >(argp2
);
18185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18186 (arg1
)->SetEventObject(arg2
);
18187 wxPyEndAllowThreads(__tstate
);
18188 if (PyErr_Occurred()) SWIG_fail
;
18190 resultobj
= SWIG_Py_Void();
18197 SWIGINTERN PyObject
*_wrap_Event_GetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18198 PyObject
*resultobj
= 0;
18199 wxEvent
*arg1
= (wxEvent
*) 0 ;
18203 PyObject
*swig_obj
[1] ;
18205 if (!args
) SWIG_fail
;
18206 swig_obj
[0] = args
;
18207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18208 if (!SWIG_IsOK(res1
)) {
18209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_GetTimestamp" "', expected argument " "1"" of type '" "wxEvent const *""'");
18211 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18214 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
18215 wxPyEndAllowThreads(__tstate
);
18216 if (PyErr_Occurred()) SWIG_fail
;
18218 resultobj
= SWIG_From_long(static_cast< long >(result
));
18225 SWIGINTERN PyObject
*_wrap_Event_SetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18226 PyObject
*resultobj
= 0;
18227 wxEvent
*arg1
= (wxEvent
*) 0 ;
18228 long arg2
= (long) 0 ;
18233 PyObject
* obj0
= 0 ;
18234 PyObject
* obj1
= 0 ;
18235 char * kwnames
[] = {
18236 (char *) "self",(char *) "ts", NULL
18239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18241 if (!SWIG_IsOK(res1
)) {
18242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_SetTimestamp" "', expected argument " "1"" of type '" "wxEvent *""'");
18244 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18246 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
18247 if (!SWIG_IsOK(ecode2
)) {
18248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Event_SetTimestamp" "', expected argument " "2"" of type '" "long""'");
18250 arg2
= static_cast< long >(val2
);
18253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18254 (arg1
)->SetTimestamp(arg2
);
18255 wxPyEndAllowThreads(__tstate
);
18256 if (PyErr_Occurred()) SWIG_fail
;
18258 resultobj
= SWIG_Py_Void();
18265 SWIGINTERN PyObject
*_wrap_Event_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18266 PyObject
*resultobj
= 0;
18267 wxEvent
*arg1
= (wxEvent
*) 0 ;
18271 PyObject
*swig_obj
[1] ;
18273 if (!args
) SWIG_fail
;
18274 swig_obj
[0] = args
;
18275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18276 if (!SWIG_IsOK(res1
)) {
18277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_GetId" "', expected argument " "1"" of type '" "wxEvent const *""'");
18279 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18282 result
= (int)((wxEvent
const *)arg1
)->GetId();
18283 wxPyEndAllowThreads(__tstate
);
18284 if (PyErr_Occurred()) SWIG_fail
;
18286 resultobj
= SWIG_From_int(static_cast< int >(result
));
18293 SWIGINTERN PyObject
*_wrap_Event_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18294 PyObject
*resultobj
= 0;
18295 wxEvent
*arg1
= (wxEvent
*) 0 ;
18301 PyObject
* obj0
= 0 ;
18302 PyObject
* obj1
= 0 ;
18303 char * kwnames
[] = {
18304 (char *) "self",(char *) "Id", NULL
18307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18309 if (!SWIG_IsOK(res1
)) {
18310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_SetId" "', expected argument " "1"" of type '" "wxEvent *""'");
18312 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18313 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18314 if (!SWIG_IsOK(ecode2
)) {
18315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Event_SetId" "', expected argument " "2"" of type '" "int""'");
18317 arg2
= static_cast< int >(val2
);
18319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18320 (arg1
)->SetId(arg2
);
18321 wxPyEndAllowThreads(__tstate
);
18322 if (PyErr_Occurred()) SWIG_fail
;
18324 resultobj
= SWIG_Py_Void();
18331 SWIGINTERN PyObject
*_wrap_Event_IsCommandEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18332 PyObject
*resultobj
= 0;
18333 wxEvent
*arg1
= (wxEvent
*) 0 ;
18337 PyObject
*swig_obj
[1] ;
18339 if (!args
) SWIG_fail
;
18340 swig_obj
[0] = args
;
18341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18342 if (!SWIG_IsOK(res1
)) {
18343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_IsCommandEvent" "', expected argument " "1"" of type '" "wxEvent const *""'");
18345 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18348 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
18349 wxPyEndAllowThreads(__tstate
);
18350 if (PyErr_Occurred()) SWIG_fail
;
18353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18361 SWIGINTERN PyObject
*_wrap_Event_Skip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18362 PyObject
*resultobj
= 0;
18363 wxEvent
*arg1
= (wxEvent
*) 0 ;
18364 bool arg2
= (bool) true ;
18369 PyObject
* obj0
= 0 ;
18370 PyObject
* obj1
= 0 ;
18371 char * kwnames
[] = {
18372 (char *) "self",(char *) "skip", NULL
18375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18377 if (!SWIG_IsOK(res1
)) {
18378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_Skip" "', expected argument " "1"" of type '" "wxEvent *""'");
18380 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18382 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18383 if (!SWIG_IsOK(ecode2
)) {
18384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Event_Skip" "', expected argument " "2"" of type '" "bool""'");
18386 arg2
= static_cast< bool >(val2
);
18389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18390 (arg1
)->Skip(arg2
);
18391 wxPyEndAllowThreads(__tstate
);
18392 if (PyErr_Occurred()) SWIG_fail
;
18394 resultobj
= SWIG_Py_Void();
18401 SWIGINTERN PyObject
*_wrap_Event_GetSkipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18402 PyObject
*resultobj
= 0;
18403 wxEvent
*arg1
= (wxEvent
*) 0 ;
18407 PyObject
*swig_obj
[1] ;
18409 if (!args
) SWIG_fail
;
18410 swig_obj
[0] = args
;
18411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18412 if (!SWIG_IsOK(res1
)) {
18413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_GetSkipped" "', expected argument " "1"" of type '" "wxEvent const *""'");
18415 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18418 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
18419 wxPyEndAllowThreads(__tstate
);
18420 if (PyErr_Occurred()) SWIG_fail
;
18423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18431 SWIGINTERN PyObject
*_wrap_Event_ShouldPropagate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18432 PyObject
*resultobj
= 0;
18433 wxEvent
*arg1
= (wxEvent
*) 0 ;
18437 PyObject
*swig_obj
[1] ;
18439 if (!args
) SWIG_fail
;
18440 swig_obj
[0] = args
;
18441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18442 if (!SWIG_IsOK(res1
)) {
18443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_ShouldPropagate" "', expected argument " "1"" of type '" "wxEvent const *""'");
18445 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18448 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
18449 wxPyEndAllowThreads(__tstate
);
18450 if (PyErr_Occurred()) SWIG_fail
;
18453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18461 SWIGINTERN PyObject
*_wrap_Event_StopPropagation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18462 PyObject
*resultobj
= 0;
18463 wxEvent
*arg1
= (wxEvent
*) 0 ;
18467 PyObject
*swig_obj
[1] ;
18469 if (!args
) SWIG_fail
;
18470 swig_obj
[0] = args
;
18471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18472 if (!SWIG_IsOK(res1
)) {
18473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_StopPropagation" "', expected argument " "1"" of type '" "wxEvent *""'");
18475 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18478 result
= (int)(arg1
)->StopPropagation();
18479 wxPyEndAllowThreads(__tstate
);
18480 if (PyErr_Occurred()) SWIG_fail
;
18482 resultobj
= SWIG_From_int(static_cast< int >(result
));
18489 SWIGINTERN PyObject
*_wrap_Event_ResumePropagation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18490 PyObject
*resultobj
= 0;
18491 wxEvent
*arg1
= (wxEvent
*) 0 ;
18497 PyObject
* obj0
= 0 ;
18498 PyObject
* obj1
= 0 ;
18499 char * kwnames
[] = {
18500 (char *) "self",(char *) "propagationLevel", NULL
18503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18505 if (!SWIG_IsOK(res1
)) {
18506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_ResumePropagation" "', expected argument " "1"" of type '" "wxEvent *""'");
18508 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18509 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18510 if (!SWIG_IsOK(ecode2
)) {
18511 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Event_ResumePropagation" "', expected argument " "2"" of type '" "int""'");
18513 arg2
= static_cast< int >(val2
);
18515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18516 (arg1
)->ResumePropagation(arg2
);
18517 wxPyEndAllowThreads(__tstate
);
18518 if (PyErr_Occurred()) SWIG_fail
;
18520 resultobj
= SWIG_Py_Void();
18527 SWIGINTERN PyObject
*_wrap_Event_Clone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18528 PyObject
*resultobj
= 0;
18529 wxEvent
*arg1
= (wxEvent
*) 0 ;
18530 wxEvent
*result
= 0 ;
18533 PyObject
*swig_obj
[1] ;
18535 if (!args
) SWIG_fail
;
18536 swig_obj
[0] = args
;
18537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18538 if (!SWIG_IsOK(res1
)) {
18539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_Clone" "', expected argument " "1"" of type '" "wxEvent *""'");
18541 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18544 result
= (wxEvent
*)(arg1
)->Clone();
18545 wxPyEndAllowThreads(__tstate
);
18546 if (PyErr_Occurred()) SWIG_fail
;
18548 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEvent
, 0 | 0 );
18555 SWIGINTERN PyObject
*Event_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18557 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18558 SWIG_TypeNewClientData(SWIGTYPE_p_wxEvent
, SWIG_NewClientData(obj
));
18559 return SWIG_Py_Void();
18562 SWIGINTERN PyObject
*_wrap_new_PropagationDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18563 PyObject
*resultobj
= 0;
18564 wxEvent
*arg1
= 0 ;
18565 wxPropagationDisabler
*result
= 0 ;
18568 PyObject
* obj0
= 0 ;
18569 char * kwnames
[] = {
18570 (char *) "event", NULL
18573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) SWIG_fail
;
18574 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxEvent
, 0 );
18575 if (!SWIG_IsOK(res1
)) {
18576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PropagationDisabler" "', expected argument " "1"" of type '" "wxEvent &""'");
18579 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PropagationDisabler" "', expected argument " "1"" of type '" "wxEvent &""'");
18581 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18584 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
18585 wxPyEndAllowThreads(__tstate
);
18586 if (PyErr_Occurred()) SWIG_fail
;
18588 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_NEW
| 0 );
18595 SWIGINTERN PyObject
*_wrap_delete_PropagationDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18596 PyObject
*resultobj
= 0;
18597 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
18600 PyObject
*swig_obj
[1] ;
18602 if (!args
) SWIG_fail
;
18603 swig_obj
[0] = args
;
18604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_DISOWN
| 0 );
18605 if (!SWIG_IsOK(res1
)) {
18606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PropagationDisabler" "', expected argument " "1"" of type '" "wxPropagationDisabler *""'");
18608 arg1
= reinterpret_cast< wxPropagationDisabler
* >(argp1
);
18610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18613 wxPyEndAllowThreads(__tstate
);
18614 if (PyErr_Occurred()) SWIG_fail
;
18616 resultobj
= SWIG_Py_Void();
18623 SWIGINTERN PyObject
*PropagationDisabler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18625 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18626 SWIG_TypeNewClientData(SWIGTYPE_p_wxPropagationDisabler
, SWIG_NewClientData(obj
));
18627 return SWIG_Py_Void();
18630 SWIGINTERN PyObject
*PropagationDisabler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18631 return SWIG_Python_InitShadowInstance(args
);
18634 SWIGINTERN PyObject
*_wrap_new_PropagateOnce(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18635 PyObject
*resultobj
= 0;
18636 wxEvent
*arg1
= 0 ;
18637 wxPropagateOnce
*result
= 0 ;
18640 PyObject
* obj0
= 0 ;
18641 char * kwnames
[] = {
18642 (char *) "event", NULL
18645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) SWIG_fail
;
18646 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxEvent
, 0 );
18647 if (!SWIG_IsOK(res1
)) {
18648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PropagateOnce" "', expected argument " "1"" of type '" "wxEvent &""'");
18651 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PropagateOnce" "', expected argument " "1"" of type '" "wxEvent &""'");
18653 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18656 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
18657 wxPyEndAllowThreads(__tstate
);
18658 if (PyErr_Occurred()) SWIG_fail
;
18660 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_NEW
| 0 );
18667 SWIGINTERN PyObject
*_wrap_delete_PropagateOnce(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18668 PyObject
*resultobj
= 0;
18669 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 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_wxPropagateOnce
, SWIG_POINTER_DISOWN
| 0 );
18677 if (!SWIG_IsOK(res1
)) {
18678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PropagateOnce" "', expected argument " "1"" of type '" "wxPropagateOnce *""'");
18680 arg1
= reinterpret_cast< wxPropagateOnce
* >(argp1
);
18682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18685 wxPyEndAllowThreads(__tstate
);
18686 if (PyErr_Occurred()) SWIG_fail
;
18688 resultobj
= SWIG_Py_Void();
18695 SWIGINTERN PyObject
*PropagateOnce_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18697 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18698 SWIG_TypeNewClientData(SWIGTYPE_p_wxPropagateOnce
, SWIG_NewClientData(obj
));
18699 return SWIG_Py_Void();
18702 SWIGINTERN PyObject
*PropagateOnce_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18703 return SWIG_Python_InitShadowInstance(args
);
18706 SWIGINTERN PyObject
*_wrap_new_CommandEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18707 PyObject
*resultobj
= 0;
18708 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18709 int arg2
= (int) 0 ;
18710 wxCommandEvent
*result
= 0 ;
18715 PyObject
* obj0
= 0 ;
18716 PyObject
* obj1
= 0 ;
18717 char * kwnames
[] = {
18718 (char *) "commandType",(char *) "winid", NULL
18721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18723 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18724 if (!SWIG_IsOK(ecode1
)) {
18725 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CommandEvent" "', expected argument " "1"" of type '" "wxEventType""'");
18727 arg1
= static_cast< wxEventType
>(val1
);
18730 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18731 if (!SWIG_IsOK(ecode2
)) {
18732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CommandEvent" "', expected argument " "2"" of type '" "int""'");
18734 arg2
= static_cast< int >(val2
);
18737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18738 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
18739 wxPyEndAllowThreads(__tstate
);
18740 if (PyErr_Occurred()) SWIG_fail
;
18742 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_NEW
| 0 );
18749 SWIGINTERN PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18750 PyObject
*resultobj
= 0;
18751 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
18755 PyObject
*swig_obj
[1] ;
18757 if (!args
) SWIG_fail
;
18758 swig_obj
[0] = args
;
18759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
18760 if (!SWIG_IsOK(res1
)) {
18761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_GetSelection" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
18763 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
18765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18766 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
18767 wxPyEndAllowThreads(__tstate
);
18768 if (PyErr_Occurred()) SWIG_fail
;
18770 resultobj
= SWIG_From_int(static_cast< int >(result
));
18777 SWIGINTERN PyObject
*_wrap_CommandEvent_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18778 PyObject
*resultobj
= 0;
18779 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
18780 wxString
*arg2
= 0 ;
18783 bool temp2
= false ;
18784 PyObject
* obj0
= 0 ;
18785 PyObject
* obj1
= 0 ;
18786 char * kwnames
[] = {
18787 (char *) "self",(char *) "s", NULL
18790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
18792 if (!SWIG_IsOK(res1
)) {
18793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_SetString" "', expected argument " "1"" of type '" "wxCommandEvent *""'");
18795 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
18797 arg2
= wxString_in_helper(obj1
);
18798 if (arg2
== NULL
) SWIG_fail
;
18802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18803 (arg1
)->SetString((wxString
const &)*arg2
);
18804 wxPyEndAllowThreads(__tstate
);
18805 if (PyErr_Occurred()) SWIG_fail
;
18807 resultobj
= SWIG_Py_Void();
18822 SWIGINTERN PyObject
*_wrap_CommandEvent_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18823 PyObject
*resultobj
= 0;
18824 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
18828 PyObject
*swig_obj
[1] ;
18830 if (!args
) SWIG_fail
;
18831 swig_obj
[0] = args
;
18832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
18833 if (!SWIG_IsOK(res1
)) {
18834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_GetString" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
18836 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
18838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18839 result
= ((wxCommandEvent
const *)arg1
)->GetString();
18840 wxPyEndAllowThreads(__tstate
);
18841 if (PyErr_Occurred()) SWIG_fail
;
18845 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18847 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18856 SWIGINTERN PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18857 PyObject
*resultobj
= 0;
18858 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
18862 PyObject
*swig_obj
[1] ;
18864 if (!args
) SWIG_fail
;
18865 swig_obj
[0] = args
;
18866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
18867 if (!SWIG_IsOK(res1
)) {
18868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_IsChecked" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
18870 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
18872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18873 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
18874 wxPyEndAllowThreads(__tstate
);
18875 if (PyErr_Occurred()) SWIG_fail
;
18878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18886 SWIGINTERN PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18887 PyObject
*resultobj
= 0;
18888 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
18892 PyObject
*swig_obj
[1] ;
18894 if (!args
) SWIG_fail
;
18895 swig_obj
[0] = args
;
18896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
18897 if (!SWIG_IsOK(res1
)) {
18898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_IsSelection" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
18900 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
18902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18903 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
18904 wxPyEndAllowThreads(__tstate
);
18905 if (PyErr_Occurred()) SWIG_fail
;
18908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18916 SWIGINTERN PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18917 PyObject
*resultobj
= 0;
18918 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
18924 PyObject
* obj0
= 0 ;
18925 PyObject
* obj1
= 0 ;
18926 char * kwnames
[] = {
18927 (char *) "self",(char *) "extraLong", NULL
18930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
18932 if (!SWIG_IsOK(res1
)) {
18933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_SetExtraLong" "', expected argument " "1"" of type '" "wxCommandEvent *""'");
18935 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
18936 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
18937 if (!SWIG_IsOK(ecode2
)) {
18938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CommandEvent_SetExtraLong" "', expected argument " "2"" of type '" "long""'");
18940 arg2
= static_cast< long >(val2
);
18942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18943 (arg1
)->SetExtraLong(arg2
);
18944 wxPyEndAllowThreads(__tstate
);
18945 if (PyErr_Occurred()) SWIG_fail
;
18947 resultobj
= SWIG_Py_Void();
18954 SWIGINTERN PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18955 PyObject
*resultobj
= 0;
18956 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
18960 PyObject
*swig_obj
[1] ;
18962 if (!args
) SWIG_fail
;
18963 swig_obj
[0] = args
;
18964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
18965 if (!SWIG_IsOK(res1
)) {
18966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_GetExtraLong" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
18968 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
18970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18971 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
18972 wxPyEndAllowThreads(__tstate
);
18973 if (PyErr_Occurred()) SWIG_fail
;
18975 resultobj
= SWIG_From_long(static_cast< long >(result
));
18982 SWIGINTERN PyObject
*_wrap_CommandEvent_SetInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18983 PyObject
*resultobj
= 0;
18984 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
18990 PyObject
* obj0
= 0 ;
18991 PyObject
* obj1
= 0 ;
18992 char * kwnames
[] = {
18993 (char *) "self",(char *) "i", NULL
18996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
18998 if (!SWIG_IsOK(res1
)) {
18999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_SetInt" "', expected argument " "1"" of type '" "wxCommandEvent *""'");
19001 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
19002 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19003 if (!SWIG_IsOK(ecode2
)) {
19004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CommandEvent_SetInt" "', expected argument " "2"" of type '" "int""'");
19006 arg2
= static_cast< int >(val2
);
19008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19009 (arg1
)->SetInt(arg2
);
19010 wxPyEndAllowThreads(__tstate
);
19011 if (PyErr_Occurred()) SWIG_fail
;
19013 resultobj
= SWIG_Py_Void();
19020 SWIGINTERN PyObject
*_wrap_CommandEvent_GetInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19021 PyObject
*resultobj
= 0;
19022 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
19026 PyObject
*swig_obj
[1] ;
19028 if (!args
) SWIG_fail
;
19029 swig_obj
[0] = args
;
19030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
19031 if (!SWIG_IsOK(res1
)) {
19032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_GetInt" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
19034 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
19036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19037 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
19038 wxPyEndAllowThreads(__tstate
);
19039 if (PyErr_Occurred()) SWIG_fail
;
19041 resultobj
= SWIG_From_long(static_cast< long >(result
));
19048 SWIGINTERN PyObject
*_wrap_CommandEvent_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19049 PyObject
*resultobj
= 0;
19050 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
19051 PyObject
*result
= 0 ;
19054 PyObject
*swig_obj
[1] ;
19056 if (!args
) SWIG_fail
;
19057 swig_obj
[0] = args
;
19058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
19059 if (!SWIG_IsOK(res1
)) {
19060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_GetClientData" "', expected argument " "1"" of type '" "wxCommandEvent *""'");
19062 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
19064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19065 result
= (PyObject
*)wxCommandEvent_GetClientData(arg1
);
19066 wxPyEndAllowThreads(__tstate
);
19067 if (PyErr_Occurred()) SWIG_fail
;
19069 resultobj
= result
;
19076 SWIGINTERN PyObject
*_wrap_CommandEvent_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19077 PyObject
*resultobj
= 0;
19078 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
19079 PyObject
*arg2
= (PyObject
*) 0 ;
19082 PyObject
* obj0
= 0 ;
19083 PyObject
* obj1
= 0 ;
19084 char * kwnames
[] = {
19085 (char *) "self",(char *) "clientData", NULL
19088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
19090 if (!SWIG_IsOK(res1
)) {
19091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_SetClientData" "', expected argument " "1"" of type '" "wxCommandEvent *""'");
19093 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
19096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19097 wxCommandEvent_SetClientData(arg1
,arg2
);
19098 wxPyEndAllowThreads(__tstate
);
19099 if (PyErr_Occurred()) SWIG_fail
;
19101 resultobj
= SWIG_Py_Void();
19108 SWIGINTERN PyObject
*_wrap_CommandEvent_Clone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19109 PyObject
*resultobj
= 0;
19110 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
19111 wxEvent
*result
= 0 ;
19114 PyObject
*swig_obj
[1] ;
19116 if (!args
) SWIG_fail
;
19117 swig_obj
[0] = args
;
19118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
19119 if (!SWIG_IsOK(res1
)) {
19120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_Clone" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
19122 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
19124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19125 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
19126 wxPyEndAllowThreads(__tstate
);
19127 if (PyErr_Occurred()) SWIG_fail
;
19129 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEvent
, 0 | 0 );
19136 SWIGINTERN PyObject
*CommandEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19138 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19139 SWIG_TypeNewClientData(SWIGTYPE_p_wxCommandEvent
, SWIG_NewClientData(obj
));
19140 return SWIG_Py_Void();
19143 SWIGINTERN PyObject
*CommandEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19144 return SWIG_Python_InitShadowInstance(args
);
19147 SWIGINTERN PyObject
*_wrap_new_NotifyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19148 PyObject
*resultobj
= 0;
19149 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19150 int arg2
= (int) 0 ;
19151 wxNotifyEvent
*result
= 0 ;
19156 PyObject
* obj0
= 0 ;
19157 PyObject
* obj1
= 0 ;
19158 char * kwnames
[] = {
19159 (char *) "commandType",(char *) "winid", NULL
19162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19164 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19165 if (!SWIG_IsOK(ecode1
)) {
19166 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotifyEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19168 arg1
= static_cast< wxEventType
>(val1
);
19171 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19172 if (!SWIG_IsOK(ecode2
)) {
19173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotifyEvent" "', expected argument " "2"" of type '" "int""'");
19175 arg2
= static_cast< int >(val2
);
19178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19179 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
19180 wxPyEndAllowThreads(__tstate
);
19181 if (PyErr_Occurred()) SWIG_fail
;
19183 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_NEW
| 0 );
19190 SWIGINTERN PyObject
*_wrap_NotifyEvent_Veto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19191 PyObject
*resultobj
= 0;
19192 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
19195 PyObject
*swig_obj
[1] ;
19197 if (!args
) SWIG_fail
;
19198 swig_obj
[0] = args
;
19199 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotifyEvent
, 0 | 0 );
19200 if (!SWIG_IsOK(res1
)) {
19201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NotifyEvent_Veto" "', expected argument " "1"" of type '" "wxNotifyEvent *""'");
19203 arg1
= reinterpret_cast< wxNotifyEvent
* >(argp1
);
19205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19207 wxPyEndAllowThreads(__tstate
);
19208 if (PyErr_Occurred()) SWIG_fail
;
19210 resultobj
= SWIG_Py_Void();
19217 SWIGINTERN PyObject
*_wrap_NotifyEvent_Allow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19218 PyObject
*resultobj
= 0;
19219 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
19222 PyObject
*swig_obj
[1] ;
19224 if (!args
) SWIG_fail
;
19225 swig_obj
[0] = args
;
19226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotifyEvent
, 0 | 0 );
19227 if (!SWIG_IsOK(res1
)) {
19228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NotifyEvent_Allow" "', expected argument " "1"" of type '" "wxNotifyEvent *""'");
19230 arg1
= reinterpret_cast< wxNotifyEvent
* >(argp1
);
19232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19234 wxPyEndAllowThreads(__tstate
);
19235 if (PyErr_Occurred()) SWIG_fail
;
19237 resultobj
= SWIG_Py_Void();
19244 SWIGINTERN PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19245 PyObject
*resultobj
= 0;
19246 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
19250 PyObject
*swig_obj
[1] ;
19252 if (!args
) SWIG_fail
;
19253 swig_obj
[0] = args
;
19254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotifyEvent
, 0 | 0 );
19255 if (!SWIG_IsOK(res1
)) {
19256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NotifyEvent_IsAllowed" "', expected argument " "1"" of type '" "wxNotifyEvent *""'");
19258 arg1
= reinterpret_cast< wxNotifyEvent
* >(argp1
);
19260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19261 result
= (bool)(arg1
)->IsAllowed();
19262 wxPyEndAllowThreads(__tstate
);
19263 if (PyErr_Occurred()) SWIG_fail
;
19266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19274 SWIGINTERN PyObject
*NotifyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19276 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19277 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotifyEvent
, SWIG_NewClientData(obj
));
19278 return SWIG_Py_Void();
19281 SWIGINTERN PyObject
*NotifyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19282 return SWIG_Python_InitShadowInstance(args
);
19285 SWIGINTERN PyObject
*_wrap_new_ScrollEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19286 PyObject
*resultobj
= 0;
19287 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19288 int arg2
= (int) 0 ;
19289 int arg3
= (int) 0 ;
19290 int arg4
= (int) 0 ;
19291 wxScrollEvent
*result
= 0 ;
19300 PyObject
* obj0
= 0 ;
19301 PyObject
* obj1
= 0 ;
19302 PyObject
* obj2
= 0 ;
19303 PyObject
* obj3
= 0 ;
19304 char * kwnames
[] = {
19305 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
19308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19310 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19311 if (!SWIG_IsOK(ecode1
)) {
19312 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ScrollEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19314 arg1
= static_cast< wxEventType
>(val1
);
19317 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19318 if (!SWIG_IsOK(ecode2
)) {
19319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollEvent" "', expected argument " "2"" of type '" "int""'");
19321 arg2
= static_cast< int >(val2
);
19324 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19325 if (!SWIG_IsOK(ecode3
)) {
19326 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ScrollEvent" "', expected argument " "3"" of type '" "int""'");
19328 arg3
= static_cast< int >(val3
);
19331 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19332 if (!SWIG_IsOK(ecode4
)) {
19333 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ScrollEvent" "', expected argument " "4"" of type '" "int""'");
19335 arg4
= static_cast< int >(val4
);
19338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19339 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
19340 wxPyEndAllowThreads(__tstate
);
19341 if (PyErr_Occurred()) SWIG_fail
;
19343 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_NEW
| 0 );
19350 SWIGINTERN PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19351 PyObject
*resultobj
= 0;
19352 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
19356 PyObject
*swig_obj
[1] ;
19358 if (!args
) SWIG_fail
;
19359 swig_obj
[0] = args
;
19360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollEvent
, 0 | 0 );
19361 if (!SWIG_IsOK(res1
)) {
19362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollEvent_GetOrientation" "', expected argument " "1"" of type '" "wxScrollEvent const *""'");
19364 arg1
= reinterpret_cast< wxScrollEvent
* >(argp1
);
19366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19367 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
19368 wxPyEndAllowThreads(__tstate
);
19369 if (PyErr_Occurred()) SWIG_fail
;
19371 resultobj
= SWIG_From_int(static_cast< int >(result
));
19378 SWIGINTERN PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19379 PyObject
*resultobj
= 0;
19380 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
19384 PyObject
*swig_obj
[1] ;
19386 if (!args
) SWIG_fail
;
19387 swig_obj
[0] = args
;
19388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollEvent
, 0 | 0 );
19389 if (!SWIG_IsOK(res1
)) {
19390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollEvent_GetPosition" "', expected argument " "1"" of type '" "wxScrollEvent const *""'");
19392 arg1
= reinterpret_cast< wxScrollEvent
* >(argp1
);
19394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19395 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
19396 wxPyEndAllowThreads(__tstate
);
19397 if (PyErr_Occurred()) SWIG_fail
;
19399 resultobj
= SWIG_From_int(static_cast< int >(result
));
19406 SWIGINTERN PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19407 PyObject
*resultobj
= 0;
19408 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
19414 PyObject
* obj0
= 0 ;
19415 PyObject
* obj1
= 0 ;
19416 char * kwnames
[] = {
19417 (char *) "self",(char *) "orient", NULL
19420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollEvent
, 0 | 0 );
19422 if (!SWIG_IsOK(res1
)) {
19423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollEvent_SetOrientation" "', expected argument " "1"" of type '" "wxScrollEvent *""'");
19425 arg1
= reinterpret_cast< wxScrollEvent
* >(argp1
);
19426 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19427 if (!SWIG_IsOK(ecode2
)) {
19428 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollEvent_SetOrientation" "', expected argument " "2"" of type '" "int""'");
19430 arg2
= static_cast< int >(val2
);
19432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19433 (arg1
)->SetOrientation(arg2
);
19434 wxPyEndAllowThreads(__tstate
);
19435 if (PyErr_Occurred()) SWIG_fail
;
19437 resultobj
= SWIG_Py_Void();
19444 SWIGINTERN PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19445 PyObject
*resultobj
= 0;
19446 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
19452 PyObject
* obj0
= 0 ;
19453 PyObject
* obj1
= 0 ;
19454 char * kwnames
[] = {
19455 (char *) "self",(char *) "pos", NULL
19458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollEvent
, 0 | 0 );
19460 if (!SWIG_IsOK(res1
)) {
19461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollEvent_SetPosition" "', expected argument " "1"" of type '" "wxScrollEvent *""'");
19463 arg1
= reinterpret_cast< wxScrollEvent
* >(argp1
);
19464 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19465 if (!SWIG_IsOK(ecode2
)) {
19466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
19468 arg2
= static_cast< int >(val2
);
19470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19471 (arg1
)->SetPosition(arg2
);
19472 wxPyEndAllowThreads(__tstate
);
19473 if (PyErr_Occurred()) SWIG_fail
;
19475 resultobj
= SWIG_Py_Void();
19482 SWIGINTERN PyObject
*ScrollEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19484 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19485 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollEvent
, SWIG_NewClientData(obj
));
19486 return SWIG_Py_Void();
19489 SWIGINTERN PyObject
*ScrollEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19490 return SWIG_Python_InitShadowInstance(args
);
19493 SWIGINTERN PyObject
*_wrap_new_ScrollWinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19494 PyObject
*resultobj
= 0;
19495 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19496 int arg2
= (int) 0 ;
19497 int arg3
= (int) 0 ;
19498 wxScrollWinEvent
*result
= 0 ;
19505 PyObject
* obj0
= 0 ;
19506 PyObject
* obj1
= 0 ;
19507 PyObject
* obj2
= 0 ;
19508 char * kwnames
[] = {
19509 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
19512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19514 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19515 if (!SWIG_IsOK(ecode1
)) {
19516 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ScrollWinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19518 arg1
= static_cast< wxEventType
>(val1
);
19521 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19522 if (!SWIG_IsOK(ecode2
)) {
19523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollWinEvent" "', expected argument " "2"" of type '" "int""'");
19525 arg2
= static_cast< int >(val2
);
19528 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19529 if (!SWIG_IsOK(ecode3
)) {
19530 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ScrollWinEvent" "', expected argument " "3"" of type '" "int""'");
19532 arg3
= static_cast< int >(val3
);
19535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19536 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
19537 wxPyEndAllowThreads(__tstate
);
19538 if (PyErr_Occurred()) SWIG_fail
;
19540 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_NEW
| 0 );
19547 SWIGINTERN PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19548 PyObject
*resultobj
= 0;
19549 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
19553 PyObject
*swig_obj
[1] ;
19555 if (!args
) SWIG_fail
;
19556 swig_obj
[0] = args
;
19557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollWinEvent
, 0 | 0 );
19558 if (!SWIG_IsOK(res1
)) {
19559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollWinEvent_GetOrientation" "', expected argument " "1"" of type '" "wxScrollWinEvent const *""'");
19561 arg1
= reinterpret_cast< wxScrollWinEvent
* >(argp1
);
19563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19564 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
19565 wxPyEndAllowThreads(__tstate
);
19566 if (PyErr_Occurred()) SWIG_fail
;
19568 resultobj
= SWIG_From_int(static_cast< int >(result
));
19575 SWIGINTERN PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19576 PyObject
*resultobj
= 0;
19577 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
19581 PyObject
*swig_obj
[1] ;
19583 if (!args
) SWIG_fail
;
19584 swig_obj
[0] = args
;
19585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollWinEvent
, 0 | 0 );
19586 if (!SWIG_IsOK(res1
)) {
19587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollWinEvent_GetPosition" "', expected argument " "1"" of type '" "wxScrollWinEvent const *""'");
19589 arg1
= reinterpret_cast< wxScrollWinEvent
* >(argp1
);
19591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19592 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
19593 wxPyEndAllowThreads(__tstate
);
19594 if (PyErr_Occurred()) SWIG_fail
;
19596 resultobj
= SWIG_From_int(static_cast< int >(result
));
19603 SWIGINTERN PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19604 PyObject
*resultobj
= 0;
19605 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
19611 PyObject
* obj0
= 0 ;
19612 PyObject
* obj1
= 0 ;
19613 char * kwnames
[] = {
19614 (char *) "self",(char *) "orient", NULL
19617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollWinEvent
, 0 | 0 );
19619 if (!SWIG_IsOK(res1
)) {
19620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollWinEvent_SetOrientation" "', expected argument " "1"" of type '" "wxScrollWinEvent *""'");
19622 arg1
= reinterpret_cast< wxScrollWinEvent
* >(argp1
);
19623 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19624 if (!SWIG_IsOK(ecode2
)) {
19625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollWinEvent_SetOrientation" "', expected argument " "2"" of type '" "int""'");
19627 arg2
= static_cast< int >(val2
);
19629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19630 (arg1
)->SetOrientation(arg2
);
19631 wxPyEndAllowThreads(__tstate
);
19632 if (PyErr_Occurred()) SWIG_fail
;
19634 resultobj
= SWIG_Py_Void();
19641 SWIGINTERN PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19642 PyObject
*resultobj
= 0;
19643 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
19649 PyObject
* obj0
= 0 ;
19650 PyObject
* obj1
= 0 ;
19651 char * kwnames
[] = {
19652 (char *) "self",(char *) "pos", NULL
19655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollWinEvent
, 0 | 0 );
19657 if (!SWIG_IsOK(res1
)) {
19658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollWinEvent_SetPosition" "', expected argument " "1"" of type '" "wxScrollWinEvent *""'");
19660 arg1
= reinterpret_cast< wxScrollWinEvent
* >(argp1
);
19661 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19662 if (!SWIG_IsOK(ecode2
)) {
19663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollWinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
19665 arg2
= static_cast< int >(val2
);
19667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19668 (arg1
)->SetPosition(arg2
);
19669 wxPyEndAllowThreads(__tstate
);
19670 if (PyErr_Occurred()) SWIG_fail
;
19672 resultobj
= SWIG_Py_Void();
19679 SWIGINTERN PyObject
*ScrollWinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19681 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19682 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollWinEvent
, SWIG_NewClientData(obj
));
19683 return SWIG_Py_Void();
19686 SWIGINTERN PyObject
*ScrollWinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19687 return SWIG_Python_InitShadowInstance(args
);
19690 SWIGINTERN PyObject
*_wrap_new_MouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19691 PyObject
*resultobj
= 0;
19692 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19693 wxMouseEvent
*result
= 0 ;
19696 PyObject
* obj0
= 0 ;
19697 char * kwnames
[] = {
19698 (char *) "mouseType", NULL
19701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) SWIG_fail
;
19703 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19704 if (!SWIG_IsOK(ecode1
)) {
19705 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MouseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19707 arg1
= static_cast< wxEventType
>(val1
);
19710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19711 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
19712 wxPyEndAllowThreads(__tstate
);
19713 if (PyErr_Occurred()) SWIG_fail
;
19716 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
19724 SWIGINTERN PyObject
*_wrap_MouseEvent_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19725 PyObject
*resultobj
= 0;
19726 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
19730 PyObject
*swig_obj
[1] ;
19732 if (!args
) SWIG_fail
;
19733 swig_obj
[0] = args
;
19734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
19735 if (!SWIG_IsOK(res1
)) {
19736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_IsButton" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
19738 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
19740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19741 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
19742 wxPyEndAllowThreads(__tstate
);
19743 if (PyErr_Occurred()) SWIG_fail
;
19746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19754 SWIGINTERN PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19755 PyObject
*resultobj
= 0;
19756 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
19757 int arg2
= (int) wxMOUSE_BTN_ANY
;
19763 PyObject
* obj0
= 0 ;
19764 PyObject
* obj1
= 0 ;
19765 char * kwnames
[] = {
19766 (char *) "self",(char *) "but", NULL
19769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
19771 if (!SWIG_IsOK(res1
)) {
19772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ButtonDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
19774 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
19776 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19777 if (!SWIG_IsOK(ecode2
)) {
19778 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_ButtonDown" "', expected argument " "2"" of type '" "int""'");
19780 arg2
= static_cast< int >(val2
);
19783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19784 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
19785 wxPyEndAllowThreads(__tstate
);
19786 if (PyErr_Occurred()) SWIG_fail
;
19789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19797 SWIGINTERN PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19798 PyObject
*resultobj
= 0;
19799 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
19800 int arg2
= (int) wxMOUSE_BTN_ANY
;
19806 PyObject
* obj0
= 0 ;
19807 PyObject
* obj1
= 0 ;
19808 char * kwnames
[] = {
19809 (char *) "self",(char *) "but", NULL
19812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
19814 if (!SWIG_IsOK(res1
)) {
19815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ButtonDClick" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
19817 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
19819 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19820 if (!SWIG_IsOK(ecode2
)) {
19821 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_ButtonDClick" "', expected argument " "2"" of type '" "int""'");
19823 arg2
= static_cast< int >(val2
);
19826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19827 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
19828 wxPyEndAllowThreads(__tstate
);
19829 if (PyErr_Occurred()) SWIG_fail
;
19832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19840 SWIGINTERN PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19841 PyObject
*resultobj
= 0;
19842 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
19843 int arg2
= (int) wxMOUSE_BTN_ANY
;
19849 PyObject
* obj0
= 0 ;
19850 PyObject
* obj1
= 0 ;
19851 char * kwnames
[] = {
19852 (char *) "self",(char *) "but", NULL
19855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
19857 if (!SWIG_IsOK(res1
)) {
19858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ButtonUp" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
19860 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
19862 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19863 if (!SWIG_IsOK(ecode2
)) {
19864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_ButtonUp" "', expected argument " "2"" of type '" "int""'");
19866 arg2
= static_cast< int >(val2
);
19869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19870 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
19871 wxPyEndAllowThreads(__tstate
);
19872 if (PyErr_Occurred()) SWIG_fail
;
19875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19883 SWIGINTERN PyObject
*_wrap_MouseEvent_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19884 PyObject
*resultobj
= 0;
19885 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
19892 PyObject
* obj0
= 0 ;
19893 PyObject
* obj1
= 0 ;
19894 char * kwnames
[] = {
19895 (char *) "self",(char *) "button", NULL
19898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
19900 if (!SWIG_IsOK(res1
)) {
19901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_Button" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
19903 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
19904 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19905 if (!SWIG_IsOK(ecode2
)) {
19906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_Button" "', expected argument " "2"" of type '" "int""'");
19908 arg2
= static_cast< int >(val2
);
19910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19911 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
19912 wxPyEndAllowThreads(__tstate
);
19913 if (PyErr_Occurred()) SWIG_fail
;
19916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19924 SWIGINTERN PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19925 PyObject
*resultobj
= 0;
19926 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
19933 PyObject
* obj0
= 0 ;
19934 PyObject
* obj1
= 0 ;
19935 char * kwnames
[] = {
19936 (char *) "self",(char *) "but", NULL
19939 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19940 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
19941 if (!SWIG_IsOK(res1
)) {
19942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ButtonIsDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
19944 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
19945 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19946 if (!SWIG_IsOK(ecode2
)) {
19947 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_ButtonIsDown" "', expected argument " "2"" of type '" "int""'");
19949 arg2
= static_cast< int >(val2
);
19951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19952 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
19953 wxPyEndAllowThreads(__tstate
);
19954 if (PyErr_Occurred()) SWIG_fail
;
19957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19965 SWIGINTERN PyObject
*_wrap_MouseEvent_GetButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19966 PyObject
*resultobj
= 0;
19967 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
19971 PyObject
*swig_obj
[1] ;
19973 if (!args
) SWIG_fail
;
19974 swig_obj
[0] = args
;
19975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
19976 if (!SWIG_IsOK(res1
)) {
19977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetButton" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
19979 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
19981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19982 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
19983 wxPyEndAllowThreads(__tstate
);
19984 if (PyErr_Occurred()) SWIG_fail
;
19986 resultobj
= SWIG_From_int(static_cast< int >(result
));
19993 SWIGINTERN PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19994 PyObject
*resultobj
= 0;
19995 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
19999 PyObject
*swig_obj
[1] ;
20001 if (!args
) SWIG_fail
;
20002 swig_obj
[0] = args
;
20003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20004 if (!SWIG_IsOK(res1
)) {
20005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ControlDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20007 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20010 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
20011 wxPyEndAllowThreads(__tstate
);
20012 if (PyErr_Occurred()) SWIG_fail
;
20015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20023 SWIGINTERN PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20024 PyObject
*resultobj
= 0;
20025 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20029 PyObject
*swig_obj
[1] ;
20031 if (!args
) SWIG_fail
;
20032 swig_obj
[0] = args
;
20033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20034 if (!SWIG_IsOK(res1
)) {
20035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_MetaDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20037 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20040 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
20041 wxPyEndAllowThreads(__tstate
);
20042 if (PyErr_Occurred()) SWIG_fail
;
20045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20053 SWIGINTERN PyObject
*_wrap_MouseEvent_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20054 PyObject
*resultobj
= 0;
20055 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20059 PyObject
*swig_obj
[1] ;
20061 if (!args
) SWIG_fail
;
20062 swig_obj
[0] = args
;
20063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20064 if (!SWIG_IsOK(res1
)) {
20065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_AltDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20067 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20070 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
20071 wxPyEndAllowThreads(__tstate
);
20072 if (PyErr_Occurred()) SWIG_fail
;
20075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20083 SWIGINTERN PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20084 PyObject
*resultobj
= 0;
20085 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20089 PyObject
*swig_obj
[1] ;
20091 if (!args
) SWIG_fail
;
20092 swig_obj
[0] = args
;
20093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20094 if (!SWIG_IsOK(res1
)) {
20095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ShiftDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20097 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20100 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
20101 wxPyEndAllowThreads(__tstate
);
20102 if (PyErr_Occurred()) SWIG_fail
;
20105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20113 SWIGINTERN PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20114 PyObject
*resultobj
= 0;
20115 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20119 PyObject
*swig_obj
[1] ;
20121 if (!args
) SWIG_fail
;
20122 swig_obj
[0] = args
;
20123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20124 if (!SWIG_IsOK(res1
)) {
20125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_CmdDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20127 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20130 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
20131 wxPyEndAllowThreads(__tstate
);
20132 if (PyErr_Occurred()) SWIG_fail
;
20135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20143 SWIGINTERN PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20144 PyObject
*resultobj
= 0;
20145 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20149 PyObject
*swig_obj
[1] ;
20151 if (!args
) SWIG_fail
;
20152 swig_obj
[0] = args
;
20153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20154 if (!SWIG_IsOK(res1
)) {
20155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_LeftDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20157 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20160 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
20161 wxPyEndAllowThreads(__tstate
);
20162 if (PyErr_Occurred()) SWIG_fail
;
20165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20173 SWIGINTERN PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20174 PyObject
*resultobj
= 0;
20175 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20179 PyObject
*swig_obj
[1] ;
20181 if (!args
) SWIG_fail
;
20182 swig_obj
[0] = args
;
20183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20184 if (!SWIG_IsOK(res1
)) {
20185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_MiddleDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20187 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20190 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
20191 wxPyEndAllowThreads(__tstate
);
20192 if (PyErr_Occurred()) SWIG_fail
;
20195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20203 SWIGINTERN PyObject
*_wrap_MouseEvent_RightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20204 PyObject
*resultobj
= 0;
20205 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20209 PyObject
*swig_obj
[1] ;
20211 if (!args
) SWIG_fail
;
20212 swig_obj
[0] = args
;
20213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20214 if (!SWIG_IsOK(res1
)) {
20215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_RightDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20217 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20220 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
20221 wxPyEndAllowThreads(__tstate
);
20222 if (PyErr_Occurred()) SWIG_fail
;
20225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20233 SWIGINTERN PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20234 PyObject
*resultobj
= 0;
20235 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20239 PyObject
*swig_obj
[1] ;
20241 if (!args
) SWIG_fail
;
20242 swig_obj
[0] = args
;
20243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20244 if (!SWIG_IsOK(res1
)) {
20245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_LeftUp" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20247 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20250 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
20251 wxPyEndAllowThreads(__tstate
);
20252 if (PyErr_Occurred()) SWIG_fail
;
20255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20263 SWIGINTERN PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20264 PyObject
*resultobj
= 0;
20265 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20269 PyObject
*swig_obj
[1] ;
20271 if (!args
) SWIG_fail
;
20272 swig_obj
[0] = args
;
20273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20274 if (!SWIG_IsOK(res1
)) {
20275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_MiddleUp" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20277 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20280 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
20281 wxPyEndAllowThreads(__tstate
);
20282 if (PyErr_Occurred()) SWIG_fail
;
20285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20293 SWIGINTERN PyObject
*_wrap_MouseEvent_RightUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20294 PyObject
*resultobj
= 0;
20295 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20299 PyObject
*swig_obj
[1] ;
20301 if (!args
) SWIG_fail
;
20302 swig_obj
[0] = args
;
20303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20304 if (!SWIG_IsOK(res1
)) {
20305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_RightUp" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20307 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20310 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
20311 wxPyEndAllowThreads(__tstate
);
20312 if (PyErr_Occurred()) SWIG_fail
;
20315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20323 SWIGINTERN PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20324 PyObject
*resultobj
= 0;
20325 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20329 PyObject
*swig_obj
[1] ;
20331 if (!args
) SWIG_fail
;
20332 swig_obj
[0] = args
;
20333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20334 if (!SWIG_IsOK(res1
)) {
20335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_LeftDClick" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20337 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20340 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
20341 wxPyEndAllowThreads(__tstate
);
20342 if (PyErr_Occurred()) SWIG_fail
;
20345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20353 SWIGINTERN PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20354 PyObject
*resultobj
= 0;
20355 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20359 PyObject
*swig_obj
[1] ;
20361 if (!args
) SWIG_fail
;
20362 swig_obj
[0] = args
;
20363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20364 if (!SWIG_IsOK(res1
)) {
20365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_MiddleDClick" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20367 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20370 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
20371 wxPyEndAllowThreads(__tstate
);
20372 if (PyErr_Occurred()) SWIG_fail
;
20375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20383 SWIGINTERN PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20384 PyObject
*resultobj
= 0;
20385 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20389 PyObject
*swig_obj
[1] ;
20391 if (!args
) SWIG_fail
;
20392 swig_obj
[0] = args
;
20393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20394 if (!SWIG_IsOK(res1
)) {
20395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_RightDClick" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20397 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20400 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
20401 wxPyEndAllowThreads(__tstate
);
20402 if (PyErr_Occurred()) SWIG_fail
;
20405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20413 SWIGINTERN PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20414 PyObject
*resultobj
= 0;
20415 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20419 PyObject
*swig_obj
[1] ;
20421 if (!args
) SWIG_fail
;
20422 swig_obj
[0] = args
;
20423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20424 if (!SWIG_IsOK(res1
)) {
20425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_LeftIsDown" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
20427 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20430 result
= (bool)(arg1
)->LeftIsDown();
20431 wxPyEndAllowThreads(__tstate
);
20432 if (PyErr_Occurred()) SWIG_fail
;
20435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20443 SWIGINTERN PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20444 PyObject
*resultobj
= 0;
20445 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20449 PyObject
*swig_obj
[1] ;
20451 if (!args
) SWIG_fail
;
20452 swig_obj
[0] = args
;
20453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20454 if (!SWIG_IsOK(res1
)) {
20455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_MiddleIsDown" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
20457 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20460 result
= (bool)(arg1
)->MiddleIsDown();
20461 wxPyEndAllowThreads(__tstate
);
20462 if (PyErr_Occurred()) SWIG_fail
;
20465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20473 SWIGINTERN PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20474 PyObject
*resultobj
= 0;
20475 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20479 PyObject
*swig_obj
[1] ;
20481 if (!args
) SWIG_fail
;
20482 swig_obj
[0] = args
;
20483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20484 if (!SWIG_IsOK(res1
)) {
20485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_RightIsDown" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
20487 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20490 result
= (bool)(arg1
)->RightIsDown();
20491 wxPyEndAllowThreads(__tstate
);
20492 if (PyErr_Occurred()) SWIG_fail
;
20495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20503 SWIGINTERN PyObject
*_wrap_MouseEvent_Dragging(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20504 PyObject
*resultobj
= 0;
20505 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20509 PyObject
*swig_obj
[1] ;
20511 if (!args
) SWIG_fail
;
20512 swig_obj
[0] = args
;
20513 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20514 if (!SWIG_IsOK(res1
)) {
20515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_Dragging" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20517 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20520 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
20521 wxPyEndAllowThreads(__tstate
);
20522 if (PyErr_Occurred()) SWIG_fail
;
20525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20533 SWIGINTERN PyObject
*_wrap_MouseEvent_Moving(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20534 PyObject
*resultobj
= 0;
20535 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20539 PyObject
*swig_obj
[1] ;
20541 if (!args
) SWIG_fail
;
20542 swig_obj
[0] = args
;
20543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20544 if (!SWIG_IsOK(res1
)) {
20545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_Moving" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20547 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20550 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
20551 wxPyEndAllowThreads(__tstate
);
20552 if (PyErr_Occurred()) SWIG_fail
;
20555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20563 SWIGINTERN PyObject
*_wrap_MouseEvent_Entering(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20564 PyObject
*resultobj
= 0;
20565 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20569 PyObject
*swig_obj
[1] ;
20571 if (!args
) SWIG_fail
;
20572 swig_obj
[0] = args
;
20573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20574 if (!SWIG_IsOK(res1
)) {
20575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_Entering" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20577 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20580 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
20581 wxPyEndAllowThreads(__tstate
);
20582 if (PyErr_Occurred()) SWIG_fail
;
20585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20593 SWIGINTERN PyObject
*_wrap_MouseEvent_Leaving(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20594 PyObject
*resultobj
= 0;
20595 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20599 PyObject
*swig_obj
[1] ;
20601 if (!args
) SWIG_fail
;
20602 swig_obj
[0] = args
;
20603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20604 if (!SWIG_IsOK(res1
)) {
20605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_Leaving" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20607 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20610 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
20611 wxPyEndAllowThreads(__tstate
);
20612 if (PyErr_Occurred()) SWIG_fail
;
20615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20623 SWIGINTERN PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20624 PyObject
*resultobj
= 0;
20625 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20629 PyObject
*swig_obj
[1] ;
20631 if (!args
) SWIG_fail
;
20632 swig_obj
[0] = args
;
20633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20634 if (!SWIG_IsOK(res1
)) {
20635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetPosition" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
20637 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20640 result
= (arg1
)->GetPosition();
20641 wxPyEndAllowThreads(__tstate
);
20642 if (PyErr_Occurred()) SWIG_fail
;
20644 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
20651 SWIGINTERN PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20652 PyObject
*resultobj
= 0;
20653 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20654 long *arg2
= (long *) 0 ;
20655 long *arg3
= (long *) 0 ;
20659 int res2
= SWIG_TMPOBJ
;
20661 int res3
= SWIG_TMPOBJ
;
20662 PyObject
*swig_obj
[1] ;
20666 if (!args
) SWIG_fail
;
20667 swig_obj
[0] = args
;
20668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20669 if (!SWIG_IsOK(res1
)) {
20670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetPositionTuple" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
20672 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20675 (arg1
)->GetPosition(arg2
,arg3
);
20676 wxPyEndAllowThreads(__tstate
);
20677 if (PyErr_Occurred()) SWIG_fail
;
20679 resultobj
= SWIG_Py_Void();
20680 if (SWIG_IsTmpObj(res2
)) {
20681 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
20683 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20684 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
20686 if (SWIG_IsTmpObj(res3
)) {
20687 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20689 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20690 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20698 SWIGINTERN PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20699 PyObject
*resultobj
= 0;
20700 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20707 PyObject
* obj0
= 0 ;
20708 PyObject
* obj1
= 0 ;
20709 char * kwnames
[] = {
20710 (char *) "self",(char *) "dc", NULL
20713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20715 if (!SWIG_IsOK(res1
)) {
20716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetLogicalPosition" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20718 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20719 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 | 0);
20720 if (!SWIG_IsOK(res2
)) {
20721 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MouseEvent_GetLogicalPosition" "', expected argument " "2"" of type '" "wxDC const &""'");
20724 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MouseEvent_GetLogicalPosition" "', expected argument " "2"" of type '" "wxDC const &""'");
20726 arg2
= reinterpret_cast< wxDC
* >(argp2
);
20728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20729 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
20730 wxPyEndAllowThreads(__tstate
);
20731 if (PyErr_Occurred()) SWIG_fail
;
20733 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
20740 SWIGINTERN PyObject
*_wrap_MouseEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20741 PyObject
*resultobj
= 0;
20742 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20746 PyObject
*swig_obj
[1] ;
20748 if (!args
) SWIG_fail
;
20749 swig_obj
[0] = args
;
20750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20751 if (!SWIG_IsOK(res1
)) {
20752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetX" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20754 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20757 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
20758 wxPyEndAllowThreads(__tstate
);
20759 if (PyErr_Occurred()) SWIG_fail
;
20761 resultobj
= SWIG_From_int(static_cast< int >(result
));
20768 SWIGINTERN PyObject
*_wrap_MouseEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20769 PyObject
*resultobj
= 0;
20770 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20774 PyObject
*swig_obj
[1] ;
20776 if (!args
) SWIG_fail
;
20777 swig_obj
[0] = args
;
20778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20779 if (!SWIG_IsOK(res1
)) {
20780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetY" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20782 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20785 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
20786 wxPyEndAllowThreads(__tstate
);
20787 if (PyErr_Occurred()) SWIG_fail
;
20789 resultobj
= SWIG_From_int(static_cast< int >(result
));
20796 SWIGINTERN PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20797 PyObject
*resultobj
= 0;
20798 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20802 PyObject
*swig_obj
[1] ;
20804 if (!args
) SWIG_fail
;
20805 swig_obj
[0] = args
;
20806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20807 if (!SWIG_IsOK(res1
)) {
20808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetWheelRotation" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20810 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20813 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
20814 wxPyEndAllowThreads(__tstate
);
20815 if (PyErr_Occurred()) SWIG_fail
;
20817 resultobj
= SWIG_From_int(static_cast< int >(result
));
20824 SWIGINTERN PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20825 PyObject
*resultobj
= 0;
20826 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20830 PyObject
*swig_obj
[1] ;
20832 if (!args
) SWIG_fail
;
20833 swig_obj
[0] = args
;
20834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20835 if (!SWIG_IsOK(res1
)) {
20836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetWheelDelta" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20838 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20841 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
20842 wxPyEndAllowThreads(__tstate
);
20843 if (PyErr_Occurred()) SWIG_fail
;
20845 resultobj
= SWIG_From_int(static_cast< int >(result
));
20852 SWIGINTERN PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20853 PyObject
*resultobj
= 0;
20854 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20858 PyObject
*swig_obj
[1] ;
20860 if (!args
) SWIG_fail
;
20861 swig_obj
[0] = args
;
20862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20863 if (!SWIG_IsOK(res1
)) {
20864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetLinesPerAction" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20866 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20869 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
20870 wxPyEndAllowThreads(__tstate
);
20871 if (PyErr_Occurred()) SWIG_fail
;
20873 resultobj
= SWIG_From_int(static_cast< int >(result
));
20880 SWIGINTERN PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20881 PyObject
*resultobj
= 0;
20882 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20886 PyObject
*swig_obj
[1] ;
20888 if (!args
) SWIG_fail
;
20889 swig_obj
[0] = args
;
20890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20891 if (!SWIG_IsOK(res1
)) {
20892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_IsPageScroll" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20894 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20897 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
20898 wxPyEndAllowThreads(__tstate
);
20899 if (PyErr_Occurred()) SWIG_fail
;
20902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20910 SWIGINTERN PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20911 PyObject
*resultobj
= 0;
20912 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20918 PyObject
*swig_obj
[2] ;
20920 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_x_set",2,2,swig_obj
)) SWIG_fail
;
20921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20922 if (!SWIG_IsOK(res1
)) {
20923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_x_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
20925 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20926 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
20927 if (!SWIG_IsOK(ecode2
)) {
20928 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_x_set" "', expected argument " "2"" of type '" "int""'");
20930 arg2
= static_cast< int >(val2
);
20931 if (arg1
) (arg1
)->m_x
= arg2
;
20933 resultobj
= SWIG_Py_Void();
20940 SWIGINTERN PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20941 PyObject
*resultobj
= 0;
20942 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20946 PyObject
*swig_obj
[1] ;
20948 if (!args
) SWIG_fail
;
20949 swig_obj
[0] = args
;
20950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20951 if (!SWIG_IsOK(res1
)) {
20952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_x_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
20954 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20955 result
= (int) ((arg1
)->m_x
);
20956 resultobj
= SWIG_From_int(static_cast< int >(result
));
20963 SWIGINTERN PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20964 PyObject
*resultobj
= 0;
20965 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20971 PyObject
*swig_obj
[2] ;
20973 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_y_set",2,2,swig_obj
)) SWIG_fail
;
20974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20975 if (!SWIG_IsOK(res1
)) {
20976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_y_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
20978 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20979 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
20980 if (!SWIG_IsOK(ecode2
)) {
20981 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_y_set" "', expected argument " "2"" of type '" "int""'");
20983 arg2
= static_cast< int >(val2
);
20984 if (arg1
) (arg1
)->m_y
= arg2
;
20986 resultobj
= SWIG_Py_Void();
20993 SWIGINTERN PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20994 PyObject
*resultobj
= 0;
20995 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20999 PyObject
*swig_obj
[1] ;
21001 if (!args
) SWIG_fail
;
21002 swig_obj
[0] = args
;
21003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21004 if (!SWIG_IsOK(res1
)) {
21005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_y_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21007 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21008 result
= (int) ((arg1
)->m_y
);
21009 resultobj
= SWIG_From_int(static_cast< int >(result
));
21016 SWIGINTERN PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21017 PyObject
*resultobj
= 0;
21018 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21024 PyObject
*swig_obj
[2] ;
21026 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_leftDown_set",2,2,swig_obj
)) SWIG_fail
;
21027 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21028 if (!SWIG_IsOK(res1
)) {
21029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_leftDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21031 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21032 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
21033 if (!SWIG_IsOK(ecode2
)) {
21034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_leftDown_set" "', expected argument " "2"" of type '" "bool""'");
21036 arg2
= static_cast< bool >(val2
);
21037 if (arg1
) (arg1
)->m_leftDown
= arg2
;
21039 resultobj
= SWIG_Py_Void();
21046 SWIGINTERN PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21047 PyObject
*resultobj
= 0;
21048 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21052 PyObject
*swig_obj
[1] ;
21054 if (!args
) SWIG_fail
;
21055 swig_obj
[0] = args
;
21056 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21057 if (!SWIG_IsOK(res1
)) {
21058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_leftDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21060 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21061 result
= (bool) ((arg1
)->m_leftDown
);
21063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21071 SWIGINTERN PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21072 PyObject
*resultobj
= 0;
21073 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21079 PyObject
*swig_obj
[2] ;
21081 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_middleDown_set",2,2,swig_obj
)) SWIG_fail
;
21082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21083 if (!SWIG_IsOK(res1
)) {
21084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_middleDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21086 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21087 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
21088 if (!SWIG_IsOK(ecode2
)) {
21089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_middleDown_set" "', expected argument " "2"" of type '" "bool""'");
21091 arg2
= static_cast< bool >(val2
);
21092 if (arg1
) (arg1
)->m_middleDown
= arg2
;
21094 resultobj
= SWIG_Py_Void();
21101 SWIGINTERN PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21102 PyObject
*resultobj
= 0;
21103 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21107 PyObject
*swig_obj
[1] ;
21109 if (!args
) SWIG_fail
;
21110 swig_obj
[0] = args
;
21111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21112 if (!SWIG_IsOK(res1
)) {
21113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_middleDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21115 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21116 result
= (bool) ((arg1
)->m_middleDown
);
21118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21126 SWIGINTERN PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21127 PyObject
*resultobj
= 0;
21128 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21134 PyObject
*swig_obj
[2] ;
21136 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_rightDown_set",2,2,swig_obj
)) SWIG_fail
;
21137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21138 if (!SWIG_IsOK(res1
)) {
21139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_rightDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21141 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21142 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
21143 if (!SWIG_IsOK(ecode2
)) {
21144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_rightDown_set" "', expected argument " "2"" of type '" "bool""'");
21146 arg2
= static_cast< bool >(val2
);
21147 if (arg1
) (arg1
)->m_rightDown
= arg2
;
21149 resultobj
= SWIG_Py_Void();
21156 SWIGINTERN PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21157 PyObject
*resultobj
= 0;
21158 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21162 PyObject
*swig_obj
[1] ;
21164 if (!args
) SWIG_fail
;
21165 swig_obj
[0] = args
;
21166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21167 if (!SWIG_IsOK(res1
)) {
21168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_rightDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21170 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21171 result
= (bool) ((arg1
)->m_rightDown
);
21173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21181 SWIGINTERN PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21182 PyObject
*resultobj
= 0;
21183 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21189 PyObject
*swig_obj
[2] ;
21191 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_controlDown_set",2,2,swig_obj
)) SWIG_fail
;
21192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21193 if (!SWIG_IsOK(res1
)) {
21194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_controlDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21196 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21197 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
21198 if (!SWIG_IsOK(ecode2
)) {
21199 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_controlDown_set" "', expected argument " "2"" of type '" "bool""'");
21201 arg2
= static_cast< bool >(val2
);
21202 if (arg1
) (arg1
)->m_controlDown
= arg2
;
21204 resultobj
= SWIG_Py_Void();
21211 SWIGINTERN PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21212 PyObject
*resultobj
= 0;
21213 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21217 PyObject
*swig_obj
[1] ;
21219 if (!args
) SWIG_fail
;
21220 swig_obj
[0] = args
;
21221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21222 if (!SWIG_IsOK(res1
)) {
21223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_controlDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21225 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21226 result
= (bool) ((arg1
)->m_controlDown
);
21228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21236 SWIGINTERN PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21237 PyObject
*resultobj
= 0;
21238 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21244 PyObject
*swig_obj
[2] ;
21246 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_shiftDown_set",2,2,swig_obj
)) SWIG_fail
;
21247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21248 if (!SWIG_IsOK(res1
)) {
21249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_shiftDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21251 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21252 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
21253 if (!SWIG_IsOK(ecode2
)) {
21254 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_shiftDown_set" "', expected argument " "2"" of type '" "bool""'");
21256 arg2
= static_cast< bool >(val2
);
21257 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
21259 resultobj
= SWIG_Py_Void();
21266 SWIGINTERN PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21267 PyObject
*resultobj
= 0;
21268 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21272 PyObject
*swig_obj
[1] ;
21274 if (!args
) SWIG_fail
;
21275 swig_obj
[0] = args
;
21276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21277 if (!SWIG_IsOK(res1
)) {
21278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_shiftDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21280 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21281 result
= (bool) ((arg1
)->m_shiftDown
);
21283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21291 SWIGINTERN PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21292 PyObject
*resultobj
= 0;
21293 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21299 PyObject
*swig_obj
[2] ;
21301 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_altDown_set",2,2,swig_obj
)) SWIG_fail
;
21302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21303 if (!SWIG_IsOK(res1
)) {
21304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_altDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21306 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21307 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
21308 if (!SWIG_IsOK(ecode2
)) {
21309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_altDown_set" "', expected argument " "2"" of type '" "bool""'");
21311 arg2
= static_cast< bool >(val2
);
21312 if (arg1
) (arg1
)->m_altDown
= arg2
;
21314 resultobj
= SWIG_Py_Void();
21321 SWIGINTERN PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21322 PyObject
*resultobj
= 0;
21323 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21327 PyObject
*swig_obj
[1] ;
21329 if (!args
) SWIG_fail
;
21330 swig_obj
[0] = args
;
21331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21332 if (!SWIG_IsOK(res1
)) {
21333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_altDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21335 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21336 result
= (bool) ((arg1
)->m_altDown
);
21338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21346 SWIGINTERN PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21347 PyObject
*resultobj
= 0;
21348 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21354 PyObject
*swig_obj
[2] ;
21356 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_metaDown_set",2,2,swig_obj
)) SWIG_fail
;
21357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21358 if (!SWIG_IsOK(res1
)) {
21359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_metaDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21361 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21362 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
21363 if (!SWIG_IsOK(ecode2
)) {
21364 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_metaDown_set" "', expected argument " "2"" of type '" "bool""'");
21366 arg2
= static_cast< bool >(val2
);
21367 if (arg1
) (arg1
)->m_metaDown
= arg2
;
21369 resultobj
= SWIG_Py_Void();
21376 SWIGINTERN PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21377 PyObject
*resultobj
= 0;
21378 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21382 PyObject
*swig_obj
[1] ;
21384 if (!args
) SWIG_fail
;
21385 swig_obj
[0] = args
;
21386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21387 if (!SWIG_IsOK(res1
)) {
21388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_metaDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21390 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21391 result
= (bool) ((arg1
)->m_metaDown
);
21393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21401 SWIGINTERN PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21402 PyObject
*resultobj
= 0;
21403 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21409 PyObject
*swig_obj
[2] ;
21411 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_wheelRotation_set",2,2,swig_obj
)) SWIG_fail
;
21412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21413 if (!SWIG_IsOK(res1
)) {
21414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_wheelRotation_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21416 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21417 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
21418 if (!SWIG_IsOK(ecode2
)) {
21419 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_wheelRotation_set" "', expected argument " "2"" of type '" "int""'");
21421 arg2
= static_cast< int >(val2
);
21422 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
21424 resultobj
= SWIG_Py_Void();
21431 SWIGINTERN PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21432 PyObject
*resultobj
= 0;
21433 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21437 PyObject
*swig_obj
[1] ;
21439 if (!args
) SWIG_fail
;
21440 swig_obj
[0] = args
;
21441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21442 if (!SWIG_IsOK(res1
)) {
21443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_wheelRotation_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21445 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21446 result
= (int) ((arg1
)->m_wheelRotation
);
21447 resultobj
= SWIG_From_int(static_cast< int >(result
));
21454 SWIGINTERN PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21455 PyObject
*resultobj
= 0;
21456 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21462 PyObject
*swig_obj
[2] ;
21464 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_wheelDelta_set",2,2,swig_obj
)) SWIG_fail
;
21465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21466 if (!SWIG_IsOK(res1
)) {
21467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_wheelDelta_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21469 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21470 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
21471 if (!SWIG_IsOK(ecode2
)) {
21472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_wheelDelta_set" "', expected argument " "2"" of type '" "int""'");
21474 arg2
= static_cast< int >(val2
);
21475 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
21477 resultobj
= SWIG_Py_Void();
21484 SWIGINTERN PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21485 PyObject
*resultobj
= 0;
21486 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21490 PyObject
*swig_obj
[1] ;
21492 if (!args
) SWIG_fail
;
21493 swig_obj
[0] = args
;
21494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21495 if (!SWIG_IsOK(res1
)) {
21496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_wheelDelta_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21498 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21499 result
= (int) ((arg1
)->m_wheelDelta
);
21500 resultobj
= SWIG_From_int(static_cast< int >(result
));
21507 SWIGINTERN PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21508 PyObject
*resultobj
= 0;
21509 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21515 PyObject
*swig_obj
[2] ;
21517 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_linesPerAction_set",2,2,swig_obj
)) SWIG_fail
;
21518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21519 if (!SWIG_IsOK(res1
)) {
21520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_linesPerAction_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21522 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21523 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
21524 if (!SWIG_IsOK(ecode2
)) {
21525 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_linesPerAction_set" "', expected argument " "2"" of type '" "int""'");
21527 arg2
= static_cast< int >(val2
);
21528 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
21530 resultobj
= SWIG_Py_Void();
21537 SWIGINTERN PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21538 PyObject
*resultobj
= 0;
21539 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21543 PyObject
*swig_obj
[1] ;
21545 if (!args
) SWIG_fail
;
21546 swig_obj
[0] = args
;
21547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21548 if (!SWIG_IsOK(res1
)) {
21549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_linesPerAction_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21551 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21552 result
= (int) ((arg1
)->m_linesPerAction
);
21553 resultobj
= SWIG_From_int(static_cast< int >(result
));
21560 SWIGINTERN PyObject
*MouseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21562 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21563 SWIG_TypeNewClientData(SWIGTYPE_p_wxMouseEvent
, SWIG_NewClientData(obj
));
21564 return SWIG_Py_Void();
21567 SWIGINTERN PyObject
*MouseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21568 return SWIG_Python_InitShadowInstance(args
);
21571 SWIGINTERN PyObject
*_wrap_new_SetCursorEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21572 PyObject
*resultobj
= 0;
21573 int arg1
= (int) 0 ;
21574 int arg2
= (int) 0 ;
21575 wxSetCursorEvent
*result
= 0 ;
21580 PyObject
* obj0
= 0 ;
21581 PyObject
* obj1
= 0 ;
21582 char * kwnames
[] = {
21583 (char *) "x",(char *) "y", NULL
21586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21588 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21589 if (!SWIG_IsOK(ecode1
)) {
21590 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SetCursorEvent" "', expected argument " "1"" of type '" "int""'");
21592 arg1
= static_cast< int >(val1
);
21595 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21596 if (!SWIG_IsOK(ecode2
)) {
21597 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SetCursorEvent" "', expected argument " "2"" of type '" "int""'");
21599 arg2
= static_cast< int >(val2
);
21602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21603 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
21604 wxPyEndAllowThreads(__tstate
);
21605 if (PyErr_Occurred()) SWIG_fail
;
21607 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_NEW
| 0 );
21614 SWIGINTERN PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21615 PyObject
*resultobj
= 0;
21616 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
21620 PyObject
*swig_obj
[1] ;
21622 if (!args
) SWIG_fail
;
21623 swig_obj
[0] = args
;
21624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSetCursorEvent
, 0 | 0 );
21625 if (!SWIG_IsOK(res1
)) {
21626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursorEvent_GetX" "', expected argument " "1"" of type '" "wxSetCursorEvent const *""'");
21628 arg1
= reinterpret_cast< wxSetCursorEvent
* >(argp1
);
21630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21631 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
21632 wxPyEndAllowThreads(__tstate
);
21633 if (PyErr_Occurred()) SWIG_fail
;
21635 resultobj
= SWIG_From_int(static_cast< int >(result
));
21642 SWIGINTERN PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21643 PyObject
*resultobj
= 0;
21644 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
21648 PyObject
*swig_obj
[1] ;
21650 if (!args
) SWIG_fail
;
21651 swig_obj
[0] = args
;
21652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSetCursorEvent
, 0 | 0 );
21653 if (!SWIG_IsOK(res1
)) {
21654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursorEvent_GetY" "', expected argument " "1"" of type '" "wxSetCursorEvent const *""'");
21656 arg1
= reinterpret_cast< wxSetCursorEvent
* >(argp1
);
21658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21659 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
21660 wxPyEndAllowThreads(__tstate
);
21661 if (PyErr_Occurred()) SWIG_fail
;
21663 resultobj
= SWIG_From_int(static_cast< int >(result
));
21670 SWIGINTERN PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21671 PyObject
*resultobj
= 0;
21672 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
21673 wxCursor
*arg2
= 0 ;
21678 PyObject
* obj0
= 0 ;
21679 PyObject
* obj1
= 0 ;
21680 char * kwnames
[] = {
21681 (char *) "self",(char *) "cursor", NULL
21684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSetCursorEvent
, 0 | 0 );
21686 if (!SWIG_IsOK(res1
)) {
21687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursorEvent_SetCursor" "', expected argument " "1"" of type '" "wxSetCursorEvent *""'");
21689 arg1
= reinterpret_cast< wxSetCursorEvent
* >(argp1
);
21690 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
21691 if (!SWIG_IsOK(res2
)) {
21692 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SetCursorEvent_SetCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
21695 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SetCursorEvent_SetCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
21697 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
21699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21700 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
21701 wxPyEndAllowThreads(__tstate
);
21702 if (PyErr_Occurred()) SWIG_fail
;
21704 resultobj
= SWIG_Py_Void();
21711 SWIGINTERN PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21712 PyObject
*resultobj
= 0;
21713 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
21714 wxCursor
*result
= 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_wxSetCursorEvent
, 0 | 0 );
21722 if (!SWIG_IsOK(res1
)) {
21723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursorEvent_GetCursor" "', expected argument " "1"" of type '" "wxSetCursorEvent const *""'");
21725 arg1
= reinterpret_cast< wxSetCursorEvent
* >(argp1
);
21727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21729 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
21730 result
= (wxCursor
*) &_result_ref
;
21732 wxPyEndAllowThreads(__tstate
);
21733 if (PyErr_Occurred()) SWIG_fail
;
21736 wxCursor
* resultptr
= new wxCursor(*result
);
21737 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
21745 SWIGINTERN PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21746 PyObject
*resultobj
= 0;
21747 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
21751 PyObject
*swig_obj
[1] ;
21753 if (!args
) SWIG_fail
;
21754 swig_obj
[0] = args
;
21755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSetCursorEvent
, 0 | 0 );
21756 if (!SWIG_IsOK(res1
)) {
21757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursorEvent_HasCursor" "', expected argument " "1"" of type '" "wxSetCursorEvent const *""'");
21759 arg1
= reinterpret_cast< wxSetCursorEvent
* >(argp1
);
21761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21762 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
21763 wxPyEndAllowThreads(__tstate
);
21764 if (PyErr_Occurred()) SWIG_fail
;
21767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21775 SWIGINTERN PyObject
*SetCursorEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21777 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21778 SWIG_TypeNewClientData(SWIGTYPE_p_wxSetCursorEvent
, SWIG_NewClientData(obj
));
21779 return SWIG_Py_Void();
21782 SWIGINTERN PyObject
*SetCursorEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21783 return SWIG_Python_InitShadowInstance(args
);
21786 SWIGINTERN PyObject
*_wrap_new_KeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21787 PyObject
*resultobj
= 0;
21788 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21789 wxKeyEvent
*result
= 0 ;
21792 PyObject
* obj0
= 0 ;
21793 char * kwnames
[] = {
21794 (char *) "eventType", NULL
21797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) SWIG_fail
;
21799 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21800 if (!SWIG_IsOK(ecode1
)) {
21801 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_KeyEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21803 arg1
= static_cast< wxEventType
>(val1
);
21806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21807 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
21808 wxPyEndAllowThreads(__tstate
);
21809 if (PyErr_Occurred()) SWIG_fail
;
21811 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_NEW
| 0 );
21818 SWIGINTERN PyObject
*_wrap_KeyEvent_GetModifiers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21819 PyObject
*resultobj
= 0;
21820 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
21824 PyObject
*swig_obj
[1] ;
21826 if (!args
) SWIG_fail
;
21827 swig_obj
[0] = args
;
21828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
21829 if (!SWIG_IsOK(res1
)) {
21830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetModifiers" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
21832 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
21834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21835 result
= (int)((wxKeyEvent
const *)arg1
)->GetModifiers();
21836 wxPyEndAllowThreads(__tstate
);
21837 if (PyErr_Occurred()) SWIG_fail
;
21839 resultobj
= SWIG_From_int(static_cast< int >(result
));
21846 SWIGINTERN PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21847 PyObject
*resultobj
= 0;
21848 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
21852 PyObject
*swig_obj
[1] ;
21854 if (!args
) SWIG_fail
;
21855 swig_obj
[0] = args
;
21856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
21857 if (!SWIG_IsOK(res1
)) {
21858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_ControlDown" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
21860 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
21862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21863 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
21864 wxPyEndAllowThreads(__tstate
);
21865 if (PyErr_Occurred()) SWIG_fail
;
21868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21876 SWIGINTERN PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21877 PyObject
*resultobj
= 0;
21878 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
21882 PyObject
*swig_obj
[1] ;
21884 if (!args
) SWIG_fail
;
21885 swig_obj
[0] = args
;
21886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
21887 if (!SWIG_IsOK(res1
)) {
21888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_MetaDown" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
21890 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
21892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21893 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
21894 wxPyEndAllowThreads(__tstate
);
21895 if (PyErr_Occurred()) SWIG_fail
;
21898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21906 SWIGINTERN PyObject
*_wrap_KeyEvent_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21907 PyObject
*resultobj
= 0;
21908 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
21912 PyObject
*swig_obj
[1] ;
21914 if (!args
) SWIG_fail
;
21915 swig_obj
[0] = args
;
21916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
21917 if (!SWIG_IsOK(res1
)) {
21918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_AltDown" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
21920 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
21922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21923 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
21924 wxPyEndAllowThreads(__tstate
);
21925 if (PyErr_Occurred()) SWIG_fail
;
21928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21936 SWIGINTERN PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21937 PyObject
*resultobj
= 0;
21938 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
21942 PyObject
*swig_obj
[1] ;
21944 if (!args
) SWIG_fail
;
21945 swig_obj
[0] = args
;
21946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
21947 if (!SWIG_IsOK(res1
)) {
21948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_ShiftDown" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
21950 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
21952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21953 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
21954 wxPyEndAllowThreads(__tstate
);
21955 if (PyErr_Occurred()) SWIG_fail
;
21958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21966 SWIGINTERN PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21967 PyObject
*resultobj
= 0;
21968 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
21972 PyObject
*swig_obj
[1] ;
21974 if (!args
) SWIG_fail
;
21975 swig_obj
[0] = args
;
21976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
21977 if (!SWIG_IsOK(res1
)) {
21978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_CmdDown" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
21980 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
21982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21983 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
21984 wxPyEndAllowThreads(__tstate
);
21985 if (PyErr_Occurred()) SWIG_fail
;
21988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21996 SWIGINTERN PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21997 PyObject
*resultobj
= 0;
21998 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22002 PyObject
*swig_obj
[1] ;
22004 if (!args
) SWIG_fail
;
22005 swig_obj
[0] = args
;
22006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22007 if (!SWIG_IsOK(res1
)) {
22008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_HasModifiers" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22010 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22013 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
22014 wxPyEndAllowThreads(__tstate
);
22015 if (PyErr_Occurred()) SWIG_fail
;
22018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22026 SWIGINTERN PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22027 PyObject
*resultobj
= 0;
22028 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22032 PyObject
*swig_obj
[1] ;
22034 if (!args
) SWIG_fail
;
22035 swig_obj
[0] = args
;
22036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22037 if (!SWIG_IsOK(res1
)) {
22038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22040 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22043 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
22044 wxPyEndAllowThreads(__tstate
);
22045 if (PyErr_Occurred()) SWIG_fail
;
22047 resultobj
= SWIG_From_int(static_cast< int >(result
));
22054 SWIGINTERN PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22055 PyObject
*resultobj
= 0;
22056 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22060 PyObject
*swig_obj
[1] ;
22062 if (!args
) SWIG_fail
;
22063 swig_obj
[0] = args
;
22064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22065 if (!SWIG_IsOK(res1
)) {
22066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetUnicodeKey" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22068 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22071 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
22072 wxPyEndAllowThreads(__tstate
);
22073 if (PyErr_Occurred()) SWIG_fail
;
22075 resultobj
= SWIG_From_int(static_cast< int >(result
));
22082 SWIGINTERN PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22083 PyObject
*resultobj
= 0;
22084 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22085 unsigned int result
;
22088 PyObject
*swig_obj
[1] ;
22090 if (!args
) SWIG_fail
;
22091 swig_obj
[0] = args
;
22092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22093 if (!SWIG_IsOK(res1
)) {
22094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetRawKeyCode" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22096 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22099 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
22100 wxPyEndAllowThreads(__tstate
);
22101 if (PyErr_Occurred()) SWIG_fail
;
22103 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
22110 SWIGINTERN PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22111 PyObject
*resultobj
= 0;
22112 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22113 unsigned int result
;
22116 PyObject
*swig_obj
[1] ;
22118 if (!args
) SWIG_fail
;
22119 swig_obj
[0] = args
;
22120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22121 if (!SWIG_IsOK(res1
)) {
22122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetRawKeyFlags" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22124 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22127 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
22128 wxPyEndAllowThreads(__tstate
);
22129 if (PyErr_Occurred()) SWIG_fail
;
22131 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
22138 SWIGINTERN PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22139 PyObject
*resultobj
= 0;
22140 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22144 PyObject
*swig_obj
[1] ;
22146 if (!args
) SWIG_fail
;
22147 swig_obj
[0] = args
;
22148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22149 if (!SWIG_IsOK(res1
)) {
22150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetPosition" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22152 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22155 result
= (arg1
)->GetPosition();
22156 wxPyEndAllowThreads(__tstate
);
22157 if (PyErr_Occurred()) SWIG_fail
;
22159 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22166 SWIGINTERN PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22167 PyObject
*resultobj
= 0;
22168 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22169 long *arg2
= (long *) 0 ;
22170 long *arg3
= (long *) 0 ;
22174 int res2
= SWIG_TMPOBJ
;
22176 int res3
= SWIG_TMPOBJ
;
22177 PyObject
*swig_obj
[1] ;
22181 if (!args
) SWIG_fail
;
22182 swig_obj
[0] = args
;
22183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22184 if (!SWIG_IsOK(res1
)) {
22185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetPositionTuple" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22187 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22190 (arg1
)->GetPosition(arg2
,arg3
);
22191 wxPyEndAllowThreads(__tstate
);
22192 if (PyErr_Occurred()) SWIG_fail
;
22194 resultobj
= SWIG_Py_Void();
22195 if (SWIG_IsTmpObj(res2
)) {
22196 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
22198 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22199 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
22201 if (SWIG_IsTmpObj(res3
)) {
22202 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
22204 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22205 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
22213 SWIGINTERN PyObject
*_wrap_KeyEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22214 PyObject
*resultobj
= 0;
22215 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22219 PyObject
*swig_obj
[1] ;
22221 if (!args
) SWIG_fail
;
22222 swig_obj
[0] = args
;
22223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22224 if (!SWIG_IsOK(res1
)) {
22225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetX" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22227 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22230 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
22231 wxPyEndAllowThreads(__tstate
);
22232 if (PyErr_Occurred()) SWIG_fail
;
22234 resultobj
= SWIG_From_int(static_cast< int >(result
));
22241 SWIGINTERN PyObject
*_wrap_KeyEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22242 PyObject
*resultobj
= 0;
22243 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22247 PyObject
*swig_obj
[1] ;
22249 if (!args
) SWIG_fail
;
22250 swig_obj
[0] = args
;
22251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22252 if (!SWIG_IsOK(res1
)) {
22253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetY" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22255 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22258 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
22259 wxPyEndAllowThreads(__tstate
);
22260 if (PyErr_Occurred()) SWIG_fail
;
22262 resultobj
= SWIG_From_int(static_cast< int >(result
));
22269 SWIGINTERN PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22270 PyObject
*resultobj
= 0;
22271 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22277 PyObject
*swig_obj
[2] ;
22279 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_x_set",2,2,swig_obj
)) SWIG_fail
;
22280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22281 if (!SWIG_IsOK(res1
)) {
22282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_x_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22284 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22285 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
22286 if (!SWIG_IsOK(ecode2
)) {
22287 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_x_set" "', expected argument " "2"" of type '" "int""'");
22289 arg2
= static_cast< int >(val2
);
22290 if (arg1
) (arg1
)->m_x
= arg2
;
22292 resultobj
= SWIG_Py_Void();
22299 SWIGINTERN PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22300 PyObject
*resultobj
= 0;
22301 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22305 PyObject
*swig_obj
[1] ;
22307 if (!args
) SWIG_fail
;
22308 swig_obj
[0] = args
;
22309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22310 if (!SWIG_IsOK(res1
)) {
22311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_x_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22313 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22314 result
= (int) ((arg1
)->m_x
);
22315 resultobj
= SWIG_From_int(static_cast< int >(result
));
22322 SWIGINTERN PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22323 PyObject
*resultobj
= 0;
22324 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22330 PyObject
*swig_obj
[2] ;
22332 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_y_set",2,2,swig_obj
)) SWIG_fail
;
22333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22334 if (!SWIG_IsOK(res1
)) {
22335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_y_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22337 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22338 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
22339 if (!SWIG_IsOK(ecode2
)) {
22340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_y_set" "', expected argument " "2"" of type '" "int""'");
22342 arg2
= static_cast< int >(val2
);
22343 if (arg1
) (arg1
)->m_y
= arg2
;
22345 resultobj
= SWIG_Py_Void();
22352 SWIGINTERN PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22353 PyObject
*resultobj
= 0;
22354 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22358 PyObject
*swig_obj
[1] ;
22360 if (!args
) SWIG_fail
;
22361 swig_obj
[0] = args
;
22362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22363 if (!SWIG_IsOK(res1
)) {
22364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_y_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22366 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22367 result
= (int) ((arg1
)->m_y
);
22368 resultobj
= SWIG_From_int(static_cast< int >(result
));
22375 SWIGINTERN PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22376 PyObject
*resultobj
= 0;
22377 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22383 PyObject
*swig_obj
[2] ;
22385 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_keyCode_set",2,2,swig_obj
)) SWIG_fail
;
22386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22387 if (!SWIG_IsOK(res1
)) {
22388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_keyCode_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22390 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22391 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
22392 if (!SWIG_IsOK(ecode2
)) {
22393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_keyCode_set" "', expected argument " "2"" of type '" "long""'");
22395 arg2
= static_cast< long >(val2
);
22396 if (arg1
) (arg1
)->m_keyCode
= arg2
;
22398 resultobj
= SWIG_Py_Void();
22405 SWIGINTERN PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22406 PyObject
*resultobj
= 0;
22407 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22411 PyObject
*swig_obj
[1] ;
22413 if (!args
) SWIG_fail
;
22414 swig_obj
[0] = args
;
22415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22416 if (!SWIG_IsOK(res1
)) {
22417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_keyCode_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22419 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22420 result
= (long) ((arg1
)->m_keyCode
);
22421 resultobj
= SWIG_From_long(static_cast< long >(result
));
22428 SWIGINTERN PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22429 PyObject
*resultobj
= 0;
22430 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22436 PyObject
*swig_obj
[2] ;
22438 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_controlDown_set",2,2,swig_obj
)) SWIG_fail
;
22439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22440 if (!SWIG_IsOK(res1
)) {
22441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_controlDown_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22443 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22444 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
22445 if (!SWIG_IsOK(ecode2
)) {
22446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_controlDown_set" "', expected argument " "2"" of type '" "bool""'");
22448 arg2
= static_cast< bool >(val2
);
22449 if (arg1
) (arg1
)->m_controlDown
= arg2
;
22451 resultobj
= SWIG_Py_Void();
22458 SWIGINTERN PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22459 PyObject
*resultobj
= 0;
22460 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22464 PyObject
*swig_obj
[1] ;
22466 if (!args
) SWIG_fail
;
22467 swig_obj
[0] = args
;
22468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22469 if (!SWIG_IsOK(res1
)) {
22470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_controlDown_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22472 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22473 result
= (bool) ((arg1
)->m_controlDown
);
22475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22483 SWIGINTERN PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22484 PyObject
*resultobj
= 0;
22485 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22491 PyObject
*swig_obj
[2] ;
22493 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_shiftDown_set",2,2,swig_obj
)) SWIG_fail
;
22494 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22495 if (!SWIG_IsOK(res1
)) {
22496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_shiftDown_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22498 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22499 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
22500 if (!SWIG_IsOK(ecode2
)) {
22501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_shiftDown_set" "', expected argument " "2"" of type '" "bool""'");
22503 arg2
= static_cast< bool >(val2
);
22504 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
22506 resultobj
= SWIG_Py_Void();
22513 SWIGINTERN PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22514 PyObject
*resultobj
= 0;
22515 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22519 PyObject
*swig_obj
[1] ;
22521 if (!args
) SWIG_fail
;
22522 swig_obj
[0] = args
;
22523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22524 if (!SWIG_IsOK(res1
)) {
22525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_shiftDown_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22527 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22528 result
= (bool) ((arg1
)->m_shiftDown
);
22530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22538 SWIGINTERN PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22539 PyObject
*resultobj
= 0;
22540 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22546 PyObject
*swig_obj
[2] ;
22548 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_altDown_set",2,2,swig_obj
)) SWIG_fail
;
22549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22550 if (!SWIG_IsOK(res1
)) {
22551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_altDown_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22553 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22554 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
22555 if (!SWIG_IsOK(ecode2
)) {
22556 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_altDown_set" "', expected argument " "2"" of type '" "bool""'");
22558 arg2
= static_cast< bool >(val2
);
22559 if (arg1
) (arg1
)->m_altDown
= arg2
;
22561 resultobj
= SWIG_Py_Void();
22568 SWIGINTERN PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22569 PyObject
*resultobj
= 0;
22570 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22574 PyObject
*swig_obj
[1] ;
22576 if (!args
) SWIG_fail
;
22577 swig_obj
[0] = args
;
22578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22579 if (!SWIG_IsOK(res1
)) {
22580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_altDown_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22582 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22583 result
= (bool) ((arg1
)->m_altDown
);
22585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22593 SWIGINTERN PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22594 PyObject
*resultobj
= 0;
22595 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22601 PyObject
*swig_obj
[2] ;
22603 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_metaDown_set",2,2,swig_obj
)) SWIG_fail
;
22604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22605 if (!SWIG_IsOK(res1
)) {
22606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_metaDown_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22608 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22609 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
22610 if (!SWIG_IsOK(ecode2
)) {
22611 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_metaDown_set" "', expected argument " "2"" of type '" "bool""'");
22613 arg2
= static_cast< bool >(val2
);
22614 if (arg1
) (arg1
)->m_metaDown
= arg2
;
22616 resultobj
= SWIG_Py_Void();
22623 SWIGINTERN PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22624 PyObject
*resultobj
= 0;
22625 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22629 PyObject
*swig_obj
[1] ;
22631 if (!args
) SWIG_fail
;
22632 swig_obj
[0] = args
;
22633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22634 if (!SWIG_IsOK(res1
)) {
22635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_metaDown_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22637 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22638 result
= (bool) ((arg1
)->m_metaDown
);
22640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22648 SWIGINTERN PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22649 PyObject
*resultobj
= 0;
22650 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22656 PyObject
*swig_obj
[2] ;
22658 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_scanCode_set",2,2,swig_obj
)) SWIG_fail
;
22659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22660 if (!SWIG_IsOK(res1
)) {
22661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_scanCode_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22663 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22664 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
22665 if (!SWIG_IsOK(ecode2
)) {
22666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_scanCode_set" "', expected argument " "2"" of type '" "bool""'");
22668 arg2
= static_cast< bool >(val2
);
22669 if (arg1
) (arg1
)->m_scanCode
= arg2
;
22671 resultobj
= SWIG_Py_Void();
22678 SWIGINTERN PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22679 PyObject
*resultobj
= 0;
22680 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22684 PyObject
*swig_obj
[1] ;
22686 if (!args
) SWIG_fail
;
22687 swig_obj
[0] = args
;
22688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22689 if (!SWIG_IsOK(res1
)) {
22690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_scanCode_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22692 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22693 result
= (bool) ((arg1
)->m_scanCode
);
22695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22703 SWIGINTERN PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22704 PyObject
*resultobj
= 0;
22705 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22706 unsigned int arg2
;
22709 unsigned int val2
;
22711 PyObject
*swig_obj
[2] ;
22713 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_rawCode_set",2,2,swig_obj
)) SWIG_fail
;
22714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22715 if (!SWIG_IsOK(res1
)) {
22716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_rawCode_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22718 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22719 ecode2
= SWIG_AsVal_unsigned_SS_int(swig_obj
[1], &val2
);
22720 if (!SWIG_IsOK(ecode2
)) {
22721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_rawCode_set" "', expected argument " "2"" of type '" "unsigned int""'");
22723 arg2
= static_cast< unsigned int >(val2
);
22724 if (arg1
) (arg1
)->m_rawCode
= arg2
;
22726 resultobj
= SWIG_Py_Void();
22733 SWIGINTERN PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22734 PyObject
*resultobj
= 0;
22735 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22736 unsigned int result
;
22739 PyObject
*swig_obj
[1] ;
22741 if (!args
) SWIG_fail
;
22742 swig_obj
[0] = args
;
22743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22744 if (!SWIG_IsOK(res1
)) {
22745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_rawCode_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22747 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22748 result
= (unsigned int) ((arg1
)->m_rawCode
);
22749 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
22756 SWIGINTERN PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22757 PyObject
*resultobj
= 0;
22758 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22759 unsigned int arg2
;
22762 unsigned int val2
;
22764 PyObject
*swig_obj
[2] ;
22766 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_rawFlags_set",2,2,swig_obj
)) SWIG_fail
;
22767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22768 if (!SWIG_IsOK(res1
)) {
22769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_rawFlags_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22771 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22772 ecode2
= SWIG_AsVal_unsigned_SS_int(swig_obj
[1], &val2
);
22773 if (!SWIG_IsOK(ecode2
)) {
22774 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_rawFlags_set" "', expected argument " "2"" of type '" "unsigned int""'");
22776 arg2
= static_cast< unsigned int >(val2
);
22777 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
22779 resultobj
= SWIG_Py_Void();
22786 SWIGINTERN PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22787 PyObject
*resultobj
= 0;
22788 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22789 unsigned int result
;
22792 PyObject
*swig_obj
[1] ;
22794 if (!args
) SWIG_fail
;
22795 swig_obj
[0] = args
;
22796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22797 if (!SWIG_IsOK(res1
)) {
22798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_rawFlags_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22800 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22801 result
= (unsigned int) ((arg1
)->m_rawFlags
);
22802 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
22809 SWIGINTERN PyObject
*KeyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22811 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22812 SWIG_TypeNewClientData(SWIGTYPE_p_wxKeyEvent
, SWIG_NewClientData(obj
));
22813 return SWIG_Py_Void();
22816 SWIGINTERN PyObject
*KeyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22817 return SWIG_Python_InitShadowInstance(args
);
22820 SWIGINTERN PyObject
*_wrap_new_SizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22821 PyObject
*resultobj
= 0;
22822 wxSize
const &arg1_defvalue
= wxDefaultSize
;
22823 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
22824 int arg2
= (int) 0 ;
22825 wxSizeEvent
*result
= 0 ;
22829 PyObject
* obj0
= 0 ;
22830 PyObject
* obj1
= 0 ;
22831 char * kwnames
[] = {
22832 (char *) "sz",(char *) "winid", NULL
22835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22839 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
22843 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22844 if (!SWIG_IsOK(ecode2
)) {
22845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SizeEvent" "', expected argument " "2"" of type '" "int""'");
22847 arg2
= static_cast< int >(val2
);
22850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22851 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
22852 wxPyEndAllowThreads(__tstate
);
22853 if (PyErr_Occurred()) SWIG_fail
;
22855 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_NEW
| 0 );
22862 SWIGINTERN PyObject
*_wrap_SizeEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22863 PyObject
*resultobj
= 0;
22864 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
22868 PyObject
*swig_obj
[1] ;
22870 if (!args
) SWIG_fail
;
22871 swig_obj
[0] = args
;
22872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
22873 if (!SWIG_IsOK(res1
)) {
22874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_GetSize" "', expected argument " "1"" of type '" "wxSizeEvent const *""'");
22876 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
22878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22879 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
22880 wxPyEndAllowThreads(__tstate
);
22881 if (PyErr_Occurred()) SWIG_fail
;
22883 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22890 SWIGINTERN PyObject
*_wrap_SizeEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22891 PyObject
*resultobj
= 0;
22892 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
22896 PyObject
*swig_obj
[1] ;
22898 if (!args
) SWIG_fail
;
22899 swig_obj
[0] = args
;
22900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
22901 if (!SWIG_IsOK(res1
)) {
22902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_GetRect" "', expected argument " "1"" of type '" "wxSizeEvent const *""'");
22904 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
22906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22907 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
22908 wxPyEndAllowThreads(__tstate
);
22909 if (PyErr_Occurred()) SWIG_fail
;
22911 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
22918 SWIGINTERN PyObject
*_wrap_SizeEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22919 PyObject
*resultobj
= 0;
22920 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
22926 PyObject
* obj0
= 0 ;
22927 PyObject
* obj1
= 0 ;
22928 char * kwnames
[] = {
22929 (char *) "self",(char *) "rect", NULL
22932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
22934 if (!SWIG_IsOK(res1
)) {
22935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_SetRect" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
22937 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
22939 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRect
, 0 | 0);
22940 if (!SWIG_IsOK(res2
)) {
22941 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizeEvent_SetRect" "', expected argument " "2"" of type '" "wxRect""'");
22944 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SizeEvent_SetRect" "', expected argument " "2"" of type '" "wxRect""'");
22946 wxRect
* temp
= reinterpret_cast< wxRect
* >(argp2
);
22948 if (SWIG_IsNewObj(res2
)) delete temp
;
22952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22953 (arg1
)->SetRect(arg2
);
22954 wxPyEndAllowThreads(__tstate
);
22955 if (PyErr_Occurred()) SWIG_fail
;
22957 resultobj
= SWIG_Py_Void();
22964 SWIGINTERN PyObject
*_wrap_SizeEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22965 PyObject
*resultobj
= 0;
22966 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
22972 PyObject
* obj0
= 0 ;
22973 PyObject
* obj1
= 0 ;
22974 char * kwnames
[] = {
22975 (char *) "self",(char *) "size", NULL
22978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
22980 if (!SWIG_IsOK(res1
)) {
22981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_SetSize" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
22983 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
22985 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxSize
, 0 | 0);
22986 if (!SWIG_IsOK(res2
)) {
22987 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizeEvent_SetSize" "', expected argument " "2"" of type '" "wxSize""'");
22990 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SizeEvent_SetSize" "', expected argument " "2"" of type '" "wxSize""'");
22992 wxSize
* temp
= reinterpret_cast< wxSize
* >(argp2
);
22994 if (SWIG_IsNewObj(res2
)) delete temp
;
22998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22999 wxSizeEvent_SetSize(arg1
,arg2
);
23000 wxPyEndAllowThreads(__tstate
);
23001 if (PyErr_Occurred()) SWIG_fail
;
23003 resultobj
= SWIG_Py_Void();
23010 SWIGINTERN PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23011 PyObject
*resultobj
= 0;
23012 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
23013 wxSize
*arg2
= (wxSize
*) 0 ;
23018 PyObject
*swig_obj
[2] ;
23020 if (!SWIG_Python_UnpackTuple(args
,"SizeEvent_m_size_set",2,2,swig_obj
)) SWIG_fail
;
23021 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
23022 if (!SWIG_IsOK(res1
)) {
23023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_m_size_set" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
23025 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
23026 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSize
, 0 | 0 );
23027 if (!SWIG_IsOK(res2
)) {
23028 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizeEvent_m_size_set" "', expected argument " "2"" of type '" "wxSize *""'");
23030 arg2
= reinterpret_cast< wxSize
* >(argp2
);
23031 if (arg1
) (arg1
)->m_size
= *arg2
;
23033 resultobj
= SWIG_Py_Void();
23040 SWIGINTERN PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23041 PyObject
*resultobj
= 0;
23042 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
23043 wxSize
*result
= 0 ;
23046 PyObject
*swig_obj
[1] ;
23048 if (!args
) SWIG_fail
;
23049 swig_obj
[0] = args
;
23050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
23051 if (!SWIG_IsOK(res1
)) {
23052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_m_size_get" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
23054 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
23055 result
= (wxSize
*)& ((arg1
)->m_size
);
23056 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
23063 SWIGINTERN PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23064 PyObject
*resultobj
= 0;
23065 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
23066 wxRect
*arg2
= (wxRect
*) 0 ;
23071 PyObject
*swig_obj
[2] ;
23073 if (!SWIG_Python_UnpackTuple(args
,"SizeEvent_m_rect_set",2,2,swig_obj
)) SWIG_fail
;
23074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
23075 if (!SWIG_IsOK(res1
)) {
23076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_m_rect_set" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
23078 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
23079 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
23080 if (!SWIG_IsOK(res2
)) {
23081 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizeEvent_m_rect_set" "', expected argument " "2"" of type '" "wxRect *""'");
23083 arg2
= reinterpret_cast< wxRect
* >(argp2
);
23084 if (arg1
) (arg1
)->m_rect
= *arg2
;
23086 resultobj
= SWIG_Py_Void();
23093 SWIGINTERN PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23094 PyObject
*resultobj
= 0;
23095 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
23096 wxRect
*result
= 0 ;
23099 PyObject
*swig_obj
[1] ;
23101 if (!args
) SWIG_fail
;
23102 swig_obj
[0] = args
;
23103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
23104 if (!SWIG_IsOK(res1
)) {
23105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_m_rect_get" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
23107 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
23108 result
= (wxRect
*)& ((arg1
)->m_rect
);
23109 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, 0 | 0 );
23116 SWIGINTERN PyObject
*SizeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23118 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23119 SWIG_TypeNewClientData(SWIGTYPE_p_wxSizeEvent
, SWIG_NewClientData(obj
));
23120 return SWIG_Py_Void();
23123 SWIGINTERN PyObject
*SizeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23124 return SWIG_Python_InitShadowInstance(args
);
23127 SWIGINTERN PyObject
*_wrap_new_MoveEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23128 PyObject
*resultobj
= 0;
23129 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
23130 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
23131 int arg2
= (int) 0 ;
23132 wxMoveEvent
*result
= 0 ;
23136 PyObject
* obj0
= 0 ;
23137 PyObject
* obj1
= 0 ;
23138 char * kwnames
[] = {
23139 (char *) "pos",(char *) "winid", NULL
23142 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23146 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
23150 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23151 if (!SWIG_IsOK(ecode2
)) {
23152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MoveEvent" "', expected argument " "2"" of type '" "int""'");
23154 arg2
= static_cast< int >(val2
);
23157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23158 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
23159 wxPyEndAllowThreads(__tstate
);
23160 if (PyErr_Occurred()) SWIG_fail
;
23162 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_NEW
| 0 );
23169 SWIGINTERN PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23170 PyObject
*resultobj
= 0;
23171 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
23175 PyObject
*swig_obj
[1] ;
23177 if (!args
) SWIG_fail
;
23178 swig_obj
[0] = args
;
23179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMoveEvent
, 0 | 0 );
23180 if (!SWIG_IsOK(res1
)) {
23181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MoveEvent_GetPosition" "', expected argument " "1"" of type '" "wxMoveEvent const *""'");
23183 arg1
= reinterpret_cast< wxMoveEvent
* >(argp1
);
23185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23186 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
23187 wxPyEndAllowThreads(__tstate
);
23188 if (PyErr_Occurred()) SWIG_fail
;
23190 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
23197 SWIGINTERN PyObject
*_wrap_MoveEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23198 PyObject
*resultobj
= 0;
23199 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
23203 PyObject
*swig_obj
[1] ;
23205 if (!args
) SWIG_fail
;
23206 swig_obj
[0] = args
;
23207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMoveEvent
, 0 | 0 );
23208 if (!SWIG_IsOK(res1
)) {
23209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MoveEvent_GetRect" "', expected argument " "1"" of type '" "wxMoveEvent const *""'");
23211 arg1
= reinterpret_cast< wxMoveEvent
* >(argp1
);
23213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23214 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
23215 wxPyEndAllowThreads(__tstate
);
23216 if (PyErr_Occurred()) SWIG_fail
;
23218 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
23225 SWIGINTERN PyObject
*_wrap_MoveEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23226 PyObject
*resultobj
= 0;
23227 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
23232 PyObject
* obj0
= 0 ;
23233 PyObject
* obj1
= 0 ;
23234 char * kwnames
[] = {
23235 (char *) "self",(char *) "rect", NULL
23238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMoveEvent
, 0 | 0 );
23240 if (!SWIG_IsOK(res1
)) {
23241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MoveEvent_SetRect" "', expected argument " "1"" of type '" "wxMoveEvent *""'");
23243 arg1
= reinterpret_cast< wxMoveEvent
* >(argp1
);
23246 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
23249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23250 (arg1
)->SetRect((wxRect
const &)*arg2
);
23251 wxPyEndAllowThreads(__tstate
);
23252 if (PyErr_Occurred()) SWIG_fail
;
23254 resultobj
= SWIG_Py_Void();
23261 SWIGINTERN PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23262 PyObject
*resultobj
= 0;
23263 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
23264 wxPoint
*arg2
= 0 ;
23268 PyObject
* obj0
= 0 ;
23269 PyObject
* obj1
= 0 ;
23270 char * kwnames
[] = {
23271 (char *) "self",(char *) "pos", NULL
23274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMoveEvent
, 0 | 0 );
23276 if (!SWIG_IsOK(res1
)) {
23277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MoveEvent_SetPosition" "', expected argument " "1"" of type '" "wxMoveEvent *""'");
23279 arg1
= reinterpret_cast< wxMoveEvent
* >(argp1
);
23282 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23286 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
23287 wxPyEndAllowThreads(__tstate
);
23288 if (PyErr_Occurred()) SWIG_fail
;
23290 resultobj
= SWIG_Py_Void();
23297 SWIGINTERN PyObject
*MoveEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23299 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23300 SWIG_TypeNewClientData(SWIGTYPE_p_wxMoveEvent
, SWIG_NewClientData(obj
));
23301 return SWIG_Py_Void();
23304 SWIGINTERN PyObject
*MoveEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23305 return SWIG_Python_InitShadowInstance(args
);
23308 SWIGINTERN PyObject
*_wrap_new_PaintEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23309 PyObject
*resultobj
= 0;
23310 int arg1
= (int) 0 ;
23311 wxPaintEvent
*result
= 0 ;
23314 PyObject
* obj0
= 0 ;
23315 char * kwnames
[] = {
23316 (char *) "Id", NULL
23319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) SWIG_fail
;
23321 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23322 if (!SWIG_IsOK(ecode1
)) {
23323 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PaintEvent" "', expected argument " "1"" of type '" "int""'");
23325 arg1
= static_cast< int >(val1
);
23328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23329 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
23330 wxPyEndAllowThreads(__tstate
);
23331 if (PyErr_Occurred()) SWIG_fail
;
23333 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintEvent
, SWIG_POINTER_NEW
| 0 );
23340 SWIGINTERN PyObject
*PaintEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23342 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23343 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintEvent
, SWIG_NewClientData(obj
));
23344 return SWIG_Py_Void();
23347 SWIGINTERN PyObject
*PaintEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23348 return SWIG_Python_InitShadowInstance(args
);
23351 SWIGINTERN PyObject
*_wrap_new_NcPaintEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23352 PyObject
*resultobj
= 0;
23353 int arg1
= (int) 0 ;
23354 wxNcPaintEvent
*result
= 0 ;
23357 PyObject
* obj0
= 0 ;
23358 char * kwnames
[] = {
23359 (char *) "winid", NULL
23362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) SWIG_fail
;
23364 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23365 if (!SWIG_IsOK(ecode1
)) {
23366 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NcPaintEvent" "', expected argument " "1"" of type '" "int""'");
23368 arg1
= static_cast< int >(val1
);
23371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23372 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
23373 wxPyEndAllowThreads(__tstate
);
23374 if (PyErr_Occurred()) SWIG_fail
;
23376 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNcPaintEvent
, SWIG_POINTER_NEW
| 0 );
23383 SWIGINTERN PyObject
*NcPaintEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23385 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23386 SWIG_TypeNewClientData(SWIGTYPE_p_wxNcPaintEvent
, SWIG_NewClientData(obj
));
23387 return SWIG_Py_Void();
23390 SWIGINTERN PyObject
*NcPaintEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23391 return SWIG_Python_InitShadowInstance(args
);
23394 SWIGINTERN PyObject
*_wrap_new_EraseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23395 PyObject
*resultobj
= 0;
23396 int arg1
= (int) 0 ;
23397 wxDC
*arg2
= (wxDC
*) NULL
;
23398 wxEraseEvent
*result
= 0 ;
23403 PyObject
* obj0
= 0 ;
23404 PyObject
* obj1
= 0 ;
23405 char * kwnames
[] = {
23406 (char *) "Id",(char *) "dc", NULL
23409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23411 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23412 if (!SWIG_IsOK(ecode1
)) {
23413 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EraseEvent" "', expected argument " "1"" of type '" "int""'");
23415 arg1
= static_cast< int >(val1
);
23418 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
23419 if (!SWIG_IsOK(res2
)) {
23420 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_EraseEvent" "', expected argument " "2"" of type '" "wxDC *""'");
23422 arg2
= reinterpret_cast< wxDC
* >(argp2
);
23425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23426 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
23427 wxPyEndAllowThreads(__tstate
);
23428 if (PyErr_Occurred()) SWIG_fail
;
23430 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEraseEvent
, SWIG_POINTER_NEW
| 0 );
23437 SWIGINTERN PyObject
*_wrap_EraseEvent_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23438 PyObject
*resultobj
= 0;
23439 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
23443 PyObject
*swig_obj
[1] ;
23445 if (!args
) SWIG_fail
;
23446 swig_obj
[0] = args
;
23447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEraseEvent
, 0 | 0 );
23448 if (!SWIG_IsOK(res1
)) {
23449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EraseEvent_GetDC" "', expected argument " "1"" of type '" "wxEraseEvent const *""'");
23451 arg1
= reinterpret_cast< wxEraseEvent
* >(argp1
);
23453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23454 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
23455 wxPyEndAllowThreads(__tstate
);
23456 if (PyErr_Occurred()) SWIG_fail
;
23459 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23467 SWIGINTERN PyObject
*EraseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23469 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23470 SWIG_TypeNewClientData(SWIGTYPE_p_wxEraseEvent
, SWIG_NewClientData(obj
));
23471 return SWIG_Py_Void();
23474 SWIGINTERN PyObject
*EraseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23475 return SWIG_Python_InitShadowInstance(args
);
23478 SWIGINTERN PyObject
*_wrap_new_FocusEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23479 PyObject
*resultobj
= 0;
23480 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23481 int arg2
= (int) 0 ;
23482 wxFocusEvent
*result
= 0 ;
23487 PyObject
* obj0
= 0 ;
23488 PyObject
* obj1
= 0 ;
23489 char * kwnames
[] = {
23490 (char *) "type",(char *) "winid", NULL
23493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23495 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23496 if (!SWIG_IsOK(ecode1
)) {
23497 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FocusEvent" "', expected argument " "1"" of type '" "wxEventType""'");
23499 arg1
= static_cast< wxEventType
>(val1
);
23502 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23503 if (!SWIG_IsOK(ecode2
)) {
23504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FocusEvent" "', expected argument " "2"" of type '" "int""'");
23506 arg2
= static_cast< int >(val2
);
23509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23510 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
23511 wxPyEndAllowThreads(__tstate
);
23512 if (PyErr_Occurred()) SWIG_fail
;
23514 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_NEW
| 0 );
23521 SWIGINTERN PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23522 PyObject
*resultobj
= 0;
23523 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
23524 wxWindow
*result
= 0 ;
23527 PyObject
*swig_obj
[1] ;
23529 if (!args
) SWIG_fail
;
23530 swig_obj
[0] = args
;
23531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFocusEvent
, 0 | 0 );
23532 if (!SWIG_IsOK(res1
)) {
23533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FocusEvent_GetWindow" "', expected argument " "1"" of type '" "wxFocusEvent const *""'");
23535 arg1
= reinterpret_cast< wxFocusEvent
* >(argp1
);
23537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23538 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
23539 wxPyEndAllowThreads(__tstate
);
23540 if (PyErr_Occurred()) SWIG_fail
;
23543 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23551 SWIGINTERN PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23552 PyObject
*resultobj
= 0;
23553 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
23554 wxWindow
*arg2
= (wxWindow
*) 0 ;
23559 PyObject
* obj0
= 0 ;
23560 PyObject
* obj1
= 0 ;
23561 char * kwnames
[] = {
23562 (char *) "self",(char *) "win", NULL
23565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFocusEvent
, 0 | 0 );
23567 if (!SWIG_IsOK(res1
)) {
23568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FocusEvent_SetWindow" "', expected argument " "1"" of type '" "wxFocusEvent *""'");
23570 arg1
= reinterpret_cast< wxFocusEvent
* >(argp1
);
23571 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23572 if (!SWIG_IsOK(res2
)) {
23573 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FocusEvent_SetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
23575 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23578 (arg1
)->SetWindow(arg2
);
23579 wxPyEndAllowThreads(__tstate
);
23580 if (PyErr_Occurred()) SWIG_fail
;
23582 resultobj
= SWIG_Py_Void();
23589 SWIGINTERN PyObject
*FocusEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23591 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23592 SWIG_TypeNewClientData(SWIGTYPE_p_wxFocusEvent
, SWIG_NewClientData(obj
));
23593 return SWIG_Py_Void();
23596 SWIGINTERN PyObject
*FocusEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23597 return SWIG_Python_InitShadowInstance(args
);
23600 SWIGINTERN PyObject
*_wrap_new_ChildFocusEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23601 PyObject
*resultobj
= 0;
23602 wxWindow
*arg1
= (wxWindow
*) NULL
;
23603 wxChildFocusEvent
*result
= 0 ;
23606 PyObject
* obj0
= 0 ;
23607 char * kwnames
[] = {
23608 (char *) "win", NULL
23611 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) SWIG_fail
;
23613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23614 if (!SWIG_IsOK(res1
)) {
23615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ChildFocusEvent" "', expected argument " "1"" of type '" "wxWindow *""'");
23617 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23621 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
23622 wxPyEndAllowThreads(__tstate
);
23623 if (PyErr_Occurred()) SWIG_fail
;
23625 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChildFocusEvent
, SWIG_POINTER_NEW
| 0 );
23632 SWIGINTERN PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23633 PyObject
*resultobj
= 0;
23634 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
23635 wxWindow
*result
= 0 ;
23638 PyObject
*swig_obj
[1] ;
23640 if (!args
) SWIG_fail
;
23641 swig_obj
[0] = args
;
23642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChildFocusEvent
, 0 | 0 );
23643 if (!SWIG_IsOK(res1
)) {
23644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ChildFocusEvent_GetWindow" "', expected argument " "1"" of type '" "wxChildFocusEvent const *""'");
23646 arg1
= reinterpret_cast< wxChildFocusEvent
* >(argp1
);
23648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23649 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
23650 wxPyEndAllowThreads(__tstate
);
23651 if (PyErr_Occurred()) SWIG_fail
;
23654 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23662 SWIGINTERN PyObject
*ChildFocusEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23664 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23665 SWIG_TypeNewClientData(SWIGTYPE_p_wxChildFocusEvent
, SWIG_NewClientData(obj
));
23666 return SWIG_Py_Void();
23669 SWIGINTERN PyObject
*ChildFocusEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23670 return SWIG_Python_InitShadowInstance(args
);
23673 SWIGINTERN PyObject
*_wrap_new_ActivateEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23674 PyObject
*resultobj
= 0;
23675 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23676 bool arg2
= (bool) true ;
23677 int arg3
= (int) 0 ;
23678 wxActivateEvent
*result
= 0 ;
23685 PyObject
* obj0
= 0 ;
23686 PyObject
* obj1
= 0 ;
23687 PyObject
* obj2
= 0 ;
23688 char * kwnames
[] = {
23689 (char *) "type",(char *) "active",(char *) "Id", NULL
23692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23694 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23695 if (!SWIG_IsOK(ecode1
)) {
23696 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ActivateEvent" "', expected argument " "1"" of type '" "wxEventType""'");
23698 arg1
= static_cast< wxEventType
>(val1
);
23701 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23702 if (!SWIG_IsOK(ecode2
)) {
23703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ActivateEvent" "', expected argument " "2"" of type '" "bool""'");
23705 arg2
= static_cast< bool >(val2
);
23708 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23709 if (!SWIG_IsOK(ecode3
)) {
23710 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ActivateEvent" "', expected argument " "3"" of type '" "int""'");
23712 arg3
= static_cast< int >(val3
);
23715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23716 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
23717 wxPyEndAllowThreads(__tstate
);
23718 if (PyErr_Occurred()) SWIG_fail
;
23720 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxActivateEvent
, SWIG_POINTER_NEW
| 0 );
23727 SWIGINTERN PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23728 PyObject
*resultobj
= 0;
23729 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
23733 PyObject
*swig_obj
[1] ;
23735 if (!args
) SWIG_fail
;
23736 swig_obj
[0] = args
;
23737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxActivateEvent
, 0 | 0 );
23738 if (!SWIG_IsOK(res1
)) {
23739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ActivateEvent_GetActive" "', expected argument " "1"" of type '" "wxActivateEvent const *""'");
23741 arg1
= reinterpret_cast< wxActivateEvent
* >(argp1
);
23743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23744 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
23745 wxPyEndAllowThreads(__tstate
);
23746 if (PyErr_Occurred()) SWIG_fail
;
23749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23757 SWIGINTERN PyObject
*ActivateEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23759 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23760 SWIG_TypeNewClientData(SWIGTYPE_p_wxActivateEvent
, SWIG_NewClientData(obj
));
23761 return SWIG_Py_Void();
23764 SWIGINTERN PyObject
*ActivateEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23765 return SWIG_Python_InitShadowInstance(args
);
23768 SWIGINTERN PyObject
*_wrap_new_InitDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23769 PyObject
*resultobj
= 0;
23770 int arg1
= (int) 0 ;
23771 wxInitDialogEvent
*result
= 0 ;
23774 PyObject
* obj0
= 0 ;
23775 char * kwnames
[] = {
23776 (char *) "Id", NULL
23779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) SWIG_fail
;
23781 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23782 if (!SWIG_IsOK(ecode1
)) {
23783 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_InitDialogEvent" "', expected argument " "1"" of type '" "int""'");
23785 arg1
= static_cast< int >(val1
);
23788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23789 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
23790 wxPyEndAllowThreads(__tstate
);
23791 if (PyErr_Occurred()) SWIG_fail
;
23793 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxInitDialogEvent
, SWIG_POINTER_NEW
| 0 );
23800 SWIGINTERN PyObject
*InitDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23802 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23803 SWIG_TypeNewClientData(SWIGTYPE_p_wxInitDialogEvent
, SWIG_NewClientData(obj
));
23804 return SWIG_Py_Void();
23807 SWIGINTERN PyObject
*InitDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23808 return SWIG_Python_InitShadowInstance(args
);
23811 SWIGINTERN PyObject
*_wrap_new_MenuEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23812 PyObject
*resultobj
= 0;
23813 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23814 int arg2
= (int) 0 ;
23815 wxMenu
*arg3
= (wxMenu
*) NULL
;
23816 wxMenuEvent
*result
= 0 ;
23823 PyObject
* obj0
= 0 ;
23824 PyObject
* obj1
= 0 ;
23825 PyObject
* obj2
= 0 ;
23826 char * kwnames
[] = {
23827 (char *) "type",(char *) "winid",(char *) "menu", NULL
23830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23832 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23833 if (!SWIG_IsOK(ecode1
)) {
23834 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MenuEvent" "', expected argument " "1"" of type '" "wxEventType""'");
23836 arg1
= static_cast< wxEventType
>(val1
);
23839 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23840 if (!SWIG_IsOK(ecode2
)) {
23841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MenuEvent" "', expected argument " "2"" of type '" "int""'");
23843 arg2
= static_cast< int >(val2
);
23846 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxMenu
, 0 | 0 );
23847 if (!SWIG_IsOK(res3
)) {
23848 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_MenuEvent" "', expected argument " "3"" of type '" "wxMenu *""'");
23850 arg3
= reinterpret_cast< wxMenu
* >(argp3
);
23853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23854 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
23855 wxPyEndAllowThreads(__tstate
);
23856 if (PyErr_Occurred()) SWIG_fail
;
23858 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_NEW
| 0 );
23865 SWIGINTERN PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23866 PyObject
*resultobj
= 0;
23867 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
23871 PyObject
*swig_obj
[1] ;
23873 if (!args
) SWIG_fail
;
23874 swig_obj
[0] = args
;
23875 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuEvent
, 0 | 0 );
23876 if (!SWIG_IsOK(res1
)) {
23877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuEvent_GetMenuId" "', expected argument " "1"" of type '" "wxMenuEvent const *""'");
23879 arg1
= reinterpret_cast< wxMenuEvent
* >(argp1
);
23881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23882 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
23883 wxPyEndAllowThreads(__tstate
);
23884 if (PyErr_Occurred()) SWIG_fail
;
23886 resultobj
= SWIG_From_int(static_cast< int >(result
));
23893 SWIGINTERN PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23894 PyObject
*resultobj
= 0;
23895 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
23899 PyObject
*swig_obj
[1] ;
23901 if (!args
) SWIG_fail
;
23902 swig_obj
[0] = args
;
23903 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuEvent
, 0 | 0 );
23904 if (!SWIG_IsOK(res1
)) {
23905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuEvent_IsPopup" "', expected argument " "1"" of type '" "wxMenuEvent const *""'");
23907 arg1
= reinterpret_cast< wxMenuEvent
* >(argp1
);
23909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23910 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
23911 wxPyEndAllowThreads(__tstate
);
23912 if (PyErr_Occurred()) SWIG_fail
;
23915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23923 SWIGINTERN PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23924 PyObject
*resultobj
= 0;
23925 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
23926 wxMenu
*result
= 0 ;
23929 PyObject
*swig_obj
[1] ;
23931 if (!args
) SWIG_fail
;
23932 swig_obj
[0] = args
;
23933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuEvent
, 0 | 0 );
23934 if (!SWIG_IsOK(res1
)) {
23935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuEvent_GetMenu" "', expected argument " "1"" of type '" "wxMenuEvent const *""'");
23937 arg1
= reinterpret_cast< wxMenuEvent
* >(argp1
);
23939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23940 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
23941 wxPyEndAllowThreads(__tstate
);
23942 if (PyErr_Occurred()) SWIG_fail
;
23945 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23953 SWIGINTERN PyObject
*MenuEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23955 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23956 SWIG_TypeNewClientData(SWIGTYPE_p_wxMenuEvent
, SWIG_NewClientData(obj
));
23957 return SWIG_Py_Void();
23960 SWIGINTERN PyObject
*MenuEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23961 return SWIG_Python_InitShadowInstance(args
);
23964 SWIGINTERN PyObject
*_wrap_new_CloseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23965 PyObject
*resultobj
= 0;
23966 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23967 int arg2
= (int) 0 ;
23968 wxCloseEvent
*result
= 0 ;
23973 PyObject
* obj0
= 0 ;
23974 PyObject
* obj1
= 0 ;
23975 char * kwnames
[] = {
23976 (char *) "type",(char *) "winid", NULL
23979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23981 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23982 if (!SWIG_IsOK(ecode1
)) {
23983 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CloseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
23985 arg1
= static_cast< wxEventType
>(val1
);
23988 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23989 if (!SWIG_IsOK(ecode2
)) {
23990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CloseEvent" "', expected argument " "2"" of type '" "int""'");
23992 arg2
= static_cast< int >(val2
);
23995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23996 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
23997 wxPyEndAllowThreads(__tstate
);
23998 if (PyErr_Occurred()) SWIG_fail
;
24000 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_NEW
| 0 );
24007 SWIGINTERN PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24008 PyObject
*resultobj
= 0;
24009 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
24015 PyObject
* obj0
= 0 ;
24016 PyObject
* obj1
= 0 ;
24017 char * kwnames
[] = {
24018 (char *) "self",(char *) "logOff", NULL
24021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
24023 if (!SWIG_IsOK(res1
)) {
24024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_SetLoggingOff" "', expected argument " "1"" of type '" "wxCloseEvent *""'");
24026 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
24027 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24028 if (!SWIG_IsOK(ecode2
)) {
24029 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CloseEvent_SetLoggingOff" "', expected argument " "2"" of type '" "bool""'");
24031 arg2
= static_cast< bool >(val2
);
24033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24034 (arg1
)->SetLoggingOff(arg2
);
24035 wxPyEndAllowThreads(__tstate
);
24036 if (PyErr_Occurred()) SWIG_fail
;
24038 resultobj
= SWIG_Py_Void();
24045 SWIGINTERN PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24046 PyObject
*resultobj
= 0;
24047 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
24051 PyObject
*swig_obj
[1] ;
24053 if (!args
) SWIG_fail
;
24054 swig_obj
[0] = args
;
24055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
24056 if (!SWIG_IsOK(res1
)) {
24057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_GetLoggingOff" "', expected argument " "1"" of type '" "wxCloseEvent const *""'");
24059 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
24061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24062 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
24063 wxPyEndAllowThreads(__tstate
);
24064 if (PyErr_Occurred()) SWIG_fail
;
24067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24075 SWIGINTERN PyObject
*_wrap_CloseEvent_Veto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24076 PyObject
*resultobj
= 0;
24077 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
24078 bool arg2
= (bool) true ;
24083 PyObject
* obj0
= 0 ;
24084 PyObject
* obj1
= 0 ;
24085 char * kwnames
[] = {
24086 (char *) "self",(char *) "veto", NULL
24089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
24091 if (!SWIG_IsOK(res1
)) {
24092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_Veto" "', expected argument " "1"" of type '" "wxCloseEvent *""'");
24094 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
24096 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24097 if (!SWIG_IsOK(ecode2
)) {
24098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CloseEvent_Veto" "', expected argument " "2"" of type '" "bool""'");
24100 arg2
= static_cast< bool >(val2
);
24103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24104 (arg1
)->Veto(arg2
);
24105 wxPyEndAllowThreads(__tstate
);
24106 if (PyErr_Occurred()) SWIG_fail
;
24108 resultobj
= SWIG_Py_Void();
24115 SWIGINTERN PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24116 PyObject
*resultobj
= 0;
24117 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
24121 PyObject
*swig_obj
[1] ;
24123 if (!args
) SWIG_fail
;
24124 swig_obj
[0] = args
;
24125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
24126 if (!SWIG_IsOK(res1
)) {
24127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_GetVeto" "', expected argument " "1"" of type '" "wxCloseEvent const *""'");
24129 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
24131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24132 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
24133 wxPyEndAllowThreads(__tstate
);
24134 if (PyErr_Occurred()) SWIG_fail
;
24137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24145 SWIGINTERN PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24146 PyObject
*resultobj
= 0;
24147 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
24153 PyObject
* obj0
= 0 ;
24154 PyObject
* obj1
= 0 ;
24155 char * kwnames
[] = {
24156 (char *) "self",(char *) "canVeto", NULL
24159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
24161 if (!SWIG_IsOK(res1
)) {
24162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_SetCanVeto" "', expected argument " "1"" of type '" "wxCloseEvent *""'");
24164 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
24165 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24166 if (!SWIG_IsOK(ecode2
)) {
24167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CloseEvent_SetCanVeto" "', expected argument " "2"" of type '" "bool""'");
24169 arg2
= static_cast< bool >(val2
);
24171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24172 (arg1
)->SetCanVeto(arg2
);
24173 wxPyEndAllowThreads(__tstate
);
24174 if (PyErr_Occurred()) SWIG_fail
;
24176 resultobj
= SWIG_Py_Void();
24183 SWIGINTERN PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24184 PyObject
*resultobj
= 0;
24185 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
24189 PyObject
*swig_obj
[1] ;
24191 if (!args
) SWIG_fail
;
24192 swig_obj
[0] = args
;
24193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
24194 if (!SWIG_IsOK(res1
)) {
24195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_CanVeto" "', expected argument " "1"" of type '" "wxCloseEvent const *""'");
24197 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
24199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24200 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
24201 wxPyEndAllowThreads(__tstate
);
24202 if (PyErr_Occurred()) SWIG_fail
;
24205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24213 SWIGINTERN PyObject
*CloseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24215 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24216 SWIG_TypeNewClientData(SWIGTYPE_p_wxCloseEvent
, SWIG_NewClientData(obj
));
24217 return SWIG_Py_Void();
24220 SWIGINTERN PyObject
*CloseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24221 return SWIG_Python_InitShadowInstance(args
);
24224 SWIGINTERN PyObject
*_wrap_new_ShowEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24225 PyObject
*resultobj
= 0;
24226 int arg1
= (int) 0 ;
24227 bool arg2
= (bool) false ;
24228 wxShowEvent
*result
= 0 ;
24233 PyObject
* obj0
= 0 ;
24234 PyObject
* obj1
= 0 ;
24235 char * kwnames
[] = {
24236 (char *) "winid",(char *) "show", NULL
24239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24241 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24242 if (!SWIG_IsOK(ecode1
)) {
24243 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ShowEvent" "', expected argument " "1"" of type '" "int""'");
24245 arg1
= static_cast< int >(val1
);
24248 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24249 if (!SWIG_IsOK(ecode2
)) {
24250 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ShowEvent" "', expected argument " "2"" of type '" "bool""'");
24252 arg2
= static_cast< bool >(val2
);
24255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24256 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
24257 wxPyEndAllowThreads(__tstate
);
24258 if (PyErr_Occurred()) SWIG_fail
;
24260 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_NEW
| 0 );
24267 SWIGINTERN PyObject
*_wrap_ShowEvent_SetShow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24268 PyObject
*resultobj
= 0;
24269 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
24275 PyObject
* obj0
= 0 ;
24276 PyObject
* obj1
= 0 ;
24277 char * kwnames
[] = {
24278 (char *) "self",(char *) "show", NULL
24281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxShowEvent
, 0 | 0 );
24283 if (!SWIG_IsOK(res1
)) {
24284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ShowEvent_SetShow" "', expected argument " "1"" of type '" "wxShowEvent *""'");
24286 arg1
= reinterpret_cast< wxShowEvent
* >(argp1
);
24287 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24288 if (!SWIG_IsOK(ecode2
)) {
24289 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ShowEvent_SetShow" "', expected argument " "2"" of type '" "bool""'");
24291 arg2
= static_cast< bool >(val2
);
24293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24294 (arg1
)->SetShow(arg2
);
24295 wxPyEndAllowThreads(__tstate
);
24296 if (PyErr_Occurred()) SWIG_fail
;
24298 resultobj
= SWIG_Py_Void();
24305 SWIGINTERN PyObject
*_wrap_ShowEvent_GetShow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24306 PyObject
*resultobj
= 0;
24307 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
24311 PyObject
*swig_obj
[1] ;
24313 if (!args
) SWIG_fail
;
24314 swig_obj
[0] = args
;
24315 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxShowEvent
, 0 | 0 );
24316 if (!SWIG_IsOK(res1
)) {
24317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ShowEvent_GetShow" "', expected argument " "1"" of type '" "wxShowEvent const *""'");
24319 arg1
= reinterpret_cast< wxShowEvent
* >(argp1
);
24321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24322 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
24323 wxPyEndAllowThreads(__tstate
);
24324 if (PyErr_Occurred()) SWIG_fail
;
24327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24335 SWIGINTERN PyObject
*ShowEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24337 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24338 SWIG_TypeNewClientData(SWIGTYPE_p_wxShowEvent
, SWIG_NewClientData(obj
));
24339 return SWIG_Py_Void();
24342 SWIGINTERN PyObject
*ShowEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24343 return SWIG_Python_InitShadowInstance(args
);
24346 SWIGINTERN PyObject
*_wrap_new_IconizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24347 PyObject
*resultobj
= 0;
24348 int arg1
= (int) 0 ;
24349 bool arg2
= (bool) true ;
24350 wxIconizeEvent
*result
= 0 ;
24355 PyObject
* obj0
= 0 ;
24356 PyObject
* obj1
= 0 ;
24357 char * kwnames
[] = {
24358 (char *) "id",(char *) "iconized", NULL
24361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24363 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24364 if (!SWIG_IsOK(ecode1
)) {
24365 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_IconizeEvent" "', expected argument " "1"" of type '" "int""'");
24367 arg1
= static_cast< int >(val1
);
24370 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24371 if (!SWIG_IsOK(ecode2
)) {
24372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconizeEvent" "', expected argument " "2"" of type '" "bool""'");
24374 arg2
= static_cast< bool >(val2
);
24377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24378 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
24379 wxPyEndAllowThreads(__tstate
);
24380 if (PyErr_Occurred()) SWIG_fail
;
24382 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconizeEvent
, SWIG_POINTER_NEW
| 0 );
24389 SWIGINTERN PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24390 PyObject
*resultobj
= 0;
24391 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
24395 PyObject
*swig_obj
[1] ;
24397 if (!args
) SWIG_fail
;
24398 swig_obj
[0] = args
;
24399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconizeEvent
, 0 | 0 );
24400 if (!SWIG_IsOK(res1
)) {
24401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconizeEvent_Iconized" "', expected argument " "1"" of type '" "wxIconizeEvent *""'");
24403 arg1
= reinterpret_cast< wxIconizeEvent
* >(argp1
);
24405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24406 result
= (bool)(arg1
)->Iconized();
24407 wxPyEndAllowThreads(__tstate
);
24408 if (PyErr_Occurred()) SWIG_fail
;
24411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24419 SWIGINTERN PyObject
*IconizeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24421 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24422 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconizeEvent
, SWIG_NewClientData(obj
));
24423 return SWIG_Py_Void();
24426 SWIGINTERN PyObject
*IconizeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24427 return SWIG_Python_InitShadowInstance(args
);
24430 SWIGINTERN PyObject
*_wrap_new_MaximizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24431 PyObject
*resultobj
= 0;
24432 int arg1
= (int) 0 ;
24433 wxMaximizeEvent
*result
= 0 ;
24436 PyObject
* obj0
= 0 ;
24437 char * kwnames
[] = {
24438 (char *) "id", NULL
24441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) SWIG_fail
;
24443 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24444 if (!SWIG_IsOK(ecode1
)) {
24445 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MaximizeEvent" "', expected argument " "1"" of type '" "int""'");
24447 arg1
= static_cast< int >(val1
);
24450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24451 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
24452 wxPyEndAllowThreads(__tstate
);
24453 if (PyErr_Occurred()) SWIG_fail
;
24455 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMaximizeEvent
, SWIG_POINTER_NEW
| 0 );
24462 SWIGINTERN PyObject
*MaximizeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24464 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24465 SWIG_TypeNewClientData(SWIGTYPE_p_wxMaximizeEvent
, SWIG_NewClientData(obj
));
24466 return SWIG_Py_Void();
24469 SWIGINTERN PyObject
*MaximizeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24470 return SWIG_Python_InitShadowInstance(args
);
24473 SWIGINTERN PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24474 PyObject
*resultobj
= 0;
24475 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
24479 PyObject
*swig_obj
[1] ;
24481 if (!args
) SWIG_fail
;
24482 swig_obj
[0] = args
;
24483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDropFilesEvent
, 0 | 0 );
24484 if (!SWIG_IsOK(res1
)) {
24485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropFilesEvent_GetPosition" "', expected argument " "1"" of type '" "wxDropFilesEvent *""'");
24487 arg1
= reinterpret_cast< wxDropFilesEvent
* >(argp1
);
24489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24490 result
= (arg1
)->GetPosition();
24491 wxPyEndAllowThreads(__tstate
);
24492 if (PyErr_Occurred()) SWIG_fail
;
24494 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24501 SWIGINTERN PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24502 PyObject
*resultobj
= 0;
24503 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
24507 PyObject
*swig_obj
[1] ;
24509 if (!args
) SWIG_fail
;
24510 swig_obj
[0] = args
;
24511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDropFilesEvent
, 0 | 0 );
24512 if (!SWIG_IsOK(res1
)) {
24513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropFilesEvent_GetNumberOfFiles" "', expected argument " "1"" of type '" "wxDropFilesEvent *""'");
24515 arg1
= reinterpret_cast< wxDropFilesEvent
* >(argp1
);
24517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24518 result
= (int)(arg1
)->GetNumberOfFiles();
24519 wxPyEndAllowThreads(__tstate
);
24520 if (PyErr_Occurred()) SWIG_fail
;
24522 resultobj
= SWIG_From_int(static_cast< int >(result
));
24529 SWIGINTERN PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24530 PyObject
*resultobj
= 0;
24531 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
24532 PyObject
*result
= 0 ;
24535 PyObject
*swig_obj
[1] ;
24537 if (!args
) SWIG_fail
;
24538 swig_obj
[0] = args
;
24539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDropFilesEvent
, 0 | 0 );
24540 if (!SWIG_IsOK(res1
)) {
24541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropFilesEvent_GetFiles" "', expected argument " "1"" of type '" "wxDropFilesEvent *""'");
24543 arg1
= reinterpret_cast< wxDropFilesEvent
* >(argp1
);
24545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24546 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
24547 wxPyEndAllowThreads(__tstate
);
24548 if (PyErr_Occurred()) SWIG_fail
;
24550 resultobj
= result
;
24557 SWIGINTERN PyObject
*DropFilesEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24559 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24560 SWIG_TypeNewClientData(SWIGTYPE_p_wxDropFilesEvent
, SWIG_NewClientData(obj
));
24561 return SWIG_Py_Void();
24564 SWIGINTERN PyObject
*_wrap_new_UpdateUIEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24565 PyObject
*resultobj
= 0;
24566 int arg1
= (int) 0 ;
24567 wxUpdateUIEvent
*result
= 0 ;
24570 PyObject
* obj0
= 0 ;
24571 char * kwnames
[] = {
24572 (char *) "commandId", NULL
24575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) SWIG_fail
;
24577 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24578 if (!SWIG_IsOK(ecode1
)) {
24579 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_UpdateUIEvent" "', expected argument " "1"" of type '" "int""'");
24581 arg1
= static_cast< int >(val1
);
24584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24585 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
24586 wxPyEndAllowThreads(__tstate
);
24587 if (PyErr_Occurred()) SWIG_fail
;
24589 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_NEW
| 0 );
24596 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24597 PyObject
*resultobj
= 0;
24598 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24602 PyObject
*swig_obj
[1] ;
24604 if (!args
) SWIG_fail
;
24605 swig_obj
[0] = args
;
24606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24607 if (!SWIG_IsOK(res1
)) {
24608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetChecked" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
24610 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24613 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
24614 wxPyEndAllowThreads(__tstate
);
24615 if (PyErr_Occurred()) SWIG_fail
;
24618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24626 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24627 PyObject
*resultobj
= 0;
24628 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24632 PyObject
*swig_obj
[1] ;
24634 if (!args
) SWIG_fail
;
24635 swig_obj
[0] = args
;
24636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24637 if (!SWIG_IsOK(res1
)) {
24638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetEnabled" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
24640 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24643 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
24644 wxPyEndAllowThreads(__tstate
);
24645 if (PyErr_Occurred()) SWIG_fail
;
24648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24656 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24657 PyObject
*resultobj
= 0;
24658 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24662 PyObject
*swig_obj
[1] ;
24664 if (!args
) SWIG_fail
;
24665 swig_obj
[0] = args
;
24666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24667 if (!SWIG_IsOK(res1
)) {
24668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetShown" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
24670 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24673 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetShown();
24674 wxPyEndAllowThreads(__tstate
);
24675 if (PyErr_Occurred()) SWIG_fail
;
24678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24686 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24687 PyObject
*resultobj
= 0;
24688 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24692 PyObject
*swig_obj
[1] ;
24694 if (!args
) SWIG_fail
;
24695 swig_obj
[0] = args
;
24696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24697 if (!SWIG_IsOK(res1
)) {
24698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetText" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
24700 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24703 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
24704 wxPyEndAllowThreads(__tstate
);
24705 if (PyErr_Occurred()) SWIG_fail
;
24709 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24711 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24720 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24721 PyObject
*resultobj
= 0;
24722 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24726 PyObject
*swig_obj
[1] ;
24728 if (!args
) SWIG_fail
;
24729 swig_obj
[0] = args
;
24730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24731 if (!SWIG_IsOK(res1
)) {
24732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetSetText" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
24734 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24737 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
24738 wxPyEndAllowThreads(__tstate
);
24739 if (PyErr_Occurred()) SWIG_fail
;
24742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24750 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24751 PyObject
*resultobj
= 0;
24752 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24756 PyObject
*swig_obj
[1] ;
24758 if (!args
) SWIG_fail
;
24759 swig_obj
[0] = args
;
24760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24761 if (!SWIG_IsOK(res1
)) {
24762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetSetChecked" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
24764 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24767 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
24768 wxPyEndAllowThreads(__tstate
);
24769 if (PyErr_Occurred()) SWIG_fail
;
24772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24780 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24781 PyObject
*resultobj
= 0;
24782 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24786 PyObject
*swig_obj
[1] ;
24788 if (!args
) SWIG_fail
;
24789 swig_obj
[0] = args
;
24790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24791 if (!SWIG_IsOK(res1
)) {
24792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetSetEnabled" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
24794 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24797 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
24798 wxPyEndAllowThreads(__tstate
);
24799 if (PyErr_Occurred()) SWIG_fail
;
24802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24810 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetSetShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24811 PyObject
*resultobj
= 0;
24812 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24816 PyObject
*swig_obj
[1] ;
24818 if (!args
) SWIG_fail
;
24819 swig_obj
[0] = args
;
24820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24821 if (!SWIG_IsOK(res1
)) {
24822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetSetShown" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
24824 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24827 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetShown();
24828 wxPyEndAllowThreads(__tstate
);
24829 if (PyErr_Occurred()) SWIG_fail
;
24832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24840 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24841 PyObject
*resultobj
= 0;
24842 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24848 PyObject
* obj0
= 0 ;
24849 PyObject
* obj1
= 0 ;
24850 char * kwnames
[] = {
24851 (char *) "self",(char *) "check", NULL
24854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24856 if (!SWIG_IsOK(res1
)) {
24857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_Check" "', expected argument " "1"" of type '" "wxUpdateUIEvent *""'");
24859 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24860 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24861 if (!SWIG_IsOK(ecode2
)) {
24862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "UpdateUIEvent_Check" "', expected argument " "2"" of type '" "bool""'");
24864 arg2
= static_cast< bool >(val2
);
24866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24867 (arg1
)->Check(arg2
);
24868 wxPyEndAllowThreads(__tstate
);
24869 if (PyErr_Occurred()) SWIG_fail
;
24871 resultobj
= SWIG_Py_Void();
24878 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24879 PyObject
*resultobj
= 0;
24880 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24886 PyObject
* obj0
= 0 ;
24887 PyObject
* obj1
= 0 ;
24888 char * kwnames
[] = {
24889 (char *) "self",(char *) "enable", NULL
24892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24894 if (!SWIG_IsOK(res1
)) {
24895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_Enable" "', expected argument " "1"" of type '" "wxUpdateUIEvent *""'");
24897 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24898 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24899 if (!SWIG_IsOK(ecode2
)) {
24900 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "UpdateUIEvent_Enable" "', expected argument " "2"" of type '" "bool""'");
24902 arg2
= static_cast< bool >(val2
);
24904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24905 (arg1
)->Enable(arg2
);
24906 wxPyEndAllowThreads(__tstate
);
24907 if (PyErr_Occurred()) SWIG_fail
;
24909 resultobj
= SWIG_Py_Void();
24916 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24917 PyObject
*resultobj
= 0;
24918 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24924 PyObject
* obj0
= 0 ;
24925 PyObject
* obj1
= 0 ;
24926 char * kwnames
[] = {
24927 (char *) "self",(char *) "show", NULL
24930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24932 if (!SWIG_IsOK(res1
)) {
24933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_Show" "', expected argument " "1"" of type '" "wxUpdateUIEvent *""'");
24935 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24936 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24937 if (!SWIG_IsOK(ecode2
)) {
24938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "UpdateUIEvent_Show" "', expected argument " "2"" of type '" "bool""'");
24940 arg2
= static_cast< bool >(val2
);
24942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24943 (arg1
)->Show(arg2
);
24944 wxPyEndAllowThreads(__tstate
);
24945 if (PyErr_Occurred()) SWIG_fail
;
24947 resultobj
= SWIG_Py_Void();
24954 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24955 PyObject
*resultobj
= 0;
24956 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24957 wxString
*arg2
= 0 ;
24960 bool temp2
= false ;
24961 PyObject
* obj0
= 0 ;
24962 PyObject
* obj1
= 0 ;
24963 char * kwnames
[] = {
24964 (char *) "self",(char *) "text", NULL
24967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24969 if (!SWIG_IsOK(res1
)) {
24970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_SetText" "', expected argument " "1"" of type '" "wxUpdateUIEvent *""'");
24972 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24974 arg2
= wxString_in_helper(obj1
);
24975 if (arg2
== NULL
) SWIG_fail
;
24979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24980 (arg1
)->SetText((wxString
const &)*arg2
);
24981 wxPyEndAllowThreads(__tstate
);
24982 if (PyErr_Occurred()) SWIG_fail
;
24984 resultobj
= SWIG_Py_Void();
24999 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25000 PyObject
*resultobj
= 0;
25004 PyObject
* obj0
= 0 ;
25005 char * kwnames
[] = {
25006 (char *) "updateInterval", NULL
25009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) SWIG_fail
;
25010 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
25011 if (!SWIG_IsOK(ecode1
)) {
25012 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "UpdateUIEvent_SetUpdateInterval" "', expected argument " "1"" of type '" "long""'");
25014 arg1
= static_cast< long >(val1
);
25016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25017 wxUpdateUIEvent::SetUpdateInterval(arg1
);
25018 wxPyEndAllowThreads(__tstate
);
25019 if (PyErr_Occurred()) SWIG_fail
;
25021 resultobj
= SWIG_Py_Void();
25028 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25029 PyObject
*resultobj
= 0;
25032 if (!SWIG_Python_UnpackTuple(args
,"UpdateUIEvent_GetUpdateInterval",0,0,0)) SWIG_fail
;
25034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25035 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
25036 wxPyEndAllowThreads(__tstate
);
25037 if (PyErr_Occurred()) SWIG_fail
;
25039 resultobj
= SWIG_From_long(static_cast< long >(result
));
25046 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25047 PyObject
*resultobj
= 0;
25048 wxWindow
*arg1
= (wxWindow
*) 0 ;
25052 PyObject
* obj0
= 0 ;
25053 char * kwnames
[] = {
25054 (char *) "win", NULL
25057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) SWIG_fail
;
25058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25059 if (!SWIG_IsOK(res1
)) {
25060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_CanUpdate" "', expected argument " "1"" of type '" "wxWindow *""'");
25062 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25065 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
25066 wxPyEndAllowThreads(__tstate
);
25067 if (PyErr_Occurred()) SWIG_fail
;
25070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25078 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25079 PyObject
*resultobj
= 0;
25081 if (!SWIG_Python_UnpackTuple(args
,"UpdateUIEvent_ResetUpdateTime",0,0,0)) SWIG_fail
;
25083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25084 wxUpdateUIEvent::ResetUpdateTime();
25085 wxPyEndAllowThreads(__tstate
);
25086 if (PyErr_Occurred()) SWIG_fail
;
25088 resultobj
= SWIG_Py_Void();
25095 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25096 PyObject
*resultobj
= 0;
25097 wxUpdateUIMode arg1
;
25100 PyObject
* obj0
= 0 ;
25101 char * kwnames
[] = {
25102 (char *) "mode", NULL
25105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) SWIG_fail
;
25106 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25107 if (!SWIG_IsOK(ecode1
)) {
25108 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "UpdateUIEvent_SetMode" "', expected argument " "1"" of type '" "wxUpdateUIMode""'");
25110 arg1
= static_cast< wxUpdateUIMode
>(val1
);
25112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25113 wxUpdateUIEvent::SetMode(arg1
);
25114 wxPyEndAllowThreads(__tstate
);
25115 if (PyErr_Occurred()) SWIG_fail
;
25117 resultobj
= SWIG_Py_Void();
25124 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25125 PyObject
*resultobj
= 0;
25126 wxUpdateUIMode result
;
25128 if (!SWIG_Python_UnpackTuple(args
,"UpdateUIEvent_GetMode",0,0,0)) SWIG_fail
;
25130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25131 result
= (wxUpdateUIMode
)wxUpdateUIEvent::GetMode();
25132 wxPyEndAllowThreads(__tstate
);
25133 if (PyErr_Occurred()) SWIG_fail
;
25135 resultobj
= SWIG_From_int(static_cast< int >(result
));
25142 SWIGINTERN PyObject
*UpdateUIEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25144 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25145 SWIG_TypeNewClientData(SWIGTYPE_p_wxUpdateUIEvent
, SWIG_NewClientData(obj
));
25146 return SWIG_Py_Void();
25149 SWIGINTERN PyObject
*UpdateUIEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25150 return SWIG_Python_InitShadowInstance(args
);
25153 SWIGINTERN PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25154 PyObject
*resultobj
= 0;
25155 wxSysColourChangedEvent
*result
= 0 ;
25157 if (!SWIG_Python_UnpackTuple(args
,"new_SysColourChangedEvent",0,0,0)) SWIG_fail
;
25159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25160 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
25161 wxPyEndAllowThreads(__tstate
);
25162 if (PyErr_Occurred()) SWIG_fail
;
25164 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSysColourChangedEvent
, SWIG_POINTER_NEW
| 0 );
25171 SWIGINTERN PyObject
*SysColourChangedEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25173 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25174 SWIG_TypeNewClientData(SWIGTYPE_p_wxSysColourChangedEvent
, SWIG_NewClientData(obj
));
25175 return SWIG_Py_Void();
25178 SWIGINTERN PyObject
*SysColourChangedEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25179 return SWIG_Python_InitShadowInstance(args
);
25182 SWIGINTERN PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25183 PyObject
*resultobj
= 0;
25184 int arg1
= (int) 0 ;
25185 wxWindow
*arg2
= (wxWindow
*) NULL
;
25186 wxMouseCaptureChangedEvent
*result
= 0 ;
25191 PyObject
* obj0
= 0 ;
25192 PyObject
* obj1
= 0 ;
25193 char * kwnames
[] = {
25194 (char *) "winid",(char *) "gainedCapture", NULL
25197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25199 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25200 if (!SWIG_IsOK(ecode1
)) {
25201 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MouseCaptureChangedEvent" "', expected argument " "1"" of type '" "int""'");
25203 arg1
= static_cast< int >(val1
);
25206 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25207 if (!SWIG_IsOK(res2
)) {
25208 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_MouseCaptureChangedEvent" "', expected argument " "2"" of type '" "wxWindow *""'");
25210 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25214 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
25215 wxPyEndAllowThreads(__tstate
);
25216 if (PyErr_Occurred()) SWIG_fail
;
25218 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_POINTER_NEW
| 0 );
25225 SWIGINTERN PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25226 PyObject
*resultobj
= 0;
25227 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
25228 wxWindow
*result
= 0 ;
25231 PyObject
*swig_obj
[1] ;
25233 if (!args
) SWIG_fail
;
25234 swig_obj
[0] = args
;
25235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseCaptureChangedEvent
, 0 | 0 );
25236 if (!SWIG_IsOK(res1
)) {
25237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseCaptureChangedEvent_GetCapturedWindow" "', expected argument " "1"" of type '" "wxMouseCaptureChangedEvent const *""'");
25239 arg1
= reinterpret_cast< wxMouseCaptureChangedEvent
* >(argp1
);
25241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25242 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
25243 wxPyEndAllowThreads(__tstate
);
25244 if (PyErr_Occurred()) SWIG_fail
;
25247 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25255 SWIGINTERN PyObject
*MouseCaptureChangedEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25257 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25258 SWIG_TypeNewClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_NewClientData(obj
));
25259 return SWIG_Py_Void();
25262 SWIGINTERN PyObject
*MouseCaptureChangedEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25263 return SWIG_Python_InitShadowInstance(args
);
25266 SWIGINTERN PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25267 PyObject
*resultobj
= 0;
25268 wxDisplayChangedEvent
*result
= 0 ;
25270 if (!SWIG_Python_UnpackTuple(args
,"new_DisplayChangedEvent",0,0,0)) SWIG_fail
;
25272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25273 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
25274 wxPyEndAllowThreads(__tstate
);
25275 if (PyErr_Occurred()) SWIG_fail
;
25277 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDisplayChangedEvent
, SWIG_POINTER_NEW
| 0 );
25284 SWIGINTERN PyObject
*DisplayChangedEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25286 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25287 SWIG_TypeNewClientData(SWIGTYPE_p_wxDisplayChangedEvent
, SWIG_NewClientData(obj
));
25288 return SWIG_Py_Void();
25291 SWIGINTERN PyObject
*DisplayChangedEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25292 return SWIG_Python_InitShadowInstance(args
);
25295 SWIGINTERN PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25296 PyObject
*resultobj
= 0;
25297 int arg1
= (int) 0 ;
25298 wxPaletteChangedEvent
*result
= 0 ;
25301 PyObject
* obj0
= 0 ;
25302 char * kwnames
[] = {
25303 (char *) "id", NULL
25306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) SWIG_fail
;
25308 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25309 if (!SWIG_IsOK(ecode1
)) {
25310 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PaletteChangedEvent" "', expected argument " "1"" of type '" "int""'");
25312 arg1
= static_cast< int >(val1
);
25315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25316 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
25317 wxPyEndAllowThreads(__tstate
);
25318 if (PyErr_Occurred()) SWIG_fail
;
25320 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_NEW
| 0 );
25327 SWIGINTERN PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25328 PyObject
*resultobj
= 0;
25329 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
25330 wxWindow
*arg2
= (wxWindow
*) 0 ;
25335 PyObject
* obj0
= 0 ;
25336 PyObject
* obj1
= 0 ;
25337 char * kwnames
[] = {
25338 (char *) "self",(char *) "win", NULL
25341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPaletteChangedEvent
, 0 | 0 );
25343 if (!SWIG_IsOK(res1
)) {
25344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PaletteChangedEvent_SetChangedWindow" "', expected argument " "1"" of type '" "wxPaletteChangedEvent *""'");
25346 arg1
= reinterpret_cast< wxPaletteChangedEvent
* >(argp1
);
25347 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25348 if (!SWIG_IsOK(res2
)) {
25349 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PaletteChangedEvent_SetChangedWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
25351 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25354 (arg1
)->SetChangedWindow(arg2
);
25355 wxPyEndAllowThreads(__tstate
);
25356 if (PyErr_Occurred()) SWIG_fail
;
25358 resultobj
= SWIG_Py_Void();
25365 SWIGINTERN PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25366 PyObject
*resultobj
= 0;
25367 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
25368 wxWindow
*result
= 0 ;
25371 PyObject
*swig_obj
[1] ;
25373 if (!args
) SWIG_fail
;
25374 swig_obj
[0] = args
;
25375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPaletteChangedEvent
, 0 | 0 );
25376 if (!SWIG_IsOK(res1
)) {
25377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PaletteChangedEvent_GetChangedWindow" "', expected argument " "1"" of type '" "wxPaletteChangedEvent *""'");
25379 arg1
= reinterpret_cast< wxPaletteChangedEvent
* >(argp1
);
25381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25382 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
25383 wxPyEndAllowThreads(__tstate
);
25384 if (PyErr_Occurred()) SWIG_fail
;
25387 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25395 SWIGINTERN PyObject
*PaletteChangedEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25397 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25398 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_NewClientData(obj
));
25399 return SWIG_Py_Void();
25402 SWIGINTERN PyObject
*PaletteChangedEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25403 return SWIG_Python_InitShadowInstance(args
);
25406 SWIGINTERN PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25407 PyObject
*resultobj
= 0;
25408 int arg1
= (int) 0 ;
25409 wxQueryNewPaletteEvent
*result
= 0 ;
25412 PyObject
* obj0
= 0 ;
25413 char * kwnames
[] = {
25414 (char *) "winid", NULL
25417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) SWIG_fail
;
25419 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25420 if (!SWIG_IsOK(ecode1
)) {
25421 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryNewPaletteEvent" "', expected argument " "1"" of type '" "int""'");
25423 arg1
= static_cast< int >(val1
);
25426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25427 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
25428 wxPyEndAllowThreads(__tstate
);
25429 if (PyErr_Occurred()) SWIG_fail
;
25431 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_NEW
| 0 );
25438 SWIGINTERN PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25439 PyObject
*resultobj
= 0;
25440 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
25446 PyObject
* obj0
= 0 ;
25447 PyObject
* obj1
= 0 ;
25448 char * kwnames
[] = {
25449 (char *) "self",(char *) "realized", NULL
25452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryNewPaletteEvent
, 0 | 0 );
25454 if (!SWIG_IsOK(res1
)) {
25455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryNewPaletteEvent_SetPaletteRealized" "', expected argument " "1"" of type '" "wxQueryNewPaletteEvent *""'");
25457 arg1
= reinterpret_cast< wxQueryNewPaletteEvent
* >(argp1
);
25458 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25459 if (!SWIG_IsOK(ecode2
)) {
25460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryNewPaletteEvent_SetPaletteRealized" "', expected argument " "2"" of type '" "bool""'");
25462 arg2
= static_cast< bool >(val2
);
25464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25465 (arg1
)->SetPaletteRealized(arg2
);
25466 wxPyEndAllowThreads(__tstate
);
25467 if (PyErr_Occurred()) SWIG_fail
;
25469 resultobj
= SWIG_Py_Void();
25476 SWIGINTERN PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25477 PyObject
*resultobj
= 0;
25478 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
25482 PyObject
*swig_obj
[1] ;
25484 if (!args
) SWIG_fail
;
25485 swig_obj
[0] = args
;
25486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryNewPaletteEvent
, 0 | 0 );
25487 if (!SWIG_IsOK(res1
)) {
25488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryNewPaletteEvent_GetPaletteRealized" "', expected argument " "1"" of type '" "wxQueryNewPaletteEvent const *""'");
25490 arg1
= reinterpret_cast< wxQueryNewPaletteEvent
* >(argp1
);
25492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25493 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
25494 wxPyEndAllowThreads(__tstate
);
25495 if (PyErr_Occurred()) SWIG_fail
;
25498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25506 SWIGINTERN PyObject
*QueryNewPaletteEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25508 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25509 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_NewClientData(obj
));
25510 return SWIG_Py_Void();
25513 SWIGINTERN PyObject
*QueryNewPaletteEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25514 return SWIG_Python_InitShadowInstance(args
);
25517 SWIGINTERN PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25518 PyObject
*resultobj
= 0;
25519 wxNavigationKeyEvent
*result
= 0 ;
25521 if (!SWIG_Python_UnpackTuple(args
,"new_NavigationKeyEvent",0,0,0)) SWIG_fail
;
25523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25524 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
25525 wxPyEndAllowThreads(__tstate
);
25526 if (PyErr_Occurred()) SWIG_fail
;
25528 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_NEW
| 0 );
25535 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25536 PyObject
*resultobj
= 0;
25537 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
25541 PyObject
*swig_obj
[1] ;
25543 if (!args
) SWIG_fail
;
25544 swig_obj
[0] = args
;
25545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
25546 if (!SWIG_IsOK(res1
)) {
25547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_GetDirection" "', expected argument " "1"" of type '" "wxNavigationKeyEvent const *""'");
25549 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
25551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25552 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
25553 wxPyEndAllowThreads(__tstate
);
25554 if (PyErr_Occurred()) SWIG_fail
;
25557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25565 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25566 PyObject
*resultobj
= 0;
25567 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
25573 PyObject
* obj0
= 0 ;
25574 PyObject
* obj1
= 0 ;
25575 char * kwnames
[] = {
25576 (char *) "self",(char *) "forward", NULL
25579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
25581 if (!SWIG_IsOK(res1
)) {
25582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_SetDirection" "', expected argument " "1"" of type '" "wxNavigationKeyEvent *""'");
25584 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
25585 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25586 if (!SWIG_IsOK(ecode2
)) {
25587 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NavigationKeyEvent_SetDirection" "', expected argument " "2"" of type '" "bool""'");
25589 arg2
= static_cast< bool >(val2
);
25591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25592 (arg1
)->SetDirection(arg2
);
25593 wxPyEndAllowThreads(__tstate
);
25594 if (PyErr_Occurred()) SWIG_fail
;
25596 resultobj
= SWIG_Py_Void();
25603 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25604 PyObject
*resultobj
= 0;
25605 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
25609 PyObject
*swig_obj
[1] ;
25611 if (!args
) SWIG_fail
;
25612 swig_obj
[0] = args
;
25613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
25614 if (!SWIG_IsOK(res1
)) {
25615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_IsWindowChange" "', expected argument " "1"" of type '" "wxNavigationKeyEvent const *""'");
25617 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
25619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25620 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
25621 wxPyEndAllowThreads(__tstate
);
25622 if (PyErr_Occurred()) SWIG_fail
;
25625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25633 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25634 PyObject
*resultobj
= 0;
25635 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
25641 PyObject
* obj0
= 0 ;
25642 PyObject
* obj1
= 0 ;
25643 char * kwnames
[] = {
25644 (char *) "self",(char *) "ischange", NULL
25647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
25649 if (!SWIG_IsOK(res1
)) {
25650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_SetWindowChange" "', expected argument " "1"" of type '" "wxNavigationKeyEvent *""'");
25652 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
25653 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25654 if (!SWIG_IsOK(ecode2
)) {
25655 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NavigationKeyEvent_SetWindowChange" "', expected argument " "2"" of type '" "bool""'");
25657 arg2
= static_cast< bool >(val2
);
25659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25660 (arg1
)->SetWindowChange(arg2
);
25661 wxPyEndAllowThreads(__tstate
);
25662 if (PyErr_Occurred()) SWIG_fail
;
25664 resultobj
= SWIG_Py_Void();
25671 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_IsFromTab(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25672 PyObject
*resultobj
= 0;
25673 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
25677 PyObject
*swig_obj
[1] ;
25679 if (!args
) SWIG_fail
;
25680 swig_obj
[0] = args
;
25681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
25682 if (!SWIG_IsOK(res1
)) {
25683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_IsFromTab" "', expected argument " "1"" of type '" "wxNavigationKeyEvent const *""'");
25685 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
25687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25688 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsFromTab();
25689 wxPyEndAllowThreads(__tstate
);
25690 if (PyErr_Occurred()) SWIG_fail
;
25693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25701 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_SetFromTab(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25702 PyObject
*resultobj
= 0;
25703 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
25709 PyObject
* obj0
= 0 ;
25710 PyObject
* obj1
= 0 ;
25711 char * kwnames
[] = {
25712 (char *) "self",(char *) "bIs", NULL
25715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFromTab",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
25717 if (!SWIG_IsOK(res1
)) {
25718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_SetFromTab" "', expected argument " "1"" of type '" "wxNavigationKeyEvent *""'");
25720 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
25721 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25722 if (!SWIG_IsOK(ecode2
)) {
25723 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NavigationKeyEvent_SetFromTab" "', expected argument " "2"" of type '" "bool""'");
25725 arg2
= static_cast< bool >(val2
);
25727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25728 (arg1
)->SetFromTab(arg2
);
25729 wxPyEndAllowThreads(__tstate
);
25730 if (PyErr_Occurred()) SWIG_fail
;
25732 resultobj
= SWIG_Py_Void();
25739 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25740 PyObject
*resultobj
= 0;
25741 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
25747 PyObject
* obj0
= 0 ;
25748 PyObject
* obj1
= 0 ;
25749 char * kwnames
[] = {
25750 (char *) "self",(char *) "flags", NULL
25753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
25755 if (!SWIG_IsOK(res1
)) {
25756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_SetFlags" "', expected argument " "1"" of type '" "wxNavigationKeyEvent *""'");
25758 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
25759 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
25760 if (!SWIG_IsOK(ecode2
)) {
25761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NavigationKeyEvent_SetFlags" "', expected argument " "2"" of type '" "long""'");
25763 arg2
= static_cast< long >(val2
);
25765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25766 (arg1
)->SetFlags(arg2
);
25767 wxPyEndAllowThreads(__tstate
);
25768 if (PyErr_Occurred()) SWIG_fail
;
25770 resultobj
= SWIG_Py_Void();
25777 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25778 PyObject
*resultobj
= 0;
25779 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
25780 wxWindow
*result
= 0 ;
25783 PyObject
*swig_obj
[1] ;
25785 if (!args
) SWIG_fail
;
25786 swig_obj
[0] = args
;
25787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
25788 if (!SWIG_IsOK(res1
)) {
25789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_GetCurrentFocus" "', expected argument " "1"" of type '" "wxNavigationKeyEvent const *""'");
25791 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
25793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25794 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
25795 wxPyEndAllowThreads(__tstate
);
25796 if (PyErr_Occurred()) SWIG_fail
;
25799 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25807 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25808 PyObject
*resultobj
= 0;
25809 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
25810 wxWindow
*arg2
= (wxWindow
*) 0 ;
25815 PyObject
* obj0
= 0 ;
25816 PyObject
* obj1
= 0 ;
25817 char * kwnames
[] = {
25818 (char *) "self",(char *) "win", NULL
25821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
25823 if (!SWIG_IsOK(res1
)) {
25824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_SetCurrentFocus" "', expected argument " "1"" of type '" "wxNavigationKeyEvent *""'");
25826 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
25827 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25828 if (!SWIG_IsOK(res2
)) {
25829 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NavigationKeyEvent_SetCurrentFocus" "', expected argument " "2"" of type '" "wxWindow *""'");
25831 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25834 (arg1
)->SetCurrentFocus(arg2
);
25835 wxPyEndAllowThreads(__tstate
);
25836 if (PyErr_Occurred()) SWIG_fail
;
25838 resultobj
= SWIG_Py_Void();
25845 SWIGINTERN PyObject
*NavigationKeyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25847 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25848 SWIG_TypeNewClientData(SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_NewClientData(obj
));
25849 return SWIG_Py_Void();
25852 SWIGINTERN PyObject
*NavigationKeyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25853 return SWIG_Python_InitShadowInstance(args
);
25856 SWIGINTERN PyObject
*_wrap_new_WindowCreateEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25857 PyObject
*resultobj
= 0;
25858 wxWindow
*arg1
= (wxWindow
*) NULL
;
25859 wxWindowCreateEvent
*result
= 0 ;
25862 PyObject
* obj0
= 0 ;
25863 char * kwnames
[] = {
25864 (char *) "win", NULL
25867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) SWIG_fail
;
25869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25870 if (!SWIG_IsOK(res1
)) {
25871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowCreateEvent" "', expected argument " "1"" of type '" "wxWindow *""'");
25873 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25877 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
25878 wxPyEndAllowThreads(__tstate
);
25879 if (PyErr_Occurred()) SWIG_fail
;
25881 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowCreateEvent
, SWIG_POINTER_NEW
| 0 );
25888 SWIGINTERN PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25889 PyObject
*resultobj
= 0;
25890 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
25891 wxWindow
*result
= 0 ;
25894 PyObject
*swig_obj
[1] ;
25896 if (!args
) SWIG_fail
;
25897 swig_obj
[0] = args
;
25898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindowCreateEvent
, 0 | 0 );
25899 if (!SWIG_IsOK(res1
)) {
25900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "WindowCreateEvent_GetWindow" "', expected argument " "1"" of type '" "wxWindowCreateEvent const *""'");
25902 arg1
= reinterpret_cast< wxWindowCreateEvent
* >(argp1
);
25904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25905 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
25906 wxPyEndAllowThreads(__tstate
);
25907 if (PyErr_Occurred()) SWIG_fail
;
25910 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25918 SWIGINTERN PyObject
*WindowCreateEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25920 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25921 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowCreateEvent
, SWIG_NewClientData(obj
));
25922 return SWIG_Py_Void();
25925 SWIGINTERN PyObject
*WindowCreateEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25926 return SWIG_Python_InitShadowInstance(args
);
25929 SWIGINTERN PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25930 PyObject
*resultobj
= 0;
25931 wxWindow
*arg1
= (wxWindow
*) NULL
;
25932 wxWindowDestroyEvent
*result
= 0 ;
25935 PyObject
* obj0
= 0 ;
25936 char * kwnames
[] = {
25937 (char *) "win", NULL
25940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) SWIG_fail
;
25942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25943 if (!SWIG_IsOK(res1
)) {
25944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDestroyEvent" "', expected argument " "1"" of type '" "wxWindow *""'");
25946 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25950 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
25951 wxPyEndAllowThreads(__tstate
);
25952 if (PyErr_Occurred()) SWIG_fail
;
25954 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_POINTER_NEW
| 0 );
25961 SWIGINTERN PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25962 PyObject
*resultobj
= 0;
25963 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
25964 wxWindow
*result
= 0 ;
25967 PyObject
*swig_obj
[1] ;
25969 if (!args
) SWIG_fail
;
25970 swig_obj
[0] = args
;
25971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindowDestroyEvent
, 0 | 0 );
25972 if (!SWIG_IsOK(res1
)) {
25973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "WindowDestroyEvent_GetWindow" "', expected argument " "1"" of type '" "wxWindowDestroyEvent const *""'");
25975 arg1
= reinterpret_cast< wxWindowDestroyEvent
* >(argp1
);
25977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25978 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
25979 wxPyEndAllowThreads(__tstate
);
25980 if (PyErr_Occurred()) SWIG_fail
;
25983 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25991 SWIGINTERN PyObject
*WindowDestroyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25993 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25994 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_NewClientData(obj
));
25995 return SWIG_Py_Void();
25998 SWIGINTERN PyObject
*WindowDestroyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25999 return SWIG_Python_InitShadowInstance(args
);
26002 SWIGINTERN PyObject
*_wrap_new_ContextMenuEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26003 PyObject
*resultobj
= 0;
26004 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
26005 int arg2
= (int) 0 ;
26006 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
26007 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
26008 wxContextMenuEvent
*result
= 0 ;
26014 PyObject
* obj0
= 0 ;
26015 PyObject
* obj1
= 0 ;
26016 PyObject
* obj2
= 0 ;
26017 char * kwnames
[] = {
26018 (char *) "type",(char *) "winid",(char *) "pt", NULL
26021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26023 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26024 if (!SWIG_IsOK(ecode1
)) {
26025 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ContextMenuEvent" "', expected argument " "1"" of type '" "wxEventType""'");
26027 arg1
= static_cast< wxEventType
>(val1
);
26030 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26031 if (!SWIG_IsOK(ecode2
)) {
26032 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextMenuEvent" "', expected argument " "2"" of type '" "int""'");
26034 arg2
= static_cast< int >(val2
);
26039 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26044 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
26045 wxPyEndAllowThreads(__tstate
);
26046 if (PyErr_Occurred()) SWIG_fail
;
26048 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_NEW
| 0 );
26055 SWIGINTERN PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26056 PyObject
*resultobj
= 0;
26057 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
26058 wxPoint
*result
= 0 ;
26061 PyObject
*swig_obj
[1] ;
26063 if (!args
) SWIG_fail
;
26064 swig_obj
[0] = args
;
26065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextMenuEvent
, 0 | 0 );
26066 if (!SWIG_IsOK(res1
)) {
26067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextMenuEvent_GetPosition" "', expected argument " "1"" of type '" "wxContextMenuEvent const *""'");
26069 arg1
= reinterpret_cast< wxContextMenuEvent
* >(argp1
);
26071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26073 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
26074 result
= (wxPoint
*) &_result_ref
;
26076 wxPyEndAllowThreads(__tstate
);
26077 if (PyErr_Occurred()) SWIG_fail
;
26079 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
26086 SWIGINTERN PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26087 PyObject
*resultobj
= 0;
26088 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
26089 wxPoint
*arg2
= 0 ;
26093 PyObject
* obj0
= 0 ;
26094 PyObject
* obj1
= 0 ;
26095 char * kwnames
[] = {
26096 (char *) "self",(char *) "pos", NULL
26099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextMenuEvent
, 0 | 0 );
26101 if (!SWIG_IsOK(res1
)) {
26102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextMenuEvent_SetPosition" "', expected argument " "1"" of type '" "wxContextMenuEvent *""'");
26104 arg1
= reinterpret_cast< wxContextMenuEvent
* >(argp1
);
26107 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26111 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
26112 wxPyEndAllowThreads(__tstate
);
26113 if (PyErr_Occurred()) SWIG_fail
;
26115 resultobj
= SWIG_Py_Void();
26122 SWIGINTERN PyObject
*ContextMenuEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26124 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26125 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextMenuEvent
, SWIG_NewClientData(obj
));
26126 return SWIG_Py_Void();
26129 SWIGINTERN PyObject
*ContextMenuEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26130 return SWIG_Python_InitShadowInstance(args
);
26133 SWIGINTERN PyObject
*_wrap_new_IdleEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26134 PyObject
*resultobj
= 0;
26135 wxIdleEvent
*result
= 0 ;
26137 if (!SWIG_Python_UnpackTuple(args
,"new_IdleEvent",0,0,0)) SWIG_fail
;
26139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26140 result
= (wxIdleEvent
*)new wxIdleEvent();
26141 wxPyEndAllowThreads(__tstate
);
26142 if (PyErr_Occurred()) SWIG_fail
;
26144 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_NEW
| 0 );
26151 SWIGINTERN PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26152 PyObject
*resultobj
= 0;
26153 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
26154 bool arg2
= (bool) true ;
26159 PyObject
* obj0
= 0 ;
26160 PyObject
* obj1
= 0 ;
26161 char * kwnames
[] = {
26162 (char *) "self",(char *) "needMore", NULL
26165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIdleEvent
, 0 | 0 );
26167 if (!SWIG_IsOK(res1
)) {
26168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IdleEvent_RequestMore" "', expected argument " "1"" of type '" "wxIdleEvent *""'");
26170 arg1
= reinterpret_cast< wxIdleEvent
* >(argp1
);
26172 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26173 if (!SWIG_IsOK(ecode2
)) {
26174 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IdleEvent_RequestMore" "', expected argument " "2"" of type '" "bool""'");
26176 arg2
= static_cast< bool >(val2
);
26179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26180 (arg1
)->RequestMore(arg2
);
26181 wxPyEndAllowThreads(__tstate
);
26182 if (PyErr_Occurred()) SWIG_fail
;
26184 resultobj
= SWIG_Py_Void();
26191 SWIGINTERN PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26192 PyObject
*resultobj
= 0;
26193 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
26197 PyObject
*swig_obj
[1] ;
26199 if (!args
) SWIG_fail
;
26200 swig_obj
[0] = args
;
26201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIdleEvent
, 0 | 0 );
26202 if (!SWIG_IsOK(res1
)) {
26203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IdleEvent_MoreRequested" "', expected argument " "1"" of type '" "wxIdleEvent const *""'");
26205 arg1
= reinterpret_cast< wxIdleEvent
* >(argp1
);
26207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26208 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
26209 wxPyEndAllowThreads(__tstate
);
26210 if (PyErr_Occurred()) SWIG_fail
;
26213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26221 SWIGINTERN PyObject
*_wrap_IdleEvent_SetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26222 PyObject
*resultobj
= 0;
26226 PyObject
* obj0
= 0 ;
26227 char * kwnames
[] = {
26228 (char *) "mode", NULL
26231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) SWIG_fail
;
26232 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26233 if (!SWIG_IsOK(ecode1
)) {
26234 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IdleEvent_SetMode" "', expected argument " "1"" of type '" "wxIdleMode""'");
26236 arg1
= static_cast< wxIdleMode
>(val1
);
26238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26239 wxIdleEvent::SetMode(arg1
);
26240 wxPyEndAllowThreads(__tstate
);
26241 if (PyErr_Occurred()) SWIG_fail
;
26243 resultobj
= SWIG_Py_Void();
26250 SWIGINTERN PyObject
*_wrap_IdleEvent_GetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26251 PyObject
*resultobj
= 0;
26254 if (!SWIG_Python_UnpackTuple(args
,"IdleEvent_GetMode",0,0,0)) SWIG_fail
;
26256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26257 result
= (wxIdleMode
)wxIdleEvent::GetMode();
26258 wxPyEndAllowThreads(__tstate
);
26259 if (PyErr_Occurred()) SWIG_fail
;
26261 resultobj
= SWIG_From_int(static_cast< int >(result
));
26268 SWIGINTERN PyObject
*_wrap_IdleEvent_CanSend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26269 PyObject
*resultobj
= 0;
26270 wxWindow
*arg1
= (wxWindow
*) 0 ;
26274 PyObject
* obj0
= 0 ;
26275 char * kwnames
[] = {
26276 (char *) "win", NULL
26279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) SWIG_fail
;
26280 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26281 if (!SWIG_IsOK(res1
)) {
26282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IdleEvent_CanSend" "', expected argument " "1"" of type '" "wxWindow *""'");
26284 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26287 result
= (bool)wxIdleEvent::CanSend(arg1
);
26288 wxPyEndAllowThreads(__tstate
);
26289 if (PyErr_Occurred()) SWIG_fail
;
26292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26300 SWIGINTERN PyObject
*IdleEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26302 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26303 SWIG_TypeNewClientData(SWIGTYPE_p_wxIdleEvent
, SWIG_NewClientData(obj
));
26304 return SWIG_Py_Void();
26307 SWIGINTERN PyObject
*IdleEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26308 return SWIG_Python_InitShadowInstance(args
);
26311 SWIGINTERN PyObject
*_wrap_new_PyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26312 PyObject
*resultobj
= 0;
26313 int arg1
= (int) 0 ;
26314 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
26315 wxPyEvent
*result
= 0 ;
26320 PyObject
* obj0
= 0 ;
26321 PyObject
* obj1
= 0 ;
26322 char * kwnames
[] = {
26323 (char *) "winid",(char *) "eventType", NULL
26326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26328 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26329 if (!SWIG_IsOK(ecode1
)) {
26330 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyEvent" "', expected argument " "1"" of type '" "int""'");
26332 arg1
= static_cast< int >(val1
);
26335 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26336 if (!SWIG_IsOK(ecode2
)) {
26337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyEvent" "', expected argument " "2"" of type '" "wxEventType""'");
26339 arg2
= static_cast< wxEventType
>(val2
);
26342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26343 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
26344 wxPyEndAllowThreads(__tstate
);
26345 if (PyErr_Occurred()) SWIG_fail
;
26347 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_NEW
| 0 );
26354 SWIGINTERN PyObject
*_wrap_delete_PyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26355 PyObject
*resultobj
= 0;
26356 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
26359 PyObject
*swig_obj
[1] ;
26361 if (!args
) SWIG_fail
;
26362 swig_obj
[0] = args
;
26363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_DISOWN
| 0 );
26364 if (!SWIG_IsOK(res1
)) {
26365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyEvent" "', expected argument " "1"" of type '" "wxPyEvent *""'");
26367 arg1
= reinterpret_cast< wxPyEvent
* >(argp1
);
26369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26372 wxPyEndAllowThreads(__tstate
);
26373 if (PyErr_Occurred()) SWIG_fail
;
26375 resultobj
= SWIG_Py_Void();
26382 SWIGINTERN PyObject
*_wrap_PyEvent__SetSelf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26383 PyObject
*resultobj
= 0;
26384 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
26385 PyObject
*arg2
= (PyObject
*) 0 ;
26388 PyObject
* obj0
= 0 ;
26389 PyObject
* obj1
= 0 ;
26390 char * kwnames
[] = {
26391 (char *) "self",(char *) "self", NULL
26394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent__SetSelf",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyEvent
, 0 | 0 );
26396 if (!SWIG_IsOK(res1
)) {
26397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyEvent__SetSelf" "', expected argument " "1"" of type '" "wxPyEvent *""'");
26399 arg1
= reinterpret_cast< wxPyEvent
* >(argp1
);
26402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26403 (arg1
)->SetSelf(arg2
);
26404 wxPyEndAllowThreads(__tstate
);
26405 if (PyErr_Occurred()) SWIG_fail
;
26407 resultobj
= SWIG_Py_Void();
26414 SWIGINTERN PyObject
*_wrap_PyEvent__GetSelf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26415 PyObject
*resultobj
= 0;
26416 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
26417 PyObject
*result
= 0 ;
26420 PyObject
*swig_obj
[1] ;
26422 if (!args
) SWIG_fail
;
26423 swig_obj
[0] = args
;
26424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyEvent
, 0 | 0 );
26425 if (!SWIG_IsOK(res1
)) {
26426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyEvent__GetSelf" "', expected argument " "1"" of type '" "wxPyEvent *""'");
26428 arg1
= reinterpret_cast< wxPyEvent
* >(argp1
);
26430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26431 result
= (PyObject
*)(arg1
)->GetSelf();
26432 wxPyEndAllowThreads(__tstate
);
26433 if (PyErr_Occurred()) SWIG_fail
;
26435 resultobj
= result
;
26442 SWIGINTERN PyObject
*PyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26444 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26445 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyEvent
, SWIG_NewClientData(obj
));
26446 return SWIG_Py_Void();
26449 SWIGINTERN PyObject
*PyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26450 return SWIG_Python_InitShadowInstance(args
);
26453 SWIGINTERN PyObject
*_wrap_new_PyCommandEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26454 PyObject
*resultobj
= 0;
26455 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
26456 int arg2
= (int) 0 ;
26457 wxPyCommandEvent
*result
= 0 ;
26462 PyObject
* obj0
= 0 ;
26463 PyObject
* obj1
= 0 ;
26464 char * kwnames
[] = {
26465 (char *) "eventType",(char *) "id", NULL
26468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26470 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26471 if (!SWIG_IsOK(ecode1
)) {
26472 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyCommandEvent" "', expected argument " "1"" of type '" "wxEventType""'");
26474 arg1
= static_cast< wxEventType
>(val1
);
26477 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26478 if (!SWIG_IsOK(ecode2
)) {
26479 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyCommandEvent" "', expected argument " "2"" of type '" "int""'");
26481 arg2
= static_cast< int >(val2
);
26484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26485 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
26486 wxPyEndAllowThreads(__tstate
);
26487 if (PyErr_Occurred()) SWIG_fail
;
26489 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_NEW
| 0 );
26496 SWIGINTERN PyObject
*_wrap_delete_PyCommandEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26497 PyObject
*resultobj
= 0;
26498 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
26501 PyObject
*swig_obj
[1] ;
26503 if (!args
) SWIG_fail
;
26504 swig_obj
[0] = args
;
26505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_DISOWN
| 0 );
26506 if (!SWIG_IsOK(res1
)) {
26507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyCommandEvent" "', expected argument " "1"" of type '" "wxPyCommandEvent *""'");
26509 arg1
= reinterpret_cast< wxPyCommandEvent
* >(argp1
);
26511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26514 wxPyEndAllowThreads(__tstate
);
26515 if (PyErr_Occurred()) SWIG_fail
;
26517 resultobj
= SWIG_Py_Void();
26524 SWIGINTERN PyObject
*_wrap_PyCommandEvent__SetSelf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26525 PyObject
*resultobj
= 0;
26526 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
26527 PyObject
*arg2
= (PyObject
*) 0 ;
26530 PyObject
* obj0
= 0 ;
26531 PyObject
* obj1
= 0 ;
26532 char * kwnames
[] = {
26533 (char *) "self",(char *) "self", NULL
26536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent__SetSelf",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyCommandEvent
, 0 | 0 );
26538 if (!SWIG_IsOK(res1
)) {
26539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyCommandEvent__SetSelf" "', expected argument " "1"" of type '" "wxPyCommandEvent *""'");
26541 arg1
= reinterpret_cast< wxPyCommandEvent
* >(argp1
);
26544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26545 (arg1
)->SetSelf(arg2
);
26546 wxPyEndAllowThreads(__tstate
);
26547 if (PyErr_Occurred()) SWIG_fail
;
26549 resultobj
= SWIG_Py_Void();
26556 SWIGINTERN PyObject
*_wrap_PyCommandEvent__GetSelf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26557 PyObject
*resultobj
= 0;
26558 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
26559 PyObject
*result
= 0 ;
26562 PyObject
*swig_obj
[1] ;
26564 if (!args
) SWIG_fail
;
26565 swig_obj
[0] = args
;
26566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyCommandEvent
, 0 | 0 );
26567 if (!SWIG_IsOK(res1
)) {
26568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyCommandEvent__GetSelf" "', expected argument " "1"" of type '" "wxPyCommandEvent *""'");
26570 arg1
= reinterpret_cast< wxPyCommandEvent
* >(argp1
);
26572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26573 result
= (PyObject
*)(arg1
)->GetSelf();
26574 wxPyEndAllowThreads(__tstate
);
26575 if (PyErr_Occurred()) SWIG_fail
;
26577 resultobj
= result
;
26584 SWIGINTERN PyObject
*PyCommandEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26586 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26587 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyCommandEvent
, SWIG_NewClientData(obj
));
26588 return SWIG_Py_Void();
26591 SWIGINTERN PyObject
*PyCommandEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26592 return SWIG_Python_InitShadowInstance(args
);
26595 SWIGINTERN PyObject
*_wrap_new_DateEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26596 PyObject
*resultobj
= 0;
26597 wxWindow
*arg1
= (wxWindow
*) 0 ;
26598 wxDateTime
*arg2
= 0 ;
26600 wxDateEvent
*result
= 0 ;
26607 PyObject
* obj0
= 0 ;
26608 PyObject
* obj1
= 0 ;
26609 PyObject
* obj2
= 0 ;
26610 char * kwnames
[] = {
26611 (char *) "win",(char *) "dt",(char *) "type", NULL
26614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_DateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26616 if (!SWIG_IsOK(res1
)) {
26617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DateEvent" "', expected argument " "1"" of type '" "wxWindow *""'");
26619 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26620 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26621 if (!SWIG_IsOK(res2
)) {
26622 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DateEvent" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26625 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DateEvent" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26627 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26628 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26629 if (!SWIG_IsOK(ecode3
)) {
26630 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateEvent" "', expected argument " "3"" of type '" "wxEventType""'");
26632 arg3
= static_cast< wxEventType
>(val3
);
26634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26635 result
= (wxDateEvent
*)new wxDateEvent(arg1
,(wxDateTime
const &)*arg2
,arg3
);
26636 wxPyEndAllowThreads(__tstate
);
26637 if (PyErr_Occurred()) SWIG_fail
;
26639 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_NEW
| 0 );
26646 SWIGINTERN PyObject
*_wrap_DateEvent_GetDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26647 PyObject
*resultobj
= 0;
26648 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
26649 wxDateTime
*result
= 0 ;
26652 PyObject
*swig_obj
[1] ;
26654 if (!args
) SWIG_fail
;
26655 swig_obj
[0] = args
;
26656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateEvent
, 0 | 0 );
26657 if (!SWIG_IsOK(res1
)) {
26658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateEvent_GetDate" "', expected argument " "1"" of type '" "wxDateEvent const *""'");
26660 arg1
= reinterpret_cast< wxDateEvent
* >(argp1
);
26662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26664 wxDateTime
const &_result_ref
= ((wxDateEvent
const *)arg1
)->GetDate();
26665 result
= (wxDateTime
*) &_result_ref
;
26667 wxPyEndAllowThreads(__tstate
);
26668 if (PyErr_Occurred()) SWIG_fail
;
26670 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26677 SWIGINTERN PyObject
*_wrap_DateEvent_SetDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26678 PyObject
*resultobj
= 0;
26679 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
26680 wxDateTime
*arg2
= 0 ;
26685 PyObject
* obj0
= 0 ;
26686 PyObject
* obj1
= 0 ;
26687 char * kwnames
[] = {
26688 (char *) "self",(char *) "date", NULL
26691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateEvent_SetDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateEvent
, 0 | 0 );
26693 if (!SWIG_IsOK(res1
)) {
26694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateEvent_SetDate" "', expected argument " "1"" of type '" "wxDateEvent *""'");
26696 arg1
= reinterpret_cast< wxDateEvent
* >(argp1
);
26697 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26698 if (!SWIG_IsOK(res2
)) {
26699 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateEvent_SetDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26702 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateEvent_SetDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26704 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26707 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
26708 wxPyEndAllowThreads(__tstate
);
26709 if (PyErr_Occurred()) SWIG_fail
;
26711 resultobj
= SWIG_Py_Void();
26718 SWIGINTERN PyObject
*DateEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26720 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26721 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateEvent
, SWIG_NewClientData(obj
));
26722 return SWIG_Py_Void();
26725 SWIGINTERN PyObject
*DateEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26726 return SWIG_Python_InitShadowInstance(args
);
26729 SWIGINTERN PyObject
*_wrap_new_PyApp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26730 PyObject
*resultobj
= 0;
26731 wxPyApp
*result
= 0 ;
26733 if (!SWIG_Python_UnpackTuple(args
,"new_PyApp",0,0,0)) SWIG_fail
;
26735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26736 result
= (wxPyApp
*)new_wxPyApp();
26737 wxPyEndAllowThreads(__tstate
);
26738 if (PyErr_Occurred()) SWIG_fail
;
26740 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyApp
, SWIG_POINTER_NEW
| 0 );
26747 SWIGINTERN PyObject
*_wrap_delete_PyApp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26748 PyObject
*resultobj
= 0;
26749 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
26752 PyObject
*swig_obj
[1] ;
26754 if (!args
) SWIG_fail
;
26755 swig_obj
[0] = args
;
26756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, SWIG_POINTER_DISOWN
| 0 );
26757 if (!SWIG_IsOK(res1
)) {
26758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyApp" "', expected argument " "1"" of type '" "wxPyApp *""'");
26760 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
26762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26765 wxPyEndAllowThreads(__tstate
);
26766 if (PyErr_Occurred()) SWIG_fail
;
26768 resultobj
= SWIG_Py_Void();
26775 SWIGINTERN PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26776 PyObject
*resultobj
= 0;
26777 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
26778 PyObject
*arg2
= (PyObject
*) 0 ;
26779 PyObject
*arg3
= (PyObject
*) 0 ;
26785 PyObject
* obj0
= 0 ;
26786 PyObject
* obj1
= 0 ;
26787 PyObject
* obj2
= 0 ;
26788 PyObject
* obj3
= 0 ;
26789 char * kwnames
[] = {
26790 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
26793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
26795 if (!SWIG_IsOK(res1
)) {
26796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyApp *""'");
26798 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
26801 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
26802 if (!SWIG_IsOK(ecode4
)) {
26803 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyApp__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
26805 arg4
= static_cast< bool >(val4
);
26807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26808 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
26809 wxPyEndAllowThreads(__tstate
);
26810 if (PyErr_Occurred()) SWIG_fail
;
26812 resultobj
= SWIG_Py_Void();
26819 SWIGINTERN PyObject
*_wrap_PyApp_GetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26820 PyObject
*resultobj
= 0;
26821 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
26825 PyObject
*swig_obj
[1] ;
26827 if (!args
) SWIG_fail
;
26828 swig_obj
[0] = args
;
26829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
26830 if (!SWIG_IsOK(res1
)) {
26831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetAppName" "', expected argument " "1"" of type '" "wxPyApp const *""'");
26833 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
26835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26836 result
= ((wxPyApp
const *)arg1
)->GetAppName();
26837 wxPyEndAllowThreads(__tstate
);
26838 if (PyErr_Occurred()) SWIG_fail
;
26842 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26844 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26853 SWIGINTERN PyObject
*_wrap_PyApp_SetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26854 PyObject
*resultobj
= 0;
26855 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
26856 wxString
*arg2
= 0 ;
26859 bool temp2
= false ;
26860 PyObject
* obj0
= 0 ;
26861 PyObject
* obj1
= 0 ;
26862 char * kwnames
[] = {
26863 (char *) "self",(char *) "name", NULL
26866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
26868 if (!SWIG_IsOK(res1
)) {
26869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetAppName" "', expected argument " "1"" of type '" "wxPyApp *""'");
26871 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
26873 arg2
= wxString_in_helper(obj1
);
26874 if (arg2
== NULL
) SWIG_fail
;
26878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26879 (arg1
)->SetAppName((wxString
const &)*arg2
);
26880 wxPyEndAllowThreads(__tstate
);
26881 if (PyErr_Occurred()) SWIG_fail
;
26883 resultobj
= SWIG_Py_Void();
26898 SWIGINTERN PyObject
*_wrap_PyApp_GetClassName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26899 PyObject
*resultobj
= 0;
26900 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
26904 PyObject
*swig_obj
[1] ;
26906 if (!args
) SWIG_fail
;
26907 swig_obj
[0] = args
;
26908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
26909 if (!SWIG_IsOK(res1
)) {
26910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetClassName" "', expected argument " "1"" of type '" "wxPyApp const *""'");
26912 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
26914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26915 result
= ((wxPyApp
const *)arg1
)->GetClassName();
26916 wxPyEndAllowThreads(__tstate
);
26917 if (PyErr_Occurred()) SWIG_fail
;
26921 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26923 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26932 SWIGINTERN PyObject
*_wrap_PyApp_SetClassName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26933 PyObject
*resultobj
= 0;
26934 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
26935 wxString
*arg2
= 0 ;
26938 bool temp2
= false ;
26939 PyObject
* obj0
= 0 ;
26940 PyObject
* obj1
= 0 ;
26941 char * kwnames
[] = {
26942 (char *) "self",(char *) "name", NULL
26945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
26947 if (!SWIG_IsOK(res1
)) {
26948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetClassName" "', expected argument " "1"" of type '" "wxPyApp *""'");
26950 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
26952 arg2
= wxString_in_helper(obj1
);
26953 if (arg2
== NULL
) SWIG_fail
;
26957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26958 (arg1
)->SetClassName((wxString
const &)*arg2
);
26959 wxPyEndAllowThreads(__tstate
);
26960 if (PyErr_Occurred()) SWIG_fail
;
26962 resultobj
= SWIG_Py_Void();
26977 SWIGINTERN PyObject
*_wrap_PyApp_GetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26978 PyObject
*resultobj
= 0;
26979 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
26980 wxString
*result
= 0 ;
26983 PyObject
*swig_obj
[1] ;
26985 if (!args
) SWIG_fail
;
26986 swig_obj
[0] = args
;
26987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
26988 if (!SWIG_IsOK(res1
)) {
26989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetVendorName" "', expected argument " "1"" of type '" "wxPyApp const *""'");
26991 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
26993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26995 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
26996 result
= (wxString
*) &_result_ref
;
26998 wxPyEndAllowThreads(__tstate
);
26999 if (PyErr_Occurred()) SWIG_fail
;
27003 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27005 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27014 SWIGINTERN PyObject
*_wrap_PyApp_SetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27015 PyObject
*resultobj
= 0;
27016 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27017 wxString
*arg2
= 0 ;
27020 bool temp2
= false ;
27021 PyObject
* obj0
= 0 ;
27022 PyObject
* obj1
= 0 ;
27023 char * kwnames
[] = {
27024 (char *) "self",(char *) "name", NULL
27027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27029 if (!SWIG_IsOK(res1
)) {
27030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetVendorName" "', expected argument " "1"" of type '" "wxPyApp *""'");
27032 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27034 arg2
= wxString_in_helper(obj1
);
27035 if (arg2
== NULL
) SWIG_fail
;
27039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27040 (arg1
)->SetVendorName((wxString
const &)*arg2
);
27041 wxPyEndAllowThreads(__tstate
);
27042 if (PyErr_Occurred()) SWIG_fail
;
27044 resultobj
= SWIG_Py_Void();
27059 SWIGINTERN PyObject
*_wrap_PyApp_GetTraits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27060 PyObject
*resultobj
= 0;
27061 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27062 wxAppTraits
*result
= 0 ;
27065 PyObject
*swig_obj
[1] ;
27067 if (!args
) SWIG_fail
;
27068 swig_obj
[0] = args
;
27069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27070 if (!SWIG_IsOK(res1
)) {
27071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetTraits" "', expected argument " "1"" of type '" "wxPyApp *""'");
27073 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27076 result
= (wxAppTraits
*)(arg1
)->GetTraits();
27077 wxPyEndAllowThreads(__tstate
);
27078 if (PyErr_Occurred()) SWIG_fail
;
27080 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAppTraits
, 0 | 0 );
27087 SWIGINTERN PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27088 PyObject
*resultobj
= 0;
27089 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27092 PyObject
*swig_obj
[1] ;
27094 if (!args
) SWIG_fail
;
27095 swig_obj
[0] = args
;
27096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27097 if (!SWIG_IsOK(res1
)) {
27098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_ProcessPendingEvents" "', expected argument " "1"" of type '" "wxPyApp *""'");
27100 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27103 (arg1
)->ProcessPendingEvents();
27104 wxPyEndAllowThreads(__tstate
);
27105 if (PyErr_Occurred()) SWIG_fail
;
27107 resultobj
= SWIG_Py_Void();
27114 SWIGINTERN PyObject
*_wrap_PyApp_Yield(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27115 PyObject
*resultobj
= 0;
27116 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27117 bool arg2
= (bool) false ;
27123 PyObject
* obj0
= 0 ;
27124 PyObject
* obj1
= 0 ;
27125 char * kwnames
[] = {
27126 (char *) "self",(char *) "onlyIfNeeded", NULL
27129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27131 if (!SWIG_IsOK(res1
)) {
27132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_Yield" "', expected argument " "1"" of type '" "wxPyApp *""'");
27134 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27136 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27137 if (!SWIG_IsOK(ecode2
)) {
27138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyApp_Yield" "', expected argument " "2"" of type '" "bool""'");
27140 arg2
= static_cast< bool >(val2
);
27143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27144 result
= (bool)(arg1
)->Yield(arg2
);
27145 wxPyEndAllowThreads(__tstate
);
27146 if (PyErr_Occurred()) SWIG_fail
;
27149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27157 SWIGINTERN PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27158 PyObject
*resultobj
= 0;
27159 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27162 PyObject
*swig_obj
[1] ;
27164 if (!args
) SWIG_fail
;
27165 swig_obj
[0] = args
;
27166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27167 if (!SWIG_IsOK(res1
)) {
27168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_WakeUpIdle" "', expected argument " "1"" of type '" "wxPyApp *""'");
27170 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27173 (arg1
)->WakeUpIdle();
27174 wxPyEndAllowThreads(__tstate
);
27175 if (PyErr_Occurred()) SWIG_fail
;
27177 resultobj
= SWIG_Py_Void();
27184 SWIGINTERN PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27185 PyObject
*resultobj
= 0;
27188 if (!SWIG_Python_UnpackTuple(args
,"PyApp_IsMainLoopRunning",0,0,0)) SWIG_fail
;
27190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27191 result
= (bool)wxPyApp::IsMainLoopRunning();
27192 wxPyEndAllowThreads(__tstate
);
27193 if (PyErr_Occurred()) SWIG_fail
;
27196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27204 SWIGINTERN PyObject
*_wrap_PyApp_MainLoop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27205 PyObject
*resultobj
= 0;
27206 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27210 PyObject
*swig_obj
[1] ;
27212 if (!args
) SWIG_fail
;
27213 swig_obj
[0] = args
;
27214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27215 if (!SWIG_IsOK(res1
)) {
27216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_MainLoop" "', expected argument " "1"" of type '" "wxPyApp *""'");
27218 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27221 result
= (int)(arg1
)->MainLoop();
27222 wxPyEndAllowThreads(__tstate
);
27223 if (PyErr_Occurred()) SWIG_fail
;
27225 resultobj
= SWIG_From_int(static_cast< int >(result
));
27232 SWIGINTERN PyObject
*_wrap_PyApp_Exit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27233 PyObject
*resultobj
= 0;
27234 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27237 PyObject
*swig_obj
[1] ;
27239 if (!args
) SWIG_fail
;
27240 swig_obj
[0] = args
;
27241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27242 if (!SWIG_IsOK(res1
)) {
27243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_Exit" "', expected argument " "1"" of type '" "wxPyApp *""'");
27245 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27249 wxPyEndAllowThreads(__tstate
);
27250 if (PyErr_Occurred()) SWIG_fail
;
27252 resultobj
= SWIG_Py_Void();
27259 SWIGINTERN PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27260 PyObject
*resultobj
= 0;
27261 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27264 PyObject
*swig_obj
[1] ;
27266 if (!args
) SWIG_fail
;
27267 swig_obj
[0] = args
;
27268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27269 if (!SWIG_IsOK(res1
)) {
27270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_ExitMainLoop" "', expected argument " "1"" of type '" "wxPyApp *""'");
27272 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27275 (arg1
)->ExitMainLoop();
27276 wxPyEndAllowThreads(__tstate
);
27277 if (PyErr_Occurred()) SWIG_fail
;
27279 resultobj
= SWIG_Py_Void();
27286 SWIGINTERN PyObject
*_wrap_PyApp_Pending(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27287 PyObject
*resultobj
= 0;
27288 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27292 PyObject
*swig_obj
[1] ;
27294 if (!args
) SWIG_fail
;
27295 swig_obj
[0] = args
;
27296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27297 if (!SWIG_IsOK(res1
)) {
27298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_Pending" "', expected argument " "1"" of type '" "wxPyApp *""'");
27300 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27303 result
= (bool)(arg1
)->Pending();
27304 wxPyEndAllowThreads(__tstate
);
27305 if (PyErr_Occurred()) SWIG_fail
;
27308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27316 SWIGINTERN PyObject
*_wrap_PyApp_Dispatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27317 PyObject
*resultobj
= 0;
27318 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27322 PyObject
*swig_obj
[1] ;
27324 if (!args
) SWIG_fail
;
27325 swig_obj
[0] = args
;
27326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27327 if (!SWIG_IsOK(res1
)) {
27328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_Dispatch" "', expected argument " "1"" of type '" "wxPyApp *""'");
27330 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27333 result
= (bool)(arg1
)->Dispatch();
27334 wxPyEndAllowThreads(__tstate
);
27335 if (PyErr_Occurred()) SWIG_fail
;
27338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27346 SWIGINTERN PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27347 PyObject
*resultobj
= 0;
27348 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27352 PyObject
*swig_obj
[1] ;
27354 if (!args
) SWIG_fail
;
27355 swig_obj
[0] = args
;
27356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27357 if (!SWIG_IsOK(res1
)) {
27358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_ProcessIdle" "', expected argument " "1"" of type '" "wxPyApp *""'");
27360 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27363 result
= (bool)(arg1
)->ProcessIdle();
27364 wxPyEndAllowThreads(__tstate
);
27365 if (PyErr_Occurred()) SWIG_fail
;
27368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27376 SWIGINTERN PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27377 PyObject
*resultobj
= 0;
27378 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27379 wxWindow
*arg2
= (wxWindow
*) 0 ;
27380 wxIdleEvent
*arg3
= 0 ;
27388 PyObject
* obj0
= 0 ;
27389 PyObject
* obj1
= 0 ;
27390 PyObject
* obj2
= 0 ;
27391 char * kwnames
[] = {
27392 (char *) "self",(char *) "win",(char *) "event", NULL
27395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27397 if (!SWIG_IsOK(res1
)) {
27398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SendIdleEvents" "', expected argument " "1"" of type '" "wxPyApp *""'");
27400 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27401 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27402 if (!SWIG_IsOK(res2
)) {
27403 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyApp_SendIdleEvents" "', expected argument " "2"" of type '" "wxWindow *""'");
27405 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27406 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxIdleEvent
, 0 );
27407 if (!SWIG_IsOK(res3
)) {
27408 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyApp_SendIdleEvents" "', expected argument " "3"" of type '" "wxIdleEvent &""'");
27411 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PyApp_SendIdleEvents" "', expected argument " "3"" of type '" "wxIdleEvent &""'");
27413 arg3
= reinterpret_cast< wxIdleEvent
* >(argp3
);
27415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27416 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
27417 wxPyEndAllowThreads(__tstate
);
27418 if (PyErr_Occurred()) SWIG_fail
;
27421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27429 SWIGINTERN PyObject
*_wrap_PyApp_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27430 PyObject
*resultobj
= 0;
27431 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27435 PyObject
*swig_obj
[1] ;
27437 if (!args
) SWIG_fail
;
27438 swig_obj
[0] = args
;
27439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27440 if (!SWIG_IsOK(res1
)) {
27441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_IsActive" "', expected argument " "1"" of type '" "wxPyApp const *""'");
27443 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27446 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
27447 wxPyEndAllowThreads(__tstate
);
27448 if (PyErr_Occurred()) SWIG_fail
;
27451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27459 SWIGINTERN PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27460 PyObject
*resultobj
= 0;
27461 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27462 wxWindow
*arg2
= (wxWindow
*) 0 ;
27467 PyObject
* obj0
= 0 ;
27468 PyObject
* obj1
= 0 ;
27469 char * kwnames
[] = {
27470 (char *) "self",(char *) "win", NULL
27473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27475 if (!SWIG_IsOK(res1
)) {
27476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetTopWindow" "', expected argument " "1"" of type '" "wxPyApp *""'");
27478 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27479 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27480 if (!SWIG_IsOK(res2
)) {
27481 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyApp_SetTopWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27483 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27486 (arg1
)->SetTopWindow(arg2
);
27487 wxPyEndAllowThreads(__tstate
);
27488 if (PyErr_Occurred()) SWIG_fail
;
27490 resultobj
= SWIG_Py_Void();
27497 SWIGINTERN PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27498 PyObject
*resultobj
= 0;
27499 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27500 wxWindow
*result
= 0 ;
27503 PyObject
*swig_obj
[1] ;
27505 if (!args
) SWIG_fail
;
27506 swig_obj
[0] = args
;
27507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27508 if (!SWIG_IsOK(res1
)) {
27509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetTopWindow" "', expected argument " "1"" of type '" "wxPyApp const *""'");
27511 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27514 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
27515 wxPyEndAllowThreads(__tstate
);
27516 if (PyErr_Occurred()) SWIG_fail
;
27519 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27527 SWIGINTERN PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27528 PyObject
*resultobj
= 0;
27529 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27535 PyObject
* obj0
= 0 ;
27536 PyObject
* obj1
= 0 ;
27537 char * kwnames
[] = {
27538 (char *) "self",(char *) "flag", NULL
27541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27543 if (!SWIG_IsOK(res1
)) {
27544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetExitOnFrameDelete" "', expected argument " "1"" of type '" "wxPyApp *""'");
27546 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27547 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27548 if (!SWIG_IsOK(ecode2
)) {
27549 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyApp_SetExitOnFrameDelete" "', expected argument " "2"" of type '" "bool""'");
27551 arg2
= static_cast< bool >(val2
);
27553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27554 (arg1
)->SetExitOnFrameDelete(arg2
);
27555 wxPyEndAllowThreads(__tstate
);
27556 if (PyErr_Occurred()) SWIG_fail
;
27558 resultobj
= SWIG_Py_Void();
27565 SWIGINTERN PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27566 PyObject
*resultobj
= 0;
27567 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27571 PyObject
*swig_obj
[1] ;
27573 if (!args
) SWIG_fail
;
27574 swig_obj
[0] = args
;
27575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27576 if (!SWIG_IsOK(res1
)) {
27577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetExitOnFrameDelete" "', expected argument " "1"" of type '" "wxPyApp const *""'");
27579 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27582 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
27583 wxPyEndAllowThreads(__tstate
);
27584 if (PyErr_Occurred()) SWIG_fail
;
27587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27595 SWIGINTERN PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27596 PyObject
*resultobj
= 0;
27597 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27603 PyObject
* obj0
= 0 ;
27604 PyObject
* obj1
= 0 ;
27605 char * kwnames
[] = {
27606 (char *) "self",(char *) "flag", NULL
27609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27611 if (!SWIG_IsOK(res1
)) {
27612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetUseBestVisual" "', expected argument " "1"" of type '" "wxPyApp *""'");
27614 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27615 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27616 if (!SWIG_IsOK(ecode2
)) {
27617 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyApp_SetUseBestVisual" "', expected argument " "2"" of type '" "bool""'");
27619 arg2
= static_cast< bool >(val2
);
27621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27622 (arg1
)->SetUseBestVisual(arg2
);
27623 wxPyEndAllowThreads(__tstate
);
27624 if (PyErr_Occurred()) SWIG_fail
;
27626 resultobj
= SWIG_Py_Void();
27633 SWIGINTERN PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27634 PyObject
*resultobj
= 0;
27635 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27639 PyObject
*swig_obj
[1] ;
27641 if (!args
) SWIG_fail
;
27642 swig_obj
[0] = args
;
27643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27644 if (!SWIG_IsOK(res1
)) {
27645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetUseBestVisual" "', expected argument " "1"" of type '" "wxPyApp const *""'");
27647 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27650 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
27651 wxPyEndAllowThreads(__tstate
);
27652 if (PyErr_Occurred()) SWIG_fail
;
27655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27663 SWIGINTERN PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27664 PyObject
*resultobj
= 0;
27665 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27671 PyObject
* obj0
= 0 ;
27672 PyObject
* obj1
= 0 ;
27673 char * kwnames
[] = {
27674 (char *) "self",(char *) "mode", NULL
27677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27679 if (!SWIG_IsOK(res1
)) {
27680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetPrintMode" "', expected argument " "1"" of type '" "wxPyApp *""'");
27682 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27683 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27684 if (!SWIG_IsOK(ecode2
)) {
27685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyApp_SetPrintMode" "', expected argument " "2"" of type '" "int""'");
27687 arg2
= static_cast< int >(val2
);
27689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27690 (arg1
)->SetPrintMode(arg2
);
27691 wxPyEndAllowThreads(__tstate
);
27692 if (PyErr_Occurred()) SWIG_fail
;
27694 resultobj
= SWIG_Py_Void();
27701 SWIGINTERN PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27702 PyObject
*resultobj
= 0;
27703 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27707 PyObject
*swig_obj
[1] ;
27709 if (!args
) SWIG_fail
;
27710 swig_obj
[0] = args
;
27711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27712 if (!SWIG_IsOK(res1
)) {
27713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetPrintMode" "', expected argument " "1"" of type '" "wxPyApp const *""'");
27715 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27718 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
27719 wxPyEndAllowThreads(__tstate
);
27720 if (PyErr_Occurred()) SWIG_fail
;
27722 resultobj
= SWIG_From_int(static_cast< int >(result
));
27729 SWIGINTERN PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27730 PyObject
*resultobj
= 0;
27731 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27737 PyObject
* obj0
= 0 ;
27738 PyObject
* obj1
= 0 ;
27739 char * kwnames
[] = {
27740 (char *) "self",(char *) "mode", NULL
27743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27745 if (!SWIG_IsOK(res1
)) {
27746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetAssertMode" "', expected argument " "1"" of type '" "wxPyApp *""'");
27748 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27749 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27750 if (!SWIG_IsOK(ecode2
)) {
27751 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyApp_SetAssertMode" "', expected argument " "2"" of type '" "int""'");
27753 arg2
= static_cast< int >(val2
);
27755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27756 (arg1
)->SetAssertMode(arg2
);
27757 wxPyEndAllowThreads(__tstate
);
27758 if (PyErr_Occurred()) SWIG_fail
;
27760 resultobj
= SWIG_Py_Void();
27767 SWIGINTERN PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27768 PyObject
*resultobj
= 0;
27769 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27773 PyObject
*swig_obj
[1] ;
27775 if (!args
) SWIG_fail
;
27776 swig_obj
[0] = args
;
27777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27778 if (!SWIG_IsOK(res1
)) {
27779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetAssertMode" "', expected argument " "1"" of type '" "wxPyApp *""'");
27781 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27784 result
= (int)(arg1
)->GetAssertMode();
27785 wxPyEndAllowThreads(__tstate
);
27786 if (PyErr_Occurred()) SWIG_fail
;
27788 resultobj
= SWIG_From_int(static_cast< int >(result
));
27795 SWIGINTERN PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27796 PyObject
*resultobj
= 0;
27799 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetMacSupportPCMenuShortcuts",0,0,0)) SWIG_fail
;
27801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27802 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
27803 wxPyEndAllowThreads(__tstate
);
27804 if (PyErr_Occurred()) SWIG_fail
;
27807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27815 SWIGINTERN PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27816 PyObject
*resultobj
= 0;
27819 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetMacAboutMenuItemId",0,0,0)) SWIG_fail
;
27821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27822 result
= (long)wxPyApp::GetMacAboutMenuItemId();
27823 wxPyEndAllowThreads(__tstate
);
27824 if (PyErr_Occurred()) SWIG_fail
;
27826 resultobj
= SWIG_From_long(static_cast< long >(result
));
27833 SWIGINTERN PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27834 PyObject
*resultobj
= 0;
27837 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetMacPreferencesMenuItemId",0,0,0)) SWIG_fail
;
27839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27840 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
27841 wxPyEndAllowThreads(__tstate
);
27842 if (PyErr_Occurred()) SWIG_fail
;
27844 resultobj
= SWIG_From_long(static_cast< long >(result
));
27851 SWIGINTERN PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27852 PyObject
*resultobj
= 0;
27855 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetMacExitMenuItemId",0,0,0)) SWIG_fail
;
27857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27858 result
= (long)wxPyApp::GetMacExitMenuItemId();
27859 wxPyEndAllowThreads(__tstate
);
27860 if (PyErr_Occurred()) SWIG_fail
;
27862 resultobj
= SWIG_From_long(static_cast< long >(result
));
27869 SWIGINTERN PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27870 PyObject
*resultobj
= 0;
27873 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetMacHelpMenuTitleName",0,0,0)) SWIG_fail
;
27875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27876 result
= wxPyApp::GetMacHelpMenuTitleName();
27877 wxPyEndAllowThreads(__tstate
);
27878 if (PyErr_Occurred()) SWIG_fail
;
27882 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27884 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27893 SWIGINTERN PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27894 PyObject
*resultobj
= 0;
27898 PyObject
* obj0
= 0 ;
27899 char * kwnames
[] = {
27900 (char *) "val", NULL
27903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) SWIG_fail
;
27904 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
27905 if (!SWIG_IsOK(ecode1
)) {
27906 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PyApp_SetMacSupportPCMenuShortcuts" "', expected argument " "1"" of type '" "bool""'");
27908 arg1
= static_cast< bool >(val1
);
27910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27911 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
27912 wxPyEndAllowThreads(__tstate
);
27913 if (PyErr_Occurred()) SWIG_fail
;
27915 resultobj
= SWIG_Py_Void();
27922 SWIGINTERN PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27923 PyObject
*resultobj
= 0;
27927 PyObject
* obj0
= 0 ;
27928 char * kwnames
[] = {
27929 (char *) "val", NULL
27932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) SWIG_fail
;
27933 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27934 if (!SWIG_IsOK(ecode1
)) {
27935 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PyApp_SetMacAboutMenuItemId" "', expected argument " "1"" of type '" "long""'");
27937 arg1
= static_cast< long >(val1
);
27939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27940 wxPyApp::SetMacAboutMenuItemId(arg1
);
27941 wxPyEndAllowThreads(__tstate
);
27942 if (PyErr_Occurred()) SWIG_fail
;
27944 resultobj
= SWIG_Py_Void();
27951 SWIGINTERN PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27952 PyObject
*resultobj
= 0;
27956 PyObject
* obj0
= 0 ;
27957 char * kwnames
[] = {
27958 (char *) "val", NULL
27961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) SWIG_fail
;
27962 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27963 if (!SWIG_IsOK(ecode1
)) {
27964 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PyApp_SetMacPreferencesMenuItemId" "', expected argument " "1"" of type '" "long""'");
27966 arg1
= static_cast< long >(val1
);
27968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27969 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
27970 wxPyEndAllowThreads(__tstate
);
27971 if (PyErr_Occurred()) SWIG_fail
;
27973 resultobj
= SWIG_Py_Void();
27980 SWIGINTERN PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27981 PyObject
*resultobj
= 0;
27985 PyObject
* obj0
= 0 ;
27986 char * kwnames
[] = {
27987 (char *) "val", NULL
27990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) SWIG_fail
;
27991 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
27992 if (!SWIG_IsOK(ecode1
)) {
27993 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PyApp_SetMacExitMenuItemId" "', expected argument " "1"" of type '" "long""'");
27995 arg1
= static_cast< long >(val1
);
27997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27998 wxPyApp::SetMacExitMenuItemId(arg1
);
27999 wxPyEndAllowThreads(__tstate
);
28000 if (PyErr_Occurred()) SWIG_fail
;
28002 resultobj
= SWIG_Py_Void();
28009 SWIGINTERN PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28010 PyObject
*resultobj
= 0;
28011 wxString
*arg1
= 0 ;
28012 bool temp1
= false ;
28013 PyObject
* obj0
= 0 ;
28014 char * kwnames
[] = {
28015 (char *) "val", NULL
28018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) SWIG_fail
;
28020 arg1
= wxString_in_helper(obj0
);
28021 if (arg1
== NULL
) SWIG_fail
;
28025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28026 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
28027 wxPyEndAllowThreads(__tstate
);
28028 if (PyErr_Occurred()) SWIG_fail
;
28030 resultobj
= SWIG_Py_Void();
28045 SWIGINTERN PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28046 PyObject
*resultobj
= 0;
28047 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28050 PyObject
*swig_obj
[1] ;
28052 if (!args
) SWIG_fail
;
28053 swig_obj
[0] = args
;
28054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28055 if (!SWIG_IsOK(res1
)) {
28056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp__BootstrapApp" "', expected argument " "1"" of type '" "wxPyApp *""'");
28058 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28061 (arg1
)->_BootstrapApp();
28062 wxPyEndAllowThreads(__tstate
);
28063 if (PyErr_Occurred()) SWIG_fail
;
28065 resultobj
= SWIG_Py_Void();
28072 SWIGINTERN PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28073 PyObject
*resultobj
= 0;
28076 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetComCtl32Version",0,0,0)) SWIG_fail
;
28078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28079 result
= (int)wxPyApp_GetComCtl32Version();
28080 wxPyEndAllowThreads(__tstate
);
28081 if (PyErr_Occurred()) SWIG_fail
;
28083 resultobj
= SWIG_From_int(static_cast< int >(result
));
28090 SWIGINTERN PyObject
*PyApp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28092 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28093 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyApp
, SWIG_NewClientData(obj
));
28094 return SWIG_Py_Void();
28097 SWIGINTERN PyObject
*PyApp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28098 return SWIG_Python_InitShadowInstance(args
);
28101 SWIGINTERN PyObject
*_wrap_Exit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28102 PyObject
*resultobj
= 0;
28104 if (!SWIG_Python_UnpackTuple(args
,"Exit",0,0,0)) SWIG_fail
;
28106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28108 wxPyEndAllowThreads(__tstate
);
28109 if (PyErr_Occurred()) SWIG_fail
;
28111 resultobj
= SWIG_Py_Void();
28118 SWIGINTERN PyObject
*_wrap_Yield(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28119 PyObject
*resultobj
= 0;
28122 if (!SWIG_Python_UnpackTuple(args
,"Yield",0,0,0)) SWIG_fail
;
28124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28125 result
= (bool)wxYield();
28126 wxPyEndAllowThreads(__tstate
);
28127 if (PyErr_Occurred()) SWIG_fail
;
28130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28138 SWIGINTERN PyObject
*_wrap_YieldIfNeeded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28139 PyObject
*resultobj
= 0;
28142 if (!SWIG_Python_UnpackTuple(args
,"YieldIfNeeded",0,0,0)) SWIG_fail
;
28144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28145 result
= (bool)wxYieldIfNeeded();
28146 wxPyEndAllowThreads(__tstate
);
28147 if (PyErr_Occurred()) SWIG_fail
;
28150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28158 SWIGINTERN PyObject
*_wrap_SafeYield(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28159 PyObject
*resultobj
= 0;
28160 wxWindow
*arg1
= (wxWindow
*) NULL
;
28161 bool arg2
= (bool) false ;
28167 PyObject
* obj0
= 0 ;
28168 PyObject
* obj1
= 0 ;
28169 char * kwnames
[] = {
28170 (char *) "win",(char *) "onlyIfNeeded", NULL
28173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28176 if (!SWIG_IsOK(res1
)) {
28177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SafeYield" "', expected argument " "1"" of type '" "wxWindow *""'");
28179 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28182 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28183 if (!SWIG_IsOK(ecode2
)) {
28184 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SafeYield" "', expected argument " "2"" of type '" "bool""'");
28186 arg2
= static_cast< bool >(val2
);
28189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28190 result
= (bool)wxSafeYield(arg1
,arg2
);
28191 wxPyEndAllowThreads(__tstate
);
28192 if (PyErr_Occurred()) SWIG_fail
;
28195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28203 SWIGINTERN PyObject
*_wrap_WakeUpIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28204 PyObject
*resultobj
= 0;
28206 if (!SWIG_Python_UnpackTuple(args
,"WakeUpIdle",0,0,0)) SWIG_fail
;
28208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28210 wxPyEndAllowThreads(__tstate
);
28211 if (PyErr_Occurred()) SWIG_fail
;
28213 resultobj
= SWIG_Py_Void();
28220 SWIGINTERN PyObject
*_wrap_PostEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28221 PyObject
*resultobj
= 0;
28222 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
28223 wxEvent
*arg2
= 0 ;
28228 PyObject
* obj0
= 0 ;
28229 PyObject
* obj1
= 0 ;
28230 char * kwnames
[] = {
28231 (char *) "dest",(char *) "event", NULL
28234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
28236 if (!SWIG_IsOK(res1
)) {
28237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostEvent" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
28239 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
28240 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxEvent
, 0 );
28241 if (!SWIG_IsOK(res2
)) {
28242 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
28245 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
28247 arg2
= reinterpret_cast< wxEvent
* >(argp2
);
28249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28250 wxPostEvent(arg1
,*arg2
);
28251 wxPyEndAllowThreads(__tstate
);
28252 if (PyErr_Occurred()) SWIG_fail
;
28254 resultobj
= SWIG_Py_Void();
28261 SWIGINTERN PyObject
*_wrap_App_CleanUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28262 PyObject
*resultobj
= 0;
28264 if (!SWIG_Python_UnpackTuple(args
,"App_CleanUp",0,0,0)) SWIG_fail
;
28266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28268 wxPyEndAllowThreads(__tstate
);
28269 if (PyErr_Occurred()) SWIG_fail
;
28271 resultobj
= SWIG_Py_Void();
28278 SWIGINTERN PyObject
*_wrap_GetApp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28279 PyObject
*resultobj
= 0;
28280 wxPyApp
*result
= 0 ;
28282 if (!SWIG_Python_UnpackTuple(args
,"GetApp",0,0,0)) SWIG_fail
;
28284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28285 result
= (wxPyApp
*)wxPyGetApp();
28286 wxPyEndAllowThreads(__tstate
);
28287 if (PyErr_Occurred()) SWIG_fail
;
28290 resultobj
= wxPyMake_wxObject(result
, 0);
28298 SWIGINTERN PyObject
*_wrap_SetDefaultPyEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28299 PyObject
*resultobj
= 0;
28300 char *arg1
= (char *) 0 ;
28304 PyObject
* obj0
= 0 ;
28305 char * kwnames
[] = {
28306 (char *) "encoding", NULL
28309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetDefaultPyEncoding",kwnames
,&obj0
)) SWIG_fail
;
28310 res1
= SWIG_AsCharPtrAndSize(obj0
, &buf1
, NULL
, &alloc1
);
28311 if (!SWIG_IsOK(res1
)) {
28312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetDefaultPyEncoding" "', expected argument " "1"" of type '" "char const *""'");
28316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28317 wxSetDefaultPyEncoding((char const *)arg1
);
28318 wxPyEndAllowThreads(__tstate
);
28319 if (PyErr_Occurred()) SWIG_fail
;
28321 resultobj
= SWIG_Py_Void();
28322 if (alloc1
== SWIG_NEWOBJ
) delete[] buf1
;
28325 if (alloc1
== SWIG_NEWOBJ
) delete[] buf1
;
28330 SWIGINTERN PyObject
*_wrap_GetDefaultPyEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28331 PyObject
*resultobj
= 0;
28334 if (!SWIG_Python_UnpackTuple(args
,"GetDefaultPyEncoding",0,0,0)) SWIG_fail
;
28336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28337 result
= (char *)wxGetDefaultPyEncoding();
28338 wxPyEndAllowThreads(__tstate
);
28339 if (PyErr_Occurred()) SWIG_fail
;
28341 resultobj
= SWIG_FromCharPtr(result
);
28348 SWIGINTERN PyObject
*_wrap_new_EventLoop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28349 PyObject
*resultobj
= 0;
28350 wxEventLoop
*result
= 0 ;
28352 if (!SWIG_Python_UnpackTuple(args
,"new_EventLoop",0,0,0)) SWIG_fail
;
28354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28355 result
= (wxEventLoop
*)new wxEventLoop();
28356 wxPyEndAllowThreads(__tstate
);
28357 if (PyErr_Occurred()) SWIG_fail
;
28359 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_NEW
| 0 );
28366 SWIGINTERN PyObject
*_wrap_delete_EventLoop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28367 PyObject
*resultobj
= 0;
28368 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
28371 PyObject
*swig_obj
[1] ;
28373 if (!args
) SWIG_fail
;
28374 swig_obj
[0] = args
;
28375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_DISOWN
| 0 );
28376 if (!SWIG_IsOK(res1
)) {
28377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EventLoop" "', expected argument " "1"" of type '" "wxEventLoop *""'");
28379 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
28381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28384 wxPyEndAllowThreads(__tstate
);
28385 if (PyErr_Occurred()) SWIG_fail
;
28387 resultobj
= SWIG_Py_Void();
28394 SWIGINTERN PyObject
*_wrap_EventLoop_Run(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28395 PyObject
*resultobj
= 0;
28396 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
28400 PyObject
*swig_obj
[1] ;
28402 if (!args
) SWIG_fail
;
28403 swig_obj
[0] = args
;
28404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
28405 if (!SWIG_IsOK(res1
)) {
28406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_Run" "', expected argument " "1"" of type '" "wxEventLoop *""'");
28408 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
28410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28411 result
= (int)(arg1
)->Run();
28412 wxPyEndAllowThreads(__tstate
);
28413 if (PyErr_Occurred()) SWIG_fail
;
28415 resultobj
= SWIG_From_int(static_cast< int >(result
));
28422 SWIGINTERN PyObject
*_wrap_EventLoop_Exit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28423 PyObject
*resultobj
= 0;
28424 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
28425 int arg2
= (int) 0 ;
28430 PyObject
* obj0
= 0 ;
28431 PyObject
* obj1
= 0 ;
28432 char * kwnames
[] = {
28433 (char *) "self",(char *) "rc", NULL
28436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
28438 if (!SWIG_IsOK(res1
)) {
28439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_Exit" "', expected argument " "1"" of type '" "wxEventLoop *""'");
28441 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
28443 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28444 if (!SWIG_IsOK(ecode2
)) {
28445 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EventLoop_Exit" "', expected argument " "2"" of type '" "int""'");
28447 arg2
= static_cast< int >(val2
);
28450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28451 (arg1
)->Exit(arg2
);
28452 wxPyEndAllowThreads(__tstate
);
28453 if (PyErr_Occurred()) SWIG_fail
;
28455 resultobj
= SWIG_Py_Void();
28462 SWIGINTERN PyObject
*_wrap_EventLoop_Pending(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28463 PyObject
*resultobj
= 0;
28464 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
28468 PyObject
*swig_obj
[1] ;
28470 if (!args
) SWIG_fail
;
28471 swig_obj
[0] = args
;
28472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
28473 if (!SWIG_IsOK(res1
)) {
28474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_Pending" "', expected argument " "1"" of type '" "wxEventLoop const *""'");
28476 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
28478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28479 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
28480 wxPyEndAllowThreads(__tstate
);
28481 if (PyErr_Occurred()) SWIG_fail
;
28484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28492 SWIGINTERN PyObject
*_wrap_EventLoop_Dispatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28493 PyObject
*resultobj
= 0;
28494 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
28498 PyObject
*swig_obj
[1] ;
28500 if (!args
) SWIG_fail
;
28501 swig_obj
[0] = args
;
28502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
28503 if (!SWIG_IsOK(res1
)) {
28504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_Dispatch" "', expected argument " "1"" of type '" "wxEventLoop *""'");
28506 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
28508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28509 result
= (bool)(arg1
)->Dispatch();
28510 wxPyEndAllowThreads(__tstate
);
28511 if (PyErr_Occurred()) SWIG_fail
;
28514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28522 SWIGINTERN PyObject
*_wrap_EventLoop_IsRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28523 PyObject
*resultobj
= 0;
28524 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
28528 PyObject
*swig_obj
[1] ;
28530 if (!args
) SWIG_fail
;
28531 swig_obj
[0] = args
;
28532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
28533 if (!SWIG_IsOK(res1
)) {
28534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_IsRunning" "', expected argument " "1"" of type '" "wxEventLoop const *""'");
28536 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
28538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28539 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
28540 wxPyEndAllowThreads(__tstate
);
28541 if (PyErr_Occurred()) SWIG_fail
;
28544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28552 SWIGINTERN PyObject
*_wrap_EventLoop_GetActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28553 PyObject
*resultobj
= 0;
28554 wxEventLoop
*result
= 0 ;
28556 if (!SWIG_Python_UnpackTuple(args
,"EventLoop_GetActive",0,0,0)) SWIG_fail
;
28558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28559 result
= (wxEventLoop
*)wxEventLoop::GetActive();
28560 wxPyEndAllowThreads(__tstate
);
28561 if (PyErr_Occurred()) SWIG_fail
;
28563 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEventLoop
, 0 | 0 );
28570 SWIGINTERN PyObject
*_wrap_EventLoop_SetActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28571 PyObject
*resultobj
= 0;
28572 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
28575 PyObject
* obj0
= 0 ;
28576 char * kwnames
[] = {
28577 (char *) "loop", NULL
28580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) SWIG_fail
;
28581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
28582 if (!SWIG_IsOK(res1
)) {
28583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_SetActive" "', expected argument " "1"" of type '" "wxEventLoop *""'");
28585 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
28587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28588 wxEventLoop::SetActive(arg1
);
28589 wxPyEndAllowThreads(__tstate
);
28590 if (PyErr_Occurred()) SWIG_fail
;
28592 resultobj
= SWIG_Py_Void();
28599 SWIGINTERN PyObject
*EventLoop_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28601 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28602 SWIG_TypeNewClientData(SWIGTYPE_p_wxEventLoop
, SWIG_NewClientData(obj
));
28603 return SWIG_Py_Void();
28606 SWIGINTERN PyObject
*EventLoop_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28607 return SWIG_Python_InitShadowInstance(args
);
28610 SWIGINTERN PyObject
*_wrap_new_EventLoopActivator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28611 PyObject
*resultobj
= 0;
28612 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
28613 wxEventLoopActivator
*result
= 0 ;
28616 PyObject
* obj0
= 0 ;
28617 char * kwnames
[] = {
28618 (char *) "evtLoop", NULL
28621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_EventLoopActivator",kwnames
,&obj0
)) SWIG_fail
;
28622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
28623 if (!SWIG_IsOK(res1
)) {
28624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_EventLoopActivator" "', expected argument " "1"" of type '" "wxEventLoop *""'");
28626 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
28628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28629 result
= (wxEventLoopActivator
*)new wxEventLoopActivator(arg1
);
28630 wxPyEndAllowThreads(__tstate
);
28631 if (PyErr_Occurred()) SWIG_fail
;
28633 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEventLoopActivator
, SWIG_POINTER_NEW
| 0 );
28640 SWIGINTERN PyObject
*_wrap_delete_EventLoopActivator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28641 PyObject
*resultobj
= 0;
28642 wxEventLoopActivator
*arg1
= (wxEventLoopActivator
*) 0 ;
28645 PyObject
*swig_obj
[1] ;
28647 if (!args
) SWIG_fail
;
28648 swig_obj
[0] = args
;
28649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoopActivator
, SWIG_POINTER_DISOWN
| 0 );
28650 if (!SWIG_IsOK(res1
)) {
28651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EventLoopActivator" "', expected argument " "1"" of type '" "wxEventLoopActivator *""'");
28653 arg1
= reinterpret_cast< wxEventLoopActivator
* >(argp1
);
28655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28658 wxPyEndAllowThreads(__tstate
);
28659 if (PyErr_Occurred()) SWIG_fail
;
28661 resultobj
= SWIG_Py_Void();
28668 SWIGINTERN PyObject
*EventLoopActivator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28670 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28671 SWIG_TypeNewClientData(SWIGTYPE_p_wxEventLoopActivator
, SWIG_NewClientData(obj
));
28672 return SWIG_Py_Void();
28675 SWIGINTERN PyObject
*EventLoopActivator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28676 return SWIG_Python_InitShadowInstance(args
);
28679 SWIGINTERN PyObject
*_wrap_new_AcceleratorEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28680 PyObject
*resultobj
= 0;
28681 int arg1
= (int) 0 ;
28682 int arg2
= (int) 0 ;
28683 int arg3
= (int) 0 ;
28684 wxAcceleratorEntry
*result
= 0 ;
28691 PyObject
* obj0
= 0 ;
28692 PyObject
* obj1
= 0 ;
28693 PyObject
* obj2
= 0 ;
28694 char * kwnames
[] = {
28695 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
28698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28700 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28701 if (!SWIG_IsOK(ecode1
)) {
28702 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_AcceleratorEntry" "', expected argument " "1"" of type '" "int""'");
28704 arg1
= static_cast< int >(val1
);
28707 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28708 if (!SWIG_IsOK(ecode2
)) {
28709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_AcceleratorEntry" "', expected argument " "2"" of type '" "int""'");
28711 arg2
= static_cast< int >(val2
);
28714 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28715 if (!SWIG_IsOK(ecode3
)) {
28716 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_AcceleratorEntry" "', expected argument " "3"" of type '" "int""'");
28718 arg3
= static_cast< int >(val3
);
28721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28722 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
28723 wxPyEndAllowThreads(__tstate
);
28724 if (PyErr_Occurred()) SWIG_fail
;
28726 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_NEW
| 0 );
28733 SWIGINTERN PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28734 PyObject
*resultobj
= 0;
28735 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
28738 PyObject
*swig_obj
[1] ;
28740 if (!args
) SWIG_fail
;
28741 swig_obj
[0] = args
;
28742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_DISOWN
| 0 );
28743 if (!SWIG_IsOK(res1
)) {
28744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AcceleratorEntry" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
28746 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
28748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28751 wxPyEndAllowThreads(__tstate
);
28752 if (PyErr_Occurred()) SWIG_fail
;
28754 resultobj
= SWIG_Py_Void();
28761 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28762 PyObject
*resultobj
= 0;
28763 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
28775 PyObject
* obj0
= 0 ;
28776 PyObject
* obj1
= 0 ;
28777 PyObject
* obj2
= 0 ;
28778 PyObject
* obj3
= 0 ;
28779 char * kwnames
[] = {
28780 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
28783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
28784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
28785 if (!SWIG_IsOK(res1
)) {
28786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_Set" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
28788 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
28789 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28790 if (!SWIG_IsOK(ecode2
)) {
28791 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AcceleratorEntry_Set" "', expected argument " "2"" of type '" "int""'");
28793 arg2
= static_cast< int >(val2
);
28794 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28795 if (!SWIG_IsOK(ecode3
)) {
28796 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AcceleratorEntry_Set" "', expected argument " "3"" of type '" "int""'");
28798 arg3
= static_cast< int >(val3
);
28799 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
28800 if (!SWIG_IsOK(ecode4
)) {
28801 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AcceleratorEntry_Set" "', expected argument " "4"" of type '" "int""'");
28803 arg4
= static_cast< int >(val4
);
28805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28806 (arg1
)->Set(arg2
,arg3
,arg4
);
28807 wxPyEndAllowThreads(__tstate
);
28808 if (PyErr_Occurred()) SWIG_fail
;
28810 resultobj
= SWIG_Py_Void();
28817 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28818 PyObject
*resultobj
= 0;
28819 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
28823 PyObject
*swig_obj
[1] ;
28825 if (!args
) SWIG_fail
;
28826 swig_obj
[0] = args
;
28827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
28828 if (!SWIG_IsOK(res1
)) {
28829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_GetFlags" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
28831 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
28833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28834 result
= (int)(arg1
)->GetFlags();
28835 wxPyEndAllowThreads(__tstate
);
28836 if (PyErr_Occurred()) SWIG_fail
;
28838 resultobj
= SWIG_From_int(static_cast< int >(result
));
28845 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28846 PyObject
*resultobj
= 0;
28847 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
28851 PyObject
*swig_obj
[1] ;
28853 if (!args
) SWIG_fail
;
28854 swig_obj
[0] = args
;
28855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
28856 if (!SWIG_IsOK(res1
)) {
28857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_GetKeyCode" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
28859 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
28861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28862 result
= (int)(arg1
)->GetKeyCode();
28863 wxPyEndAllowThreads(__tstate
);
28864 if (PyErr_Occurred()) SWIG_fail
;
28866 resultobj
= SWIG_From_int(static_cast< int >(result
));
28873 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28874 PyObject
*resultobj
= 0;
28875 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
28879 PyObject
*swig_obj
[1] ;
28881 if (!args
) SWIG_fail
;
28882 swig_obj
[0] = args
;
28883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
28884 if (!SWIG_IsOK(res1
)) {
28885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_GetCommand" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
28887 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
28889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28890 result
= (int)(arg1
)->GetCommand();
28891 wxPyEndAllowThreads(__tstate
);
28892 if (PyErr_Occurred()) SWIG_fail
;
28894 resultobj
= SWIG_From_int(static_cast< int >(result
));
28901 SWIGINTERN PyObject
*AcceleratorEntry_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28903 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28904 SWIG_TypeNewClientData(SWIGTYPE_p_wxAcceleratorEntry
, SWIG_NewClientData(obj
));
28905 return SWIG_Py_Void();
28908 SWIGINTERN PyObject
*AcceleratorEntry_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28909 return SWIG_Python_InitShadowInstance(args
);
28912 SWIGINTERN PyObject
*_wrap_new_AcceleratorTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28913 PyObject
*resultobj
= 0;
28915 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
28916 wxAcceleratorTable
*result
= 0 ;
28917 PyObject
* obj0
= 0 ;
28918 char * kwnames
[] = {
28922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) SWIG_fail
;
28924 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
28925 if (arg2
) arg1
= PyList_Size(obj0
);
28929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28930 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
28931 wxPyEndAllowThreads(__tstate
);
28932 if (PyErr_Occurred()) SWIG_fail
;
28934 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_NEW
| 0 );
28941 SWIGINTERN PyObject
*_wrap_delete_AcceleratorTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28942 PyObject
*resultobj
= 0;
28943 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
28946 PyObject
*swig_obj
[1] ;
28948 if (!args
) SWIG_fail
;
28949 swig_obj
[0] = args
;
28950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_DISOWN
| 0 );
28951 if (!SWIG_IsOK(res1
)) {
28952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AcceleratorTable" "', expected argument " "1"" of type '" "wxAcceleratorTable *""'");
28954 arg1
= reinterpret_cast< wxAcceleratorTable
* >(argp1
);
28956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28959 wxPyEndAllowThreads(__tstate
);
28960 if (PyErr_Occurred()) SWIG_fail
;
28962 resultobj
= SWIG_Py_Void();
28969 SWIGINTERN PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28970 PyObject
*resultobj
= 0;
28971 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
28975 PyObject
*swig_obj
[1] ;
28977 if (!args
) SWIG_fail
;
28978 swig_obj
[0] = args
;
28979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorTable
, 0 | 0 );
28980 if (!SWIG_IsOK(res1
)) {
28981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorTable_Ok" "', expected argument " "1"" of type '" "wxAcceleratorTable const *""'");
28983 arg1
= reinterpret_cast< wxAcceleratorTable
* >(argp1
);
28985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28986 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
28987 wxPyEndAllowThreads(__tstate
);
28988 if (PyErr_Occurred()) SWIG_fail
;
28991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28999 SWIGINTERN PyObject
*AcceleratorTable_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29001 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29002 SWIG_TypeNewClientData(SWIGTYPE_p_wxAcceleratorTable
, SWIG_NewClientData(obj
));
29003 return SWIG_Py_Void();
29006 SWIGINTERN PyObject
*AcceleratorTable_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29007 return SWIG_Python_InitShadowInstance(args
);
29010 SWIGINTERN
int NullAcceleratorTable_set(PyObject
*) {
29011 SWIG_Error(SWIG_AttributeError
,"Variable NullAcceleratorTable is read-only.");
29016 SWIGINTERN PyObject
*NullAcceleratorTable_get(void) {
29017 PyObject
*pyobj
= 0;
29019 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0 );
29024 SWIGINTERN PyObject
*_wrap_GetAccelFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29025 PyObject
*resultobj
= 0;
29026 wxString
*arg1
= 0 ;
29027 wxAcceleratorEntry
*result
= 0 ;
29028 bool temp1
= false ;
29029 PyObject
* obj0
= 0 ;
29030 char * kwnames
[] = {
29031 (char *) "label", NULL
29034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) SWIG_fail
;
29036 arg1
= wxString_in_helper(obj0
);
29037 if (arg1
== NULL
) SWIG_fail
;
29041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29042 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
29043 wxPyEndAllowThreads(__tstate
);
29044 if (PyErr_Occurred()) SWIG_fail
;
29046 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
29061 SWIGINTERN
int PanelNameStr_set(PyObject
*) {
29062 SWIG_Error(SWIG_AttributeError
,"Variable PanelNameStr is read-only.");
29067 SWIGINTERN PyObject
*PanelNameStr_get(void) {
29068 PyObject
*pyobj
= 0;
29072 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
29074 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
29081 SWIGINTERN PyObject
*_wrap_new_VisualAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29082 PyObject
*resultobj
= 0;
29083 wxVisualAttributes
*result
= 0 ;
29085 if (!SWIG_Python_UnpackTuple(args
,"new_VisualAttributes",0,0,0)) SWIG_fail
;
29087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29088 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
29089 wxPyEndAllowThreads(__tstate
);
29090 if (PyErr_Occurred()) SWIG_fail
;
29092 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_NEW
| 0 );
29099 SWIGINTERN PyObject
*_wrap_delete_VisualAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29100 PyObject
*resultobj
= 0;
29101 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
29104 PyObject
*swig_obj
[1] ;
29106 if (!args
) SWIG_fail
;
29107 swig_obj
[0] = args
;
29108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_DISOWN
| 0 );
29109 if (!SWIG_IsOK(res1
)) {
29110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_VisualAttributes" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
29112 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
29114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29115 delete_wxVisualAttributes(arg1
);
29117 wxPyEndAllowThreads(__tstate
);
29118 if (PyErr_Occurred()) SWIG_fail
;
29120 resultobj
= SWIG_Py_Void();
29127 SWIGINTERN PyObject
*_wrap_VisualAttributes_font_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29128 PyObject
*resultobj
= 0;
29129 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
29130 wxFont
*arg2
= (wxFont
*) 0 ;
29135 PyObject
*swig_obj
[2] ;
29137 if (!SWIG_Python_UnpackTuple(args
,"VisualAttributes_font_set",2,2,swig_obj
)) SWIG_fail
;
29138 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
29139 if (!SWIG_IsOK(res1
)) {
29140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_font_set" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
29142 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
29143 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
29144 if (!SWIG_IsOK(res2
)) {
29145 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VisualAttributes_font_set" "', expected argument " "2"" of type '" "wxFont *""'");
29147 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29148 if (arg1
) (arg1
)->font
= *arg2
;
29150 resultobj
= SWIG_Py_Void();
29157 SWIGINTERN PyObject
*_wrap_VisualAttributes_font_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29158 PyObject
*resultobj
= 0;
29159 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
29160 wxFont
*result
= 0 ;
29163 PyObject
*swig_obj
[1] ;
29165 if (!args
) SWIG_fail
;
29166 swig_obj
[0] = args
;
29167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
29168 if (!SWIG_IsOK(res1
)) {
29169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_font_get" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
29171 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
29172 result
= (wxFont
*)& ((arg1
)->font
);
29173 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
29180 SWIGINTERN PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29181 PyObject
*resultobj
= 0;
29182 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
29183 wxColour
*arg2
= (wxColour
*) 0 ;
29188 PyObject
*swig_obj
[2] ;
29190 if (!SWIG_Python_UnpackTuple(args
,"VisualAttributes_colFg_set",2,2,swig_obj
)) SWIG_fail
;
29191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
29192 if (!SWIG_IsOK(res1
)) {
29193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_colFg_set" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
29195 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
29196 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxColour
, 0 | 0 );
29197 if (!SWIG_IsOK(res2
)) {
29198 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VisualAttributes_colFg_set" "', expected argument " "2"" of type '" "wxColour *""'");
29200 arg2
= reinterpret_cast< wxColour
* >(argp2
);
29201 if (arg1
) (arg1
)->colFg
= *arg2
;
29203 resultobj
= SWIG_Py_Void();
29210 SWIGINTERN PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29211 PyObject
*resultobj
= 0;
29212 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
29213 wxColour
*result
= 0 ;
29216 PyObject
*swig_obj
[1] ;
29218 if (!args
) SWIG_fail
;
29219 swig_obj
[0] = args
;
29220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
29221 if (!SWIG_IsOK(res1
)) {
29222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_colFg_get" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
29224 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
29225 result
= (wxColour
*)& ((arg1
)->colFg
);
29226 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
29233 SWIGINTERN PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29234 PyObject
*resultobj
= 0;
29235 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
29236 wxColour
*arg2
= (wxColour
*) 0 ;
29241 PyObject
*swig_obj
[2] ;
29243 if (!SWIG_Python_UnpackTuple(args
,"VisualAttributes_colBg_set",2,2,swig_obj
)) SWIG_fail
;
29244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
29245 if (!SWIG_IsOK(res1
)) {
29246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_colBg_set" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
29248 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
29249 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxColour
, 0 | 0 );
29250 if (!SWIG_IsOK(res2
)) {
29251 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VisualAttributes_colBg_set" "', expected argument " "2"" of type '" "wxColour *""'");
29253 arg2
= reinterpret_cast< wxColour
* >(argp2
);
29254 if (arg1
) (arg1
)->colBg
= *arg2
;
29256 resultobj
= SWIG_Py_Void();
29263 SWIGINTERN PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29264 PyObject
*resultobj
= 0;
29265 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
29266 wxColour
*result
= 0 ;
29269 PyObject
*swig_obj
[1] ;
29271 if (!args
) SWIG_fail
;
29272 swig_obj
[0] = args
;
29273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
29274 if (!SWIG_IsOK(res1
)) {
29275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_colBg_get" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
29277 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
29278 result
= (wxColour
*)& ((arg1
)->colBg
);
29279 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
29286 SWIGINTERN PyObject
*VisualAttributes_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29288 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29289 SWIG_TypeNewClientData(SWIGTYPE_p_wxVisualAttributes
, SWIG_NewClientData(obj
));
29290 return SWIG_Py_Void();
29293 SWIGINTERN PyObject
*VisualAttributes_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29294 return SWIG_Python_InitShadowInstance(args
);
29297 SWIGINTERN PyObject
*_wrap_new_Window(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29298 PyObject
*resultobj
= 0;
29299 wxWindow
*arg1
= (wxWindow
*) 0 ;
29300 int arg2
= (int) (int)-1 ;
29301 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29302 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29303 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29304 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29305 long arg5
= (long) 0 ;
29306 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
29307 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29308 wxWindow
*result
= 0 ;
29317 bool temp6
= false ;
29318 PyObject
* obj0
= 0 ;
29319 PyObject
* obj1
= 0 ;
29320 PyObject
* obj2
= 0 ;
29321 PyObject
* obj3
= 0 ;
29322 PyObject
* obj4
= 0 ;
29323 PyObject
* obj5
= 0 ;
29324 char * kwnames
[] = {
29325 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29330 if (!SWIG_IsOK(res1
)) {
29331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Window" "', expected argument " "1"" of type '" "wxWindow *""'");
29333 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29335 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29336 if (!SWIG_IsOK(ecode2
)) {
29337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Window" "', expected argument " "2"" of type '" "int""'");
29339 arg2
= static_cast< int >(val2
);
29344 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29350 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29354 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
29355 if (!SWIG_IsOK(ecode5
)) {
29356 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Window" "', expected argument " "5"" of type '" "long""'");
29358 arg5
= static_cast< long >(val5
);
29362 arg6
= wxString_in_helper(obj5
);
29363 if (arg6
== NULL
) SWIG_fail
;
29368 if (!wxPyCheckForApp()) SWIG_fail
;
29369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29370 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29371 wxPyEndAllowThreads(__tstate
);
29372 if (PyErr_Occurred()) SWIG_fail
;
29374 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindow
, SWIG_POINTER_NEW
| 0 );
29389 SWIGINTERN PyObject
*_wrap_new_PreWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29390 PyObject
*resultobj
= 0;
29391 wxWindow
*result
= 0 ;
29393 if (!SWIG_Python_UnpackTuple(args
,"new_PreWindow",0,0,0)) SWIG_fail
;
29395 if (!wxPyCheckForApp()) SWIG_fail
;
29396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29397 result
= (wxWindow
*)new wxWindow();
29398 wxPyEndAllowThreads(__tstate
);
29399 if (PyErr_Occurred()) SWIG_fail
;
29401 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindow
, SWIG_POINTER_OWN
| 0 );
29408 SWIGINTERN PyObject
*_wrap_Window_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29409 PyObject
*resultobj
= 0;
29410 wxWindow
*arg1
= (wxWindow
*) 0 ;
29411 wxWindow
*arg2
= (wxWindow
*) 0 ;
29412 int arg3
= (int) (int)-1 ;
29413 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29414 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29415 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29416 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29417 long arg6
= (long) 0 ;
29418 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
29419 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29431 bool temp7
= false ;
29432 PyObject
* obj0
= 0 ;
29433 PyObject
* obj1
= 0 ;
29434 PyObject
* obj2
= 0 ;
29435 PyObject
* obj3
= 0 ;
29436 PyObject
* obj4
= 0 ;
29437 PyObject
* obj5
= 0 ;
29438 PyObject
* obj6
= 0 ;
29439 char * kwnames
[] = {
29440 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29445 if (!SWIG_IsOK(res1
)) {
29446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
29448 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29449 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29450 if (!SWIG_IsOK(res2
)) {
29451 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
29453 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29455 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29456 if (!SWIG_IsOK(ecode3
)) {
29457 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_Create" "', expected argument " "3"" of type '" "int""'");
29459 arg3
= static_cast< int >(val3
);
29464 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29470 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29474 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29475 if (!SWIG_IsOK(ecode6
)) {
29476 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Window_Create" "', expected argument " "6"" of type '" "long""'");
29478 arg6
= static_cast< long >(val6
);
29482 arg7
= wxString_in_helper(obj6
);
29483 if (arg7
== NULL
) SWIG_fail
;
29488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29489 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29490 wxPyEndAllowThreads(__tstate
);
29491 if (PyErr_Occurred()) SWIG_fail
;
29494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29510 SWIGINTERN PyObject
*_wrap_Window_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29511 PyObject
*resultobj
= 0;
29512 wxWindow
*arg1
= (wxWindow
*) 0 ;
29513 bool arg2
= (bool) false ;
29519 PyObject
* obj0
= 0 ;
29520 PyObject
* obj1
= 0 ;
29521 char * kwnames
[] = {
29522 (char *) "self",(char *) "force", NULL
29525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29527 if (!SWIG_IsOK(res1
)) {
29528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Close" "', expected argument " "1"" of type '" "wxWindow *""'");
29530 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29532 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29533 if (!SWIG_IsOK(ecode2
)) {
29534 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Close" "', expected argument " "2"" of type '" "bool""'");
29536 arg2
= static_cast< bool >(val2
);
29539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29540 result
= (bool)(arg1
)->Close(arg2
);
29541 wxPyEndAllowThreads(__tstate
);
29542 if (PyErr_Occurred()) SWIG_fail
;
29545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29553 SWIGINTERN PyObject
*_wrap_Window_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29554 PyObject
*resultobj
= 0;
29555 wxWindow
*arg1
= (wxWindow
*) 0 ;
29559 PyObject
*swig_obj
[1] ;
29561 if (!args
) SWIG_fail
;
29562 swig_obj
[0] = args
;
29563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29564 if (!SWIG_IsOK(res1
)) {
29565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Destroy" "', expected argument " "1"" of type '" "wxWindow *""'");
29567 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29570 result
= (bool)(arg1
)->Destroy();
29571 wxPyEndAllowThreads(__tstate
);
29572 if (PyErr_Occurred()) SWIG_fail
;
29575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29583 SWIGINTERN PyObject
*_wrap_Window_DestroyChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29584 PyObject
*resultobj
= 0;
29585 wxWindow
*arg1
= (wxWindow
*) 0 ;
29589 PyObject
*swig_obj
[1] ;
29591 if (!args
) SWIG_fail
;
29592 swig_obj
[0] = args
;
29593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29594 if (!SWIG_IsOK(res1
)) {
29595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_DestroyChildren" "', expected argument " "1"" of type '" "wxWindow *""'");
29597 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29600 result
= (bool)(arg1
)->DestroyChildren();
29601 wxPyEndAllowThreads(__tstate
);
29602 if (PyErr_Occurred()) SWIG_fail
;
29605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29613 SWIGINTERN PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29614 PyObject
*resultobj
= 0;
29615 wxWindow
*arg1
= (wxWindow
*) 0 ;
29619 PyObject
*swig_obj
[1] ;
29621 if (!args
) SWIG_fail
;
29622 swig_obj
[0] = args
;
29623 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29624 if (!SWIG_IsOK(res1
)) {
29625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsBeingDeleted" "', expected argument " "1"" of type '" "wxWindow const *""'");
29627 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29630 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
29631 wxPyEndAllowThreads(__tstate
);
29632 if (PyErr_Occurred()) SWIG_fail
;
29635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29643 SWIGINTERN PyObject
*_wrap_Window_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29644 PyObject
*resultobj
= 0;
29645 wxWindow
*arg1
= (wxWindow
*) 0 ;
29646 wxString
*arg2
= 0 ;
29649 bool temp2
= false ;
29650 PyObject
* obj0
= 0 ;
29651 PyObject
* obj1
= 0 ;
29652 char * kwnames
[] = {
29653 (char *) "self",(char *) "label", NULL
29656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29658 if (!SWIG_IsOK(res1
)) {
29659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetLabel" "', expected argument " "1"" of type '" "wxWindow *""'");
29661 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29663 arg2
= wxString_in_helper(obj1
);
29664 if (arg2
== NULL
) SWIG_fail
;
29668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29669 (arg1
)->SetLabel((wxString
const &)*arg2
);
29670 wxPyEndAllowThreads(__tstate
);
29671 if (PyErr_Occurred()) SWIG_fail
;
29673 resultobj
= SWIG_Py_Void();
29688 SWIGINTERN PyObject
*_wrap_Window_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29689 PyObject
*resultobj
= 0;
29690 wxWindow
*arg1
= (wxWindow
*) 0 ;
29694 PyObject
*swig_obj
[1] ;
29696 if (!args
) SWIG_fail
;
29697 swig_obj
[0] = args
;
29698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29699 if (!SWIG_IsOK(res1
)) {
29700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetLabel" "', expected argument " "1"" of type '" "wxWindow const *""'");
29702 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29705 result
= ((wxWindow
const *)arg1
)->GetLabel();
29706 wxPyEndAllowThreads(__tstate
);
29707 if (PyErr_Occurred()) SWIG_fail
;
29711 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29713 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29722 SWIGINTERN PyObject
*_wrap_Window_SetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29723 PyObject
*resultobj
= 0;
29724 wxWindow
*arg1
= (wxWindow
*) 0 ;
29725 wxString
*arg2
= 0 ;
29728 bool temp2
= false ;
29729 PyObject
* obj0
= 0 ;
29730 PyObject
* obj1
= 0 ;
29731 char * kwnames
[] = {
29732 (char *) "self",(char *) "name", NULL
29735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29737 if (!SWIG_IsOK(res1
)) {
29738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetName" "', expected argument " "1"" of type '" "wxWindow *""'");
29740 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29742 arg2
= wxString_in_helper(obj1
);
29743 if (arg2
== NULL
) SWIG_fail
;
29747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29748 (arg1
)->SetName((wxString
const &)*arg2
);
29749 wxPyEndAllowThreads(__tstate
);
29750 if (PyErr_Occurred()) SWIG_fail
;
29752 resultobj
= SWIG_Py_Void();
29767 SWIGINTERN PyObject
*_wrap_Window_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29768 PyObject
*resultobj
= 0;
29769 wxWindow
*arg1
= (wxWindow
*) 0 ;
29773 PyObject
*swig_obj
[1] ;
29775 if (!args
) SWIG_fail
;
29776 swig_obj
[0] = args
;
29777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29778 if (!SWIG_IsOK(res1
)) {
29779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetName" "', expected argument " "1"" of type '" "wxWindow const *""'");
29781 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29784 result
= ((wxWindow
const *)arg1
)->GetName();
29785 wxPyEndAllowThreads(__tstate
);
29786 if (PyErr_Occurred()) SWIG_fail
;
29790 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29792 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29801 SWIGINTERN PyObject
*_wrap_Window_SetWindowVariant(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29802 PyObject
*resultobj
= 0;
29803 wxWindow
*arg1
= (wxWindow
*) 0 ;
29804 wxWindowVariant arg2
;
29809 PyObject
* obj0
= 0 ;
29810 PyObject
* obj1
= 0 ;
29811 char * kwnames
[] = {
29812 (char *) "self",(char *) "variant", NULL
29815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29817 if (!SWIG_IsOK(res1
)) {
29818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetWindowVariant" "', expected argument " "1"" of type '" "wxWindow *""'");
29820 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29821 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29822 if (!SWIG_IsOK(ecode2
)) {
29823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetWindowVariant" "', expected argument " "2"" of type '" "wxWindowVariant""'");
29825 arg2
= static_cast< wxWindowVariant
>(val2
);
29827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29828 (arg1
)->SetWindowVariant(arg2
);
29829 wxPyEndAllowThreads(__tstate
);
29830 if (PyErr_Occurred()) SWIG_fail
;
29832 resultobj
= SWIG_Py_Void();
29839 SWIGINTERN PyObject
*_wrap_Window_GetWindowVariant(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29840 PyObject
*resultobj
= 0;
29841 wxWindow
*arg1
= (wxWindow
*) 0 ;
29842 wxWindowVariant result
;
29845 PyObject
*swig_obj
[1] ;
29847 if (!args
) SWIG_fail
;
29848 swig_obj
[0] = args
;
29849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29850 if (!SWIG_IsOK(res1
)) {
29851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetWindowVariant" "', expected argument " "1"" of type '" "wxWindow const *""'");
29853 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29856 result
= (wxWindowVariant
)((wxWindow
const *)arg1
)->GetWindowVariant();
29857 wxPyEndAllowThreads(__tstate
);
29858 if (PyErr_Occurred()) SWIG_fail
;
29860 resultobj
= SWIG_From_int(static_cast< int >(result
));
29867 SWIGINTERN PyObject
*_wrap_Window_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29868 PyObject
*resultobj
= 0;
29869 wxWindow
*arg1
= (wxWindow
*) 0 ;
29875 PyObject
* obj0
= 0 ;
29876 PyObject
* obj1
= 0 ;
29877 char * kwnames
[] = {
29878 (char *) "self",(char *) "winid", NULL
29881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29883 if (!SWIG_IsOK(res1
)) {
29884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetId" "', expected argument " "1"" of type '" "wxWindow *""'");
29886 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29887 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29888 if (!SWIG_IsOK(ecode2
)) {
29889 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetId" "', expected argument " "2"" of type '" "int""'");
29891 arg2
= static_cast< int >(val2
);
29893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29894 (arg1
)->SetId(arg2
);
29895 wxPyEndAllowThreads(__tstate
);
29896 if (PyErr_Occurred()) SWIG_fail
;
29898 resultobj
= SWIG_Py_Void();
29905 SWIGINTERN PyObject
*_wrap_Window_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29906 PyObject
*resultobj
= 0;
29907 wxWindow
*arg1
= (wxWindow
*) 0 ;
29911 PyObject
*swig_obj
[1] ;
29913 if (!args
) SWIG_fail
;
29914 swig_obj
[0] = args
;
29915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29916 if (!SWIG_IsOK(res1
)) {
29917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetId" "', expected argument " "1"" of type '" "wxWindow const *""'");
29919 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29922 result
= (int)((wxWindow
const *)arg1
)->GetId();
29923 wxPyEndAllowThreads(__tstate
);
29924 if (PyErr_Occurred()) SWIG_fail
;
29926 resultobj
= SWIG_From_int(static_cast< int >(result
));
29933 SWIGINTERN PyObject
*_wrap_Window_NewControlId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29934 PyObject
*resultobj
= 0;
29937 if (!SWIG_Python_UnpackTuple(args
,"Window_NewControlId",0,0,0)) SWIG_fail
;
29939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29940 result
= (int)wxWindow::NewControlId();
29941 wxPyEndAllowThreads(__tstate
);
29942 if (PyErr_Occurred()) SWIG_fail
;
29944 resultobj
= SWIG_From_int(static_cast< int >(result
));
29951 SWIGINTERN PyObject
*_wrap_Window_NextControlId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29952 PyObject
*resultobj
= 0;
29957 PyObject
* obj0
= 0 ;
29958 char * kwnames
[] = {
29959 (char *) "winid", NULL
29962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) SWIG_fail
;
29963 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29964 if (!SWIG_IsOK(ecode1
)) {
29965 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Window_NextControlId" "', expected argument " "1"" of type '" "int""'");
29967 arg1
= static_cast< int >(val1
);
29969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29970 result
= (int)wxWindow::NextControlId(arg1
);
29971 wxPyEndAllowThreads(__tstate
);
29972 if (PyErr_Occurred()) SWIG_fail
;
29974 resultobj
= SWIG_From_int(static_cast< int >(result
));
29981 SWIGINTERN PyObject
*_wrap_Window_PrevControlId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29982 PyObject
*resultobj
= 0;
29987 PyObject
* obj0
= 0 ;
29988 char * kwnames
[] = {
29989 (char *) "winid", NULL
29992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) SWIG_fail
;
29993 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
29994 if (!SWIG_IsOK(ecode1
)) {
29995 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Window_PrevControlId" "', expected argument " "1"" of type '" "int""'");
29997 arg1
= static_cast< int >(val1
);
29999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30000 result
= (int)wxWindow::PrevControlId(arg1
);
30001 wxPyEndAllowThreads(__tstate
);
30002 if (PyErr_Occurred()) SWIG_fail
;
30004 resultobj
= SWIG_From_int(static_cast< int >(result
));
30011 SWIGINTERN PyObject
*_wrap_Window_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30012 PyObject
*resultobj
= 0;
30013 wxWindow
*arg1
= (wxWindow
*) 0 ;
30018 PyObject
* obj0
= 0 ;
30019 PyObject
* obj1
= 0 ;
30020 char * kwnames
[] = {
30021 (char *) "self",(char *) "size", NULL
30024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30026 if (!SWIG_IsOK(res1
)) {
30027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSize" "', expected argument " "1"" of type '" "wxWindow *""'");
30029 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30032 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
30035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30036 (arg1
)->SetSize((wxSize
const &)*arg2
);
30037 wxPyEndAllowThreads(__tstate
);
30038 if (PyErr_Occurred()) SWIG_fail
;
30040 resultobj
= SWIG_Py_Void();
30047 SWIGINTERN PyObject
*_wrap_Window_SetDimensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30048 PyObject
*resultobj
= 0;
30049 wxWindow
*arg1
= (wxWindow
*) 0 ;
30054 int arg6
= (int) wxSIZE_AUTO
;
30067 PyObject
* obj0
= 0 ;
30068 PyObject
* obj1
= 0 ;
30069 PyObject
* obj2
= 0 ;
30070 PyObject
* obj3
= 0 ;
30071 PyObject
* obj4
= 0 ;
30072 PyObject
* obj5
= 0 ;
30073 char * kwnames
[] = {
30074 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
30077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30079 if (!SWIG_IsOK(res1
)) {
30080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetDimensions" "', expected argument " "1"" of type '" "wxWindow *""'");
30082 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30083 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30084 if (!SWIG_IsOK(ecode2
)) {
30085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetDimensions" "', expected argument " "2"" of type '" "int""'");
30087 arg2
= static_cast< int >(val2
);
30088 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30089 if (!SWIG_IsOK(ecode3
)) {
30090 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetDimensions" "', expected argument " "3"" of type '" "int""'");
30092 arg3
= static_cast< int >(val3
);
30093 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30094 if (!SWIG_IsOK(ecode4
)) {
30095 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_SetDimensions" "', expected argument " "4"" of type '" "int""'");
30097 arg4
= static_cast< int >(val4
);
30098 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30099 if (!SWIG_IsOK(ecode5
)) {
30100 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Window_SetDimensions" "', expected argument " "5"" of type '" "int""'");
30102 arg5
= static_cast< int >(val5
);
30104 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30105 if (!SWIG_IsOK(ecode6
)) {
30106 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Window_SetDimensions" "', expected argument " "6"" of type '" "int""'");
30108 arg6
= static_cast< int >(val6
);
30111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30112 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
30113 wxPyEndAllowThreads(__tstate
);
30114 if (PyErr_Occurred()) SWIG_fail
;
30116 resultobj
= SWIG_Py_Void();
30123 SWIGINTERN PyObject
*_wrap_Window_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30124 PyObject
*resultobj
= 0;
30125 wxWindow
*arg1
= (wxWindow
*) 0 ;
30127 int arg3
= (int) wxSIZE_AUTO
;
30133 PyObject
* obj0
= 0 ;
30134 PyObject
* obj1
= 0 ;
30135 PyObject
* obj2
= 0 ;
30136 char * kwnames
[] = {
30137 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
30140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30142 if (!SWIG_IsOK(res1
)) {
30143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetRect" "', expected argument " "1"" of type '" "wxWindow *""'");
30145 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30148 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
30151 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30152 if (!SWIG_IsOK(ecode3
)) {
30153 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetRect" "', expected argument " "3"" of type '" "int""'");
30155 arg3
= static_cast< int >(val3
);
30158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30159 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
30160 wxPyEndAllowThreads(__tstate
);
30161 if (PyErr_Occurred()) SWIG_fail
;
30163 resultobj
= SWIG_Py_Void();
30170 SWIGINTERN PyObject
*_wrap_Window_SetSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30171 PyObject
*resultobj
= 0;
30172 wxWindow
*arg1
= (wxWindow
*) 0 ;
30181 PyObject
* obj0
= 0 ;
30182 PyObject
* obj1
= 0 ;
30183 PyObject
* obj2
= 0 ;
30184 char * kwnames
[] = {
30185 (char *) "self",(char *) "width",(char *) "height", NULL
30188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30190 if (!SWIG_IsOK(res1
)) {
30191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSizeWH" "', expected argument " "1"" of type '" "wxWindow *""'");
30193 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30194 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30195 if (!SWIG_IsOK(ecode2
)) {
30196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetSizeWH" "', expected argument " "2"" of type '" "int""'");
30198 arg2
= static_cast< int >(val2
);
30199 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30200 if (!SWIG_IsOK(ecode3
)) {
30201 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetSizeWH" "', expected argument " "3"" of type '" "int""'");
30203 arg3
= static_cast< int >(val3
);
30205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30206 (arg1
)->SetSize(arg2
,arg3
);
30207 wxPyEndAllowThreads(__tstate
);
30208 if (PyErr_Occurred()) SWIG_fail
;
30210 resultobj
= SWIG_Py_Void();
30217 SWIGINTERN PyObject
*_wrap_Window_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30218 PyObject
*resultobj
= 0;
30219 wxWindow
*arg1
= (wxWindow
*) 0 ;
30220 wxPoint
*arg2
= 0 ;
30221 int arg3
= (int) wxSIZE_USE_EXISTING
;
30227 PyObject
* obj0
= 0 ;
30228 PyObject
* obj1
= 0 ;
30229 PyObject
* obj2
= 0 ;
30230 char * kwnames
[] = {
30231 (char *) "self",(char *) "pt",(char *) "flags", NULL
30234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30236 if (!SWIG_IsOK(res1
)) {
30237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Move" "', expected argument " "1"" of type '" "wxWindow *""'");
30239 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30242 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30245 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30246 if (!SWIG_IsOK(ecode3
)) {
30247 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_Move" "', expected argument " "3"" of type '" "int""'");
30249 arg3
= static_cast< int >(val3
);
30252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30253 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
30254 wxPyEndAllowThreads(__tstate
);
30255 if (PyErr_Occurred()) SWIG_fail
;
30257 resultobj
= SWIG_Py_Void();
30264 SWIGINTERN PyObject
*_wrap_Window_MoveXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30265 PyObject
*resultobj
= 0;
30266 wxWindow
*arg1
= (wxWindow
*) 0 ;
30269 int arg4
= (int) wxSIZE_USE_EXISTING
;
30278 PyObject
* obj0
= 0 ;
30279 PyObject
* obj1
= 0 ;
30280 PyObject
* obj2
= 0 ;
30281 PyObject
* obj3
= 0 ;
30282 char * kwnames
[] = {
30283 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
30286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30288 if (!SWIG_IsOK(res1
)) {
30289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_MoveXY" "', expected argument " "1"" of type '" "wxWindow *""'");
30291 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30292 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30293 if (!SWIG_IsOK(ecode2
)) {
30294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_MoveXY" "', expected argument " "2"" of type '" "int""'");
30296 arg2
= static_cast< int >(val2
);
30297 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30298 if (!SWIG_IsOK(ecode3
)) {
30299 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_MoveXY" "', expected argument " "3"" of type '" "int""'");
30301 arg3
= static_cast< int >(val3
);
30303 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30304 if (!SWIG_IsOK(ecode4
)) {
30305 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_MoveXY" "', expected argument " "4"" of type '" "int""'");
30307 arg4
= static_cast< int >(val4
);
30310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30311 (arg1
)->Move(arg2
,arg3
,arg4
);
30312 wxPyEndAllowThreads(__tstate
);
30313 if (PyErr_Occurred()) SWIG_fail
;
30315 resultobj
= SWIG_Py_Void();
30322 SWIGINTERN PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30323 PyObject
*resultobj
= 0;
30324 wxWindow
*arg1
= (wxWindow
*) 0 ;
30325 wxSize
const &arg2_defvalue
= wxDefaultSize
;
30326 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
30330 PyObject
* obj0
= 0 ;
30331 PyObject
* obj1
= 0 ;
30332 char * kwnames
[] = {
30333 (char *) "self",(char *) "size", NULL
30336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30338 if (!SWIG_IsOK(res1
)) {
30339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetBestFittingSize" "', expected argument " "1"" of type '" "wxWindow *""'");
30341 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30345 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
30349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30350 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
30351 wxPyEndAllowThreads(__tstate
);
30352 if (PyErr_Occurred()) SWIG_fail
;
30354 resultobj
= SWIG_Py_Void();
30361 SWIGINTERN PyObject
*_wrap_Window_Raise(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30362 PyObject
*resultobj
= 0;
30363 wxWindow
*arg1
= (wxWindow
*) 0 ;
30366 PyObject
*swig_obj
[1] ;
30368 if (!args
) SWIG_fail
;
30369 swig_obj
[0] = args
;
30370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30371 if (!SWIG_IsOK(res1
)) {
30372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Raise" "', expected argument " "1"" of type '" "wxWindow *""'");
30374 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30378 wxPyEndAllowThreads(__tstate
);
30379 if (PyErr_Occurred()) SWIG_fail
;
30381 resultobj
= SWIG_Py_Void();
30388 SWIGINTERN PyObject
*_wrap_Window_Lower(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30389 PyObject
*resultobj
= 0;
30390 wxWindow
*arg1
= (wxWindow
*) 0 ;
30393 PyObject
*swig_obj
[1] ;
30395 if (!args
) SWIG_fail
;
30396 swig_obj
[0] = args
;
30397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30398 if (!SWIG_IsOK(res1
)) {
30399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Lower" "', expected argument " "1"" of type '" "wxWindow *""'");
30401 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30405 wxPyEndAllowThreads(__tstate
);
30406 if (PyErr_Occurred()) SWIG_fail
;
30408 resultobj
= SWIG_Py_Void();
30415 SWIGINTERN PyObject
*_wrap_Window_SetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30416 PyObject
*resultobj
= 0;
30417 wxWindow
*arg1
= (wxWindow
*) 0 ;
30422 PyObject
* obj0
= 0 ;
30423 PyObject
* obj1
= 0 ;
30424 char * kwnames
[] = {
30425 (char *) "self",(char *) "size", NULL
30428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30430 if (!SWIG_IsOK(res1
)) {
30431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetClientSize" "', expected argument " "1"" of type '" "wxWindow *""'");
30433 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30436 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
30439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30440 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
30441 wxPyEndAllowThreads(__tstate
);
30442 if (PyErr_Occurred()) SWIG_fail
;
30444 resultobj
= SWIG_Py_Void();
30451 SWIGINTERN PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30452 PyObject
*resultobj
= 0;
30453 wxWindow
*arg1
= (wxWindow
*) 0 ;
30462 PyObject
* obj0
= 0 ;
30463 PyObject
* obj1
= 0 ;
30464 PyObject
* obj2
= 0 ;
30465 char * kwnames
[] = {
30466 (char *) "self",(char *) "width",(char *) "height", NULL
30469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30471 if (!SWIG_IsOK(res1
)) {
30472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetClientSizeWH" "', expected argument " "1"" of type '" "wxWindow *""'");
30474 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30475 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30476 if (!SWIG_IsOK(ecode2
)) {
30477 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetClientSizeWH" "', expected argument " "2"" of type '" "int""'");
30479 arg2
= static_cast< int >(val2
);
30480 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30481 if (!SWIG_IsOK(ecode3
)) {
30482 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetClientSizeWH" "', expected argument " "3"" of type '" "int""'");
30484 arg3
= static_cast< int >(val3
);
30486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30487 (arg1
)->SetClientSize(arg2
,arg3
);
30488 wxPyEndAllowThreads(__tstate
);
30489 if (PyErr_Occurred()) SWIG_fail
;
30491 resultobj
= SWIG_Py_Void();
30498 SWIGINTERN PyObject
*_wrap_Window_SetClientRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30499 PyObject
*resultobj
= 0;
30500 wxWindow
*arg1
= (wxWindow
*) 0 ;
30505 PyObject
* obj0
= 0 ;
30506 PyObject
* obj1
= 0 ;
30507 char * kwnames
[] = {
30508 (char *) "self",(char *) "rect", NULL
30511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30513 if (!SWIG_IsOK(res1
)) {
30514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetClientRect" "', expected argument " "1"" of type '" "wxWindow *""'");
30516 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30519 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
30522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30523 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
30524 wxPyEndAllowThreads(__tstate
);
30525 if (PyErr_Occurred()) SWIG_fail
;
30527 resultobj
= SWIG_Py_Void();
30534 SWIGINTERN PyObject
*_wrap_Window_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30535 PyObject
*resultobj
= 0;
30536 wxWindow
*arg1
= (wxWindow
*) 0 ;
30540 PyObject
*swig_obj
[1] ;
30542 if (!args
) SWIG_fail
;
30543 swig_obj
[0] = args
;
30544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30545 if (!SWIG_IsOK(res1
)) {
30546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetPosition" "', expected argument " "1"" of type '" "wxWindow const *""'");
30548 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30551 result
= ((wxWindow
const *)arg1
)->GetPosition();
30552 wxPyEndAllowThreads(__tstate
);
30553 if (PyErr_Occurred()) SWIG_fail
;
30555 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
30562 SWIGINTERN PyObject
*_wrap_Window_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30563 PyObject
*resultobj
= 0;
30564 wxWindow
*arg1
= (wxWindow
*) 0 ;
30565 int *arg2
= (int *) 0 ;
30566 int *arg3
= (int *) 0 ;
30570 int res2
= SWIG_TMPOBJ
;
30572 int res3
= SWIG_TMPOBJ
;
30573 PyObject
*swig_obj
[1] ;
30577 if (!args
) SWIG_fail
;
30578 swig_obj
[0] = args
;
30579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30580 if (!SWIG_IsOK(res1
)) {
30581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetPositionTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
30583 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30586 ((wxWindow
const *)arg1
)->GetPosition(arg2
,arg3
);
30587 wxPyEndAllowThreads(__tstate
);
30588 if (PyErr_Occurred()) SWIG_fail
;
30590 resultobj
= SWIG_Py_Void();
30591 if (SWIG_IsTmpObj(res2
)) {
30592 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
30594 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30595 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
30597 if (SWIG_IsTmpObj(res3
)) {
30598 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30600 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30601 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30609 SWIGINTERN PyObject
*_wrap_Window_GetScreenPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30610 PyObject
*resultobj
= 0;
30611 wxWindow
*arg1
= (wxWindow
*) 0 ;
30615 PyObject
*swig_obj
[1] ;
30617 if (!args
) SWIG_fail
;
30618 swig_obj
[0] = args
;
30619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30620 if (!SWIG_IsOK(res1
)) {
30621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScreenPosition" "', expected argument " "1"" of type '" "wxWindow const *""'");
30623 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30626 result
= ((wxWindow
const *)arg1
)->GetScreenPosition();
30627 wxPyEndAllowThreads(__tstate
);
30628 if (PyErr_Occurred()) SWIG_fail
;
30630 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
30637 SWIGINTERN PyObject
*_wrap_Window_GetScreenPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30638 PyObject
*resultobj
= 0;
30639 wxWindow
*arg1
= (wxWindow
*) 0 ;
30640 int *arg2
= (int *) 0 ;
30641 int *arg3
= (int *) 0 ;
30645 int res2
= SWIG_TMPOBJ
;
30647 int res3
= SWIG_TMPOBJ
;
30648 PyObject
*swig_obj
[1] ;
30652 if (!args
) SWIG_fail
;
30653 swig_obj
[0] = args
;
30654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30655 if (!SWIG_IsOK(res1
)) {
30656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScreenPositionTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
30658 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30661 ((wxWindow
const *)arg1
)->GetScreenPosition(arg2
,arg3
);
30662 wxPyEndAllowThreads(__tstate
);
30663 if (PyErr_Occurred()) SWIG_fail
;
30665 resultobj
= SWIG_Py_Void();
30666 if (SWIG_IsTmpObj(res2
)) {
30667 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
30669 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30670 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
30672 if (SWIG_IsTmpObj(res3
)) {
30673 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30675 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30676 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30684 SWIGINTERN PyObject
*_wrap_Window_GetScreenRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30685 PyObject
*resultobj
= 0;
30686 wxWindow
*arg1
= (wxWindow
*) 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_wxWindow
, 0 | 0 );
30695 if (!SWIG_IsOK(res1
)) {
30696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScreenRect" "', expected argument " "1"" of type '" "wxWindow const *""'");
30698 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30701 result
= ((wxWindow
const *)arg1
)->GetScreenRect();
30702 wxPyEndAllowThreads(__tstate
);
30703 if (PyErr_Occurred()) SWIG_fail
;
30705 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30712 SWIGINTERN PyObject
*_wrap_Window_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30713 PyObject
*resultobj
= 0;
30714 wxWindow
*arg1
= (wxWindow
*) 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_wxWindow
, 0 | 0 );
30723 if (!SWIG_IsOK(res1
)) {
30724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
30726 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30729 result
= ((wxWindow
const *)arg1
)->GetSize();
30730 wxPyEndAllowThreads(__tstate
);
30731 if (PyErr_Occurred()) SWIG_fail
;
30733 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
30740 SWIGINTERN PyObject
*_wrap_Window_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30741 PyObject
*resultobj
= 0;
30742 wxWindow
*arg1
= (wxWindow
*) 0 ;
30743 int *arg2
= (int *) 0 ;
30744 int *arg3
= (int *) 0 ;
30748 int res2
= SWIG_TMPOBJ
;
30750 int res3
= SWIG_TMPOBJ
;
30751 PyObject
*swig_obj
[1] ;
30755 if (!args
) SWIG_fail
;
30756 swig_obj
[0] = args
;
30757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30758 if (!SWIG_IsOK(res1
)) {
30759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetSizeTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
30761 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30764 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
30765 wxPyEndAllowThreads(__tstate
);
30766 if (PyErr_Occurred()) SWIG_fail
;
30768 resultobj
= SWIG_Py_Void();
30769 if (SWIG_IsTmpObj(res2
)) {
30770 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
30772 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30773 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
30775 if (SWIG_IsTmpObj(res3
)) {
30776 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30778 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30779 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30787 SWIGINTERN PyObject
*_wrap_Window_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30788 PyObject
*resultobj
= 0;
30789 wxWindow
*arg1
= (wxWindow
*) 0 ;
30793 PyObject
*swig_obj
[1] ;
30795 if (!args
) SWIG_fail
;
30796 swig_obj
[0] = args
;
30797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30798 if (!SWIG_IsOK(res1
)) {
30799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetRect" "', expected argument " "1"" of type '" "wxWindow const *""'");
30801 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30804 result
= ((wxWindow
const *)arg1
)->GetRect();
30805 wxPyEndAllowThreads(__tstate
);
30806 if (PyErr_Occurred()) SWIG_fail
;
30808 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30815 SWIGINTERN PyObject
*_wrap_Window_GetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30816 PyObject
*resultobj
= 0;
30817 wxWindow
*arg1
= (wxWindow
*) 0 ;
30821 PyObject
*swig_obj
[1] ;
30823 if (!args
) SWIG_fail
;
30824 swig_obj
[0] = args
;
30825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30826 if (!SWIG_IsOK(res1
)) {
30827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetClientSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
30829 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30832 result
= ((wxWindow
const *)arg1
)->GetClientSize();
30833 wxPyEndAllowThreads(__tstate
);
30834 if (PyErr_Occurred()) SWIG_fail
;
30836 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
30843 SWIGINTERN PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30844 PyObject
*resultobj
= 0;
30845 wxWindow
*arg1
= (wxWindow
*) 0 ;
30846 int *arg2
= (int *) 0 ;
30847 int *arg3
= (int *) 0 ;
30851 int res2
= SWIG_TMPOBJ
;
30853 int res3
= SWIG_TMPOBJ
;
30854 PyObject
*swig_obj
[1] ;
30858 if (!args
) SWIG_fail
;
30859 swig_obj
[0] = args
;
30860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30861 if (!SWIG_IsOK(res1
)) {
30862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetClientSizeTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
30864 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30867 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
30868 wxPyEndAllowThreads(__tstate
);
30869 if (PyErr_Occurred()) SWIG_fail
;
30871 resultobj
= SWIG_Py_Void();
30872 if (SWIG_IsTmpObj(res2
)) {
30873 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
30875 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30876 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
30878 if (SWIG_IsTmpObj(res3
)) {
30879 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30881 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30882 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30890 SWIGINTERN PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30891 PyObject
*resultobj
= 0;
30892 wxWindow
*arg1
= (wxWindow
*) 0 ;
30896 PyObject
*swig_obj
[1] ;
30898 if (!args
) SWIG_fail
;
30899 swig_obj
[0] = args
;
30900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30901 if (!SWIG_IsOK(res1
)) {
30902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetClientAreaOrigin" "', expected argument " "1"" of type '" "wxWindow const *""'");
30904 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30907 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
30908 wxPyEndAllowThreads(__tstate
);
30909 if (PyErr_Occurred()) SWIG_fail
;
30911 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
30918 SWIGINTERN PyObject
*_wrap_Window_GetClientRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30919 PyObject
*resultobj
= 0;
30920 wxWindow
*arg1
= (wxWindow
*) 0 ;
30924 PyObject
*swig_obj
[1] ;
30926 if (!args
) SWIG_fail
;
30927 swig_obj
[0] = args
;
30928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30929 if (!SWIG_IsOK(res1
)) {
30930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetClientRect" "', expected argument " "1"" of type '" "wxWindow const *""'");
30932 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30935 result
= ((wxWindow
const *)arg1
)->GetClientRect();
30936 wxPyEndAllowThreads(__tstate
);
30937 if (PyErr_Occurred()) SWIG_fail
;
30939 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30946 SWIGINTERN PyObject
*_wrap_Window_GetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30947 PyObject
*resultobj
= 0;
30948 wxWindow
*arg1
= (wxWindow
*) 0 ;
30952 PyObject
*swig_obj
[1] ;
30954 if (!args
) SWIG_fail
;
30955 swig_obj
[0] = args
;
30956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30957 if (!SWIG_IsOK(res1
)) {
30958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBestSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
30960 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30963 result
= ((wxWindow
const *)arg1
)->GetBestSize();
30964 wxPyEndAllowThreads(__tstate
);
30965 if (PyErr_Occurred()) SWIG_fail
;
30967 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
30974 SWIGINTERN PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30975 PyObject
*resultobj
= 0;
30976 wxWindow
*arg1
= (wxWindow
*) 0 ;
30977 int *arg2
= (int *) 0 ;
30978 int *arg3
= (int *) 0 ;
30982 int res2
= SWIG_TMPOBJ
;
30984 int res3
= SWIG_TMPOBJ
;
30985 PyObject
*swig_obj
[1] ;
30989 if (!args
) SWIG_fail
;
30990 swig_obj
[0] = args
;
30991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30992 if (!SWIG_IsOK(res1
)) {
30993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBestSizeTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
30995 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30998 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
30999 wxPyEndAllowThreads(__tstate
);
31000 if (PyErr_Occurred()) SWIG_fail
;
31002 resultobj
= SWIG_Py_Void();
31003 if (SWIG_IsTmpObj(res2
)) {
31004 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
31006 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31007 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
31009 if (SWIG_IsTmpObj(res3
)) {
31010 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31012 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31013 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31021 SWIGINTERN PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31022 PyObject
*resultobj
= 0;
31023 wxWindow
*arg1
= (wxWindow
*) 0 ;
31026 PyObject
*swig_obj
[1] ;
31028 if (!args
) SWIG_fail
;
31029 swig_obj
[0] = args
;
31030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31031 if (!SWIG_IsOK(res1
)) {
31032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_InvalidateBestSize" "', expected argument " "1"" of type '" "wxWindow *""'");
31034 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31037 (arg1
)->InvalidateBestSize();
31038 wxPyEndAllowThreads(__tstate
);
31039 if (PyErr_Occurred()) SWIG_fail
;
31041 resultobj
= SWIG_Py_Void();
31048 SWIGINTERN PyObject
*_wrap_Window_CacheBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31049 PyObject
*resultobj
= 0;
31050 wxWindow
*arg1
= (wxWindow
*) 0 ;
31055 PyObject
* obj0
= 0 ;
31056 PyObject
* obj1
= 0 ;
31057 char * kwnames
[] = {
31058 (char *) "self",(char *) "size", NULL
31061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_CacheBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31063 if (!SWIG_IsOK(res1
)) {
31064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_CacheBestSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
31066 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31069 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
31072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31073 ((wxWindow
const *)arg1
)->CacheBestSize((wxSize
const &)*arg2
);
31074 wxPyEndAllowThreads(__tstate
);
31075 if (PyErr_Occurred()) SWIG_fail
;
31077 resultobj
= SWIG_Py_Void();
31084 SWIGINTERN PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31085 PyObject
*resultobj
= 0;
31086 wxWindow
*arg1
= (wxWindow
*) 0 ;
31090 PyObject
*swig_obj
[1] ;
31092 if (!args
) SWIG_fail
;
31093 swig_obj
[0] = args
;
31094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31095 if (!SWIG_IsOK(res1
)) {
31096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBestFittingSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
31098 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31101 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
31102 wxPyEndAllowThreads(__tstate
);
31103 if (PyErr_Occurred()) SWIG_fail
;
31105 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
31112 SWIGINTERN PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31113 PyObject
*resultobj
= 0;
31114 wxWindow
*arg1
= (wxWindow
*) 0 ;
31118 PyObject
*swig_obj
[1] ;
31120 if (!args
) SWIG_fail
;
31121 swig_obj
[0] = args
;
31122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31123 if (!SWIG_IsOK(res1
)) {
31124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetAdjustedBestSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
31126 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31129 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
31130 wxPyEndAllowThreads(__tstate
);
31131 if (PyErr_Occurred()) SWIG_fail
;
31133 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
31140 SWIGINTERN PyObject
*_wrap_Window_Center(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31141 PyObject
*resultobj
= 0;
31142 wxWindow
*arg1
= (wxWindow
*) 0 ;
31143 int arg2
= (int) wxBOTH
;
31148 PyObject
* obj0
= 0 ;
31149 PyObject
* obj1
= 0 ;
31150 char * kwnames
[] = {
31151 (char *) "self",(char *) "direction", NULL
31154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31156 if (!SWIG_IsOK(res1
)) {
31157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Center" "', expected argument " "1"" of type '" "wxWindow *""'");
31159 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31161 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31162 if (!SWIG_IsOK(ecode2
)) {
31163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Center" "', expected argument " "2"" of type '" "int""'");
31165 arg2
= static_cast< int >(val2
);
31168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31169 (arg1
)->Center(arg2
);
31170 wxPyEndAllowThreads(__tstate
);
31171 if (PyErr_Occurred()) SWIG_fail
;
31173 resultobj
= SWIG_Py_Void();
31180 SWIGINTERN PyObject
*_wrap_Window_CenterOnParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31181 PyObject
*resultobj
= 0;
31182 wxWindow
*arg1
= (wxWindow
*) 0 ;
31183 int arg2
= (int) wxBOTH
;
31188 PyObject
* obj0
= 0 ;
31189 PyObject
* obj1
= 0 ;
31190 char * kwnames
[] = {
31191 (char *) "self",(char *) "dir", NULL
31194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31196 if (!SWIG_IsOK(res1
)) {
31197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_CenterOnParent" "', expected argument " "1"" of type '" "wxWindow *""'");
31199 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31201 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31202 if (!SWIG_IsOK(ecode2
)) {
31203 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_CenterOnParent" "', expected argument " "2"" of type '" "int""'");
31205 arg2
= static_cast< int >(val2
);
31208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31209 (arg1
)->CenterOnParent(arg2
);
31210 wxPyEndAllowThreads(__tstate
);
31211 if (PyErr_Occurred()) SWIG_fail
;
31213 resultobj
= SWIG_Py_Void();
31220 SWIGINTERN PyObject
*_wrap_Window_Fit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31221 PyObject
*resultobj
= 0;
31222 wxWindow
*arg1
= (wxWindow
*) 0 ;
31225 PyObject
*swig_obj
[1] ;
31227 if (!args
) SWIG_fail
;
31228 swig_obj
[0] = args
;
31229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31230 if (!SWIG_IsOK(res1
)) {
31231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Fit" "', expected argument " "1"" of type '" "wxWindow *""'");
31233 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31237 wxPyEndAllowThreads(__tstate
);
31238 if (PyErr_Occurred()) SWIG_fail
;
31240 resultobj
= SWIG_Py_Void();
31247 SWIGINTERN PyObject
*_wrap_Window_FitInside(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31248 PyObject
*resultobj
= 0;
31249 wxWindow
*arg1
= (wxWindow
*) 0 ;
31252 PyObject
*swig_obj
[1] ;
31254 if (!args
) SWIG_fail
;
31255 swig_obj
[0] = args
;
31256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31257 if (!SWIG_IsOK(res1
)) {
31258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_FitInside" "', expected argument " "1"" of type '" "wxWindow *""'");
31260 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31263 (arg1
)->FitInside();
31264 wxPyEndAllowThreads(__tstate
);
31265 if (PyErr_Occurred()) SWIG_fail
;
31267 resultobj
= SWIG_Py_Void();
31274 SWIGINTERN PyObject
*_wrap_Window_SetSizeHints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31275 PyObject
*resultobj
= 0;
31276 wxWindow
*arg1
= (wxWindow
*) 0 ;
31279 int arg4
= (int) -1 ;
31280 int arg5
= (int) -1 ;
31281 int arg6
= (int) -1 ;
31282 int arg7
= (int) -1 ;
31297 PyObject
* obj0
= 0 ;
31298 PyObject
* obj1
= 0 ;
31299 PyObject
* obj2
= 0 ;
31300 PyObject
* obj3
= 0 ;
31301 PyObject
* obj4
= 0 ;
31302 PyObject
* obj5
= 0 ;
31303 PyObject
* obj6
= 0 ;
31304 char * kwnames
[] = {
31305 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
31308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31310 if (!SWIG_IsOK(res1
)) {
31311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSizeHints" "', expected argument " "1"" of type '" "wxWindow *""'");
31313 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31314 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31315 if (!SWIG_IsOK(ecode2
)) {
31316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetSizeHints" "', expected argument " "2"" of type '" "int""'");
31318 arg2
= static_cast< int >(val2
);
31319 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31320 if (!SWIG_IsOK(ecode3
)) {
31321 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetSizeHints" "', expected argument " "3"" of type '" "int""'");
31323 arg3
= static_cast< int >(val3
);
31325 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31326 if (!SWIG_IsOK(ecode4
)) {
31327 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_SetSizeHints" "', expected argument " "4"" of type '" "int""'");
31329 arg4
= static_cast< int >(val4
);
31332 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31333 if (!SWIG_IsOK(ecode5
)) {
31334 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Window_SetSizeHints" "', expected argument " "5"" of type '" "int""'");
31336 arg5
= static_cast< int >(val5
);
31339 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31340 if (!SWIG_IsOK(ecode6
)) {
31341 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Window_SetSizeHints" "', expected argument " "6"" of type '" "int""'");
31343 arg6
= static_cast< int >(val6
);
31346 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
31347 if (!SWIG_IsOK(ecode7
)) {
31348 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Window_SetSizeHints" "', expected argument " "7"" of type '" "int""'");
31350 arg7
= static_cast< int >(val7
);
31353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31354 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
31355 wxPyEndAllowThreads(__tstate
);
31356 if (PyErr_Occurred()) SWIG_fail
;
31358 resultobj
= SWIG_Py_Void();
31365 SWIGINTERN PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31366 PyObject
*resultobj
= 0;
31367 wxWindow
*arg1
= (wxWindow
*) 0 ;
31369 wxSize
const &arg3_defvalue
= wxDefaultSize
;
31370 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
31371 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31372 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31378 PyObject
* obj0
= 0 ;
31379 PyObject
* obj1
= 0 ;
31380 PyObject
* obj2
= 0 ;
31381 PyObject
* obj3
= 0 ;
31382 char * kwnames
[] = {
31383 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
31386 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31387 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31388 if (!SWIG_IsOK(res1
)) {
31389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSizeHintsSz" "', expected argument " "1"" of type '" "wxWindow *""'");
31391 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31394 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
31399 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
31405 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31410 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
31411 wxPyEndAllowThreads(__tstate
);
31412 if (PyErr_Occurred()) SWIG_fail
;
31414 resultobj
= SWIG_Py_Void();
31421 SWIGINTERN PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31422 PyObject
*resultobj
= 0;
31423 wxWindow
*arg1
= (wxWindow
*) 0 ;
31426 int arg4
= (int) -1 ;
31427 int arg5
= (int) -1 ;
31438 PyObject
* obj0
= 0 ;
31439 PyObject
* obj1
= 0 ;
31440 PyObject
* obj2
= 0 ;
31441 PyObject
* obj3
= 0 ;
31442 PyObject
* obj4
= 0 ;
31443 char * kwnames
[] = {
31444 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
31447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31449 if (!SWIG_IsOK(res1
)) {
31450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetVirtualSizeHints" "', expected argument " "1"" of type '" "wxWindow *""'");
31452 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31453 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31454 if (!SWIG_IsOK(ecode2
)) {
31455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetVirtualSizeHints" "', expected argument " "2"" of type '" "int""'");
31457 arg2
= static_cast< int >(val2
);
31458 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31459 if (!SWIG_IsOK(ecode3
)) {
31460 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetVirtualSizeHints" "', expected argument " "3"" of type '" "int""'");
31462 arg3
= static_cast< int >(val3
);
31464 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31465 if (!SWIG_IsOK(ecode4
)) {
31466 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_SetVirtualSizeHints" "', expected argument " "4"" of type '" "int""'");
31468 arg4
= static_cast< int >(val4
);
31471 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31472 if (!SWIG_IsOK(ecode5
)) {
31473 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Window_SetVirtualSizeHints" "', expected argument " "5"" of type '" "int""'");
31475 arg5
= static_cast< int >(val5
);
31478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31479 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
31480 wxPyEndAllowThreads(__tstate
);
31481 if (PyErr_Occurred()) SWIG_fail
;
31483 resultobj
= SWIG_Py_Void();
31490 SWIGINTERN PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31491 PyObject
*resultobj
= 0;
31492 wxWindow
*arg1
= (wxWindow
*) 0 ;
31494 wxSize
const &arg3_defvalue
= wxDefaultSize
;
31495 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
31500 PyObject
* obj0
= 0 ;
31501 PyObject
* obj1
= 0 ;
31502 PyObject
* obj2
= 0 ;
31503 char * kwnames
[] = {
31504 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
31507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31509 if (!SWIG_IsOK(res1
)) {
31510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetVirtualSizeHintsSz" "', expected argument " "1"" of type '" "wxWindow *""'");
31512 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31515 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
31520 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
31524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31525 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
31526 wxPyEndAllowThreads(__tstate
);
31527 if (PyErr_Occurred()) SWIG_fail
;
31529 resultobj
= SWIG_Py_Void();
31536 SWIGINTERN PyObject
*_wrap_Window_GetMaxSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31537 PyObject
*resultobj
= 0;
31538 wxWindow
*arg1
= (wxWindow
*) 0 ;
31542 PyObject
*swig_obj
[1] ;
31544 if (!args
) SWIG_fail
;
31545 swig_obj
[0] = args
;
31546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31547 if (!SWIG_IsOK(res1
)) {
31548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMaxSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
31550 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31553 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
31554 wxPyEndAllowThreads(__tstate
);
31555 if (PyErr_Occurred()) SWIG_fail
;
31557 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
31564 SWIGINTERN PyObject
*_wrap_Window_GetMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31565 PyObject
*resultobj
= 0;
31566 wxWindow
*arg1
= (wxWindow
*) 0 ;
31570 PyObject
*swig_obj
[1] ;
31572 if (!args
) SWIG_fail
;
31573 swig_obj
[0] = args
;
31574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31575 if (!SWIG_IsOK(res1
)) {
31576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMinSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
31578 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31581 result
= ((wxWindow
const *)arg1
)->GetMinSize();
31582 wxPyEndAllowThreads(__tstate
);
31583 if (PyErr_Occurred()) SWIG_fail
;
31585 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
31592 SWIGINTERN PyObject
*_wrap_Window_SetMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31593 PyObject
*resultobj
= 0;
31594 wxWindow
*arg1
= (wxWindow
*) 0 ;
31599 PyObject
* obj0
= 0 ;
31600 PyObject
* obj1
= 0 ;
31601 char * kwnames
[] = {
31602 (char *) "self",(char *) "minSize", NULL
31605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31607 if (!SWIG_IsOK(res1
)) {
31608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetMinSize" "', expected argument " "1"" of type '" "wxWindow *""'");
31610 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31613 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
31616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31617 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
31618 wxPyEndAllowThreads(__tstate
);
31619 if (PyErr_Occurred()) SWIG_fail
;
31621 resultobj
= SWIG_Py_Void();
31628 SWIGINTERN PyObject
*_wrap_Window_SetMaxSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31629 PyObject
*resultobj
= 0;
31630 wxWindow
*arg1
= (wxWindow
*) 0 ;
31635 PyObject
* obj0
= 0 ;
31636 PyObject
* obj1
= 0 ;
31637 char * kwnames
[] = {
31638 (char *) "self",(char *) "maxSize", NULL
31641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31643 if (!SWIG_IsOK(res1
)) {
31644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetMaxSize" "', expected argument " "1"" of type '" "wxWindow *""'");
31646 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31649 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
31652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31653 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
31654 wxPyEndAllowThreads(__tstate
);
31655 if (PyErr_Occurred()) SWIG_fail
;
31657 resultobj
= SWIG_Py_Void();
31664 SWIGINTERN PyObject
*_wrap_Window_GetMinWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31665 PyObject
*resultobj
= 0;
31666 wxWindow
*arg1
= (wxWindow
*) 0 ;
31670 PyObject
*swig_obj
[1] ;
31672 if (!args
) SWIG_fail
;
31673 swig_obj
[0] = args
;
31674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31675 if (!SWIG_IsOK(res1
)) {
31676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMinWidth" "', expected argument " "1"" of type '" "wxWindow const *""'");
31678 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31681 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
31682 wxPyEndAllowThreads(__tstate
);
31683 if (PyErr_Occurred()) SWIG_fail
;
31685 resultobj
= SWIG_From_int(static_cast< int >(result
));
31692 SWIGINTERN PyObject
*_wrap_Window_GetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31693 PyObject
*resultobj
= 0;
31694 wxWindow
*arg1
= (wxWindow
*) 0 ;
31698 PyObject
*swig_obj
[1] ;
31700 if (!args
) SWIG_fail
;
31701 swig_obj
[0] = args
;
31702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31703 if (!SWIG_IsOK(res1
)) {
31704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMinHeight" "', expected argument " "1"" of type '" "wxWindow const *""'");
31706 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31709 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
31710 wxPyEndAllowThreads(__tstate
);
31711 if (PyErr_Occurred()) SWIG_fail
;
31713 resultobj
= SWIG_From_int(static_cast< int >(result
));
31720 SWIGINTERN PyObject
*_wrap_Window_GetMaxWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31721 PyObject
*resultobj
= 0;
31722 wxWindow
*arg1
= (wxWindow
*) 0 ;
31726 PyObject
*swig_obj
[1] ;
31728 if (!args
) SWIG_fail
;
31729 swig_obj
[0] = args
;
31730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31731 if (!SWIG_IsOK(res1
)) {
31732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMaxWidth" "', expected argument " "1"" of type '" "wxWindow const *""'");
31734 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31737 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
31738 wxPyEndAllowThreads(__tstate
);
31739 if (PyErr_Occurred()) SWIG_fail
;
31741 resultobj
= SWIG_From_int(static_cast< int >(result
));
31748 SWIGINTERN PyObject
*_wrap_Window_GetMaxHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31749 PyObject
*resultobj
= 0;
31750 wxWindow
*arg1
= (wxWindow
*) 0 ;
31754 PyObject
*swig_obj
[1] ;
31756 if (!args
) SWIG_fail
;
31757 swig_obj
[0] = args
;
31758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31759 if (!SWIG_IsOK(res1
)) {
31760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMaxHeight" "', expected argument " "1"" of type '" "wxWindow const *""'");
31762 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31765 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
31766 wxPyEndAllowThreads(__tstate
);
31767 if (PyErr_Occurred()) SWIG_fail
;
31769 resultobj
= SWIG_From_int(static_cast< int >(result
));
31776 SWIGINTERN PyObject
*_wrap_Window_SetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31777 PyObject
*resultobj
= 0;
31778 wxWindow
*arg1
= (wxWindow
*) 0 ;
31783 PyObject
* obj0
= 0 ;
31784 PyObject
* obj1
= 0 ;
31785 char * kwnames
[] = {
31786 (char *) "self",(char *) "size", NULL
31789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31791 if (!SWIG_IsOK(res1
)) {
31792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetVirtualSize" "', expected argument " "1"" of type '" "wxWindow *""'");
31794 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31797 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
31800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31801 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
31802 wxPyEndAllowThreads(__tstate
);
31803 if (PyErr_Occurred()) SWIG_fail
;
31805 resultobj
= SWIG_Py_Void();
31812 SWIGINTERN PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31813 PyObject
*resultobj
= 0;
31814 wxWindow
*arg1
= (wxWindow
*) 0 ;
31823 PyObject
* obj0
= 0 ;
31824 PyObject
* obj1
= 0 ;
31825 PyObject
* obj2
= 0 ;
31826 char * kwnames
[] = {
31827 (char *) "self",(char *) "w",(char *) "h", NULL
31830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31832 if (!SWIG_IsOK(res1
)) {
31833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetVirtualSizeWH" "', expected argument " "1"" of type '" "wxWindow *""'");
31835 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31836 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31837 if (!SWIG_IsOK(ecode2
)) {
31838 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetVirtualSizeWH" "', expected argument " "2"" of type '" "int""'");
31840 arg2
= static_cast< int >(val2
);
31841 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31842 if (!SWIG_IsOK(ecode3
)) {
31843 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetVirtualSizeWH" "', expected argument " "3"" of type '" "int""'");
31845 arg3
= static_cast< int >(val3
);
31847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31848 (arg1
)->SetVirtualSize(arg2
,arg3
);
31849 wxPyEndAllowThreads(__tstate
);
31850 if (PyErr_Occurred()) SWIG_fail
;
31852 resultobj
= SWIG_Py_Void();
31859 SWIGINTERN PyObject
*_wrap_Window_GetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31860 PyObject
*resultobj
= 0;
31861 wxWindow
*arg1
= (wxWindow
*) 0 ;
31865 PyObject
*swig_obj
[1] ;
31867 if (!args
) SWIG_fail
;
31868 swig_obj
[0] = args
;
31869 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31870 if (!SWIG_IsOK(res1
)) {
31871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetVirtualSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
31873 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31876 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
31877 wxPyEndAllowThreads(__tstate
);
31878 if (PyErr_Occurred()) SWIG_fail
;
31880 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
31887 SWIGINTERN PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31888 PyObject
*resultobj
= 0;
31889 wxWindow
*arg1
= (wxWindow
*) 0 ;
31890 int *arg2
= (int *) 0 ;
31891 int *arg3
= (int *) 0 ;
31895 int res2
= SWIG_TMPOBJ
;
31897 int res3
= SWIG_TMPOBJ
;
31898 PyObject
*swig_obj
[1] ;
31902 if (!args
) SWIG_fail
;
31903 swig_obj
[0] = args
;
31904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31905 if (!SWIG_IsOK(res1
)) {
31906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetVirtualSizeTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
31908 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31911 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
31912 wxPyEndAllowThreads(__tstate
);
31913 if (PyErr_Occurred()) SWIG_fail
;
31915 resultobj
= SWIG_Py_Void();
31916 if (SWIG_IsTmpObj(res2
)) {
31917 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
31919 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31920 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
31922 if (SWIG_IsTmpObj(res3
)) {
31923 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31925 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31926 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31934 SWIGINTERN PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31935 PyObject
*resultobj
= 0;
31936 wxWindow
*arg1
= (wxWindow
*) 0 ;
31940 PyObject
*swig_obj
[1] ;
31942 if (!args
) SWIG_fail
;
31943 swig_obj
[0] = args
;
31944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31945 if (!SWIG_IsOK(res1
)) {
31946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBestVirtualSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
31948 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31951 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
31952 wxPyEndAllowThreads(__tstate
);
31953 if (PyErr_Occurred()) SWIG_fail
;
31955 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
31962 SWIGINTERN PyObject
*_wrap_Window_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31963 PyObject
*resultobj
= 0;
31964 wxWindow
*arg1
= (wxWindow
*) 0 ;
31965 bool arg2
= (bool) true ;
31971 PyObject
* obj0
= 0 ;
31972 PyObject
* obj1
= 0 ;
31973 char * kwnames
[] = {
31974 (char *) "self",(char *) "show", NULL
31977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31979 if (!SWIG_IsOK(res1
)) {
31980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Show" "', expected argument " "1"" of type '" "wxWindow *""'");
31982 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31984 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
31985 if (!SWIG_IsOK(ecode2
)) {
31986 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Show" "', expected argument " "2"" of type '" "bool""'");
31988 arg2
= static_cast< bool >(val2
);
31991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31992 result
= (bool)(arg1
)->Show(arg2
);
31993 wxPyEndAllowThreads(__tstate
);
31994 if (PyErr_Occurred()) SWIG_fail
;
31997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32005 SWIGINTERN PyObject
*_wrap_Window_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32006 PyObject
*resultobj
= 0;
32007 wxWindow
*arg1
= (wxWindow
*) 0 ;
32011 PyObject
*swig_obj
[1] ;
32013 if (!args
) SWIG_fail
;
32014 swig_obj
[0] = args
;
32015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32016 if (!SWIG_IsOK(res1
)) {
32017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Hide" "', expected argument " "1"" of type '" "wxWindow *""'");
32019 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32022 result
= (bool)(arg1
)->Hide();
32023 wxPyEndAllowThreads(__tstate
);
32024 if (PyErr_Occurred()) SWIG_fail
;
32027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32035 SWIGINTERN PyObject
*_wrap_Window_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32036 PyObject
*resultobj
= 0;
32037 wxWindow
*arg1
= (wxWindow
*) 0 ;
32038 bool arg2
= (bool) true ;
32044 PyObject
* obj0
= 0 ;
32045 PyObject
* obj1
= 0 ;
32046 char * kwnames
[] = {
32047 (char *) "self",(char *) "enable", NULL
32050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32052 if (!SWIG_IsOK(res1
)) {
32053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Enable" "', expected argument " "1"" of type '" "wxWindow *""'");
32055 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32057 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
32058 if (!SWIG_IsOK(ecode2
)) {
32059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Enable" "', expected argument " "2"" of type '" "bool""'");
32061 arg2
= static_cast< bool >(val2
);
32064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32065 result
= (bool)(arg1
)->Enable(arg2
);
32066 wxPyEndAllowThreads(__tstate
);
32067 if (PyErr_Occurred()) SWIG_fail
;
32070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32078 SWIGINTERN PyObject
*_wrap_Window_Disable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32079 PyObject
*resultobj
= 0;
32080 wxWindow
*arg1
= (wxWindow
*) 0 ;
32084 PyObject
*swig_obj
[1] ;
32086 if (!args
) SWIG_fail
;
32087 swig_obj
[0] = args
;
32088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32089 if (!SWIG_IsOK(res1
)) {
32090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Disable" "', expected argument " "1"" of type '" "wxWindow *""'");
32092 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32095 result
= (bool)(arg1
)->Disable();
32096 wxPyEndAllowThreads(__tstate
);
32097 if (PyErr_Occurred()) SWIG_fail
;
32100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32108 SWIGINTERN PyObject
*_wrap_Window_IsShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32109 PyObject
*resultobj
= 0;
32110 wxWindow
*arg1
= (wxWindow
*) 0 ;
32114 PyObject
*swig_obj
[1] ;
32116 if (!args
) SWIG_fail
;
32117 swig_obj
[0] = args
;
32118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32119 if (!SWIG_IsOK(res1
)) {
32120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsShown" "', expected argument " "1"" of type '" "wxWindow const *""'");
32122 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32125 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
32126 wxPyEndAllowThreads(__tstate
);
32127 if (PyErr_Occurred()) SWIG_fail
;
32130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32138 SWIGINTERN PyObject
*_wrap_Window_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32139 PyObject
*resultobj
= 0;
32140 wxWindow
*arg1
= (wxWindow
*) 0 ;
32144 PyObject
*swig_obj
[1] ;
32146 if (!args
) SWIG_fail
;
32147 swig_obj
[0] = args
;
32148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32149 if (!SWIG_IsOK(res1
)) {
32150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsEnabled" "', expected argument " "1"" of type '" "wxWindow const *""'");
32152 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32155 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
32156 wxPyEndAllowThreads(__tstate
);
32157 if (PyErr_Occurred()) SWIG_fail
;
32160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32168 SWIGINTERN PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32169 PyObject
*resultobj
= 0;
32170 wxWindow
*arg1
= (wxWindow
*) 0 ;
32176 PyObject
* obj0
= 0 ;
32177 PyObject
* obj1
= 0 ;
32178 char * kwnames
[] = {
32179 (char *) "self",(char *) "style", NULL
32182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32184 if (!SWIG_IsOK(res1
)) {
32185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetWindowStyleFlag" "', expected argument " "1"" of type '" "wxWindow *""'");
32187 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32188 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32189 if (!SWIG_IsOK(ecode2
)) {
32190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetWindowStyleFlag" "', expected argument " "2"" of type '" "long""'");
32192 arg2
= static_cast< long >(val2
);
32194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32195 (arg1
)->SetWindowStyleFlag(arg2
);
32196 wxPyEndAllowThreads(__tstate
);
32197 if (PyErr_Occurred()) SWIG_fail
;
32199 resultobj
= SWIG_Py_Void();
32206 SWIGINTERN PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32207 PyObject
*resultobj
= 0;
32208 wxWindow
*arg1
= (wxWindow
*) 0 ;
32212 PyObject
*swig_obj
[1] ;
32214 if (!args
) SWIG_fail
;
32215 swig_obj
[0] = args
;
32216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32217 if (!SWIG_IsOK(res1
)) {
32218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetWindowStyleFlag" "', expected argument " "1"" of type '" "wxWindow const *""'");
32220 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32223 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
32224 wxPyEndAllowThreads(__tstate
);
32225 if (PyErr_Occurred()) SWIG_fail
;
32227 resultobj
= SWIG_From_long(static_cast< long >(result
));
32234 SWIGINTERN PyObject
*_wrap_Window_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32235 PyObject
*resultobj
= 0;
32236 wxWindow
*arg1
= (wxWindow
*) 0 ;
32243 PyObject
* obj0
= 0 ;
32244 PyObject
* obj1
= 0 ;
32245 char * kwnames
[] = {
32246 (char *) "self",(char *) "flag", NULL
32249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32251 if (!SWIG_IsOK(res1
)) {
32252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HasFlag" "', expected argument " "1"" of type '" "wxWindow const *""'");
32254 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32255 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32256 if (!SWIG_IsOK(ecode2
)) {
32257 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_HasFlag" "', expected argument " "2"" of type '" "int""'");
32259 arg2
= static_cast< int >(val2
);
32261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32262 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
32263 wxPyEndAllowThreads(__tstate
);
32264 if (PyErr_Occurred()) SWIG_fail
;
32267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32275 SWIGINTERN PyObject
*_wrap_Window_IsRetained(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32276 PyObject
*resultobj
= 0;
32277 wxWindow
*arg1
= (wxWindow
*) 0 ;
32281 PyObject
*swig_obj
[1] ;
32283 if (!args
) SWIG_fail
;
32284 swig_obj
[0] = args
;
32285 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32286 if (!SWIG_IsOK(res1
)) {
32287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsRetained" "', expected argument " "1"" of type '" "wxWindow const *""'");
32289 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32292 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
32293 wxPyEndAllowThreads(__tstate
);
32294 if (PyErr_Occurred()) SWIG_fail
;
32297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32305 SWIGINTERN PyObject
*_wrap_Window_SetExtraStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32306 PyObject
*resultobj
= 0;
32307 wxWindow
*arg1
= (wxWindow
*) 0 ;
32313 PyObject
* obj0
= 0 ;
32314 PyObject
* obj1
= 0 ;
32315 char * kwnames
[] = {
32316 (char *) "self",(char *) "exStyle", NULL
32319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32321 if (!SWIG_IsOK(res1
)) {
32322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetExtraStyle" "', expected argument " "1"" of type '" "wxWindow *""'");
32324 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32325 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32326 if (!SWIG_IsOK(ecode2
)) {
32327 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetExtraStyle" "', expected argument " "2"" of type '" "long""'");
32329 arg2
= static_cast< long >(val2
);
32331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32332 (arg1
)->SetExtraStyle(arg2
);
32333 wxPyEndAllowThreads(__tstate
);
32334 if (PyErr_Occurred()) SWIG_fail
;
32336 resultobj
= SWIG_Py_Void();
32343 SWIGINTERN PyObject
*_wrap_Window_GetExtraStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32344 PyObject
*resultobj
= 0;
32345 wxWindow
*arg1
= (wxWindow
*) 0 ;
32349 PyObject
*swig_obj
[1] ;
32351 if (!args
) SWIG_fail
;
32352 swig_obj
[0] = args
;
32353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32354 if (!SWIG_IsOK(res1
)) {
32355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetExtraStyle" "', expected argument " "1"" of type '" "wxWindow const *""'");
32357 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32360 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
32361 wxPyEndAllowThreads(__tstate
);
32362 if (PyErr_Occurred()) SWIG_fail
;
32364 resultobj
= SWIG_From_long(static_cast< long >(result
));
32371 SWIGINTERN PyObject
*_wrap_Window_MakeModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32372 PyObject
*resultobj
= 0;
32373 wxWindow
*arg1
= (wxWindow
*) 0 ;
32374 bool arg2
= (bool) true ;
32379 PyObject
* obj0
= 0 ;
32380 PyObject
* obj1
= 0 ;
32381 char * kwnames
[] = {
32382 (char *) "self",(char *) "modal", NULL
32385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32387 if (!SWIG_IsOK(res1
)) {
32388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_MakeModal" "', expected argument " "1"" of type '" "wxWindow *""'");
32390 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32392 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
32393 if (!SWIG_IsOK(ecode2
)) {
32394 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_MakeModal" "', expected argument " "2"" of type '" "bool""'");
32396 arg2
= static_cast< bool >(val2
);
32399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32400 (arg1
)->MakeModal(arg2
);
32401 wxPyEndAllowThreads(__tstate
);
32402 if (PyErr_Occurred()) SWIG_fail
;
32404 resultobj
= SWIG_Py_Void();
32411 SWIGINTERN PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32412 PyObject
*resultobj
= 0;
32413 wxWindow
*arg1
= (wxWindow
*) 0 ;
32419 PyObject
* obj0
= 0 ;
32420 PyObject
* obj1
= 0 ;
32421 char * kwnames
[] = {
32422 (char *) "self",(char *) "enableTheme", NULL
32425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32427 if (!SWIG_IsOK(res1
)) {
32428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetThemeEnabled" "', expected argument " "1"" of type '" "wxWindow *""'");
32430 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32431 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
32432 if (!SWIG_IsOK(ecode2
)) {
32433 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetThemeEnabled" "', expected argument " "2"" of type '" "bool""'");
32435 arg2
= static_cast< bool >(val2
);
32437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32438 (arg1
)->SetThemeEnabled(arg2
);
32439 wxPyEndAllowThreads(__tstate
);
32440 if (PyErr_Occurred()) SWIG_fail
;
32442 resultobj
= SWIG_Py_Void();
32449 SWIGINTERN PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32450 PyObject
*resultobj
= 0;
32451 wxWindow
*arg1
= (wxWindow
*) 0 ;
32455 PyObject
*swig_obj
[1] ;
32457 if (!args
) SWIG_fail
;
32458 swig_obj
[0] = args
;
32459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32460 if (!SWIG_IsOK(res1
)) {
32461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetThemeEnabled" "', expected argument " "1"" of type '" "wxWindow const *""'");
32463 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32466 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
32467 wxPyEndAllowThreads(__tstate
);
32468 if (PyErr_Occurred()) SWIG_fail
;
32471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32479 SWIGINTERN PyObject
*_wrap_Window_SetFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32480 PyObject
*resultobj
= 0;
32481 wxWindow
*arg1
= (wxWindow
*) 0 ;
32484 PyObject
*swig_obj
[1] ;
32486 if (!args
) SWIG_fail
;
32487 swig_obj
[0] = args
;
32488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32489 if (!SWIG_IsOK(res1
)) {
32490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetFocus" "', expected argument " "1"" of type '" "wxWindow *""'");
32492 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32495 (arg1
)->SetFocus();
32496 wxPyEndAllowThreads(__tstate
);
32497 if (PyErr_Occurred()) SWIG_fail
;
32499 resultobj
= SWIG_Py_Void();
32506 SWIGINTERN PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32507 PyObject
*resultobj
= 0;
32508 wxWindow
*arg1
= (wxWindow
*) 0 ;
32511 PyObject
*swig_obj
[1] ;
32513 if (!args
) SWIG_fail
;
32514 swig_obj
[0] = args
;
32515 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32516 if (!SWIG_IsOK(res1
)) {
32517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetFocusFromKbd" "', expected argument " "1"" of type '" "wxWindow *""'");
32519 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32522 (arg1
)->SetFocusFromKbd();
32523 wxPyEndAllowThreads(__tstate
);
32524 if (PyErr_Occurred()) SWIG_fail
;
32526 resultobj
= SWIG_Py_Void();
32533 SWIGINTERN PyObject
*_wrap_Window_FindFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32534 PyObject
*resultobj
= 0;
32535 wxWindow
*result
= 0 ;
32537 if (!SWIG_Python_UnpackTuple(args
,"Window_FindFocus",0,0,0)) SWIG_fail
;
32539 if (!wxPyCheckForApp()) SWIG_fail
;
32540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32541 result
= (wxWindow
*)wxWindow::FindFocus();
32542 wxPyEndAllowThreads(__tstate
);
32543 if (PyErr_Occurred()) SWIG_fail
;
32546 resultobj
= wxPyMake_wxObject(result
, 0);
32554 SWIGINTERN PyObject
*_wrap_Window_AcceptsFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32555 PyObject
*resultobj
= 0;
32556 wxWindow
*arg1
= (wxWindow
*) 0 ;
32560 PyObject
*swig_obj
[1] ;
32562 if (!args
) SWIG_fail
;
32563 swig_obj
[0] = args
;
32564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32565 if (!SWIG_IsOK(res1
)) {
32566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_AcceptsFocus" "', expected argument " "1"" of type '" "wxWindow const *""'");
32568 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32571 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
32572 wxPyEndAllowThreads(__tstate
);
32573 if (PyErr_Occurred()) SWIG_fail
;
32576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32584 SWIGINTERN PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32585 PyObject
*resultobj
= 0;
32586 wxWindow
*arg1
= (wxWindow
*) 0 ;
32590 PyObject
*swig_obj
[1] ;
32592 if (!args
) SWIG_fail
;
32593 swig_obj
[0] = args
;
32594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32595 if (!SWIG_IsOK(res1
)) {
32596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_AcceptsFocusFromKeyboard" "', expected argument " "1"" of type '" "wxWindow const *""'");
32598 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32601 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
32602 wxPyEndAllowThreads(__tstate
);
32603 if (PyErr_Occurred()) SWIG_fail
;
32606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32614 SWIGINTERN PyObject
*_wrap_Window_GetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32615 PyObject
*resultobj
= 0;
32616 wxWindow
*arg1
= (wxWindow
*) 0 ;
32617 wxWindow
*result
= 0 ;
32620 PyObject
*swig_obj
[1] ;
32622 if (!args
) SWIG_fail
;
32623 swig_obj
[0] = args
;
32624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32625 if (!SWIG_IsOK(res1
)) {
32626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetDefaultItem" "', expected argument " "1"" of type '" "wxWindow const *""'");
32628 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32631 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
32632 wxPyEndAllowThreads(__tstate
);
32633 if (PyErr_Occurred()) SWIG_fail
;
32636 resultobj
= wxPyMake_wxObject(result
, 0);
32644 SWIGINTERN PyObject
*_wrap_Window_SetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32645 PyObject
*resultobj
= 0;
32646 wxWindow
*arg1
= (wxWindow
*) 0 ;
32647 wxWindow
*arg2
= (wxWindow
*) 0 ;
32648 wxWindow
*result
= 0 ;
32653 PyObject
* obj0
= 0 ;
32654 PyObject
* obj1
= 0 ;
32655 char * kwnames
[] = {
32656 (char *) "self",(char *) "child", NULL
32659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32661 if (!SWIG_IsOK(res1
)) {
32662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetDefaultItem" "', expected argument " "1"" of type '" "wxWindow *""'");
32664 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32665 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32666 if (!SWIG_IsOK(res2
)) {
32667 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
32669 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32672 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
32673 wxPyEndAllowThreads(__tstate
);
32674 if (PyErr_Occurred()) SWIG_fail
;
32677 resultobj
= wxPyMake_wxObject(result
, 0);
32685 SWIGINTERN PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32686 PyObject
*resultobj
= 0;
32687 wxWindow
*arg1
= (wxWindow
*) 0 ;
32688 wxWindow
*arg2
= (wxWindow
*) 0 ;
32693 PyObject
* obj0
= 0 ;
32694 PyObject
* obj1
= 0 ;
32695 char * kwnames
[] = {
32696 (char *) "self",(char *) "win", NULL
32699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32701 if (!SWIG_IsOK(res1
)) {
32702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxWindow *""'");
32704 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32705 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32706 if (!SWIG_IsOK(res2
)) {
32707 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
32709 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32712 (arg1
)->SetTmpDefaultItem(arg2
);
32713 wxPyEndAllowThreads(__tstate
);
32714 if (PyErr_Occurred()) SWIG_fail
;
32716 resultobj
= SWIG_Py_Void();
32723 SWIGINTERN PyObject
*_wrap_Window_Navigate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32724 PyObject
*resultobj
= 0;
32725 wxWindow
*arg1
= (wxWindow
*) 0 ;
32726 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
32732 PyObject
* obj0
= 0 ;
32733 PyObject
* obj1
= 0 ;
32734 char * kwnames
[] = {
32735 (char *) "self",(char *) "flags", NULL
32738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32740 if (!SWIG_IsOK(res1
)) {
32741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Navigate" "', expected argument " "1"" of type '" "wxWindow *""'");
32743 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32745 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32746 if (!SWIG_IsOK(ecode2
)) {
32747 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Navigate" "', expected argument " "2"" of type '" "int""'");
32749 arg2
= static_cast< int >(val2
);
32752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32753 result
= (bool)(arg1
)->Navigate(arg2
);
32754 wxPyEndAllowThreads(__tstate
);
32755 if (PyErr_Occurred()) SWIG_fail
;
32758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32766 SWIGINTERN PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32767 PyObject
*resultobj
= 0;
32768 wxWindow
*arg1
= (wxWindow
*) 0 ;
32769 wxWindow
*arg2
= (wxWindow
*) 0 ;
32774 PyObject
* obj0
= 0 ;
32775 PyObject
* obj1
= 0 ;
32776 char * kwnames
[] = {
32777 (char *) "self",(char *) "win", NULL
32780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32782 if (!SWIG_IsOK(res1
)) {
32783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_MoveAfterInTabOrder" "', expected argument " "1"" of type '" "wxWindow *""'");
32785 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32786 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32787 if (!SWIG_IsOK(res2
)) {
32788 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_MoveAfterInTabOrder" "', expected argument " "2"" of type '" "wxWindow *""'");
32790 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32793 (arg1
)->MoveAfterInTabOrder(arg2
);
32794 wxPyEndAllowThreads(__tstate
);
32795 if (PyErr_Occurred()) SWIG_fail
;
32797 resultobj
= SWIG_Py_Void();
32804 SWIGINTERN PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32805 PyObject
*resultobj
= 0;
32806 wxWindow
*arg1
= (wxWindow
*) 0 ;
32807 wxWindow
*arg2
= (wxWindow
*) 0 ;
32812 PyObject
* obj0
= 0 ;
32813 PyObject
* obj1
= 0 ;
32814 char * kwnames
[] = {
32815 (char *) "self",(char *) "win", NULL
32818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32820 if (!SWIG_IsOK(res1
)) {
32821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_MoveBeforeInTabOrder" "', expected argument " "1"" of type '" "wxWindow *""'");
32823 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32824 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32825 if (!SWIG_IsOK(res2
)) {
32826 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_MoveBeforeInTabOrder" "', expected argument " "2"" of type '" "wxWindow *""'");
32828 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32831 (arg1
)->MoveBeforeInTabOrder(arg2
);
32832 wxPyEndAllowThreads(__tstate
);
32833 if (PyErr_Occurred()) SWIG_fail
;
32835 resultobj
= SWIG_Py_Void();
32842 SWIGINTERN PyObject
*_wrap_Window_GetChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32843 PyObject
*resultobj
= 0;
32844 wxWindow
*arg1
= (wxWindow
*) 0 ;
32845 PyObject
*result
= 0 ;
32848 PyObject
*swig_obj
[1] ;
32850 if (!args
) SWIG_fail
;
32851 swig_obj
[0] = args
;
32852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32853 if (!SWIG_IsOK(res1
)) {
32854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetChildren" "', expected argument " "1"" of type '" "wxWindow *""'");
32856 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32859 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
32860 wxPyEndAllowThreads(__tstate
);
32861 if (PyErr_Occurred()) SWIG_fail
;
32863 resultobj
= result
;
32870 SWIGINTERN PyObject
*_wrap_Window_GetParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32871 PyObject
*resultobj
= 0;
32872 wxWindow
*arg1
= (wxWindow
*) 0 ;
32873 wxWindow
*result
= 0 ;
32876 PyObject
*swig_obj
[1] ;
32878 if (!args
) SWIG_fail
;
32879 swig_obj
[0] = args
;
32880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32881 if (!SWIG_IsOK(res1
)) {
32882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetParent" "', expected argument " "1"" of type '" "wxWindow const *""'");
32884 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32887 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
32888 wxPyEndAllowThreads(__tstate
);
32889 if (PyErr_Occurred()) SWIG_fail
;
32892 resultobj
= wxPyMake_wxObject(result
, 0);
32900 SWIGINTERN PyObject
*_wrap_Window_GetGrandParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32901 PyObject
*resultobj
= 0;
32902 wxWindow
*arg1
= (wxWindow
*) 0 ;
32903 wxWindow
*result
= 0 ;
32906 PyObject
*swig_obj
[1] ;
32908 if (!args
) SWIG_fail
;
32909 swig_obj
[0] = args
;
32910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32911 if (!SWIG_IsOK(res1
)) {
32912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetGrandParent" "', expected argument " "1"" of type '" "wxWindow const *""'");
32914 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32917 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
32918 wxPyEndAllowThreads(__tstate
);
32919 if (PyErr_Occurred()) SWIG_fail
;
32922 resultobj
= wxPyMake_wxObject(result
, 0);
32930 SWIGINTERN PyObject
*_wrap_Window_IsTopLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32931 PyObject
*resultobj
= 0;
32932 wxWindow
*arg1
= (wxWindow
*) 0 ;
32936 PyObject
*swig_obj
[1] ;
32938 if (!args
) SWIG_fail
;
32939 swig_obj
[0] = args
;
32940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32941 if (!SWIG_IsOK(res1
)) {
32942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsTopLevel" "', expected argument " "1"" of type '" "wxWindow const *""'");
32944 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32947 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
32948 wxPyEndAllowThreads(__tstate
);
32949 if (PyErr_Occurred()) SWIG_fail
;
32952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32960 SWIGINTERN PyObject
*_wrap_Window_Reparent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32961 PyObject
*resultobj
= 0;
32962 wxWindow
*arg1
= (wxWindow
*) 0 ;
32963 wxWindow
*arg2
= (wxWindow
*) 0 ;
32969 PyObject
* obj0
= 0 ;
32970 PyObject
* obj1
= 0 ;
32971 char * kwnames
[] = {
32972 (char *) "self",(char *) "newParent", NULL
32975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32977 if (!SWIG_IsOK(res1
)) {
32978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Reparent" "', expected argument " "1"" of type '" "wxWindow *""'");
32980 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32981 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32982 if (!SWIG_IsOK(res2
)) {
32983 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_Reparent" "', expected argument " "2"" of type '" "wxWindow *""'");
32985 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32988 result
= (bool)(arg1
)->Reparent(arg2
);
32989 wxPyEndAllowThreads(__tstate
);
32990 if (PyErr_Occurred()) SWIG_fail
;
32993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33001 SWIGINTERN PyObject
*_wrap_Window_AddChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33002 PyObject
*resultobj
= 0;
33003 wxWindow
*arg1
= (wxWindow
*) 0 ;
33004 wxWindow
*arg2
= (wxWindow
*) 0 ;
33009 PyObject
* obj0
= 0 ;
33010 PyObject
* obj1
= 0 ;
33011 char * kwnames
[] = {
33012 (char *) "self",(char *) "child", NULL
33015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33017 if (!SWIG_IsOK(res1
)) {
33018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_AddChild" "', expected argument " "1"" of type '" "wxWindow *""'");
33020 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33021 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33022 if (!SWIG_IsOK(res2
)) {
33023 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_AddChild" "', expected argument " "2"" of type '" "wxWindow *""'");
33025 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33028 (arg1
)->AddChild(arg2
);
33029 wxPyEndAllowThreads(__tstate
);
33030 if (PyErr_Occurred()) SWIG_fail
;
33032 resultobj
= SWIG_Py_Void();
33039 SWIGINTERN PyObject
*_wrap_Window_RemoveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33040 PyObject
*resultobj
= 0;
33041 wxWindow
*arg1
= (wxWindow
*) 0 ;
33042 wxWindow
*arg2
= (wxWindow
*) 0 ;
33047 PyObject
* obj0
= 0 ;
33048 PyObject
* obj1
= 0 ;
33049 char * kwnames
[] = {
33050 (char *) "self",(char *) "child", NULL
33053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33055 if (!SWIG_IsOK(res1
)) {
33056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_RemoveChild" "', expected argument " "1"" of type '" "wxWindow *""'");
33058 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33059 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33060 if (!SWIG_IsOK(res2
)) {
33061 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_RemoveChild" "', expected argument " "2"" of type '" "wxWindow *""'");
33063 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33066 (arg1
)->RemoveChild(arg2
);
33067 wxPyEndAllowThreads(__tstate
);
33068 if (PyErr_Occurred()) SWIG_fail
;
33070 resultobj
= SWIG_Py_Void();
33077 SWIGINTERN PyObject
*_wrap_Window_FindWindowById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33078 PyObject
*resultobj
= 0;
33079 wxWindow
*arg1
= (wxWindow
*) 0 ;
33081 wxWindow
*result
= 0 ;
33086 PyObject
* obj0
= 0 ;
33087 PyObject
* obj1
= 0 ;
33088 char * kwnames
[] = {
33089 (char *) "self",(char *) "winid", NULL
33092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33094 if (!SWIG_IsOK(res1
)) {
33095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_FindWindowById" "', expected argument " "1"" of type '" "wxWindow *""'");
33097 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33098 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
33099 if (!SWIG_IsOK(ecode2
)) {
33100 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_FindWindowById" "', expected argument " "2"" of type '" "long""'");
33102 arg2
= static_cast< long >(val2
);
33104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33105 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
33106 wxPyEndAllowThreads(__tstate
);
33107 if (PyErr_Occurred()) SWIG_fail
;
33110 resultobj
= wxPyMake_wxObject(result
, 0);
33118 SWIGINTERN PyObject
*_wrap_Window_FindWindowByName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33119 PyObject
*resultobj
= 0;
33120 wxWindow
*arg1
= (wxWindow
*) 0 ;
33121 wxString
*arg2
= 0 ;
33122 wxWindow
*result
= 0 ;
33125 bool temp2
= false ;
33126 PyObject
* obj0
= 0 ;
33127 PyObject
* obj1
= 0 ;
33128 char * kwnames
[] = {
33129 (char *) "self",(char *) "name", NULL
33132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33134 if (!SWIG_IsOK(res1
)) {
33135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_FindWindowByName" "', expected argument " "1"" of type '" "wxWindow *""'");
33137 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33139 arg2
= wxString_in_helper(obj1
);
33140 if (arg2
== NULL
) SWIG_fail
;
33144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33145 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
33146 wxPyEndAllowThreads(__tstate
);
33147 if (PyErr_Occurred()) SWIG_fail
;
33150 resultobj
= wxPyMake_wxObject(result
, 0);
33166 SWIGINTERN PyObject
*_wrap_Window_GetEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33167 PyObject
*resultobj
= 0;
33168 wxWindow
*arg1
= (wxWindow
*) 0 ;
33169 wxEvtHandler
*result
= 0 ;
33172 PyObject
*swig_obj
[1] ;
33174 if (!args
) SWIG_fail
;
33175 swig_obj
[0] = args
;
33176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33177 if (!SWIG_IsOK(res1
)) {
33178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetEventHandler" "', expected argument " "1"" of type '" "wxWindow const *""'");
33180 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33183 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
33184 wxPyEndAllowThreads(__tstate
);
33185 if (PyErr_Occurred()) SWIG_fail
;
33188 resultobj
= wxPyMake_wxObject(result
, 0);
33196 SWIGINTERN PyObject
*_wrap_Window_SetEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33197 PyObject
*resultobj
= 0;
33198 wxWindow
*arg1
= (wxWindow
*) 0 ;
33199 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
33204 PyObject
* obj0
= 0 ;
33205 PyObject
* obj1
= 0 ;
33206 char * kwnames
[] = {
33207 (char *) "self",(char *) "handler", NULL
33210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33212 if (!SWIG_IsOK(res1
)) {
33213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetEventHandler" "', expected argument " "1"" of type '" "wxWindow *""'");
33215 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33216 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
33217 if (!SWIG_IsOK(res2
)) {
33218 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetEventHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
33220 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
33222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33223 (arg1
)->SetEventHandler(arg2
);
33224 wxPyEndAllowThreads(__tstate
);
33225 if (PyErr_Occurred()) SWIG_fail
;
33227 resultobj
= SWIG_Py_Void();
33234 SWIGINTERN PyObject
*_wrap_Window_PushEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33235 PyObject
*resultobj
= 0;
33236 wxWindow
*arg1
= (wxWindow
*) 0 ;
33237 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
33242 PyObject
* obj0
= 0 ;
33243 PyObject
* obj1
= 0 ;
33244 char * kwnames
[] = {
33245 (char *) "self",(char *) "handler", NULL
33248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33250 if (!SWIG_IsOK(res1
)) {
33251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PushEventHandler" "', expected argument " "1"" of type '" "wxWindow *""'");
33253 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33254 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
33255 if (!SWIG_IsOK(res2
)) {
33256 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_PushEventHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
33258 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
33260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33261 (arg1
)->PushEventHandler(arg2
);
33262 wxPyEndAllowThreads(__tstate
);
33263 if (PyErr_Occurred()) SWIG_fail
;
33265 resultobj
= SWIG_Py_Void();
33272 SWIGINTERN PyObject
*_wrap_Window_PopEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33273 PyObject
*resultobj
= 0;
33274 wxWindow
*arg1
= (wxWindow
*) 0 ;
33275 bool arg2
= (bool) false ;
33276 wxEvtHandler
*result
= 0 ;
33281 PyObject
* obj0
= 0 ;
33282 PyObject
* obj1
= 0 ;
33283 char * kwnames
[] = {
33284 (char *) "self",(char *) "deleteHandler", NULL
33287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33289 if (!SWIG_IsOK(res1
)) {
33290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PopEventHandler" "', expected argument " "1"" of type '" "wxWindow *""'");
33292 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33294 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33295 if (!SWIG_IsOK(ecode2
)) {
33296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_PopEventHandler" "', expected argument " "2"" of type '" "bool""'");
33298 arg2
= static_cast< bool >(val2
);
33301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33302 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
33303 wxPyEndAllowThreads(__tstate
);
33304 if (PyErr_Occurred()) SWIG_fail
;
33307 resultobj
= wxPyMake_wxObject(result
, 0);
33315 SWIGINTERN PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33316 PyObject
*resultobj
= 0;
33317 wxWindow
*arg1
= (wxWindow
*) 0 ;
33318 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
33324 PyObject
* obj0
= 0 ;
33325 PyObject
* obj1
= 0 ;
33326 char * kwnames
[] = {
33327 (char *) "self",(char *) "handler", NULL
33330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33332 if (!SWIG_IsOK(res1
)) {
33333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_RemoveEventHandler" "', expected argument " "1"" of type '" "wxWindow *""'");
33335 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33336 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
33337 if (!SWIG_IsOK(res2
)) {
33338 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_RemoveEventHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
33340 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
33342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33343 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
33344 wxPyEndAllowThreads(__tstate
);
33345 if (PyErr_Occurred()) SWIG_fail
;
33348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33356 SWIGINTERN PyObject
*_wrap_Window_SetValidator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33357 PyObject
*resultobj
= 0;
33358 wxWindow
*arg1
= (wxWindow
*) 0 ;
33359 wxValidator
*arg2
= 0 ;
33364 PyObject
* obj0
= 0 ;
33365 PyObject
* obj1
= 0 ;
33366 char * kwnames
[] = {
33367 (char *) "self",(char *) "validator", NULL
33370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33372 if (!SWIG_IsOK(res1
)) {
33373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetValidator" "', expected argument " "1"" of type '" "wxWindow *""'");
33375 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33376 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxValidator
, 0 | 0);
33377 if (!SWIG_IsOK(res2
)) {
33378 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetValidator" "', expected argument " "2"" of type '" "wxValidator const &""'");
33381 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_SetValidator" "', expected argument " "2"" of type '" "wxValidator const &""'");
33383 arg2
= reinterpret_cast< wxValidator
* >(argp2
);
33385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33386 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
33387 wxPyEndAllowThreads(__tstate
);
33388 if (PyErr_Occurred()) SWIG_fail
;
33390 resultobj
= SWIG_Py_Void();
33397 SWIGINTERN PyObject
*_wrap_Window_GetValidator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33398 PyObject
*resultobj
= 0;
33399 wxWindow
*arg1
= (wxWindow
*) 0 ;
33400 wxValidator
*result
= 0 ;
33403 PyObject
*swig_obj
[1] ;
33405 if (!args
) SWIG_fail
;
33406 swig_obj
[0] = args
;
33407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33408 if (!SWIG_IsOK(res1
)) {
33409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetValidator" "', expected argument " "1"" of type '" "wxWindow *""'");
33411 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33414 result
= (wxValidator
*)(arg1
)->GetValidator();
33415 wxPyEndAllowThreads(__tstate
);
33416 if (PyErr_Occurred()) SWIG_fail
;
33419 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33427 SWIGINTERN PyObject
*_wrap_Window_Validate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33428 PyObject
*resultobj
= 0;
33429 wxWindow
*arg1
= (wxWindow
*) 0 ;
33433 PyObject
*swig_obj
[1] ;
33435 if (!args
) SWIG_fail
;
33436 swig_obj
[0] = args
;
33437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33438 if (!SWIG_IsOK(res1
)) {
33439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Validate" "', expected argument " "1"" of type '" "wxWindow *""'");
33441 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33444 result
= (bool)(arg1
)->Validate();
33445 wxPyEndAllowThreads(__tstate
);
33446 if (PyErr_Occurred()) SWIG_fail
;
33449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33457 SWIGINTERN PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33458 PyObject
*resultobj
= 0;
33459 wxWindow
*arg1
= (wxWindow
*) 0 ;
33463 PyObject
*swig_obj
[1] ;
33465 if (!args
) SWIG_fail
;
33466 swig_obj
[0] = args
;
33467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33468 if (!SWIG_IsOK(res1
)) {
33469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_TransferDataToWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
33471 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33474 result
= (bool)(arg1
)->TransferDataToWindow();
33475 wxPyEndAllowThreads(__tstate
);
33476 if (PyErr_Occurred()) SWIG_fail
;
33479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33487 SWIGINTERN PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33488 PyObject
*resultobj
= 0;
33489 wxWindow
*arg1
= (wxWindow
*) 0 ;
33493 PyObject
*swig_obj
[1] ;
33495 if (!args
) SWIG_fail
;
33496 swig_obj
[0] = args
;
33497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33498 if (!SWIG_IsOK(res1
)) {
33499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_TransferDataFromWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
33501 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33504 result
= (bool)(arg1
)->TransferDataFromWindow();
33505 wxPyEndAllowThreads(__tstate
);
33506 if (PyErr_Occurred()) SWIG_fail
;
33509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33517 SWIGINTERN PyObject
*_wrap_Window_InitDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33518 PyObject
*resultobj
= 0;
33519 wxWindow
*arg1
= (wxWindow
*) 0 ;
33522 PyObject
*swig_obj
[1] ;
33524 if (!args
) SWIG_fail
;
33525 swig_obj
[0] = args
;
33526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33527 if (!SWIG_IsOK(res1
)) {
33528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_InitDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
33530 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33533 (arg1
)->InitDialog();
33534 wxPyEndAllowThreads(__tstate
);
33535 if (PyErr_Occurred()) SWIG_fail
;
33537 resultobj
= SWIG_Py_Void();
33544 SWIGINTERN PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33545 PyObject
*resultobj
= 0;
33546 wxWindow
*arg1
= (wxWindow
*) 0 ;
33547 wxAcceleratorTable
*arg2
= 0 ;
33552 PyObject
* obj0
= 0 ;
33553 PyObject
* obj1
= 0 ;
33554 char * kwnames
[] = {
33555 (char *) "self",(char *) "accel", NULL
33558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33560 if (!SWIG_IsOK(res1
)) {
33561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetAcceleratorTable" "', expected argument " "1"" of type '" "wxWindow *""'");
33563 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33564 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAcceleratorTable
, 0 | 0);
33565 if (!SWIG_IsOK(res2
)) {
33566 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetAcceleratorTable" "', expected argument " "2"" of type '" "wxAcceleratorTable const &""'");
33569 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_SetAcceleratorTable" "', expected argument " "2"" of type '" "wxAcceleratorTable const &""'");
33571 arg2
= reinterpret_cast< wxAcceleratorTable
* >(argp2
);
33573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33574 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
33575 wxPyEndAllowThreads(__tstate
);
33576 if (PyErr_Occurred()) SWIG_fail
;
33578 resultobj
= SWIG_Py_Void();
33585 SWIGINTERN PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33586 PyObject
*resultobj
= 0;
33587 wxWindow
*arg1
= (wxWindow
*) 0 ;
33588 wxAcceleratorTable
*result
= 0 ;
33591 PyObject
*swig_obj
[1] ;
33593 if (!args
) SWIG_fail
;
33594 swig_obj
[0] = args
;
33595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33596 if (!SWIG_IsOK(res1
)) {
33597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetAcceleratorTable" "', expected argument " "1"" of type '" "wxWindow *""'");
33599 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33602 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
33603 wxPyEndAllowThreads(__tstate
);
33604 if (PyErr_Occurred()) SWIG_fail
;
33606 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorTable
, 0 | 0 );
33613 SWIGINTERN PyObject
*_wrap_Window_RegisterHotKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33614 PyObject
*resultobj
= 0;
33615 wxWindow
*arg1
= (wxWindow
*) 0 ;
33628 PyObject
* obj0
= 0 ;
33629 PyObject
* obj1
= 0 ;
33630 PyObject
* obj2
= 0 ;
33631 PyObject
* obj3
= 0 ;
33632 char * kwnames
[] = {
33633 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
33636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33638 if (!SWIG_IsOK(res1
)) {
33639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_RegisterHotKey" "', expected argument " "1"" of type '" "wxWindow *""'");
33641 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33642 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33643 if (!SWIG_IsOK(ecode2
)) {
33644 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_RegisterHotKey" "', expected argument " "2"" of type '" "int""'");
33646 arg2
= static_cast< int >(val2
);
33647 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33648 if (!SWIG_IsOK(ecode3
)) {
33649 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_RegisterHotKey" "', expected argument " "3"" of type '" "int""'");
33651 arg3
= static_cast< int >(val3
);
33652 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33653 if (!SWIG_IsOK(ecode4
)) {
33654 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_RegisterHotKey" "', expected argument " "4"" of type '" "int""'");
33656 arg4
= static_cast< int >(val4
);
33658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33659 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
33660 wxPyEndAllowThreads(__tstate
);
33661 if (PyErr_Occurred()) SWIG_fail
;
33664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33672 SWIGINTERN PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33673 PyObject
*resultobj
= 0;
33674 wxWindow
*arg1
= (wxWindow
*) 0 ;
33681 PyObject
* obj0
= 0 ;
33682 PyObject
* obj1
= 0 ;
33683 char * kwnames
[] = {
33684 (char *) "self",(char *) "hotkeyId", NULL
33687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33689 if (!SWIG_IsOK(res1
)) {
33690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_UnregisterHotKey" "', expected argument " "1"" of type '" "wxWindow *""'");
33692 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33693 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33694 if (!SWIG_IsOK(ecode2
)) {
33695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_UnregisterHotKey" "', expected argument " "2"" of type '" "int""'");
33697 arg2
= static_cast< int >(val2
);
33699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33700 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
33701 wxPyEndAllowThreads(__tstate
);
33702 if (PyErr_Occurred()) SWIG_fail
;
33705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33713 SWIGINTERN PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33714 PyObject
*resultobj
= 0;
33715 wxWindow
*arg1
= (wxWindow
*) 0 ;
33716 wxPoint
*arg2
= 0 ;
33721 PyObject
* obj0
= 0 ;
33722 PyObject
* obj1
= 0 ;
33723 char * kwnames
[] = {
33724 (char *) "self",(char *) "pt", NULL
33727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33729 if (!SWIG_IsOK(res1
)) {
33730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ConvertDialogPointToPixels" "', expected argument " "1"" of type '" "wxWindow *""'");
33732 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33735 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33739 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
33740 wxPyEndAllowThreads(__tstate
);
33741 if (PyErr_Occurred()) SWIG_fail
;
33743 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33750 SWIGINTERN PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33751 PyObject
*resultobj
= 0;
33752 wxWindow
*arg1
= (wxWindow
*) 0 ;
33758 PyObject
* obj0
= 0 ;
33759 PyObject
* obj1
= 0 ;
33760 char * kwnames
[] = {
33761 (char *) "self",(char *) "sz", NULL
33764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33766 if (!SWIG_IsOK(res1
)) {
33767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ConvertDialogSizeToPixels" "', expected argument " "1"" of type '" "wxWindow *""'");
33769 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33772 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33776 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
33777 wxPyEndAllowThreads(__tstate
);
33778 if (PyErr_Occurred()) SWIG_fail
;
33780 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
33787 SWIGINTERN PyObject
*_wrap_Window_DLG_PNT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33788 PyObject
*resultobj
= 0;
33789 wxWindow
*arg1
= (wxWindow
*) 0 ;
33790 wxPoint
*arg2
= 0 ;
33795 PyObject
* obj0
= 0 ;
33796 PyObject
* obj1
= 0 ;
33797 char * kwnames
[] = {
33798 (char *) "self",(char *) "pt", NULL
33801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33803 if (!SWIG_IsOK(res1
)) {
33804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_DLG_PNT" "', expected argument " "1"" of type '" "wxWindow *""'");
33806 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33809 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33813 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
33814 wxPyEndAllowThreads(__tstate
);
33815 if (PyErr_Occurred()) SWIG_fail
;
33817 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33824 SWIGINTERN PyObject
*_wrap_Window_DLG_SZE(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33825 PyObject
*resultobj
= 0;
33826 wxWindow
*arg1
= (wxWindow
*) 0 ;
33832 PyObject
* obj0
= 0 ;
33833 PyObject
* obj1
= 0 ;
33834 char * kwnames
[] = {
33835 (char *) "self",(char *) "sz", NULL
33838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33840 if (!SWIG_IsOK(res1
)) {
33841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_DLG_SZE" "', expected argument " "1"" of type '" "wxWindow *""'");
33843 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33846 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33850 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
33851 wxPyEndAllowThreads(__tstate
);
33852 if (PyErr_Occurred()) SWIG_fail
;
33854 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
33861 SWIGINTERN PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33862 PyObject
*resultobj
= 0;
33863 wxWindow
*arg1
= (wxWindow
*) 0 ;
33864 wxPoint
*arg2
= 0 ;
33869 PyObject
* obj0
= 0 ;
33870 PyObject
* obj1
= 0 ;
33871 char * kwnames
[] = {
33872 (char *) "self",(char *) "pt", NULL
33875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33877 if (!SWIG_IsOK(res1
)) {
33878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ConvertPixelPointToDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
33880 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33883 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33887 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
33888 wxPyEndAllowThreads(__tstate
);
33889 if (PyErr_Occurred()) SWIG_fail
;
33891 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
33898 SWIGINTERN PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33899 PyObject
*resultobj
= 0;
33900 wxWindow
*arg1
= (wxWindow
*) 0 ;
33906 PyObject
* obj0
= 0 ;
33907 PyObject
* obj1
= 0 ;
33908 char * kwnames
[] = {
33909 (char *) "self",(char *) "sz", NULL
33912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33914 if (!SWIG_IsOK(res1
)) {
33915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ConvertPixelSizeToDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
33917 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33920 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33924 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
33925 wxPyEndAllowThreads(__tstate
);
33926 if (PyErr_Occurred()) SWIG_fail
;
33928 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
33935 SWIGINTERN PyObject
*_wrap_Window_WarpPointer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33936 PyObject
*resultobj
= 0;
33937 wxWindow
*arg1
= (wxWindow
*) 0 ;
33946 PyObject
* obj0
= 0 ;
33947 PyObject
* obj1
= 0 ;
33948 PyObject
* obj2
= 0 ;
33949 char * kwnames
[] = {
33950 (char *) "self",(char *) "x",(char *) "y", NULL
33953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
33954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33955 if (!SWIG_IsOK(res1
)) {
33956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_WarpPointer" "', expected argument " "1"" of type '" "wxWindow *""'");
33958 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33959 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33960 if (!SWIG_IsOK(ecode2
)) {
33961 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_WarpPointer" "', expected argument " "2"" of type '" "int""'");
33963 arg2
= static_cast< int >(val2
);
33964 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33965 if (!SWIG_IsOK(ecode3
)) {
33966 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_WarpPointer" "', expected argument " "3"" of type '" "int""'");
33968 arg3
= static_cast< int >(val3
);
33970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33971 (arg1
)->WarpPointer(arg2
,arg3
);
33972 wxPyEndAllowThreads(__tstate
);
33973 if (PyErr_Occurred()) SWIG_fail
;
33975 resultobj
= SWIG_Py_Void();
33982 SWIGINTERN PyObject
*_wrap_Window_CaptureMouse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33983 PyObject
*resultobj
= 0;
33984 wxWindow
*arg1
= (wxWindow
*) 0 ;
33987 PyObject
*swig_obj
[1] ;
33989 if (!args
) SWIG_fail
;
33990 swig_obj
[0] = args
;
33991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33992 if (!SWIG_IsOK(res1
)) {
33993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_CaptureMouse" "', expected argument " "1"" of type '" "wxWindow *""'");
33995 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33998 (arg1
)->CaptureMouse();
33999 wxPyEndAllowThreads(__tstate
);
34000 if (PyErr_Occurred()) SWIG_fail
;
34002 resultobj
= SWIG_Py_Void();
34009 SWIGINTERN PyObject
*_wrap_Window_ReleaseMouse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34010 PyObject
*resultobj
= 0;
34011 wxWindow
*arg1
= (wxWindow
*) 0 ;
34014 PyObject
*swig_obj
[1] ;
34016 if (!args
) SWIG_fail
;
34017 swig_obj
[0] = args
;
34018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34019 if (!SWIG_IsOK(res1
)) {
34020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ReleaseMouse" "', expected argument " "1"" of type '" "wxWindow *""'");
34022 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34025 (arg1
)->ReleaseMouse();
34026 wxPyEndAllowThreads(__tstate
);
34027 if (PyErr_Occurred()) SWIG_fail
;
34029 resultobj
= SWIG_Py_Void();
34036 SWIGINTERN PyObject
*_wrap_Window_GetCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34037 PyObject
*resultobj
= 0;
34038 wxWindow
*result
= 0 ;
34040 if (!SWIG_Python_UnpackTuple(args
,"Window_GetCapture",0,0,0)) SWIG_fail
;
34042 if (!wxPyCheckForApp()) SWIG_fail
;
34043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34044 result
= (wxWindow
*)wxWindow::GetCapture();
34045 wxPyEndAllowThreads(__tstate
);
34046 if (PyErr_Occurred()) SWIG_fail
;
34049 resultobj
= wxPyMake_wxObject(result
, 0);
34057 SWIGINTERN PyObject
*_wrap_Window_HasCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34058 PyObject
*resultobj
= 0;
34059 wxWindow
*arg1
= (wxWindow
*) 0 ;
34063 PyObject
*swig_obj
[1] ;
34065 if (!args
) SWIG_fail
;
34066 swig_obj
[0] = args
;
34067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34068 if (!SWIG_IsOK(res1
)) {
34069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HasCapture" "', expected argument " "1"" of type '" "wxWindow const *""'");
34071 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34074 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
34075 wxPyEndAllowThreads(__tstate
);
34076 if (PyErr_Occurred()) SWIG_fail
;
34079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34087 SWIGINTERN PyObject
*_wrap_Window_Refresh(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34088 PyObject
*resultobj
= 0;
34089 wxWindow
*arg1
= (wxWindow
*) 0 ;
34090 bool arg2
= (bool) true ;
34091 wxRect
*arg3
= (wxRect
*) NULL
;
34098 PyObject
* obj0
= 0 ;
34099 PyObject
* obj1
= 0 ;
34100 PyObject
* obj2
= 0 ;
34101 char * kwnames
[] = {
34102 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
34105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34107 if (!SWIG_IsOK(res1
)) {
34108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Refresh" "', expected argument " "1"" of type '" "wxWindow *""'");
34110 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34112 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
34113 if (!SWIG_IsOK(ecode2
)) {
34114 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Refresh" "', expected argument " "2"" of type '" "bool""'");
34116 arg2
= static_cast< bool >(val2
);
34119 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
34120 if (!SWIG_IsOK(res3
)) {
34121 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Window_Refresh" "', expected argument " "3"" of type '" "wxRect const *""'");
34123 arg3
= reinterpret_cast< wxRect
* >(argp3
);
34126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34127 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
34128 wxPyEndAllowThreads(__tstate
);
34129 if (PyErr_Occurred()) SWIG_fail
;
34131 resultobj
= SWIG_Py_Void();
34138 SWIGINTERN PyObject
*_wrap_Window_RefreshRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34139 PyObject
*resultobj
= 0;
34140 wxWindow
*arg1
= (wxWindow
*) 0 ;
34142 bool arg3
= (bool) true ;
34148 PyObject
* obj0
= 0 ;
34149 PyObject
* obj1
= 0 ;
34150 PyObject
* obj2
= 0 ;
34151 char * kwnames
[] = {
34152 (char *) "self",(char *) "rect",(char *) "eraseBackground", NULL
34155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_RefreshRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34157 if (!SWIG_IsOK(res1
)) {
34158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_RefreshRect" "', expected argument " "1"" of type '" "wxWindow *""'");
34160 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34163 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
34166 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34167 if (!SWIG_IsOK(ecode3
)) {
34168 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_RefreshRect" "', expected argument " "3"" of type '" "bool""'");
34170 arg3
= static_cast< bool >(val3
);
34173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34174 (arg1
)->RefreshRect((wxRect
const &)*arg2
,arg3
);
34175 wxPyEndAllowThreads(__tstate
);
34176 if (PyErr_Occurred()) SWIG_fail
;
34178 resultobj
= SWIG_Py_Void();
34185 SWIGINTERN PyObject
*_wrap_Window_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34186 PyObject
*resultobj
= 0;
34187 wxWindow
*arg1
= (wxWindow
*) 0 ;
34190 PyObject
*swig_obj
[1] ;
34192 if (!args
) SWIG_fail
;
34193 swig_obj
[0] = args
;
34194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34195 if (!SWIG_IsOK(res1
)) {
34196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Update" "', expected argument " "1"" of type '" "wxWindow *""'");
34198 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34202 wxPyEndAllowThreads(__tstate
);
34203 if (PyErr_Occurred()) SWIG_fail
;
34205 resultobj
= SWIG_Py_Void();
34212 SWIGINTERN PyObject
*_wrap_Window_ClearBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34213 PyObject
*resultobj
= 0;
34214 wxWindow
*arg1
= (wxWindow
*) 0 ;
34217 PyObject
*swig_obj
[1] ;
34219 if (!args
) SWIG_fail
;
34220 swig_obj
[0] = args
;
34221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34222 if (!SWIG_IsOK(res1
)) {
34223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ClearBackground" "', expected argument " "1"" of type '" "wxWindow *""'");
34225 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34228 (arg1
)->ClearBackground();
34229 wxPyEndAllowThreads(__tstate
);
34230 if (PyErr_Occurred()) SWIG_fail
;
34232 resultobj
= SWIG_Py_Void();
34239 SWIGINTERN PyObject
*_wrap_Window_Freeze(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34240 PyObject
*resultobj
= 0;
34241 wxWindow
*arg1
= (wxWindow
*) 0 ;
34244 PyObject
*swig_obj
[1] ;
34246 if (!args
) SWIG_fail
;
34247 swig_obj
[0] = args
;
34248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34249 if (!SWIG_IsOK(res1
)) {
34250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Freeze" "', expected argument " "1"" of type '" "wxWindow *""'");
34252 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34256 wxPyEndAllowThreads(__tstate
);
34257 if (PyErr_Occurred()) SWIG_fail
;
34259 resultobj
= SWIG_Py_Void();
34266 SWIGINTERN PyObject
*_wrap_Window_Thaw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34267 PyObject
*resultobj
= 0;
34268 wxWindow
*arg1
= (wxWindow
*) 0 ;
34271 PyObject
*swig_obj
[1] ;
34273 if (!args
) SWIG_fail
;
34274 swig_obj
[0] = args
;
34275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34276 if (!SWIG_IsOK(res1
)) {
34277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Thaw" "', expected argument " "1"" of type '" "wxWindow *""'");
34279 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34283 wxPyEndAllowThreads(__tstate
);
34284 if (PyErr_Occurred()) SWIG_fail
;
34286 resultobj
= SWIG_Py_Void();
34293 SWIGINTERN PyObject
*_wrap_Window_PrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34294 PyObject
*resultobj
= 0;
34295 wxWindow
*arg1
= (wxWindow
*) 0 ;
34301 PyObject
* obj0
= 0 ;
34302 PyObject
* obj1
= 0 ;
34303 char * kwnames
[] = {
34304 (char *) "self",(char *) "dc", NULL
34307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34309 if (!SWIG_IsOK(res1
)) {
34310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PrepareDC" "', expected argument " "1"" of type '" "wxWindow *""'");
34312 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34313 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
34314 if (!SWIG_IsOK(res2
)) {
34315 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_PrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
34318 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_PrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
34320 arg2
= reinterpret_cast< wxDC
* >(argp2
);
34322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34323 (arg1
)->PrepareDC(*arg2
);
34324 wxPyEndAllowThreads(__tstate
);
34325 if (PyErr_Occurred()) SWIG_fail
;
34327 resultobj
= SWIG_Py_Void();
34334 SWIGINTERN PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34335 PyObject
*resultobj
= 0;
34336 wxWindow
*arg1
= (wxWindow
*) 0 ;
34337 wxRegion
*result
= 0 ;
34340 PyObject
*swig_obj
[1] ;
34342 if (!args
) SWIG_fail
;
34343 swig_obj
[0] = args
;
34344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34345 if (!SWIG_IsOK(res1
)) {
34346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetUpdateRegion" "', expected argument " "1"" of type '" "wxWindow *""'");
34348 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34352 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
34353 result
= (wxRegion
*) &_result_ref
;
34355 wxPyEndAllowThreads(__tstate
);
34356 if (PyErr_Occurred()) SWIG_fail
;
34358 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, 0 | 0 );
34365 SWIGINTERN PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34366 PyObject
*resultobj
= 0;
34367 wxWindow
*arg1
= (wxWindow
*) 0 ;
34371 PyObject
*swig_obj
[1] ;
34373 if (!args
) SWIG_fail
;
34374 swig_obj
[0] = args
;
34375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34376 if (!SWIG_IsOK(res1
)) {
34377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetUpdateClientRect" "', expected argument " "1"" of type '" "wxWindow const *""'");
34379 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34382 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
34383 wxPyEndAllowThreads(__tstate
);
34384 if (PyErr_Occurred()) SWIG_fail
;
34386 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
34393 SWIGINTERN PyObject
*_wrap_Window_IsExposed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34394 PyObject
*resultobj
= 0;
34395 wxWindow
*arg1
= (wxWindow
*) 0 ;
34398 int arg4
= (int) 1 ;
34399 int arg5
= (int) 1 ;
34411 PyObject
* obj0
= 0 ;
34412 PyObject
* obj1
= 0 ;
34413 PyObject
* obj2
= 0 ;
34414 PyObject
* obj3
= 0 ;
34415 PyObject
* obj4
= 0 ;
34416 char * kwnames
[] = {
34417 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
34420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34422 if (!SWIG_IsOK(res1
)) {
34423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsExposed" "', expected argument " "1"" of type '" "wxWindow const *""'");
34425 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34426 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34427 if (!SWIG_IsOK(ecode2
)) {
34428 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_IsExposed" "', expected argument " "2"" of type '" "int""'");
34430 arg2
= static_cast< int >(val2
);
34431 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34432 if (!SWIG_IsOK(ecode3
)) {
34433 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_IsExposed" "', expected argument " "3"" of type '" "int""'");
34435 arg3
= static_cast< int >(val3
);
34437 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34438 if (!SWIG_IsOK(ecode4
)) {
34439 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_IsExposed" "', expected argument " "4"" of type '" "int""'");
34441 arg4
= static_cast< int >(val4
);
34444 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34445 if (!SWIG_IsOK(ecode5
)) {
34446 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Window_IsExposed" "', expected argument " "5"" of type '" "int""'");
34448 arg5
= static_cast< int >(val5
);
34451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34452 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
34453 wxPyEndAllowThreads(__tstate
);
34454 if (PyErr_Occurred()) SWIG_fail
;
34457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34465 SWIGINTERN PyObject
*_wrap_Window_IsExposedPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34466 PyObject
*resultobj
= 0;
34467 wxWindow
*arg1
= (wxWindow
*) 0 ;
34468 wxPoint
*arg2
= 0 ;
34473 PyObject
* obj0
= 0 ;
34474 PyObject
* obj1
= 0 ;
34475 char * kwnames
[] = {
34476 (char *) "self",(char *) "pt", NULL
34479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34481 if (!SWIG_IsOK(res1
)) {
34482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsExposedPoint" "', expected argument " "1"" of type '" "wxWindow const *""'");
34484 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34487 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34491 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
34492 wxPyEndAllowThreads(__tstate
);
34493 if (PyErr_Occurred()) SWIG_fail
;
34496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34504 SWIGINTERN PyObject
*_wrap_Window_IsExposedRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34505 PyObject
*resultobj
= 0;
34506 wxWindow
*arg1
= (wxWindow
*) 0 ;
34512 PyObject
* obj0
= 0 ;
34513 PyObject
* obj1
= 0 ;
34514 char * kwnames
[] = {
34515 (char *) "self",(char *) "rect", NULL
34518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34520 if (!SWIG_IsOK(res1
)) {
34521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsExposedRect" "', expected argument " "1"" of type '" "wxWindow const *""'");
34523 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34526 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
34529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34530 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
34531 wxPyEndAllowThreads(__tstate
);
34532 if (PyErr_Occurred()) SWIG_fail
;
34535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34543 SWIGINTERN PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34544 PyObject
*resultobj
= 0;
34545 wxWindow
*arg1
= (wxWindow
*) 0 ;
34546 SwigValueWrapper
<wxVisualAttributes
> result
;
34549 PyObject
*swig_obj
[1] ;
34551 if (!args
) SWIG_fail
;
34552 swig_obj
[0] = args
;
34553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34554 if (!SWIG_IsOK(res1
)) {
34555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxWindow const *""'");
34557 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34560 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
34561 wxPyEndAllowThreads(__tstate
);
34562 if (PyErr_Occurred()) SWIG_fail
;
34564 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
34571 SWIGINTERN PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34572 PyObject
*resultobj
= 0;
34573 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
34574 SwigValueWrapper
<wxVisualAttributes
> result
;
34577 PyObject
* obj0
= 0 ;
34578 char * kwnames
[] = {
34579 (char *) "variant", NULL
34582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
34584 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34585 if (!SWIG_IsOK(ecode1
)) {
34586 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Window_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
34588 arg1
= static_cast< wxWindowVariant
>(val1
);
34591 if (!wxPyCheckForApp()) SWIG_fail
;
34592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34593 result
= wxWindow::GetClassDefaultAttributes(arg1
);
34594 wxPyEndAllowThreads(__tstate
);
34595 if (PyErr_Occurred()) SWIG_fail
;
34597 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
34604 SWIGINTERN PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34605 PyObject
*resultobj
= 0;
34606 wxWindow
*arg1
= (wxWindow
*) 0 ;
34607 wxColour
*arg2
= 0 ;
34612 PyObject
* obj0
= 0 ;
34613 PyObject
* obj1
= 0 ;
34614 char * kwnames
[] = {
34615 (char *) "self",(char *) "colour", NULL
34618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34620 if (!SWIG_IsOK(res1
)) {
34621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetBackgroundColour" "', expected argument " "1"" of type '" "wxWindow *""'");
34623 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34626 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34630 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
34631 wxPyEndAllowThreads(__tstate
);
34632 if (PyErr_Occurred()) SWIG_fail
;
34635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34643 SWIGINTERN PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34644 PyObject
*resultobj
= 0;
34645 wxWindow
*arg1
= (wxWindow
*) 0 ;
34646 wxColour
*arg2
= 0 ;
34650 PyObject
* obj0
= 0 ;
34651 PyObject
* obj1
= 0 ;
34652 char * kwnames
[] = {
34653 (char *) "self",(char *) "colour", NULL
34656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34658 if (!SWIG_IsOK(res1
)) {
34659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetOwnBackgroundColour" "', expected argument " "1"" of type '" "wxWindow *""'");
34661 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34664 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34668 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
34669 wxPyEndAllowThreads(__tstate
);
34670 if (PyErr_Occurred()) SWIG_fail
;
34672 resultobj
= SWIG_Py_Void();
34679 SWIGINTERN PyObject
*_wrap_Window_SetForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34680 PyObject
*resultobj
= 0;
34681 wxWindow
*arg1
= (wxWindow
*) 0 ;
34682 wxColour
*arg2
= 0 ;
34687 PyObject
* obj0
= 0 ;
34688 PyObject
* obj1
= 0 ;
34689 char * kwnames
[] = {
34690 (char *) "self",(char *) "colour", NULL
34693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34695 if (!SWIG_IsOK(res1
)) {
34696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetForegroundColour" "', expected argument " "1"" of type '" "wxWindow *""'");
34698 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34701 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34705 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
34706 wxPyEndAllowThreads(__tstate
);
34707 if (PyErr_Occurred()) SWIG_fail
;
34710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34718 SWIGINTERN PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34719 PyObject
*resultobj
= 0;
34720 wxWindow
*arg1
= (wxWindow
*) 0 ;
34721 wxColour
*arg2
= 0 ;
34725 PyObject
* obj0
= 0 ;
34726 PyObject
* obj1
= 0 ;
34727 char * kwnames
[] = {
34728 (char *) "self",(char *) "colour", NULL
34731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34733 if (!SWIG_IsOK(res1
)) {
34734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetOwnForegroundColour" "', expected argument " "1"" of type '" "wxWindow *""'");
34736 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34739 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34743 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
34744 wxPyEndAllowThreads(__tstate
);
34745 if (PyErr_Occurred()) SWIG_fail
;
34747 resultobj
= SWIG_Py_Void();
34754 SWIGINTERN PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34755 PyObject
*resultobj
= 0;
34756 wxWindow
*arg1
= (wxWindow
*) 0 ;
34760 PyObject
*swig_obj
[1] ;
34762 if (!args
) SWIG_fail
;
34763 swig_obj
[0] = args
;
34764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34765 if (!SWIG_IsOK(res1
)) {
34766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBackgroundColour" "', expected argument " "1"" of type '" "wxWindow const *""'");
34768 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34771 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
34772 wxPyEndAllowThreads(__tstate
);
34773 if (PyErr_Occurred()) SWIG_fail
;
34775 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34782 SWIGINTERN PyObject
*_wrap_Window_GetForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34783 PyObject
*resultobj
= 0;
34784 wxWindow
*arg1
= (wxWindow
*) 0 ;
34788 PyObject
*swig_obj
[1] ;
34790 if (!args
) SWIG_fail
;
34791 swig_obj
[0] = args
;
34792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34793 if (!SWIG_IsOK(res1
)) {
34794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetForegroundColour" "', expected argument " "1"" of type '" "wxWindow const *""'");
34796 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34799 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
34800 wxPyEndAllowThreads(__tstate
);
34801 if (PyErr_Occurred()) SWIG_fail
;
34803 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
34810 SWIGINTERN PyObject
*_wrap_Window_InheritsBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34811 PyObject
*resultobj
= 0;
34812 wxWindow
*arg1
= (wxWindow
*) 0 ;
34816 PyObject
*swig_obj
[1] ;
34818 if (!args
) SWIG_fail
;
34819 swig_obj
[0] = args
;
34820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34821 if (!SWIG_IsOK(res1
)) {
34822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_InheritsBackgroundColour" "', expected argument " "1"" of type '" "wxWindow const *""'");
34824 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34827 result
= (bool)((wxWindow
const *)arg1
)->InheritsBackgroundColour();
34828 wxPyEndAllowThreads(__tstate
);
34829 if (PyErr_Occurred()) SWIG_fail
;
34832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34840 SWIGINTERN PyObject
*_wrap_Window_UseBgCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34841 PyObject
*resultobj
= 0;
34842 wxWindow
*arg1
= (wxWindow
*) 0 ;
34846 PyObject
*swig_obj
[1] ;
34848 if (!args
) SWIG_fail
;
34849 swig_obj
[0] = args
;
34850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34851 if (!SWIG_IsOK(res1
)) {
34852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_UseBgCol" "', expected argument " "1"" of type '" "wxWindow const *""'");
34854 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34857 result
= (bool)((wxWindow
const *)arg1
)->UseBgCol();
34858 wxPyEndAllowThreads(__tstate
);
34859 if (PyErr_Occurred()) SWIG_fail
;
34862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34870 SWIGINTERN PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34871 PyObject
*resultobj
= 0;
34872 wxWindow
*arg1
= (wxWindow
*) 0 ;
34873 wxBackgroundStyle arg2
;
34879 PyObject
* obj0
= 0 ;
34880 PyObject
* obj1
= 0 ;
34881 char * kwnames
[] = {
34882 (char *) "self",(char *) "style", NULL
34885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34887 if (!SWIG_IsOK(res1
)) {
34888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetBackgroundStyle" "', expected argument " "1"" of type '" "wxWindow *""'");
34890 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34891 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34892 if (!SWIG_IsOK(ecode2
)) {
34893 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetBackgroundStyle" "', expected argument " "2"" of type '" "wxBackgroundStyle""'");
34895 arg2
= static_cast< wxBackgroundStyle
>(val2
);
34897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34898 result
= (bool)(arg1
)->SetBackgroundStyle(arg2
);
34899 wxPyEndAllowThreads(__tstate
);
34900 if (PyErr_Occurred()) SWIG_fail
;
34903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34911 SWIGINTERN PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34912 PyObject
*resultobj
= 0;
34913 wxWindow
*arg1
= (wxWindow
*) 0 ;
34914 wxBackgroundStyle result
;
34917 PyObject
*swig_obj
[1] ;
34919 if (!args
) SWIG_fail
;
34920 swig_obj
[0] = args
;
34921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34922 if (!SWIG_IsOK(res1
)) {
34923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBackgroundStyle" "', expected argument " "1"" of type '" "wxWindow const *""'");
34925 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34928 result
= (wxBackgroundStyle
)((wxWindow
const *)arg1
)->GetBackgroundStyle();
34929 wxPyEndAllowThreads(__tstate
);
34930 if (PyErr_Occurred()) SWIG_fail
;
34932 resultobj
= SWIG_From_int(static_cast< int >(result
));
34939 SWIGINTERN PyObject
*_wrap_Window_HasTransparentBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34940 PyObject
*resultobj
= 0;
34941 wxWindow
*arg1
= (wxWindow
*) 0 ;
34945 PyObject
*swig_obj
[1] ;
34947 if (!args
) SWIG_fail
;
34948 swig_obj
[0] = args
;
34949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34950 if (!SWIG_IsOK(res1
)) {
34951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HasTransparentBackground" "', expected argument " "1"" of type '" "wxWindow *""'");
34953 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34956 result
= (bool)(arg1
)->HasTransparentBackground();
34957 wxPyEndAllowThreads(__tstate
);
34958 if (PyErr_Occurred()) SWIG_fail
;
34961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34969 SWIGINTERN PyObject
*_wrap_Window_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34970 PyObject
*resultobj
= 0;
34971 wxWindow
*arg1
= (wxWindow
*) 0 ;
34972 wxCursor
*arg2
= 0 ;
34978 PyObject
* obj0
= 0 ;
34979 PyObject
* obj1
= 0 ;
34980 char * kwnames
[] = {
34981 (char *) "self",(char *) "cursor", NULL
34984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34986 if (!SWIG_IsOK(res1
)) {
34987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetCursor" "', expected argument " "1"" of type '" "wxWindow *""'");
34989 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34990 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
34991 if (!SWIG_IsOK(res2
)) {
34992 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
34995 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_SetCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
34997 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
34999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35000 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
35001 wxPyEndAllowThreads(__tstate
);
35002 if (PyErr_Occurred()) SWIG_fail
;
35005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35013 SWIGINTERN PyObject
*_wrap_Window_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35014 PyObject
*resultobj
= 0;
35015 wxWindow
*arg1
= (wxWindow
*) 0 ;
35019 PyObject
*swig_obj
[1] ;
35021 if (!args
) SWIG_fail
;
35022 swig_obj
[0] = args
;
35023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35024 if (!SWIG_IsOK(res1
)) {
35025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetCursor" "', expected argument " "1"" of type '" "wxWindow *""'");
35027 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35030 result
= (arg1
)->GetCursor();
35031 wxPyEndAllowThreads(__tstate
);
35032 if (PyErr_Occurred()) SWIG_fail
;
35034 resultobj
= SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor
& >(result
))), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
35041 SWIGINTERN PyObject
*_wrap_Window_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35042 PyObject
*resultobj
= 0;
35043 wxWindow
*arg1
= (wxWindow
*) 0 ;
35050 PyObject
* obj0
= 0 ;
35051 PyObject
* obj1
= 0 ;
35052 char * kwnames
[] = {
35053 (char *) "self",(char *) "font", NULL
35056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35058 if (!SWIG_IsOK(res1
)) {
35059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetFont" "', expected argument " "1"" of type '" "wxWindow *""'");
35061 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35062 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
35063 if (!SWIG_IsOK(res2
)) {
35064 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
35067 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
35069 arg2
= reinterpret_cast< wxFont
* >(argp2
);
35071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35072 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
35073 wxPyEndAllowThreads(__tstate
);
35074 if (PyErr_Occurred()) SWIG_fail
;
35077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35085 SWIGINTERN PyObject
*_wrap_Window_SetOwnFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35086 PyObject
*resultobj
= 0;
35087 wxWindow
*arg1
= (wxWindow
*) 0 ;
35093 PyObject
* obj0
= 0 ;
35094 PyObject
* obj1
= 0 ;
35095 char * kwnames
[] = {
35096 (char *) "self",(char *) "font", NULL
35099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35101 if (!SWIG_IsOK(res1
)) {
35102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetOwnFont" "', expected argument " "1"" of type '" "wxWindow *""'");
35104 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35105 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
35106 if (!SWIG_IsOK(res2
)) {
35107 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetOwnFont" "', expected argument " "2"" of type '" "wxFont const &""'");
35110 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_SetOwnFont" "', expected argument " "2"" of type '" "wxFont const &""'");
35112 arg2
= reinterpret_cast< wxFont
* >(argp2
);
35114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35115 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
35116 wxPyEndAllowThreads(__tstate
);
35117 if (PyErr_Occurred()) SWIG_fail
;
35119 resultobj
= SWIG_Py_Void();
35126 SWIGINTERN PyObject
*_wrap_Window_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35127 PyObject
*resultobj
= 0;
35128 wxWindow
*arg1
= (wxWindow
*) 0 ;
35132 PyObject
*swig_obj
[1] ;
35134 if (!args
) SWIG_fail
;
35135 swig_obj
[0] = args
;
35136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35137 if (!SWIG_IsOK(res1
)) {
35138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetFont" "', expected argument " "1"" of type '" "wxWindow *""'");
35140 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35143 result
= (arg1
)->GetFont();
35144 wxPyEndAllowThreads(__tstate
);
35145 if (PyErr_Occurred()) SWIG_fail
;
35147 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
35154 SWIGINTERN PyObject
*_wrap_Window_SetCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35155 PyObject
*resultobj
= 0;
35156 wxWindow
*arg1
= (wxWindow
*) 0 ;
35157 wxCaret
*arg2
= (wxCaret
*) 0 ;
35161 PyObject
* obj0
= 0 ;
35162 PyObject
* obj1
= 0 ;
35163 char * kwnames
[] = {
35164 (char *) "self",(char *) "caret", NULL
35167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35169 if (!SWIG_IsOK(res1
)) {
35170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetCaret" "', expected argument " "1"" of type '" "wxWindow *""'");
35172 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35173 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxCaret
, SWIG_POINTER_DISOWN
| 0 );
35174 if (!SWIG_IsOK(res2
)) {
35175 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetCaret" "', expected argument " "2"" of type '" "wxCaret *""'");
35178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35179 (arg1
)->SetCaret(arg2
);
35180 wxPyEndAllowThreads(__tstate
);
35181 if (PyErr_Occurred()) SWIG_fail
;
35183 resultobj
= SWIG_Py_Void();
35190 SWIGINTERN PyObject
*_wrap_Window_GetCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35191 PyObject
*resultobj
= 0;
35192 wxWindow
*arg1
= (wxWindow
*) 0 ;
35193 wxCaret
*result
= 0 ;
35196 PyObject
*swig_obj
[1] ;
35198 if (!args
) SWIG_fail
;
35199 swig_obj
[0] = args
;
35200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35201 if (!SWIG_IsOK(res1
)) {
35202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetCaret" "', expected argument " "1"" of type '" "wxWindow const *""'");
35204 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35207 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
35208 wxPyEndAllowThreads(__tstate
);
35209 if (PyErr_Occurred()) SWIG_fail
;
35211 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCaret
, 0 | 0 );
35218 SWIGINTERN PyObject
*_wrap_Window_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35219 PyObject
*resultobj
= 0;
35220 wxWindow
*arg1
= (wxWindow
*) 0 ;
35224 PyObject
*swig_obj
[1] ;
35226 if (!args
) SWIG_fail
;
35227 swig_obj
[0] = args
;
35228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35229 if (!SWIG_IsOK(res1
)) {
35230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetCharHeight" "', expected argument " "1"" of type '" "wxWindow const *""'");
35232 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35235 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
35236 wxPyEndAllowThreads(__tstate
);
35237 if (PyErr_Occurred()) SWIG_fail
;
35239 resultobj
= SWIG_From_int(static_cast< int >(result
));
35246 SWIGINTERN PyObject
*_wrap_Window_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35247 PyObject
*resultobj
= 0;
35248 wxWindow
*arg1
= (wxWindow
*) 0 ;
35252 PyObject
*swig_obj
[1] ;
35254 if (!args
) SWIG_fail
;
35255 swig_obj
[0] = args
;
35256 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35257 if (!SWIG_IsOK(res1
)) {
35258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetCharWidth" "', expected argument " "1"" of type '" "wxWindow const *""'");
35260 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35263 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
35264 wxPyEndAllowThreads(__tstate
);
35265 if (PyErr_Occurred()) SWIG_fail
;
35267 resultobj
= SWIG_From_int(static_cast< int >(result
));
35274 SWIGINTERN PyObject
*_wrap_Window_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35275 PyObject
*resultobj
= 0;
35276 wxWindow
*arg1
= (wxWindow
*) 0 ;
35277 wxString
*arg2
= 0 ;
35278 int *arg3
= (int *) 0 ;
35279 int *arg4
= (int *) 0 ;
35282 bool temp2
= false ;
35284 int res3
= SWIG_TMPOBJ
;
35286 int res4
= SWIG_TMPOBJ
;
35287 PyObject
* obj0
= 0 ;
35288 PyObject
* obj1
= 0 ;
35289 char * kwnames
[] = {
35290 (char *) "self",(char *) "string", NULL
35295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35297 if (!SWIG_IsOK(res1
)) {
35298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetTextExtent" "', expected argument " "1"" of type '" "wxWindow *""'");
35300 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35302 arg2
= wxString_in_helper(obj1
);
35303 if (arg2
== NULL
) SWIG_fail
;
35307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35308 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
35309 wxPyEndAllowThreads(__tstate
);
35310 if (PyErr_Occurred()) SWIG_fail
;
35312 resultobj
= SWIG_Py_Void();
35313 if (SWIG_IsTmpObj(res3
)) {
35314 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
35316 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35317 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
35319 if (SWIG_IsTmpObj(res4
)) {
35320 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
35322 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35323 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
35339 SWIGINTERN PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35340 PyObject
*resultobj
= 0;
35341 wxWindow
*arg1
= (wxWindow
*) 0 ;
35342 wxString
*arg2
= 0 ;
35343 int *arg3
= (int *) 0 ;
35344 int *arg4
= (int *) 0 ;
35345 int *arg5
= (int *) 0 ;
35346 int *arg6
= (int *) 0 ;
35347 wxFont
*arg7
= (wxFont
*) NULL
;
35350 bool temp2
= false ;
35352 int res3
= SWIG_TMPOBJ
;
35354 int res4
= SWIG_TMPOBJ
;
35356 int res5
= SWIG_TMPOBJ
;
35358 int res6
= SWIG_TMPOBJ
;
35361 PyObject
* obj0
= 0 ;
35362 PyObject
* obj1
= 0 ;
35363 PyObject
* obj2
= 0 ;
35364 char * kwnames
[] = {
35365 (char *) "self",(char *) "string",(char *) "font", NULL
35372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35374 if (!SWIG_IsOK(res1
)) {
35375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetFullTextExtent" "', expected argument " "1"" of type '" "wxWindow *""'");
35377 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35379 arg2
= wxString_in_helper(obj1
);
35380 if (arg2
== NULL
) SWIG_fail
;
35384 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
35385 if (!SWIG_IsOK(res7
)) {
35386 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "Window_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont const *""'");
35388 arg7
= reinterpret_cast< wxFont
* >(argp7
);
35391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35392 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
35393 wxPyEndAllowThreads(__tstate
);
35394 if (PyErr_Occurred()) SWIG_fail
;
35396 resultobj
= SWIG_Py_Void();
35397 if (SWIG_IsTmpObj(res3
)) {
35398 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
35400 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35401 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
35403 if (SWIG_IsTmpObj(res4
)) {
35404 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
35406 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35407 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
35409 if (SWIG_IsTmpObj(res5
)) {
35410 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
35412 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35413 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
35415 if (SWIG_IsTmpObj(res6
)) {
35416 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
35418 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35419 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
35435 SWIGINTERN PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35436 PyObject
*resultobj
= 0;
35437 wxWindow
*arg1
= (wxWindow
*) 0 ;
35438 int *arg2
= (int *) 0 ;
35439 int *arg3
= (int *) 0 ;
35446 PyObject
* obj0
= 0 ;
35447 PyObject
* obj1
= 0 ;
35448 PyObject
* obj2
= 0 ;
35449 char * kwnames
[] = {
35450 (char *) "self",(char *) "x",(char *) "y", NULL
35453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) 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_ClientToScreenXY" "', expected argument " "1"" of type '" "wxWindow const *""'");
35458 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35459 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_int
,0))))) {
35461 int ecode
= SWIG_AsVal_int(obj1
, &val
);
35462 if (!SWIG_IsOK(ecode
)) {
35463 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "Window_ClientToScreenXY" "', expected argument " "2"" of type '" "int""'");
35465 temp2
= static_cast< int >(val
);
35467 res2
= SWIG_AddTmpMask(ecode
);
35469 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_int
,0))))) {
35471 int ecode
= SWIG_AsVal_int(obj2
, &val
);
35472 if (!SWIG_IsOK(ecode
)) {
35473 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "Window_ClientToScreenXY" "', expected argument " "3"" of type '" "int""'");
35475 temp3
= static_cast< int >(val
);
35477 res3
= SWIG_AddTmpMask(ecode
);
35480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35481 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
35482 wxPyEndAllowThreads(__tstate
);
35483 if (PyErr_Occurred()) SWIG_fail
;
35485 resultobj
= SWIG_Py_Void();
35486 if (SWIG_IsTmpObj(res2
)) {
35487 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
35489 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35490 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
35492 if (SWIG_IsTmpObj(res3
)) {
35493 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
35495 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35496 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
35504 SWIGINTERN PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35505 PyObject
*resultobj
= 0;
35506 wxWindow
*arg1
= (wxWindow
*) 0 ;
35507 int *arg2
= (int *) 0 ;
35508 int *arg3
= (int *) 0 ;
35515 PyObject
* obj0
= 0 ;
35516 PyObject
* obj1
= 0 ;
35517 PyObject
* obj2
= 0 ;
35518 char * kwnames
[] = {
35519 (char *) "self",(char *) "x",(char *) "y", NULL
35522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35524 if (!SWIG_IsOK(res1
)) {
35525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ScreenToClientXY" "', expected argument " "1"" of type '" "wxWindow const *""'");
35527 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35528 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_int
,0))))) {
35530 int ecode
= SWIG_AsVal_int(obj1
, &val
);
35531 if (!SWIG_IsOK(ecode
)) {
35532 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "Window_ScreenToClientXY" "', expected argument " "2"" of type '" "int""'");
35534 temp2
= static_cast< int >(val
);
35536 res2
= SWIG_AddTmpMask(ecode
);
35538 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_int
,0))))) {
35540 int ecode
= SWIG_AsVal_int(obj2
, &val
);
35541 if (!SWIG_IsOK(ecode
)) {
35542 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "Window_ScreenToClientXY" "', expected argument " "3"" of type '" "int""'");
35544 temp3
= static_cast< int >(val
);
35546 res3
= SWIG_AddTmpMask(ecode
);
35549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35550 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
35551 wxPyEndAllowThreads(__tstate
);
35552 if (PyErr_Occurred()) SWIG_fail
;
35554 resultobj
= SWIG_Py_Void();
35555 if (SWIG_IsTmpObj(res2
)) {
35556 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
35558 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35559 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
35561 if (SWIG_IsTmpObj(res3
)) {
35562 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
35564 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35565 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
35573 SWIGINTERN PyObject
*_wrap_Window_ClientToScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35574 PyObject
*resultobj
= 0;
35575 wxWindow
*arg1
= (wxWindow
*) 0 ;
35576 wxPoint
*arg2
= 0 ;
35581 PyObject
* obj0
= 0 ;
35582 PyObject
* obj1
= 0 ;
35583 char * kwnames
[] = {
35584 (char *) "self",(char *) "pt", NULL
35587 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35588 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35589 if (!SWIG_IsOK(res1
)) {
35590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ClientToScreen" "', expected argument " "1"" of type '" "wxWindow const *""'");
35592 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35595 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35599 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
35600 wxPyEndAllowThreads(__tstate
);
35601 if (PyErr_Occurred()) SWIG_fail
;
35603 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
35610 SWIGINTERN PyObject
*_wrap_Window_ScreenToClient(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35611 PyObject
*resultobj
= 0;
35612 wxWindow
*arg1
= (wxWindow
*) 0 ;
35613 wxPoint
*arg2
= 0 ;
35618 PyObject
* obj0
= 0 ;
35619 PyObject
* obj1
= 0 ;
35620 char * kwnames
[] = {
35621 (char *) "self",(char *) "pt", NULL
35624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35626 if (!SWIG_IsOK(res1
)) {
35627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ScreenToClient" "', expected argument " "1"" of type '" "wxWindow const *""'");
35629 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35632 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35636 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
35637 wxPyEndAllowThreads(__tstate
);
35638 if (PyErr_Occurred()) SWIG_fail
;
35640 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
35647 SWIGINTERN PyObject
*_wrap_Window_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35648 PyObject
*resultobj
= 0;
35649 wxWindow
*arg1
= (wxWindow
*) 0 ;
35659 PyObject
* obj0
= 0 ;
35660 PyObject
* obj1
= 0 ;
35661 PyObject
* obj2
= 0 ;
35662 char * kwnames
[] = {
35663 (char *) "self",(char *) "x",(char *) "y", NULL
35666 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35667 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35668 if (!SWIG_IsOK(res1
)) {
35669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HitTestXY" "', expected argument " "1"" of type '" "wxWindow const *""'");
35671 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35672 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35673 if (!SWIG_IsOK(ecode2
)) {
35674 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_HitTestXY" "', expected argument " "2"" of type '" "int""'");
35676 arg2
= static_cast< int >(val2
);
35677 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35678 if (!SWIG_IsOK(ecode3
)) {
35679 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_HitTestXY" "', expected argument " "3"" of type '" "int""'");
35681 arg3
= static_cast< int >(val3
);
35683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35684 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
35685 wxPyEndAllowThreads(__tstate
);
35686 if (PyErr_Occurred()) SWIG_fail
;
35688 resultobj
= SWIG_From_int(static_cast< int >(result
));
35695 SWIGINTERN PyObject
*_wrap_Window_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35696 PyObject
*resultobj
= 0;
35697 wxWindow
*arg1
= (wxWindow
*) 0 ;
35698 wxPoint
*arg2
= 0 ;
35703 PyObject
* obj0
= 0 ;
35704 PyObject
* obj1
= 0 ;
35705 char * kwnames
[] = {
35706 (char *) "self",(char *) "pt", NULL
35709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35711 if (!SWIG_IsOK(res1
)) {
35712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HitTest" "', expected argument " "1"" of type '" "wxWindow const *""'");
35714 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35717 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35721 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
35722 wxPyEndAllowThreads(__tstate
);
35723 if (PyErr_Occurred()) SWIG_fail
;
35725 resultobj
= SWIG_From_int(static_cast< int >(result
));
35732 SWIGINTERN PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
35733 PyObject
*resultobj
= 0;
35734 wxWindow
*arg1
= (wxWindow
*) 0 ;
35742 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
35743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35744 if (!SWIG_IsOK(res1
)) {
35745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBorder" "', expected argument " "1"" of type '" "wxWindow const *""'");
35747 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35748 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
35749 if (!SWIG_IsOK(ecode2
)) {
35750 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_GetBorder" "', expected argument " "2"" of type '" "long""'");
35752 arg2
= static_cast< long >(val2
);
35754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35755 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder(arg2
);
35756 wxPyEndAllowThreads(__tstate
);
35757 if (PyErr_Occurred()) SWIG_fail
;
35759 resultobj
= SWIG_From_int(static_cast< int >(result
));
35766 SWIGINTERN PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
35767 PyObject
*resultobj
= 0;
35768 wxWindow
*arg1
= (wxWindow
*) 0 ;
35773 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
35774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35775 if (!SWIG_IsOK(res1
)) {
35776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBorder" "', expected argument " "1"" of type '" "wxWindow const *""'");
35778 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35781 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder();
35782 wxPyEndAllowThreads(__tstate
);
35783 if (PyErr_Occurred()) SWIG_fail
;
35785 resultobj
= SWIG_From_int(static_cast< int >(result
));
35792 SWIGINTERN PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
35796 if (!(argc
= SWIG_Python_UnpackTuple(args
,"Window_GetBorder",0,2,argv
))) SWIG_fail
;
35799 return _wrap_Window_GetBorder__SWIG_1(self
, argc
, argv
);
35802 return _wrap_Window_GetBorder__SWIG_0(self
, argc
, argv
);
35806 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'Window_GetBorder'");
35811 SWIGINTERN PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35812 PyObject
*resultobj
= 0;
35813 wxWindow
*arg1
= (wxWindow
*) 0 ;
35814 long arg2
= (long) wxUPDATE_UI_NONE
;
35819 PyObject
* obj0
= 0 ;
35820 PyObject
* obj1
= 0 ;
35821 char * kwnames
[] = {
35822 (char *) "self",(char *) "flags", NULL
35825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35827 if (!SWIG_IsOK(res1
)) {
35828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_UpdateWindowUI" "', expected argument " "1"" of type '" "wxWindow *""'");
35830 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35832 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
35833 if (!SWIG_IsOK(ecode2
)) {
35834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_UpdateWindowUI" "', expected argument " "2"" of type '" "long""'");
35836 arg2
= static_cast< long >(val2
);
35839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35840 (arg1
)->UpdateWindowUI(arg2
);
35841 wxPyEndAllowThreads(__tstate
);
35842 if (PyErr_Occurred()) SWIG_fail
;
35844 resultobj
= SWIG_Py_Void();
35851 SWIGINTERN PyObject
*_wrap_Window_PopupMenuXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35852 PyObject
*resultobj
= 0;
35853 wxWindow
*arg1
= (wxWindow
*) 0 ;
35854 wxMenu
*arg2
= (wxMenu
*) 0 ;
35855 int arg3
= (int) -1 ;
35856 int arg4
= (int) -1 ;
35866 PyObject
* obj0
= 0 ;
35867 PyObject
* obj1
= 0 ;
35868 PyObject
* obj2
= 0 ;
35869 PyObject
* obj3
= 0 ;
35870 char * kwnames
[] = {
35871 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
35874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
35875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35876 if (!SWIG_IsOK(res1
)) {
35877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PopupMenuXY" "', expected argument " "1"" of type '" "wxWindow *""'");
35879 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35880 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
35881 if (!SWIG_IsOK(res2
)) {
35882 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_PopupMenuXY" "', expected argument " "2"" of type '" "wxMenu *""'");
35884 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
35886 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35887 if (!SWIG_IsOK(ecode3
)) {
35888 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_PopupMenuXY" "', expected argument " "3"" of type '" "int""'");
35890 arg3
= static_cast< int >(val3
);
35893 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
35894 if (!SWIG_IsOK(ecode4
)) {
35895 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_PopupMenuXY" "', expected argument " "4"" of type '" "int""'");
35897 arg4
= static_cast< int >(val4
);
35900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35901 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
35902 wxPyEndAllowThreads(__tstate
);
35903 if (PyErr_Occurred()) SWIG_fail
;
35906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35914 SWIGINTERN PyObject
*_wrap_Window_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35915 PyObject
*resultobj
= 0;
35916 wxWindow
*arg1
= (wxWindow
*) 0 ;
35917 wxMenu
*arg2
= (wxMenu
*) 0 ;
35918 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
35919 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
35926 PyObject
* obj0
= 0 ;
35927 PyObject
* obj1
= 0 ;
35928 PyObject
* obj2
= 0 ;
35929 char * kwnames
[] = {
35930 (char *) "self",(char *) "menu",(char *) "pos", NULL
35933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35935 if (!SWIG_IsOK(res1
)) {
35936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PopupMenu" "', expected argument " "1"" of type '" "wxWindow *""'");
35938 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35939 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
35940 if (!SWIG_IsOK(res2
)) {
35941 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
35943 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
35947 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
35951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35952 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
35953 wxPyEndAllowThreads(__tstate
);
35954 if (PyErr_Occurred()) SWIG_fail
;
35957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35965 SWIGINTERN PyObject
*_wrap_Window_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35966 PyObject
*resultobj
= 0;
35967 wxWindow
*arg1
= (wxWindow
*) 0 ;
35971 PyObject
*swig_obj
[1] ;
35973 if (!args
) SWIG_fail
;
35974 swig_obj
[0] = args
;
35975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35976 if (!SWIG_IsOK(res1
)) {
35977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetHandle" "', expected argument " "1"" of type '" "wxWindow *""'");
35979 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35982 result
= (long)wxWindow_GetHandle(arg1
);
35983 wxPyEndAllowThreads(__tstate
);
35984 if (PyErr_Occurred()) SWIG_fail
;
35986 resultobj
= SWIG_From_long(static_cast< long >(result
));
35993 SWIGINTERN PyObject
*_wrap_Window_AssociateHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35994 PyObject
*resultobj
= 0;
35995 wxWindow
*arg1
= (wxWindow
*) 0 ;
36001 PyObject
* obj0
= 0 ;
36002 PyObject
* obj1
= 0 ;
36003 char * kwnames
[] = {
36004 (char *) "self",(char *) "handle", NULL
36007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36009 if (!SWIG_IsOK(res1
)) {
36010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_AssociateHandle" "', expected argument " "1"" of type '" "wxWindow *""'");
36012 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36013 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
36014 if (!SWIG_IsOK(ecode2
)) {
36015 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_AssociateHandle" "', expected argument " "2"" of type '" "long""'");
36017 arg2
= static_cast< long >(val2
);
36019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36020 wxWindow_AssociateHandle(arg1
,arg2
);
36021 wxPyEndAllowThreads(__tstate
);
36022 if (PyErr_Occurred()) SWIG_fail
;
36024 resultobj
= SWIG_Py_Void();
36031 SWIGINTERN PyObject
*_wrap_Window_DissociateHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36032 PyObject
*resultobj
= 0;
36033 wxWindow
*arg1
= (wxWindow
*) 0 ;
36036 PyObject
*swig_obj
[1] ;
36038 if (!args
) SWIG_fail
;
36039 swig_obj
[0] = args
;
36040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36041 if (!SWIG_IsOK(res1
)) {
36042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_DissociateHandle" "', expected argument " "1"" of type '" "wxWindow *""'");
36044 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36047 (arg1
)->DissociateHandle();
36048 wxPyEndAllowThreads(__tstate
);
36049 if (PyErr_Occurred()) SWIG_fail
;
36051 resultobj
= SWIG_Py_Void();
36058 SWIGINTERN PyObject
*_wrap_Window_HasScrollbar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36059 PyObject
*resultobj
= 0;
36060 wxWindow
*arg1
= (wxWindow
*) 0 ;
36067 PyObject
* obj0
= 0 ;
36068 PyObject
* obj1
= 0 ;
36069 char * kwnames
[] = {
36070 (char *) "self",(char *) "orient", NULL
36073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36075 if (!SWIG_IsOK(res1
)) {
36076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HasScrollbar" "', expected argument " "1"" of type '" "wxWindow const *""'");
36078 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36079 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36080 if (!SWIG_IsOK(ecode2
)) {
36081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_HasScrollbar" "', expected argument " "2"" of type '" "int""'");
36083 arg2
= static_cast< int >(val2
);
36085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36086 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
36087 wxPyEndAllowThreads(__tstate
);
36088 if (PyErr_Occurred()) SWIG_fail
;
36091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36099 SWIGINTERN PyObject
*_wrap_Window_SetScrollbar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36100 PyObject
*resultobj
= 0;
36101 wxWindow
*arg1
= (wxWindow
*) 0 ;
36106 bool arg6
= (bool) true ;
36119 PyObject
* obj0
= 0 ;
36120 PyObject
* obj1
= 0 ;
36121 PyObject
* obj2
= 0 ;
36122 PyObject
* obj3
= 0 ;
36123 PyObject
* obj4
= 0 ;
36124 PyObject
* obj5
= 0 ;
36125 char * kwnames
[] = {
36126 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
36129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36131 if (!SWIG_IsOK(res1
)) {
36132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetScrollbar" "', expected argument " "1"" of type '" "wxWindow *""'");
36134 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36135 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36136 if (!SWIG_IsOK(ecode2
)) {
36137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetScrollbar" "', expected argument " "2"" of type '" "int""'");
36139 arg2
= static_cast< int >(val2
);
36140 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36141 if (!SWIG_IsOK(ecode3
)) {
36142 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetScrollbar" "', expected argument " "3"" of type '" "int""'");
36144 arg3
= static_cast< int >(val3
);
36145 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36146 if (!SWIG_IsOK(ecode4
)) {
36147 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_SetScrollbar" "', expected argument " "4"" of type '" "int""'");
36149 arg4
= static_cast< int >(val4
);
36150 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36151 if (!SWIG_IsOK(ecode5
)) {
36152 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Window_SetScrollbar" "', expected argument " "5"" of type '" "int""'");
36154 arg5
= static_cast< int >(val5
);
36156 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
36157 if (!SWIG_IsOK(ecode6
)) {
36158 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Window_SetScrollbar" "', expected argument " "6"" of type '" "bool""'");
36160 arg6
= static_cast< bool >(val6
);
36163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36164 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
36165 wxPyEndAllowThreads(__tstate
);
36166 if (PyErr_Occurred()) SWIG_fail
;
36168 resultobj
= SWIG_Py_Void();
36175 SWIGINTERN PyObject
*_wrap_Window_SetScrollPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36176 PyObject
*resultobj
= 0;
36177 wxWindow
*arg1
= (wxWindow
*) 0 ;
36180 bool arg4
= (bool) true ;
36189 PyObject
* obj0
= 0 ;
36190 PyObject
* obj1
= 0 ;
36191 PyObject
* obj2
= 0 ;
36192 PyObject
* obj3
= 0 ;
36193 char * kwnames
[] = {
36194 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
36197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36199 if (!SWIG_IsOK(res1
)) {
36200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetScrollPos" "', expected argument " "1"" of type '" "wxWindow *""'");
36202 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36203 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36204 if (!SWIG_IsOK(ecode2
)) {
36205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetScrollPos" "', expected argument " "2"" of type '" "int""'");
36207 arg2
= static_cast< int >(val2
);
36208 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36209 if (!SWIG_IsOK(ecode3
)) {
36210 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetScrollPos" "', expected argument " "3"" of type '" "int""'");
36212 arg3
= static_cast< int >(val3
);
36214 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
36215 if (!SWIG_IsOK(ecode4
)) {
36216 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_SetScrollPos" "', expected argument " "4"" of type '" "bool""'");
36218 arg4
= static_cast< bool >(val4
);
36221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36222 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
36223 wxPyEndAllowThreads(__tstate
);
36224 if (PyErr_Occurred()) SWIG_fail
;
36226 resultobj
= SWIG_Py_Void();
36233 SWIGINTERN PyObject
*_wrap_Window_GetScrollPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36234 PyObject
*resultobj
= 0;
36235 wxWindow
*arg1
= (wxWindow
*) 0 ;
36242 PyObject
* obj0
= 0 ;
36243 PyObject
* obj1
= 0 ;
36244 char * kwnames
[] = {
36245 (char *) "self",(char *) "orientation", NULL
36248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36250 if (!SWIG_IsOK(res1
)) {
36251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScrollPos" "', expected argument " "1"" of type '" "wxWindow const *""'");
36253 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36254 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36255 if (!SWIG_IsOK(ecode2
)) {
36256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_GetScrollPos" "', expected argument " "2"" of type '" "int""'");
36258 arg2
= static_cast< int >(val2
);
36260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36261 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
36262 wxPyEndAllowThreads(__tstate
);
36263 if (PyErr_Occurred()) SWIG_fail
;
36265 resultobj
= SWIG_From_int(static_cast< int >(result
));
36272 SWIGINTERN PyObject
*_wrap_Window_GetScrollThumb(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36273 PyObject
*resultobj
= 0;
36274 wxWindow
*arg1
= (wxWindow
*) 0 ;
36281 PyObject
* obj0
= 0 ;
36282 PyObject
* obj1
= 0 ;
36283 char * kwnames
[] = {
36284 (char *) "self",(char *) "orientation", NULL
36287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36289 if (!SWIG_IsOK(res1
)) {
36290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScrollThumb" "', expected argument " "1"" of type '" "wxWindow const *""'");
36292 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36293 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36294 if (!SWIG_IsOK(ecode2
)) {
36295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_GetScrollThumb" "', expected argument " "2"" of type '" "int""'");
36297 arg2
= static_cast< int >(val2
);
36299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36300 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
36301 wxPyEndAllowThreads(__tstate
);
36302 if (PyErr_Occurred()) SWIG_fail
;
36304 resultobj
= SWIG_From_int(static_cast< int >(result
));
36311 SWIGINTERN PyObject
*_wrap_Window_GetScrollRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36312 PyObject
*resultobj
= 0;
36313 wxWindow
*arg1
= (wxWindow
*) 0 ;
36320 PyObject
* obj0
= 0 ;
36321 PyObject
* obj1
= 0 ;
36322 char * kwnames
[] = {
36323 (char *) "self",(char *) "orientation", NULL
36326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36328 if (!SWIG_IsOK(res1
)) {
36329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScrollRange" "', expected argument " "1"" of type '" "wxWindow const *""'");
36331 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36332 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36333 if (!SWIG_IsOK(ecode2
)) {
36334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_GetScrollRange" "', expected argument " "2"" of type '" "int""'");
36336 arg2
= static_cast< int >(val2
);
36338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36339 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
36340 wxPyEndAllowThreads(__tstate
);
36341 if (PyErr_Occurred()) SWIG_fail
;
36343 resultobj
= SWIG_From_int(static_cast< int >(result
));
36350 SWIGINTERN PyObject
*_wrap_Window_ScrollWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36351 PyObject
*resultobj
= 0;
36352 wxWindow
*arg1
= (wxWindow
*) 0 ;
36355 wxRect
*arg4
= (wxRect
*) NULL
;
36364 PyObject
* obj0
= 0 ;
36365 PyObject
* obj1
= 0 ;
36366 PyObject
* obj2
= 0 ;
36367 PyObject
* obj3
= 0 ;
36368 char * kwnames
[] = {
36369 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
36372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36374 if (!SWIG_IsOK(res1
)) {
36375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ScrollWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
36377 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36378 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36379 if (!SWIG_IsOK(ecode2
)) {
36380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_ScrollWindow" "', expected argument " "2"" of type '" "int""'");
36382 arg2
= static_cast< int >(val2
);
36383 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36384 if (!SWIG_IsOK(ecode3
)) {
36385 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_ScrollWindow" "', expected argument " "3"" of type '" "int""'");
36387 arg3
= static_cast< int >(val3
);
36389 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
36390 if (!SWIG_IsOK(res4
)) {
36391 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Window_ScrollWindow" "', expected argument " "4"" of type '" "wxRect const *""'");
36393 arg4
= reinterpret_cast< wxRect
* >(argp4
);
36396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36397 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
36398 wxPyEndAllowThreads(__tstate
);
36399 if (PyErr_Occurred()) SWIG_fail
;
36401 resultobj
= SWIG_Py_Void();
36408 SWIGINTERN PyObject
*_wrap_Window_ScrollLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36409 PyObject
*resultobj
= 0;
36410 wxWindow
*arg1
= (wxWindow
*) 0 ;
36417 PyObject
* obj0
= 0 ;
36418 PyObject
* obj1
= 0 ;
36419 char * kwnames
[] = {
36420 (char *) "self",(char *) "lines", NULL
36423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36425 if (!SWIG_IsOK(res1
)) {
36426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ScrollLines" "', expected argument " "1"" of type '" "wxWindow *""'");
36428 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36429 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36430 if (!SWIG_IsOK(ecode2
)) {
36431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_ScrollLines" "', expected argument " "2"" of type '" "int""'");
36433 arg2
= static_cast< int >(val2
);
36435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36436 result
= (bool)(arg1
)->ScrollLines(arg2
);
36437 wxPyEndAllowThreads(__tstate
);
36438 if (PyErr_Occurred()) SWIG_fail
;
36441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36449 SWIGINTERN PyObject
*_wrap_Window_ScrollPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36450 PyObject
*resultobj
= 0;
36451 wxWindow
*arg1
= (wxWindow
*) 0 ;
36458 PyObject
* obj0
= 0 ;
36459 PyObject
* obj1
= 0 ;
36460 char * kwnames
[] = {
36461 (char *) "self",(char *) "pages", NULL
36464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36466 if (!SWIG_IsOK(res1
)) {
36467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ScrollPages" "', expected argument " "1"" of type '" "wxWindow *""'");
36469 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36470 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36471 if (!SWIG_IsOK(ecode2
)) {
36472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_ScrollPages" "', expected argument " "2"" of type '" "int""'");
36474 arg2
= static_cast< int >(val2
);
36476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36477 result
= (bool)(arg1
)->ScrollPages(arg2
);
36478 wxPyEndAllowThreads(__tstate
);
36479 if (PyErr_Occurred()) SWIG_fail
;
36482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36490 SWIGINTERN PyObject
*_wrap_Window_LineUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36491 PyObject
*resultobj
= 0;
36492 wxWindow
*arg1
= (wxWindow
*) 0 ;
36496 PyObject
*swig_obj
[1] ;
36498 if (!args
) SWIG_fail
;
36499 swig_obj
[0] = args
;
36500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36501 if (!SWIG_IsOK(res1
)) {
36502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_LineUp" "', expected argument " "1"" of type '" "wxWindow *""'");
36504 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36507 result
= (bool)(arg1
)->LineUp();
36508 wxPyEndAllowThreads(__tstate
);
36509 if (PyErr_Occurred()) SWIG_fail
;
36512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36520 SWIGINTERN PyObject
*_wrap_Window_LineDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36521 PyObject
*resultobj
= 0;
36522 wxWindow
*arg1
= (wxWindow
*) 0 ;
36526 PyObject
*swig_obj
[1] ;
36528 if (!args
) SWIG_fail
;
36529 swig_obj
[0] = args
;
36530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36531 if (!SWIG_IsOK(res1
)) {
36532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_LineDown" "', expected argument " "1"" of type '" "wxWindow *""'");
36534 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36537 result
= (bool)(arg1
)->LineDown();
36538 wxPyEndAllowThreads(__tstate
);
36539 if (PyErr_Occurred()) SWIG_fail
;
36542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36550 SWIGINTERN PyObject
*_wrap_Window_PageUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36551 PyObject
*resultobj
= 0;
36552 wxWindow
*arg1
= (wxWindow
*) 0 ;
36556 PyObject
*swig_obj
[1] ;
36558 if (!args
) SWIG_fail
;
36559 swig_obj
[0] = args
;
36560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36561 if (!SWIG_IsOK(res1
)) {
36562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PageUp" "', expected argument " "1"" of type '" "wxWindow *""'");
36564 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36567 result
= (bool)(arg1
)->PageUp();
36568 wxPyEndAllowThreads(__tstate
);
36569 if (PyErr_Occurred()) SWIG_fail
;
36572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36580 SWIGINTERN PyObject
*_wrap_Window_PageDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36581 PyObject
*resultobj
= 0;
36582 wxWindow
*arg1
= (wxWindow
*) 0 ;
36586 PyObject
*swig_obj
[1] ;
36588 if (!args
) SWIG_fail
;
36589 swig_obj
[0] = args
;
36590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36591 if (!SWIG_IsOK(res1
)) {
36592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PageDown" "', expected argument " "1"" of type '" "wxWindow *""'");
36594 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36597 result
= (bool)(arg1
)->PageDown();
36598 wxPyEndAllowThreads(__tstate
);
36599 if (PyErr_Occurred()) SWIG_fail
;
36602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36610 SWIGINTERN PyObject
*_wrap_Window_SetHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36611 PyObject
*resultobj
= 0;
36612 wxWindow
*arg1
= (wxWindow
*) 0 ;
36613 wxString
*arg2
= 0 ;
36616 bool temp2
= false ;
36617 PyObject
* obj0
= 0 ;
36618 PyObject
* obj1
= 0 ;
36619 char * kwnames
[] = {
36620 (char *) "self",(char *) "text", NULL
36623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36625 if (!SWIG_IsOK(res1
)) {
36626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetHelpText" "', expected argument " "1"" of type '" "wxWindow *""'");
36628 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36630 arg2
= wxString_in_helper(obj1
);
36631 if (arg2
== NULL
) SWIG_fail
;
36635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36636 (arg1
)->SetHelpText((wxString
const &)*arg2
);
36637 wxPyEndAllowThreads(__tstate
);
36638 if (PyErr_Occurred()) SWIG_fail
;
36640 resultobj
= SWIG_Py_Void();
36655 SWIGINTERN PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36656 PyObject
*resultobj
= 0;
36657 wxWindow
*arg1
= (wxWindow
*) 0 ;
36658 wxString
*arg2
= 0 ;
36661 bool temp2
= false ;
36662 PyObject
* obj0
= 0 ;
36663 PyObject
* obj1
= 0 ;
36664 char * kwnames
[] = {
36665 (char *) "self",(char *) "text", NULL
36668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36670 if (!SWIG_IsOK(res1
)) {
36671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetHelpTextForId" "', expected argument " "1"" of type '" "wxWindow *""'");
36673 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36675 arg2
= wxString_in_helper(obj1
);
36676 if (arg2
== NULL
) SWIG_fail
;
36680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36681 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
36682 wxPyEndAllowThreads(__tstate
);
36683 if (PyErr_Occurred()) SWIG_fail
;
36685 resultobj
= SWIG_Py_Void();
36700 SWIGINTERN PyObject
*_wrap_Window_GetHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36701 PyObject
*resultobj
= 0;
36702 wxWindow
*arg1
= (wxWindow
*) 0 ;
36706 PyObject
*swig_obj
[1] ;
36708 if (!args
) SWIG_fail
;
36709 swig_obj
[0] = args
;
36710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36711 if (!SWIG_IsOK(res1
)) {
36712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetHelpText" "', expected argument " "1"" of type '" "wxWindow const *""'");
36714 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36717 result
= ((wxWindow
const *)arg1
)->GetHelpText();
36718 wxPyEndAllowThreads(__tstate
);
36719 if (PyErr_Occurred()) SWIG_fail
;
36723 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
36725 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
36734 SWIGINTERN PyObject
*_wrap_Window_SetToolTipString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36735 PyObject
*resultobj
= 0;
36736 wxWindow
*arg1
= (wxWindow
*) 0 ;
36737 wxString
*arg2
= 0 ;
36740 bool temp2
= false ;
36741 PyObject
* obj0
= 0 ;
36742 PyObject
* obj1
= 0 ;
36743 char * kwnames
[] = {
36744 (char *) "self",(char *) "tip", NULL
36747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36749 if (!SWIG_IsOK(res1
)) {
36750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetToolTipString" "', expected argument " "1"" of type '" "wxWindow *""'");
36752 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36754 arg2
= wxString_in_helper(obj1
);
36755 if (arg2
== NULL
) SWIG_fail
;
36759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36760 (arg1
)->SetToolTip((wxString
const &)*arg2
);
36761 wxPyEndAllowThreads(__tstate
);
36762 if (PyErr_Occurred()) SWIG_fail
;
36764 resultobj
= SWIG_Py_Void();
36779 SWIGINTERN PyObject
*_wrap_Window_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36780 PyObject
*resultobj
= 0;
36781 wxWindow
*arg1
= (wxWindow
*) 0 ;
36782 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
36786 PyObject
* obj0
= 0 ;
36787 PyObject
* obj1
= 0 ;
36788 char * kwnames
[] = {
36789 (char *) "self",(char *) "tip", NULL
36792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",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_SetToolTip" "', expected argument " "1"" of type '" "wxWindow *""'");
36797 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36798 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxToolTip
, SWIG_POINTER_DISOWN
| 0 );
36799 if (!SWIG_IsOK(res2
)) {
36800 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetToolTip" "', expected argument " "2"" of type '" "wxToolTip *""'");
36803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36804 (arg1
)->SetToolTip(arg2
);
36805 wxPyEndAllowThreads(__tstate
);
36806 if (PyErr_Occurred()) SWIG_fail
;
36808 resultobj
= SWIG_Py_Void();
36815 SWIGINTERN PyObject
*_wrap_Window_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36816 PyObject
*resultobj
= 0;
36817 wxWindow
*arg1
= (wxWindow
*) 0 ;
36818 wxToolTip
*result
= 0 ;
36821 PyObject
*swig_obj
[1] ;
36823 if (!args
) SWIG_fail
;
36824 swig_obj
[0] = args
;
36825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36826 if (!SWIG_IsOK(res1
)) {
36827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetToolTip" "', expected argument " "1"" of type '" "wxWindow const *""'");
36829 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36832 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
36833 wxPyEndAllowThreads(__tstate
);
36834 if (PyErr_Occurred()) SWIG_fail
;
36837 resultobj
= wxPyMake_wxObject(result
, (bool)0);
36845 SWIGINTERN PyObject
*_wrap_Window_SetDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36846 PyObject
*resultobj
= 0;
36847 wxWindow
*arg1
= (wxWindow
*) 0 ;
36848 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
36852 PyObject
* obj0
= 0 ;
36853 PyObject
* obj1
= 0 ;
36854 char * kwnames
[] = {
36855 (char *) "self",(char *) "dropTarget", NULL
36858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36860 if (!SWIG_IsOK(res1
)) {
36861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetDropTarget" "', expected argument " "1"" of type '" "wxWindow *""'");
36863 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36864 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_DISOWN
| 0 );
36865 if (!SWIG_IsOK(res2
)) {
36866 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetDropTarget" "', expected argument " "2"" of type '" "wxPyDropTarget *""'");
36869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36870 (arg1
)->SetDropTarget(arg2
);
36871 wxPyEndAllowThreads(__tstate
);
36872 if (PyErr_Occurred()) SWIG_fail
;
36874 resultobj
= SWIG_Py_Void();
36881 SWIGINTERN PyObject
*_wrap_Window_GetDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36882 PyObject
*resultobj
= 0;
36883 wxWindow
*arg1
= (wxWindow
*) 0 ;
36884 wxPyDropTarget
*result
= 0 ;
36887 PyObject
*swig_obj
[1] ;
36889 if (!args
) SWIG_fail
;
36890 swig_obj
[0] = args
;
36891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36892 if (!SWIG_IsOK(res1
)) {
36893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetDropTarget" "', expected argument " "1"" of type '" "wxWindow const *""'");
36895 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36898 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
36899 wxPyEndAllowThreads(__tstate
);
36900 if (PyErr_Occurred()) SWIG_fail
;
36902 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
36909 SWIGINTERN PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36910 PyObject
*resultobj
= 0;
36911 wxWindow
*arg1
= (wxWindow
*) 0 ;
36917 PyObject
* obj0
= 0 ;
36918 PyObject
* obj1
= 0 ;
36919 char * kwnames
[] = {
36920 (char *) "self",(char *) "accept", NULL
36923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36925 if (!SWIG_IsOK(res1
)) {
36926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_DragAcceptFiles" "', expected argument " "1"" of type '" "wxWindow *""'");
36928 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36929 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
36930 if (!SWIG_IsOK(ecode2
)) {
36931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_DragAcceptFiles" "', expected argument " "2"" of type '" "bool""'");
36933 arg2
= static_cast< bool >(val2
);
36935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36936 wxWindow_DragAcceptFiles(arg1
,arg2
);
36937 wxPyEndAllowThreads(__tstate
);
36938 if (PyErr_Occurred()) SWIG_fail
;
36940 resultobj
= SWIG_Py_Void();
36947 SWIGINTERN PyObject
*_wrap_Window_SetConstraints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36948 PyObject
*resultobj
= 0;
36949 wxWindow
*arg1
= (wxWindow
*) 0 ;
36950 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
36954 PyObject
* obj0
= 0 ;
36955 PyObject
* obj1
= 0 ;
36956 char * kwnames
[] = {
36957 (char *) "self",(char *) "constraints", NULL
36960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36962 if (!SWIG_IsOK(res1
)) {
36963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetConstraints" "', expected argument " "1"" of type '" "wxWindow *""'");
36965 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36966 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_DISOWN
| 0 );
36967 if (!SWIG_IsOK(res2
)) {
36968 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetConstraints" "', expected argument " "2"" of type '" "wxLayoutConstraints *""'");
36971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36972 (arg1
)->SetConstraints(arg2
);
36973 wxPyEndAllowThreads(__tstate
);
36974 if (PyErr_Occurred()) SWIG_fail
;
36976 resultobj
= SWIG_Py_Void();
36983 SWIGINTERN PyObject
*_wrap_Window_GetConstraints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36984 PyObject
*resultobj
= 0;
36985 wxWindow
*arg1
= (wxWindow
*) 0 ;
36986 wxLayoutConstraints
*result
= 0 ;
36989 PyObject
*swig_obj
[1] ;
36991 if (!args
) SWIG_fail
;
36992 swig_obj
[0] = args
;
36993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36994 if (!SWIG_IsOK(res1
)) {
36995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetConstraints" "', expected argument " "1"" of type '" "wxWindow const *""'");
36997 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37000 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
37001 wxPyEndAllowThreads(__tstate
);
37002 if (PyErr_Occurred()) SWIG_fail
;
37004 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
37011 SWIGINTERN PyObject
*_wrap_Window_SetAutoLayout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37012 PyObject
*resultobj
= 0;
37013 wxWindow
*arg1
= (wxWindow
*) 0 ;
37019 PyObject
* obj0
= 0 ;
37020 PyObject
* obj1
= 0 ;
37021 char * kwnames
[] = {
37022 (char *) "self",(char *) "autoLayout", NULL
37025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37027 if (!SWIG_IsOK(res1
)) {
37028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetAutoLayout" "', expected argument " "1"" of type '" "wxWindow *""'");
37030 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37031 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37032 if (!SWIG_IsOK(ecode2
)) {
37033 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetAutoLayout" "', expected argument " "2"" of type '" "bool""'");
37035 arg2
= static_cast< bool >(val2
);
37037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37038 (arg1
)->SetAutoLayout(arg2
);
37039 wxPyEndAllowThreads(__tstate
);
37040 if (PyErr_Occurred()) SWIG_fail
;
37042 resultobj
= SWIG_Py_Void();
37049 SWIGINTERN PyObject
*_wrap_Window_GetAutoLayout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37050 PyObject
*resultobj
= 0;
37051 wxWindow
*arg1
= (wxWindow
*) 0 ;
37055 PyObject
*swig_obj
[1] ;
37057 if (!args
) SWIG_fail
;
37058 swig_obj
[0] = args
;
37059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37060 if (!SWIG_IsOK(res1
)) {
37061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetAutoLayout" "', expected argument " "1"" of type '" "wxWindow const *""'");
37063 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37066 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
37067 wxPyEndAllowThreads(__tstate
);
37068 if (PyErr_Occurred()) SWIG_fail
;
37071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37079 SWIGINTERN PyObject
*_wrap_Window_Layout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37080 PyObject
*resultobj
= 0;
37081 wxWindow
*arg1
= (wxWindow
*) 0 ;
37085 PyObject
*swig_obj
[1] ;
37087 if (!args
) SWIG_fail
;
37088 swig_obj
[0] = args
;
37089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37090 if (!SWIG_IsOK(res1
)) {
37091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Layout" "', expected argument " "1"" of type '" "wxWindow *""'");
37093 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37096 result
= (bool)(arg1
)->Layout();
37097 wxPyEndAllowThreads(__tstate
);
37098 if (PyErr_Occurred()) SWIG_fail
;
37101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37109 SWIGINTERN PyObject
*_wrap_Window_SetSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37110 PyObject
*resultobj
= 0;
37111 wxWindow
*arg1
= (wxWindow
*) 0 ;
37112 wxSizer
*arg2
= (wxSizer
*) 0 ;
37113 bool arg3
= (bool) true ;
37119 PyObject
* obj0
= 0 ;
37120 PyObject
* obj1
= 0 ;
37121 PyObject
* obj2
= 0 ;
37122 char * kwnames
[] = {
37123 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
37126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37128 if (!SWIG_IsOK(res1
)) {
37129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSizer" "', expected argument " "1"" of type '" "wxWindow *""'");
37131 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37132 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
37133 if (!SWIG_IsOK(res2
)) {
37134 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetSizer" "', expected argument " "2"" of type '" "wxSizer *""'");
37137 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37138 if (!SWIG_IsOK(ecode3
)) {
37139 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetSizer" "', expected argument " "3"" of type '" "bool""'");
37141 arg3
= static_cast< bool >(val3
);
37144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37145 (arg1
)->SetSizer(arg2
,arg3
);
37146 wxPyEndAllowThreads(__tstate
);
37147 if (PyErr_Occurred()) SWIG_fail
;
37149 resultobj
= SWIG_Py_Void();
37156 SWIGINTERN PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37157 PyObject
*resultobj
= 0;
37158 wxWindow
*arg1
= (wxWindow
*) 0 ;
37159 wxSizer
*arg2
= (wxSizer
*) 0 ;
37160 bool arg3
= (bool) true ;
37166 PyObject
* obj0
= 0 ;
37167 PyObject
* obj1
= 0 ;
37168 PyObject
* obj2
= 0 ;
37169 char * kwnames
[] = {
37170 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
37173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37175 if (!SWIG_IsOK(res1
)) {
37176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSizerAndFit" "', expected argument " "1"" of type '" "wxWindow *""'");
37178 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37179 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
37180 if (!SWIG_IsOK(res2
)) {
37181 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetSizerAndFit" "', expected argument " "2"" of type '" "wxSizer *""'");
37184 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37185 if (!SWIG_IsOK(ecode3
)) {
37186 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetSizerAndFit" "', expected argument " "3"" of type '" "bool""'");
37188 arg3
= static_cast< bool >(val3
);
37191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37192 (arg1
)->SetSizerAndFit(arg2
,arg3
);
37193 wxPyEndAllowThreads(__tstate
);
37194 if (PyErr_Occurred()) SWIG_fail
;
37196 resultobj
= SWIG_Py_Void();
37203 SWIGINTERN PyObject
*_wrap_Window_GetSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37204 PyObject
*resultobj
= 0;
37205 wxWindow
*arg1
= (wxWindow
*) 0 ;
37206 wxSizer
*result
= 0 ;
37209 PyObject
*swig_obj
[1] ;
37211 if (!args
) SWIG_fail
;
37212 swig_obj
[0] = args
;
37213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37214 if (!SWIG_IsOK(res1
)) {
37215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetSizer" "', expected argument " "1"" of type '" "wxWindow const *""'");
37217 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37220 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
37221 wxPyEndAllowThreads(__tstate
);
37222 if (PyErr_Occurred()) SWIG_fail
;
37225 resultobj
= wxPyMake_wxObject(result
, (bool)0);
37233 SWIGINTERN PyObject
*_wrap_Window_SetContainingSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37234 PyObject
*resultobj
= 0;
37235 wxWindow
*arg1
= (wxWindow
*) 0 ;
37236 wxSizer
*arg2
= (wxSizer
*) 0 ;
37241 PyObject
* obj0
= 0 ;
37242 PyObject
* obj1
= 0 ;
37243 char * kwnames
[] = {
37244 (char *) "self",(char *) "sizer", NULL
37247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37249 if (!SWIG_IsOK(res1
)) {
37250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetContainingSizer" "', expected argument " "1"" of type '" "wxWindow *""'");
37252 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37253 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
37254 if (!SWIG_IsOK(res2
)) {
37255 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetContainingSizer" "', expected argument " "2"" of type '" "wxSizer *""'");
37257 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
37259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37260 (arg1
)->SetContainingSizer(arg2
);
37261 wxPyEndAllowThreads(__tstate
);
37262 if (PyErr_Occurred()) SWIG_fail
;
37264 resultobj
= SWIG_Py_Void();
37271 SWIGINTERN PyObject
*_wrap_Window_GetContainingSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37272 PyObject
*resultobj
= 0;
37273 wxWindow
*arg1
= (wxWindow
*) 0 ;
37274 wxSizer
*result
= 0 ;
37277 PyObject
*swig_obj
[1] ;
37279 if (!args
) SWIG_fail
;
37280 swig_obj
[0] = args
;
37281 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37282 if (!SWIG_IsOK(res1
)) {
37283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetContainingSizer" "', expected argument " "1"" of type '" "wxWindow const *""'");
37285 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37288 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
37289 wxPyEndAllowThreads(__tstate
);
37290 if (PyErr_Occurred()) SWIG_fail
;
37293 resultobj
= wxPyMake_wxObject(result
, (bool)0);
37301 SWIGINTERN PyObject
*_wrap_Window_InheritAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37302 PyObject
*resultobj
= 0;
37303 wxWindow
*arg1
= (wxWindow
*) 0 ;
37306 PyObject
*swig_obj
[1] ;
37308 if (!args
) SWIG_fail
;
37309 swig_obj
[0] = args
;
37310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37311 if (!SWIG_IsOK(res1
)) {
37312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_InheritAttributes" "', expected argument " "1"" of type '" "wxWindow *""'");
37314 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37317 (arg1
)->InheritAttributes();
37318 wxPyEndAllowThreads(__tstate
);
37319 if (PyErr_Occurred()) SWIG_fail
;
37321 resultobj
= SWIG_Py_Void();
37328 SWIGINTERN PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37329 PyObject
*resultobj
= 0;
37330 wxWindow
*arg1
= (wxWindow
*) 0 ;
37334 PyObject
*swig_obj
[1] ;
37336 if (!args
) SWIG_fail
;
37337 swig_obj
[0] = args
;
37338 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37339 if (!SWIG_IsOK(res1
)) {
37340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ShouldInheritColours" "', expected argument " "1"" of type '" "wxWindow const *""'");
37342 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37345 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
37346 wxPyEndAllowThreads(__tstate
);
37347 if (PyErr_Occurred()) SWIG_fail
;
37350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37358 SWIGINTERN PyObject
*Window_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37360 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37361 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindow
, SWIG_NewClientData(obj
));
37362 return SWIG_Py_Void();
37365 SWIGINTERN PyObject
*Window_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37366 return SWIG_Python_InitShadowInstance(args
);
37369 SWIGINTERN PyObject
*_wrap_FindWindowById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37370 PyObject
*resultobj
= 0;
37372 wxWindow
*arg2
= (wxWindow
*) NULL
;
37373 wxWindow
*result
= 0 ;
37378 PyObject
* obj0
= 0 ;
37379 PyObject
* obj1
= 0 ;
37380 char * kwnames
[] = {
37381 (char *) "id",(char *) "parent", NULL
37384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37385 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
37386 if (!SWIG_IsOK(ecode1
)) {
37387 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FindWindowById" "', expected argument " "1"" of type '" "long""'");
37389 arg1
= static_cast< long >(val1
);
37391 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37392 if (!SWIG_IsOK(res2
)) {
37393 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindWindowById" "', expected argument " "2"" of type '" "wxWindow const *""'");
37395 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37398 if (!wxPyCheckForApp()) SWIG_fail
;
37399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37400 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
37401 wxPyEndAllowThreads(__tstate
);
37402 if (PyErr_Occurred()) SWIG_fail
;
37405 resultobj
= wxPyMake_wxObject(result
, 0);
37413 SWIGINTERN PyObject
*_wrap_FindWindowByName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37414 PyObject
*resultobj
= 0;
37415 wxString
*arg1
= 0 ;
37416 wxWindow
*arg2
= (wxWindow
*) NULL
;
37417 wxWindow
*result
= 0 ;
37418 bool temp1
= false ;
37421 PyObject
* obj0
= 0 ;
37422 PyObject
* obj1
= 0 ;
37423 char * kwnames
[] = {
37424 (char *) "name",(char *) "parent", NULL
37427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37429 arg1
= wxString_in_helper(obj0
);
37430 if (arg1
== NULL
) SWIG_fail
;
37434 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37435 if (!SWIG_IsOK(res2
)) {
37436 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindWindowByName" "', expected argument " "2"" of type '" "wxWindow const *""'");
37438 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37441 if (!wxPyCheckForApp()) SWIG_fail
;
37442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37443 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
37444 wxPyEndAllowThreads(__tstate
);
37445 if (PyErr_Occurred()) SWIG_fail
;
37448 resultobj
= wxPyMake_wxObject(result
, 0);
37464 SWIGINTERN PyObject
*_wrap_FindWindowByLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37465 PyObject
*resultobj
= 0;
37466 wxString
*arg1
= 0 ;
37467 wxWindow
*arg2
= (wxWindow
*) NULL
;
37468 wxWindow
*result
= 0 ;
37469 bool temp1
= false ;
37472 PyObject
* obj0
= 0 ;
37473 PyObject
* obj1
= 0 ;
37474 char * kwnames
[] = {
37475 (char *) "label",(char *) "parent", NULL
37478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37480 arg1
= wxString_in_helper(obj0
);
37481 if (arg1
== NULL
) SWIG_fail
;
37485 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37486 if (!SWIG_IsOK(res2
)) {
37487 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindWindowByLabel" "', expected argument " "2"" of type '" "wxWindow const *""'");
37489 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37492 if (!wxPyCheckForApp()) SWIG_fail
;
37493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37494 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
37495 wxPyEndAllowThreads(__tstate
);
37496 if (PyErr_Occurred()) SWIG_fail
;
37499 resultobj
= wxPyMake_wxObject(result
, 0);
37515 SWIGINTERN PyObject
*_wrap_Window_FromHWND(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37516 PyObject
*resultobj
= 0;
37517 wxWindow
*arg1
= (wxWindow
*) 0 ;
37518 unsigned long arg2
;
37519 wxWindow
*result
= 0 ;
37522 unsigned long val2
;
37524 PyObject
* obj0
= 0 ;
37525 PyObject
* obj1
= 0 ;
37526 char * kwnames
[] = {
37527 (char *) "parent",(char *) "_hWnd", NULL
37530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37532 if (!SWIG_IsOK(res1
)) {
37533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_FromHWND" "', expected argument " "1"" of type '" "wxWindow *""'");
37535 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37536 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
37537 if (!SWIG_IsOK(ecode2
)) {
37538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_FromHWND" "', expected argument " "2"" of type '" "unsigned long""'");
37540 arg2
= static_cast< unsigned long >(val2
);
37542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37543 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
37544 wxPyEndAllowThreads(__tstate
);
37545 if (PyErr_Occurred()) SWIG_fail
;
37548 resultobj
= wxPyMake_wxObject(result
, 0);
37556 SWIGINTERN PyObject
*_wrap_GetTopLevelWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37557 PyObject
*resultobj
= 0;
37558 PyObject
*result
= 0 ;
37560 if (!SWIG_Python_UnpackTuple(args
,"GetTopLevelWindows",0,0,0)) SWIG_fail
;
37562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37563 result
= (PyObject
*)GetTopLevelWindows();
37564 wxPyEndAllowThreads(__tstate
);
37565 if (PyErr_Occurred()) SWIG_fail
;
37567 resultobj
= result
;
37574 SWIGINTERN PyObject
*_wrap_new_Validator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37575 PyObject
*resultobj
= 0;
37576 wxValidator
*result
= 0 ;
37578 if (!SWIG_Python_UnpackTuple(args
,"new_Validator",0,0,0)) SWIG_fail
;
37580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37581 result
= (wxValidator
*)new wxValidator();
37582 wxPyEndAllowThreads(__tstate
);
37583 if (PyErr_Occurred()) SWIG_fail
;
37585 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxValidator
, SWIG_POINTER_NEW
| 0 );
37592 SWIGINTERN PyObject
*_wrap_Validator_Clone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37593 PyObject
*resultobj
= 0;
37594 wxValidator
*arg1
= (wxValidator
*) 0 ;
37595 wxValidator
*result
= 0 ;
37598 PyObject
*swig_obj
[1] ;
37600 if (!args
) SWIG_fail
;
37601 swig_obj
[0] = args
;
37602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
37603 if (!SWIG_IsOK(res1
)) {
37604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_Clone" "', expected argument " "1"" of type '" "wxValidator *""'");
37606 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
37608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37609 result
= (wxValidator
*)(arg1
)->Clone();
37610 wxPyEndAllowThreads(__tstate
);
37611 if (PyErr_Occurred()) SWIG_fail
;
37614 resultobj
= wxPyMake_wxObject(result
, 0);
37622 SWIGINTERN PyObject
*_wrap_Validator_Validate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37623 PyObject
*resultobj
= 0;
37624 wxValidator
*arg1
= (wxValidator
*) 0 ;
37625 wxWindow
*arg2
= (wxWindow
*) 0 ;
37631 PyObject
* obj0
= 0 ;
37632 PyObject
* obj1
= 0 ;
37633 char * kwnames
[] = {
37634 (char *) "self",(char *) "parent", NULL
37637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
37639 if (!SWIG_IsOK(res1
)) {
37640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_Validate" "', expected argument " "1"" of type '" "wxValidator *""'");
37642 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
37643 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37644 if (!SWIG_IsOK(res2
)) {
37645 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Validator_Validate" "', expected argument " "2"" of type '" "wxWindow *""'");
37647 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37650 result
= (bool)(arg1
)->Validate(arg2
);
37651 wxPyEndAllowThreads(__tstate
);
37652 if (PyErr_Occurred()) SWIG_fail
;
37655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37663 SWIGINTERN PyObject
*_wrap_Validator_TransferToWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37664 PyObject
*resultobj
= 0;
37665 wxValidator
*arg1
= (wxValidator
*) 0 ;
37669 PyObject
*swig_obj
[1] ;
37671 if (!args
) SWIG_fail
;
37672 swig_obj
[0] = args
;
37673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
37674 if (!SWIG_IsOK(res1
)) {
37675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_TransferToWindow" "', expected argument " "1"" of type '" "wxValidator *""'");
37677 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
37679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37680 result
= (bool)(arg1
)->TransferToWindow();
37681 wxPyEndAllowThreads(__tstate
);
37682 if (PyErr_Occurred()) SWIG_fail
;
37685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37693 SWIGINTERN PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37694 PyObject
*resultobj
= 0;
37695 wxValidator
*arg1
= (wxValidator
*) 0 ;
37699 PyObject
*swig_obj
[1] ;
37701 if (!args
) SWIG_fail
;
37702 swig_obj
[0] = args
;
37703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
37704 if (!SWIG_IsOK(res1
)) {
37705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_TransferFromWindow" "', expected argument " "1"" of type '" "wxValidator *""'");
37707 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
37709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37710 result
= (bool)(arg1
)->TransferFromWindow();
37711 wxPyEndAllowThreads(__tstate
);
37712 if (PyErr_Occurred()) SWIG_fail
;
37715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37723 SWIGINTERN PyObject
*_wrap_Validator_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37724 PyObject
*resultobj
= 0;
37725 wxValidator
*arg1
= (wxValidator
*) 0 ;
37726 wxWindow
*result
= 0 ;
37729 PyObject
*swig_obj
[1] ;
37731 if (!args
) SWIG_fail
;
37732 swig_obj
[0] = args
;
37733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
37734 if (!SWIG_IsOK(res1
)) {
37735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_GetWindow" "', expected argument " "1"" of type '" "wxValidator *""'");
37737 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
37739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37740 result
= (wxWindow
*)(arg1
)->GetWindow();
37741 wxPyEndAllowThreads(__tstate
);
37742 if (PyErr_Occurred()) SWIG_fail
;
37745 resultobj
= wxPyMake_wxObject(result
, 0);
37753 SWIGINTERN PyObject
*_wrap_Validator_SetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37754 PyObject
*resultobj
= 0;
37755 wxValidator
*arg1
= (wxValidator
*) 0 ;
37756 wxWindow
*arg2
= (wxWindow
*) 0 ;
37761 PyObject
* obj0
= 0 ;
37762 PyObject
* obj1
= 0 ;
37763 char * kwnames
[] = {
37764 (char *) "self",(char *) "window", NULL
37767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
37769 if (!SWIG_IsOK(res1
)) {
37770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_SetWindow" "', expected argument " "1"" of type '" "wxValidator *""'");
37772 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
37773 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37774 if (!SWIG_IsOK(res2
)) {
37775 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Validator_SetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
37777 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37780 (arg1
)->SetWindow(arg2
);
37781 wxPyEndAllowThreads(__tstate
);
37782 if (PyErr_Occurred()) SWIG_fail
;
37784 resultobj
= SWIG_Py_Void();
37791 SWIGINTERN PyObject
*_wrap_Validator_IsSilent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37792 PyObject
*resultobj
= 0;
37795 if (!SWIG_Python_UnpackTuple(args
,"Validator_IsSilent",0,0,0)) SWIG_fail
;
37797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37798 result
= (bool)wxValidator::IsSilent();
37799 wxPyEndAllowThreads(__tstate
);
37800 if (PyErr_Occurred()) SWIG_fail
;
37803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37811 SWIGINTERN PyObject
*_wrap_Validator_SetBellOnError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37812 PyObject
*resultobj
= 0;
37813 int arg1
= (int) true ;
37816 PyObject
* obj0
= 0 ;
37817 char * kwnames
[] = {
37818 (char *) "doIt", NULL
37821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) SWIG_fail
;
37823 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
37824 if (!SWIG_IsOK(ecode1
)) {
37825 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Validator_SetBellOnError" "', expected argument " "1"" of type '" "int""'");
37827 arg1
= static_cast< int >(val1
);
37830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37831 wxValidator::SetBellOnError(arg1
);
37832 wxPyEndAllowThreads(__tstate
);
37833 if (PyErr_Occurred()) SWIG_fail
;
37835 resultobj
= SWIG_Py_Void();
37842 SWIGINTERN PyObject
*Validator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37844 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37845 SWIG_TypeNewClientData(SWIGTYPE_p_wxValidator
, SWIG_NewClientData(obj
));
37846 return SWIG_Py_Void();
37849 SWIGINTERN PyObject
*Validator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37850 return SWIG_Python_InitShadowInstance(args
);
37853 SWIGINTERN PyObject
*_wrap_new_PyValidator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37854 PyObject
*resultobj
= 0;
37855 wxPyValidator
*result
= 0 ;
37857 if (!SWIG_Python_UnpackTuple(args
,"new_PyValidator",0,0,0)) SWIG_fail
;
37859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37860 result
= (wxPyValidator
*)new wxPyValidator();
37861 wxPyEndAllowThreads(__tstate
);
37862 if (PyErr_Occurred()) SWIG_fail
;
37864 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyValidator
, SWIG_POINTER_NEW
| 0 );
37871 SWIGINTERN PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37872 PyObject
*resultobj
= 0;
37873 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
37874 PyObject
*arg2
= (PyObject
*) 0 ;
37875 PyObject
*arg3
= (PyObject
*) 0 ;
37876 int arg4
= (int) true ;
37881 PyObject
* obj0
= 0 ;
37882 PyObject
* obj1
= 0 ;
37883 PyObject
* obj2
= 0 ;
37884 PyObject
* obj3
= 0 ;
37885 char * kwnames
[] = {
37886 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
37889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
37890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyValidator
, 0 | 0 );
37891 if (!SWIG_IsOK(res1
)) {
37892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyValidator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyValidator *""'");
37894 arg1
= reinterpret_cast< wxPyValidator
* >(argp1
);
37898 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
37899 if (!SWIG_IsOK(ecode4
)) {
37900 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyValidator__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
37902 arg4
= static_cast< int >(val4
);
37905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37906 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
37907 wxPyEndAllowThreads(__tstate
);
37908 if (PyErr_Occurred()) SWIG_fail
;
37910 resultobj
= SWIG_Py_Void();
37917 SWIGINTERN PyObject
*PyValidator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37919 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37920 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyValidator
, SWIG_NewClientData(obj
));
37921 return SWIG_Py_Void();
37924 SWIGINTERN PyObject
*PyValidator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37925 return SWIG_Python_InitShadowInstance(args
);
37928 SWIGINTERN
int DefaultValidator_set(PyObject
*) {
37929 SWIG_Error(SWIG_AttributeError
,"Variable DefaultValidator is read-only.");
37934 SWIGINTERN PyObject
*DefaultValidator_get(void) {
37935 PyObject
*pyobj
= 0;
37937 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0 );
37942 SWIGINTERN PyObject
*_wrap_new_Menu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37943 PyObject
*resultobj
= 0;
37944 wxString
const &arg1_defvalue
= wxPyEmptyString
;
37945 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
37946 long arg2
= (long) 0 ;
37947 wxMenu
*result
= 0 ;
37948 bool temp1
= false ;
37951 PyObject
* obj0
= 0 ;
37952 PyObject
* obj1
= 0 ;
37953 char * kwnames
[] = {
37954 (char *) "title",(char *) "style", NULL
37957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37960 arg1
= wxString_in_helper(obj0
);
37961 if (arg1
== NULL
) SWIG_fail
;
37966 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
37967 if (!SWIG_IsOK(ecode2
)) {
37968 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Menu" "', expected argument " "2"" of type '" "long""'");
37970 arg2
= static_cast< long >(val2
);
37973 if (!wxPyCheckForApp()) SWIG_fail
;
37974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37975 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
37976 wxPyEndAllowThreads(__tstate
);
37977 if (PyErr_Occurred()) SWIG_fail
;
37979 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMenu
, SWIG_POINTER_NEW
| 0 );
37994 SWIGINTERN PyObject
*_wrap_Menu_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37995 PyObject
*resultobj
= 0;
37996 wxMenu
*arg1
= (wxMenu
*) 0 ;
37998 wxString
*arg3
= 0 ;
37999 wxString
const &arg4_defvalue
= wxPyEmptyString
;
38000 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
38001 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
38002 wxMenuItem
*result
= 0 ;
38007 bool temp3
= false ;
38008 bool temp4
= false ;
38011 PyObject
* obj0
= 0 ;
38012 PyObject
* obj1
= 0 ;
38013 PyObject
* obj2
= 0 ;
38014 PyObject
* obj3
= 0 ;
38015 PyObject
* obj4
= 0 ;
38016 char * kwnames
[] = {
38017 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
38020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38022 if (!SWIG_IsOK(res1
)) {
38023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Append" "', expected argument " "1"" of type '" "wxMenu *""'");
38025 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38026 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38027 if (!SWIG_IsOK(ecode2
)) {
38028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Append" "', expected argument " "2"" of type '" "int""'");
38030 arg2
= static_cast< int >(val2
);
38032 arg3
= wxString_in_helper(obj2
);
38033 if (arg3
== NULL
) SWIG_fail
;
38038 arg4
= wxString_in_helper(obj3
);
38039 if (arg4
== NULL
) SWIG_fail
;
38044 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38045 if (!SWIG_IsOK(ecode5
)) {
38046 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Menu_Append" "', expected argument " "5"" of type '" "wxItemKind""'");
38048 arg5
= static_cast< wxItemKind
>(val5
);
38051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38052 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
38053 wxPyEndAllowThreads(__tstate
);
38054 if (PyErr_Occurred()) SWIG_fail
;
38057 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38081 SWIGINTERN PyObject
*_wrap_Menu_AppendSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38082 PyObject
*resultobj
= 0;
38083 wxMenu
*arg1
= (wxMenu
*) 0 ;
38084 wxMenuItem
*result
= 0 ;
38087 PyObject
*swig_obj
[1] ;
38089 if (!args
) SWIG_fail
;
38090 swig_obj
[0] = args
;
38091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38092 if (!SWIG_IsOK(res1
)) {
38093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendSeparator" "', expected argument " "1"" of type '" "wxMenu *""'");
38095 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38098 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
38099 wxPyEndAllowThreads(__tstate
);
38100 if (PyErr_Occurred()) SWIG_fail
;
38103 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38111 SWIGINTERN PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38112 PyObject
*resultobj
= 0;
38113 wxMenu
*arg1
= (wxMenu
*) 0 ;
38115 wxString
*arg3
= 0 ;
38116 wxString
const &arg4_defvalue
= wxPyEmptyString
;
38117 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
38118 wxMenuItem
*result
= 0 ;
38123 bool temp3
= false ;
38124 bool temp4
= false ;
38125 PyObject
* obj0
= 0 ;
38126 PyObject
* obj1
= 0 ;
38127 PyObject
* obj2
= 0 ;
38128 PyObject
* obj3
= 0 ;
38129 char * kwnames
[] = {
38130 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
38133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38135 if (!SWIG_IsOK(res1
)) {
38136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendCheckItem" "', expected argument " "1"" of type '" "wxMenu *""'");
38138 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38139 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38140 if (!SWIG_IsOK(ecode2
)) {
38141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_AppendCheckItem" "', expected argument " "2"" of type '" "int""'");
38143 arg2
= static_cast< int >(val2
);
38145 arg3
= wxString_in_helper(obj2
);
38146 if (arg3
== NULL
) SWIG_fail
;
38151 arg4
= wxString_in_helper(obj3
);
38152 if (arg4
== NULL
) SWIG_fail
;
38157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38158 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
38159 wxPyEndAllowThreads(__tstate
);
38160 if (PyErr_Occurred()) SWIG_fail
;
38163 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38187 SWIGINTERN PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38188 PyObject
*resultobj
= 0;
38189 wxMenu
*arg1
= (wxMenu
*) 0 ;
38191 wxString
*arg3
= 0 ;
38192 wxString
const &arg4_defvalue
= wxPyEmptyString
;
38193 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
38194 wxMenuItem
*result
= 0 ;
38199 bool temp3
= false ;
38200 bool temp4
= false ;
38201 PyObject
* obj0
= 0 ;
38202 PyObject
* obj1
= 0 ;
38203 PyObject
* obj2
= 0 ;
38204 PyObject
* obj3
= 0 ;
38205 char * kwnames
[] = {
38206 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
38209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38211 if (!SWIG_IsOK(res1
)) {
38212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendRadioItem" "', expected argument " "1"" of type '" "wxMenu *""'");
38214 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38215 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38216 if (!SWIG_IsOK(ecode2
)) {
38217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_AppendRadioItem" "', expected argument " "2"" of type '" "int""'");
38219 arg2
= static_cast< int >(val2
);
38221 arg3
= wxString_in_helper(obj2
);
38222 if (arg3
== NULL
) SWIG_fail
;
38227 arg4
= wxString_in_helper(obj3
);
38228 if (arg4
== NULL
) SWIG_fail
;
38233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38234 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
38235 wxPyEndAllowThreads(__tstate
);
38236 if (PyErr_Occurred()) SWIG_fail
;
38239 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38263 SWIGINTERN PyObject
*_wrap_Menu_AppendMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38264 PyObject
*resultobj
= 0;
38265 wxMenu
*arg1
= (wxMenu
*) 0 ;
38267 wxString
*arg3
= 0 ;
38268 wxMenu
*arg4
= (wxMenu
*) 0 ;
38269 wxString
const &arg5_defvalue
= wxPyEmptyString
;
38270 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
38271 wxMenuItem
*result
= 0 ;
38276 bool temp3
= false ;
38279 bool temp5
= false ;
38280 PyObject
* obj0
= 0 ;
38281 PyObject
* obj1
= 0 ;
38282 PyObject
* obj2
= 0 ;
38283 PyObject
* obj3
= 0 ;
38284 PyObject
* obj4
= 0 ;
38285 char * kwnames
[] = {
38286 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
38289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38291 if (!SWIG_IsOK(res1
)) {
38292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendMenu" "', expected argument " "1"" of type '" "wxMenu *""'");
38294 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38295 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38296 if (!SWIG_IsOK(ecode2
)) {
38297 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_AppendMenu" "', expected argument " "2"" of type '" "int""'");
38299 arg2
= static_cast< int >(val2
);
38301 arg3
= wxString_in_helper(obj2
);
38302 if (arg3
== NULL
) SWIG_fail
;
38305 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38306 if (!SWIG_IsOK(res4
)) {
38307 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Menu_AppendMenu" "', expected argument " "4"" of type '" "wxMenu *""'");
38309 arg4
= reinterpret_cast< wxMenu
* >(argp4
);
38312 arg5
= wxString_in_helper(obj4
);
38313 if (arg5
== NULL
) SWIG_fail
;
38318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38319 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
38320 wxPyEndAllowThreads(__tstate
);
38321 if (PyErr_Occurred()) SWIG_fail
;
38324 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38348 SWIGINTERN PyObject
*_wrap_Menu_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38349 PyObject
*resultobj
= 0;
38350 wxMenu
*arg1
= (wxMenu
*) 0 ;
38351 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
38352 wxMenuItem
*result
= 0 ;
38356 PyObject
* obj0
= 0 ;
38357 PyObject
* obj1
= 0 ;
38358 char * kwnames
[] = {
38359 (char *) "self",(char *) "item", NULL
38362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38364 if (!SWIG_IsOK(res1
)) {
38365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendItem" "', expected argument " "1"" of type '" "wxMenu *""'");
38367 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38368 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_DISOWN
| 0 );
38369 if (!SWIG_IsOK(res2
)) {
38370 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_AppendItem" "', expected argument " "2"" of type '" "wxMenuItem *""'");
38373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38374 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
38375 wxPyEndAllowThreads(__tstate
);
38376 if (PyErr_Occurred()) SWIG_fail
;
38379 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38387 SWIGINTERN PyObject
*_wrap_Menu_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38388 PyObject
*resultobj
= 0;
38389 wxMenu
*arg1
= (wxMenu
*) 0 ;
38391 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
38392 wxMenuItem
*result
= 0 ;
38398 PyObject
* obj0
= 0 ;
38399 PyObject
* obj1
= 0 ;
38400 PyObject
* obj2
= 0 ;
38401 char * kwnames
[] = {
38402 (char *) "self",(char *) "pos",(char *) "item", NULL
38405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38407 if (!SWIG_IsOK(res1
)) {
38408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_InsertItem" "', expected argument " "1"" of type '" "wxMenu *""'");
38410 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38411 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
38412 if (!SWIG_IsOK(ecode2
)) {
38413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_InsertItem" "', expected argument " "2"" of type '" "size_t""'");
38415 arg2
= static_cast< size_t >(val2
);
38416 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_DISOWN
| 0 );
38417 if (!SWIG_IsOK(res3
)) {
38418 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Menu_InsertItem" "', expected argument " "3"" of type '" "wxMenuItem *""'");
38421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38422 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
38423 wxPyEndAllowThreads(__tstate
);
38424 if (PyErr_Occurred()) SWIG_fail
;
38427 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38435 SWIGINTERN PyObject
*_wrap_Menu_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38436 PyObject
*resultobj
= 0;
38437 wxMenu
*arg1
= (wxMenu
*) 0 ;
38438 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
38439 wxMenuItem
*result
= 0 ;
38443 PyObject
* obj0
= 0 ;
38444 PyObject
* obj1
= 0 ;
38445 char * kwnames
[] = {
38446 (char *) "self",(char *) "item", NULL
38449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38451 if (!SWIG_IsOK(res1
)) {
38452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_PrependItem" "', expected argument " "1"" of type '" "wxMenu *""'");
38454 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38455 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_DISOWN
| 0 );
38456 if (!SWIG_IsOK(res2
)) {
38457 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_PrependItem" "', expected argument " "2"" of type '" "wxMenuItem *""'");
38460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38461 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
38462 wxPyEndAllowThreads(__tstate
);
38463 if (PyErr_Occurred()) SWIG_fail
;
38466 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38474 SWIGINTERN PyObject
*_wrap_Menu_Break(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38475 PyObject
*resultobj
= 0;
38476 wxMenu
*arg1
= (wxMenu
*) 0 ;
38479 PyObject
*swig_obj
[1] ;
38481 if (!args
) SWIG_fail
;
38482 swig_obj
[0] = args
;
38483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38484 if (!SWIG_IsOK(res1
)) {
38485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Break" "', expected argument " "1"" of type '" "wxMenu *""'");
38487 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38491 wxPyEndAllowThreads(__tstate
);
38492 if (PyErr_Occurred()) SWIG_fail
;
38494 resultobj
= SWIG_Py_Void();
38501 SWIGINTERN PyObject
*_wrap_Menu_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38502 PyObject
*resultobj
= 0;
38503 wxMenu
*arg1
= (wxMenu
*) 0 ;
38506 wxString
*arg4
= 0 ;
38507 wxString
const &arg5_defvalue
= wxPyEmptyString
;
38508 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
38509 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
38510 wxMenuItem
*result
= 0 ;
38517 bool temp4
= false ;
38518 bool temp5
= false ;
38521 PyObject
* obj0
= 0 ;
38522 PyObject
* obj1
= 0 ;
38523 PyObject
* obj2
= 0 ;
38524 PyObject
* obj3
= 0 ;
38525 PyObject
* obj4
= 0 ;
38526 PyObject
* obj5
= 0 ;
38527 char * kwnames
[] = {
38528 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
38531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38533 if (!SWIG_IsOK(res1
)) {
38534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Insert" "', expected argument " "1"" of type '" "wxMenu *""'");
38536 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38537 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
38538 if (!SWIG_IsOK(ecode2
)) {
38539 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Insert" "', expected argument " "2"" of type '" "size_t""'");
38541 arg2
= static_cast< size_t >(val2
);
38542 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38543 if (!SWIG_IsOK(ecode3
)) {
38544 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_Insert" "', expected argument " "3"" of type '" "int""'");
38546 arg3
= static_cast< int >(val3
);
38548 arg4
= wxString_in_helper(obj3
);
38549 if (arg4
== NULL
) SWIG_fail
;
38554 arg5
= wxString_in_helper(obj4
);
38555 if (arg5
== NULL
) SWIG_fail
;
38560 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38561 if (!SWIG_IsOK(ecode6
)) {
38562 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Menu_Insert" "', expected argument " "6"" of type '" "wxItemKind""'");
38564 arg6
= static_cast< wxItemKind
>(val6
);
38567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38568 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
);
38569 wxPyEndAllowThreads(__tstate
);
38570 if (PyErr_Occurred()) SWIG_fail
;
38573 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38597 SWIGINTERN PyObject
*_wrap_Menu_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38598 PyObject
*resultobj
= 0;
38599 wxMenu
*arg1
= (wxMenu
*) 0 ;
38601 wxMenuItem
*result
= 0 ;
38606 PyObject
* obj0
= 0 ;
38607 PyObject
* obj1
= 0 ;
38608 char * kwnames
[] = {
38609 (char *) "self",(char *) "pos", NULL
38612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38614 if (!SWIG_IsOK(res1
)) {
38615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_InsertSeparator" "', expected argument " "1"" of type '" "wxMenu *""'");
38617 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38618 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
38619 if (!SWIG_IsOK(ecode2
)) {
38620 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
38622 arg2
= static_cast< size_t >(val2
);
38624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38625 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
38626 wxPyEndAllowThreads(__tstate
);
38627 if (PyErr_Occurred()) SWIG_fail
;
38630 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38638 SWIGINTERN PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38639 PyObject
*resultobj
= 0;
38640 wxMenu
*arg1
= (wxMenu
*) 0 ;
38643 wxString
*arg4
= 0 ;
38644 wxString
const &arg5_defvalue
= wxPyEmptyString
;
38645 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
38646 wxMenuItem
*result
= 0 ;
38653 bool temp4
= false ;
38654 bool temp5
= false ;
38655 PyObject
* obj0
= 0 ;
38656 PyObject
* obj1
= 0 ;
38657 PyObject
* obj2
= 0 ;
38658 PyObject
* obj3
= 0 ;
38659 PyObject
* obj4
= 0 ;
38660 char * kwnames
[] = {
38661 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
38664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38666 if (!SWIG_IsOK(res1
)) {
38667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_InsertCheckItem" "', expected argument " "1"" of type '" "wxMenu *""'");
38669 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38670 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
38671 if (!SWIG_IsOK(ecode2
)) {
38672 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_InsertCheckItem" "', expected argument " "2"" of type '" "size_t""'");
38674 arg2
= static_cast< size_t >(val2
);
38675 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38676 if (!SWIG_IsOK(ecode3
)) {
38677 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_InsertCheckItem" "', expected argument " "3"" of type '" "int""'");
38679 arg3
= static_cast< int >(val3
);
38681 arg4
= wxString_in_helper(obj3
);
38682 if (arg4
== NULL
) SWIG_fail
;
38687 arg5
= wxString_in_helper(obj4
);
38688 if (arg5
== NULL
) SWIG_fail
;
38693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38694 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
38695 wxPyEndAllowThreads(__tstate
);
38696 if (PyErr_Occurred()) SWIG_fail
;
38699 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38723 SWIGINTERN PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38724 PyObject
*resultobj
= 0;
38725 wxMenu
*arg1
= (wxMenu
*) 0 ;
38728 wxString
*arg4
= 0 ;
38729 wxString
const &arg5_defvalue
= wxPyEmptyString
;
38730 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
38731 wxMenuItem
*result
= 0 ;
38738 bool temp4
= false ;
38739 bool temp5
= false ;
38740 PyObject
* obj0
= 0 ;
38741 PyObject
* obj1
= 0 ;
38742 PyObject
* obj2
= 0 ;
38743 PyObject
* obj3
= 0 ;
38744 PyObject
* obj4
= 0 ;
38745 char * kwnames
[] = {
38746 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
38749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38751 if (!SWIG_IsOK(res1
)) {
38752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_InsertRadioItem" "', expected argument " "1"" of type '" "wxMenu *""'");
38754 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38755 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
38756 if (!SWIG_IsOK(ecode2
)) {
38757 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_InsertRadioItem" "', expected argument " "2"" of type '" "size_t""'");
38759 arg2
= static_cast< size_t >(val2
);
38760 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38761 if (!SWIG_IsOK(ecode3
)) {
38762 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_InsertRadioItem" "', expected argument " "3"" of type '" "int""'");
38764 arg3
= static_cast< int >(val3
);
38766 arg4
= wxString_in_helper(obj3
);
38767 if (arg4
== NULL
) SWIG_fail
;
38772 arg5
= wxString_in_helper(obj4
);
38773 if (arg5
== NULL
) SWIG_fail
;
38778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38779 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
38780 wxPyEndAllowThreads(__tstate
);
38781 if (PyErr_Occurred()) SWIG_fail
;
38784 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38808 SWIGINTERN PyObject
*_wrap_Menu_InsertMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38809 PyObject
*resultobj
= 0;
38810 wxMenu
*arg1
= (wxMenu
*) 0 ;
38813 wxString
*arg4
= 0 ;
38814 wxMenu
*arg5
= (wxMenu
*) 0 ;
38815 wxString
const &arg6_defvalue
= wxPyEmptyString
;
38816 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
38817 wxMenuItem
*result
= 0 ;
38824 bool temp4
= false ;
38827 bool temp6
= false ;
38828 PyObject
* obj0
= 0 ;
38829 PyObject
* obj1
= 0 ;
38830 PyObject
* obj2
= 0 ;
38831 PyObject
* obj3
= 0 ;
38832 PyObject
* obj4
= 0 ;
38833 PyObject
* obj5
= 0 ;
38834 char * kwnames
[] = {
38835 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
38838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38840 if (!SWIG_IsOK(res1
)) {
38841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_InsertMenu" "', expected argument " "1"" of type '" "wxMenu *""'");
38843 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38844 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
38845 if (!SWIG_IsOK(ecode2
)) {
38846 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_InsertMenu" "', expected argument " "2"" of type '" "size_t""'");
38848 arg2
= static_cast< size_t >(val2
);
38849 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38850 if (!SWIG_IsOK(ecode3
)) {
38851 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_InsertMenu" "', expected argument " "3"" of type '" "int""'");
38853 arg3
= static_cast< int >(val3
);
38855 arg4
= wxString_in_helper(obj3
);
38856 if (arg4
== NULL
) SWIG_fail
;
38859 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38860 if (!SWIG_IsOK(res5
)) {
38861 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "Menu_InsertMenu" "', expected argument " "5"" of type '" "wxMenu *""'");
38863 arg5
= reinterpret_cast< wxMenu
* >(argp5
);
38866 arg6
= wxString_in_helper(obj5
);
38867 if (arg6
== NULL
) SWIG_fail
;
38872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38873 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
38874 wxPyEndAllowThreads(__tstate
);
38875 if (PyErr_Occurred()) SWIG_fail
;
38878 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38902 SWIGINTERN PyObject
*_wrap_Menu_Prepend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38903 PyObject
*resultobj
= 0;
38904 wxMenu
*arg1
= (wxMenu
*) 0 ;
38906 wxString
*arg3
= 0 ;
38907 wxString
const &arg4_defvalue
= wxPyEmptyString
;
38908 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
38909 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
38910 wxMenuItem
*result
= 0 ;
38915 bool temp3
= false ;
38916 bool temp4
= false ;
38919 PyObject
* obj0
= 0 ;
38920 PyObject
* obj1
= 0 ;
38921 PyObject
* obj2
= 0 ;
38922 PyObject
* obj3
= 0 ;
38923 PyObject
* obj4
= 0 ;
38924 char * kwnames
[] = {
38925 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
38928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38930 if (!SWIG_IsOK(res1
)) {
38931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Prepend" "', expected argument " "1"" of type '" "wxMenu *""'");
38933 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38934 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38935 if (!SWIG_IsOK(ecode2
)) {
38936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Prepend" "', expected argument " "2"" of type '" "int""'");
38938 arg2
= static_cast< int >(val2
);
38940 arg3
= wxString_in_helper(obj2
);
38941 if (arg3
== NULL
) SWIG_fail
;
38946 arg4
= wxString_in_helper(obj3
);
38947 if (arg4
== NULL
) SWIG_fail
;
38952 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38953 if (!SWIG_IsOK(ecode5
)) {
38954 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Menu_Prepend" "', expected argument " "5"" of type '" "wxItemKind""'");
38956 arg5
= static_cast< wxItemKind
>(val5
);
38959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38960 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
38961 wxPyEndAllowThreads(__tstate
);
38962 if (PyErr_Occurred()) SWIG_fail
;
38965 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38989 SWIGINTERN PyObject
*_wrap_Menu_PrependSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38990 PyObject
*resultobj
= 0;
38991 wxMenu
*arg1
= (wxMenu
*) 0 ;
38992 wxMenuItem
*result
= 0 ;
38995 PyObject
*swig_obj
[1] ;
38997 if (!args
) SWIG_fail
;
38998 swig_obj
[0] = args
;
38999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39000 if (!SWIG_IsOK(res1
)) {
39001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_PrependSeparator" "', expected argument " "1"" of type '" "wxMenu *""'");
39003 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39006 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
39007 wxPyEndAllowThreads(__tstate
);
39008 if (PyErr_Occurred()) SWIG_fail
;
39011 resultobj
= wxPyMake_wxObject(result
, (bool)0);
39019 SWIGINTERN PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39020 PyObject
*resultobj
= 0;
39021 wxMenu
*arg1
= (wxMenu
*) 0 ;
39023 wxString
*arg3
= 0 ;
39024 wxString
const &arg4_defvalue
= wxPyEmptyString
;
39025 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
39026 wxMenuItem
*result
= 0 ;
39031 bool temp3
= false ;
39032 bool temp4
= false ;
39033 PyObject
* obj0
= 0 ;
39034 PyObject
* obj1
= 0 ;
39035 PyObject
* obj2
= 0 ;
39036 PyObject
* obj3
= 0 ;
39037 char * kwnames
[] = {
39038 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
39041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39043 if (!SWIG_IsOK(res1
)) {
39044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_PrependCheckItem" "', expected argument " "1"" of type '" "wxMenu *""'");
39046 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39047 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39048 if (!SWIG_IsOK(ecode2
)) {
39049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_PrependCheckItem" "', expected argument " "2"" of type '" "int""'");
39051 arg2
= static_cast< int >(val2
);
39053 arg3
= wxString_in_helper(obj2
);
39054 if (arg3
== NULL
) SWIG_fail
;
39059 arg4
= wxString_in_helper(obj3
);
39060 if (arg4
== NULL
) SWIG_fail
;
39065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39066 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
39067 wxPyEndAllowThreads(__tstate
);
39068 if (PyErr_Occurred()) SWIG_fail
;
39071 resultobj
= wxPyMake_wxObject(result
, (bool)0);
39095 SWIGINTERN PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39096 PyObject
*resultobj
= 0;
39097 wxMenu
*arg1
= (wxMenu
*) 0 ;
39099 wxString
*arg3
= 0 ;
39100 wxString
const &arg4_defvalue
= wxPyEmptyString
;
39101 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
39102 wxMenuItem
*result
= 0 ;
39107 bool temp3
= false ;
39108 bool temp4
= false ;
39109 PyObject
* obj0
= 0 ;
39110 PyObject
* obj1
= 0 ;
39111 PyObject
* obj2
= 0 ;
39112 PyObject
* obj3
= 0 ;
39113 char * kwnames
[] = {
39114 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
39117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39119 if (!SWIG_IsOK(res1
)) {
39120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_PrependRadioItem" "', expected argument " "1"" of type '" "wxMenu *""'");
39122 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39123 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39124 if (!SWIG_IsOK(ecode2
)) {
39125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_PrependRadioItem" "', expected argument " "2"" of type '" "int""'");
39127 arg2
= static_cast< int >(val2
);
39129 arg3
= wxString_in_helper(obj2
);
39130 if (arg3
== NULL
) SWIG_fail
;
39135 arg4
= wxString_in_helper(obj3
);
39136 if (arg4
== NULL
) SWIG_fail
;
39141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39142 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
39143 wxPyEndAllowThreads(__tstate
);
39144 if (PyErr_Occurred()) SWIG_fail
;
39147 resultobj
= wxPyMake_wxObject(result
, (bool)0);
39171 SWIGINTERN PyObject
*_wrap_Menu_PrependMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39172 PyObject
*resultobj
= 0;
39173 wxMenu
*arg1
= (wxMenu
*) 0 ;
39175 wxString
*arg3
= 0 ;
39176 wxMenu
*arg4
= (wxMenu
*) 0 ;
39177 wxString
const &arg5_defvalue
= wxPyEmptyString
;
39178 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
39179 wxMenuItem
*result
= 0 ;
39184 bool temp3
= false ;
39187 bool temp5
= false ;
39188 PyObject
* obj0
= 0 ;
39189 PyObject
* obj1
= 0 ;
39190 PyObject
* obj2
= 0 ;
39191 PyObject
* obj3
= 0 ;
39192 PyObject
* obj4
= 0 ;
39193 char * kwnames
[] = {
39194 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
39197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39199 if (!SWIG_IsOK(res1
)) {
39200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_PrependMenu" "', expected argument " "1"" of type '" "wxMenu *""'");
39202 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39203 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39204 if (!SWIG_IsOK(ecode2
)) {
39205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_PrependMenu" "', expected argument " "2"" of type '" "int""'");
39207 arg2
= static_cast< int >(val2
);
39209 arg3
= wxString_in_helper(obj2
);
39210 if (arg3
== NULL
) SWIG_fail
;
39213 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39214 if (!SWIG_IsOK(res4
)) {
39215 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Menu_PrependMenu" "', expected argument " "4"" of type '" "wxMenu *""'");
39217 arg4
= reinterpret_cast< wxMenu
* >(argp4
);
39220 arg5
= wxString_in_helper(obj4
);
39221 if (arg5
== NULL
) SWIG_fail
;
39226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39227 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
39228 wxPyEndAllowThreads(__tstate
);
39229 if (PyErr_Occurred()) SWIG_fail
;
39232 resultobj
= wxPyMake_wxObject(result
, (bool)0);
39256 SWIGINTERN PyObject
*_wrap_Menu_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39257 PyObject
*resultobj
= 0;
39258 wxMenu
*arg1
= (wxMenu
*) 0 ;
39260 wxMenuItem
*result
= 0 ;
39265 PyObject
* obj0
= 0 ;
39266 PyObject
* obj1
= 0 ;
39267 char * kwnames
[] = {
39268 (char *) "self",(char *) "id", NULL
39271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39273 if (!SWIG_IsOK(res1
)) {
39274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Remove" "', expected argument " "1"" of type '" "wxMenu *""'");
39276 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39277 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39278 if (!SWIG_IsOK(ecode2
)) {
39279 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Remove" "', expected argument " "2"" of type '" "int""'");
39281 arg2
= static_cast< int >(val2
);
39283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39284 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
39285 wxPyEndAllowThreads(__tstate
);
39286 if (PyErr_Occurred()) SWIG_fail
;
39289 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
39297 SWIGINTERN PyObject
*_wrap_Menu_RemoveItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39298 PyObject
*resultobj
= 0;
39299 wxMenu
*arg1
= (wxMenu
*) 0 ;
39300 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
39301 wxMenuItem
*result
= 0 ;
39306 PyObject
* obj0
= 0 ;
39307 PyObject
* obj1
= 0 ;
39308 char * kwnames
[] = {
39309 (char *) "self",(char *) "item", NULL
39312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39314 if (!SWIG_IsOK(res1
)) {
39315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_RemoveItem" "', expected argument " "1"" of type '" "wxMenu *""'");
39317 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39318 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
39319 if (!SWIG_IsOK(res2
)) {
39320 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_RemoveItem" "', expected argument " "2"" of type '" "wxMenuItem *""'");
39322 arg2
= reinterpret_cast< wxMenuItem
* >(argp2
);
39324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39325 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
39326 wxPyEndAllowThreads(__tstate
);
39327 if (PyErr_Occurred()) SWIG_fail
;
39330 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
39338 SWIGINTERN PyObject
*_wrap_Menu_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39339 PyObject
*resultobj
= 0;
39340 wxMenu
*arg1
= (wxMenu
*) 0 ;
39347 PyObject
* obj0
= 0 ;
39348 PyObject
* obj1
= 0 ;
39349 char * kwnames
[] = {
39350 (char *) "self",(char *) "id", NULL
39353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39355 if (!SWIG_IsOK(res1
)) {
39356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Delete" "', expected argument " "1"" of type '" "wxMenu *""'");
39358 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39359 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39360 if (!SWIG_IsOK(ecode2
)) {
39361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Delete" "', expected argument " "2"" of type '" "int""'");
39363 arg2
= static_cast< int >(val2
);
39365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39366 result
= (bool)(arg1
)->Delete(arg2
);
39367 wxPyEndAllowThreads(__tstate
);
39368 if (PyErr_Occurred()) SWIG_fail
;
39371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39379 SWIGINTERN PyObject
*_wrap_Menu_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39380 PyObject
*resultobj
= 0;
39381 wxMenu
*arg1
= (wxMenu
*) 0 ;
39382 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
39388 PyObject
* obj0
= 0 ;
39389 PyObject
* obj1
= 0 ;
39390 char * kwnames
[] = {
39391 (char *) "self",(char *) "item", NULL
39394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39396 if (!SWIG_IsOK(res1
)) {
39397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_DeleteItem" "', expected argument " "1"" of type '" "wxMenu *""'");
39399 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39400 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
39401 if (!SWIG_IsOK(res2
)) {
39402 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_DeleteItem" "', expected argument " "2"" of type '" "wxMenuItem *""'");
39404 arg2
= reinterpret_cast< wxMenuItem
* >(argp2
);
39406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39407 result
= (bool)(arg1
)->Delete(arg2
);
39408 wxPyEndAllowThreads(__tstate
);
39409 if (PyErr_Occurred()) SWIG_fail
;
39412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39420 SWIGINTERN PyObject
*_wrap_Menu_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39421 PyObject
*resultobj
= 0;
39422 wxMenu
*arg1
= (wxMenu
*) 0 ;
39425 PyObject
*swig_obj
[1] ;
39427 if (!args
) SWIG_fail
;
39428 swig_obj
[0] = args
;
39429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39430 if (!SWIG_IsOK(res1
)) {
39431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Destroy" "', expected argument " "1"" of type '" "wxMenu *""'");
39433 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39436 wxMenu_Destroy(arg1
);
39437 wxPyEndAllowThreads(__tstate
);
39438 if (PyErr_Occurred()) SWIG_fail
;
39440 resultobj
= SWIG_Py_Void();
39447 SWIGINTERN PyObject
*_wrap_Menu_DestroyId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39448 PyObject
*resultobj
= 0;
39449 wxMenu
*arg1
= (wxMenu
*) 0 ;
39456 PyObject
* obj0
= 0 ;
39457 PyObject
* obj1
= 0 ;
39458 char * kwnames
[] = {
39459 (char *) "self",(char *) "id", NULL
39462 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39463 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39464 if (!SWIG_IsOK(res1
)) {
39465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_DestroyId" "', expected argument " "1"" of type '" "wxMenu *""'");
39467 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39468 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39469 if (!SWIG_IsOK(ecode2
)) {
39470 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_DestroyId" "', expected argument " "2"" of type '" "int""'");
39472 arg2
= static_cast< int >(val2
);
39474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39475 result
= (bool)(arg1
)->Destroy(arg2
);
39476 wxPyEndAllowThreads(__tstate
);
39477 if (PyErr_Occurred()) SWIG_fail
;
39480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39488 SWIGINTERN PyObject
*_wrap_Menu_DestroyItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39489 PyObject
*resultobj
= 0;
39490 wxMenu
*arg1
= (wxMenu
*) 0 ;
39491 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
39497 PyObject
* obj0
= 0 ;
39498 PyObject
* obj1
= 0 ;
39499 char * kwnames
[] = {
39500 (char *) "self",(char *) "item", NULL
39503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39505 if (!SWIG_IsOK(res1
)) {
39506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_DestroyItem" "', expected argument " "1"" of type '" "wxMenu *""'");
39508 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39509 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
39510 if (!SWIG_IsOK(res2
)) {
39511 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_DestroyItem" "', expected argument " "2"" of type '" "wxMenuItem *""'");
39513 arg2
= reinterpret_cast< wxMenuItem
* >(argp2
);
39515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39516 result
= (bool)(arg1
)->Destroy(arg2
);
39517 wxPyEndAllowThreads(__tstate
);
39518 if (PyErr_Occurred()) SWIG_fail
;
39521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39529 SWIGINTERN PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39530 PyObject
*resultobj
= 0;
39531 wxMenu
*arg1
= (wxMenu
*) 0 ;
39535 PyObject
*swig_obj
[1] ;
39537 if (!args
) SWIG_fail
;
39538 swig_obj
[0] = args
;
39539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39540 if (!SWIG_IsOK(res1
)) {
39541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetMenuItemCount" "', expected argument " "1"" of type '" "wxMenu const *""'");
39543 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39546 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
39547 wxPyEndAllowThreads(__tstate
);
39548 if (PyErr_Occurred()) SWIG_fail
;
39550 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
39557 SWIGINTERN PyObject
*_wrap_Menu_GetMenuItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39558 PyObject
*resultobj
= 0;
39559 wxMenu
*arg1
= (wxMenu
*) 0 ;
39560 PyObject
*result
= 0 ;
39563 PyObject
*swig_obj
[1] ;
39565 if (!args
) SWIG_fail
;
39566 swig_obj
[0] = args
;
39567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39568 if (!SWIG_IsOK(res1
)) {
39569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetMenuItems" "', expected argument " "1"" of type '" "wxMenu *""'");
39571 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39574 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
39575 wxPyEndAllowThreads(__tstate
);
39576 if (PyErr_Occurred()) SWIG_fail
;
39578 resultobj
= result
;
39585 SWIGINTERN PyObject
*_wrap_Menu_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39586 PyObject
*resultobj
= 0;
39587 wxMenu
*arg1
= (wxMenu
*) 0 ;
39588 wxString
*arg2
= 0 ;
39592 bool temp2
= false ;
39593 PyObject
* obj0
= 0 ;
39594 PyObject
* obj1
= 0 ;
39595 char * kwnames
[] = {
39596 (char *) "self",(char *) "item", NULL
39599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39601 if (!SWIG_IsOK(res1
)) {
39602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_FindItem" "', expected argument " "1"" of type '" "wxMenu const *""'");
39604 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39606 arg2
= wxString_in_helper(obj1
);
39607 if (arg2
== NULL
) SWIG_fail
;
39611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39612 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
39613 wxPyEndAllowThreads(__tstate
);
39614 if (PyErr_Occurred()) SWIG_fail
;
39616 resultobj
= SWIG_From_int(static_cast< int >(result
));
39631 SWIGINTERN PyObject
*_wrap_Menu_FindItemById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39632 PyObject
*resultobj
= 0;
39633 wxMenu
*arg1
= (wxMenu
*) 0 ;
39635 wxMenuItem
*result
= 0 ;
39640 PyObject
* obj0
= 0 ;
39641 PyObject
* obj1
= 0 ;
39642 char * kwnames
[] = {
39643 (char *) "self",(char *) "id", NULL
39646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39648 if (!SWIG_IsOK(res1
)) {
39649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_FindItemById" "', expected argument " "1"" of type '" "wxMenu const *""'");
39651 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39652 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39653 if (!SWIG_IsOK(ecode2
)) {
39654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_FindItemById" "', expected argument " "2"" of type '" "int""'");
39656 arg2
= static_cast< int >(val2
);
39658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39659 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
39660 wxPyEndAllowThreads(__tstate
);
39661 if (PyErr_Occurred()) SWIG_fail
;
39664 resultobj
= wxPyMake_wxObject(result
, (bool)0);
39672 SWIGINTERN PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39673 PyObject
*resultobj
= 0;
39674 wxMenu
*arg1
= (wxMenu
*) 0 ;
39676 wxMenuItem
*result
= 0 ;
39681 PyObject
* obj0
= 0 ;
39682 PyObject
* obj1
= 0 ;
39683 char * kwnames
[] = {
39684 (char *) "self",(char *) "position", NULL
39687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39689 if (!SWIG_IsOK(res1
)) {
39690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_FindItemByPosition" "', expected argument " "1"" of type '" "wxMenu const *""'");
39692 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39693 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
39694 if (!SWIG_IsOK(ecode2
)) {
39695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_FindItemByPosition" "', expected argument " "2"" of type '" "size_t""'");
39697 arg2
= static_cast< size_t >(val2
);
39699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39700 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
39701 wxPyEndAllowThreads(__tstate
);
39702 if (PyErr_Occurred()) SWIG_fail
;
39705 resultobj
= wxPyMake_wxObject(result
, (bool)0);
39713 SWIGINTERN PyObject
*_wrap_Menu_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39714 PyObject
*resultobj
= 0;
39715 wxMenu
*arg1
= (wxMenu
*) 0 ;
39724 PyObject
* obj0
= 0 ;
39725 PyObject
* obj1
= 0 ;
39726 PyObject
* obj2
= 0 ;
39727 char * kwnames
[] = {
39728 (char *) "self",(char *) "id",(char *) "enable", NULL
39731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39733 if (!SWIG_IsOK(res1
)) {
39734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Enable" "', expected argument " "1"" of type '" "wxMenu *""'");
39736 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39737 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39738 if (!SWIG_IsOK(ecode2
)) {
39739 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Enable" "', expected argument " "2"" of type '" "int""'");
39741 arg2
= static_cast< int >(val2
);
39742 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
39743 if (!SWIG_IsOK(ecode3
)) {
39744 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_Enable" "', expected argument " "3"" of type '" "bool""'");
39746 arg3
= static_cast< bool >(val3
);
39748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39749 (arg1
)->Enable(arg2
,arg3
);
39750 wxPyEndAllowThreads(__tstate
);
39751 if (PyErr_Occurred()) SWIG_fail
;
39753 resultobj
= SWIG_Py_Void();
39760 SWIGINTERN PyObject
*_wrap_Menu_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39761 PyObject
*resultobj
= 0;
39762 wxMenu
*arg1
= (wxMenu
*) 0 ;
39769 PyObject
* obj0
= 0 ;
39770 PyObject
* obj1
= 0 ;
39771 char * kwnames
[] = {
39772 (char *) "self",(char *) "id", NULL
39775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39777 if (!SWIG_IsOK(res1
)) {
39778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_IsEnabled" "', expected argument " "1"" of type '" "wxMenu const *""'");
39780 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39781 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39782 if (!SWIG_IsOK(ecode2
)) {
39783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_IsEnabled" "', expected argument " "2"" of type '" "int""'");
39785 arg2
= static_cast< int >(val2
);
39787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39788 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
39789 wxPyEndAllowThreads(__tstate
);
39790 if (PyErr_Occurred()) SWIG_fail
;
39793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39801 SWIGINTERN PyObject
*_wrap_Menu_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39802 PyObject
*resultobj
= 0;
39803 wxMenu
*arg1
= (wxMenu
*) 0 ;
39812 PyObject
* obj0
= 0 ;
39813 PyObject
* obj1
= 0 ;
39814 PyObject
* obj2
= 0 ;
39815 char * kwnames
[] = {
39816 (char *) "self",(char *) "id",(char *) "check", NULL
39819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39821 if (!SWIG_IsOK(res1
)) {
39822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Check" "', expected argument " "1"" of type '" "wxMenu *""'");
39824 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39825 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39826 if (!SWIG_IsOK(ecode2
)) {
39827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Check" "', expected argument " "2"" of type '" "int""'");
39829 arg2
= static_cast< int >(val2
);
39830 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
39831 if (!SWIG_IsOK(ecode3
)) {
39832 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_Check" "', expected argument " "3"" of type '" "bool""'");
39834 arg3
= static_cast< bool >(val3
);
39836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39837 (arg1
)->Check(arg2
,arg3
);
39838 wxPyEndAllowThreads(__tstate
);
39839 if (PyErr_Occurred()) SWIG_fail
;
39841 resultobj
= SWIG_Py_Void();
39848 SWIGINTERN PyObject
*_wrap_Menu_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39849 PyObject
*resultobj
= 0;
39850 wxMenu
*arg1
= (wxMenu
*) 0 ;
39857 PyObject
* obj0
= 0 ;
39858 PyObject
* obj1
= 0 ;
39859 char * kwnames
[] = {
39860 (char *) "self",(char *) "id", NULL
39863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39865 if (!SWIG_IsOK(res1
)) {
39866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_IsChecked" "', expected argument " "1"" of type '" "wxMenu const *""'");
39868 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39869 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39870 if (!SWIG_IsOK(ecode2
)) {
39871 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_IsChecked" "', expected argument " "2"" of type '" "int""'");
39873 arg2
= static_cast< int >(val2
);
39875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39876 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
39877 wxPyEndAllowThreads(__tstate
);
39878 if (PyErr_Occurred()) SWIG_fail
;
39881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39889 SWIGINTERN PyObject
*_wrap_Menu_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39890 PyObject
*resultobj
= 0;
39891 wxMenu
*arg1
= (wxMenu
*) 0 ;
39893 wxString
*arg3
= 0 ;
39898 bool temp3
= false ;
39899 PyObject
* obj0
= 0 ;
39900 PyObject
* obj1
= 0 ;
39901 PyObject
* obj2
= 0 ;
39902 char * kwnames
[] = {
39903 (char *) "self",(char *) "id",(char *) "label", NULL
39906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
39907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39908 if (!SWIG_IsOK(res1
)) {
39909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetLabel" "', expected argument " "1"" of type '" "wxMenu *""'");
39911 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39912 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39913 if (!SWIG_IsOK(ecode2
)) {
39914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_SetLabel" "', expected argument " "2"" of type '" "int""'");
39916 arg2
= static_cast< int >(val2
);
39918 arg3
= wxString_in_helper(obj2
);
39919 if (arg3
== NULL
) SWIG_fail
;
39923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39924 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
39925 wxPyEndAllowThreads(__tstate
);
39926 if (PyErr_Occurred()) SWIG_fail
;
39928 resultobj
= SWIG_Py_Void();
39943 SWIGINTERN PyObject
*_wrap_Menu_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39944 PyObject
*resultobj
= 0;
39945 wxMenu
*arg1
= (wxMenu
*) 0 ;
39952 PyObject
* obj0
= 0 ;
39953 PyObject
* obj1
= 0 ;
39954 char * kwnames
[] = {
39955 (char *) "self",(char *) "id", NULL
39958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39960 if (!SWIG_IsOK(res1
)) {
39961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetLabel" "', expected argument " "1"" of type '" "wxMenu const *""'");
39963 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39964 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39965 if (!SWIG_IsOK(ecode2
)) {
39966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_GetLabel" "', expected argument " "2"" of type '" "int""'");
39968 arg2
= static_cast< int >(val2
);
39970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39971 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
39972 wxPyEndAllowThreads(__tstate
);
39973 if (PyErr_Occurred()) SWIG_fail
;
39977 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
39979 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
39988 SWIGINTERN PyObject
*_wrap_Menu_SetHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39989 PyObject
*resultobj
= 0;
39990 wxMenu
*arg1
= (wxMenu
*) 0 ;
39992 wxString
*arg3
= 0 ;
39997 bool temp3
= false ;
39998 PyObject
* obj0
= 0 ;
39999 PyObject
* obj1
= 0 ;
40000 PyObject
* obj2
= 0 ;
40001 char * kwnames
[] = {
40002 (char *) "self",(char *) "id",(char *) "helpString", NULL
40005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40007 if (!SWIG_IsOK(res1
)) {
40008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetHelpString" "', expected argument " "1"" of type '" "wxMenu *""'");
40010 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40011 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40012 if (!SWIG_IsOK(ecode2
)) {
40013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_SetHelpString" "', expected argument " "2"" of type '" "int""'");
40015 arg2
= static_cast< int >(val2
);
40017 arg3
= wxString_in_helper(obj2
);
40018 if (arg3
== NULL
) SWIG_fail
;
40022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40023 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
40024 wxPyEndAllowThreads(__tstate
);
40025 if (PyErr_Occurred()) SWIG_fail
;
40027 resultobj
= SWIG_Py_Void();
40042 SWIGINTERN PyObject
*_wrap_Menu_GetHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40043 PyObject
*resultobj
= 0;
40044 wxMenu
*arg1
= (wxMenu
*) 0 ;
40051 PyObject
* obj0
= 0 ;
40052 PyObject
* obj1
= 0 ;
40053 char * kwnames
[] = {
40054 (char *) "self",(char *) "id", NULL
40057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40059 if (!SWIG_IsOK(res1
)) {
40060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetHelpString" "', expected argument " "1"" of type '" "wxMenu const *""'");
40062 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40063 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40064 if (!SWIG_IsOK(ecode2
)) {
40065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_GetHelpString" "', expected argument " "2"" of type '" "int""'");
40067 arg2
= static_cast< int >(val2
);
40069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40070 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
40071 wxPyEndAllowThreads(__tstate
);
40072 if (PyErr_Occurred()) SWIG_fail
;
40076 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40078 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40087 SWIGINTERN PyObject
*_wrap_Menu_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40088 PyObject
*resultobj
= 0;
40089 wxMenu
*arg1
= (wxMenu
*) 0 ;
40090 wxString
*arg2
= 0 ;
40093 bool temp2
= false ;
40094 PyObject
* obj0
= 0 ;
40095 PyObject
* obj1
= 0 ;
40096 char * kwnames
[] = {
40097 (char *) "self",(char *) "title", NULL
40100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40102 if (!SWIG_IsOK(res1
)) {
40103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetTitle" "', expected argument " "1"" of type '" "wxMenu *""'");
40105 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40107 arg2
= wxString_in_helper(obj1
);
40108 if (arg2
== NULL
) SWIG_fail
;
40112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40113 (arg1
)->SetTitle((wxString
const &)*arg2
);
40114 wxPyEndAllowThreads(__tstate
);
40115 if (PyErr_Occurred()) SWIG_fail
;
40117 resultobj
= SWIG_Py_Void();
40132 SWIGINTERN PyObject
*_wrap_Menu_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40133 PyObject
*resultobj
= 0;
40134 wxMenu
*arg1
= (wxMenu
*) 0 ;
40138 PyObject
*swig_obj
[1] ;
40140 if (!args
) SWIG_fail
;
40141 swig_obj
[0] = args
;
40142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40143 if (!SWIG_IsOK(res1
)) {
40144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetTitle" "', expected argument " "1"" of type '" "wxMenu const *""'");
40146 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40149 result
= ((wxMenu
const *)arg1
)->GetTitle();
40150 wxPyEndAllowThreads(__tstate
);
40151 if (PyErr_Occurred()) SWIG_fail
;
40155 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40157 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40166 SWIGINTERN PyObject
*_wrap_Menu_SetEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40167 PyObject
*resultobj
= 0;
40168 wxMenu
*arg1
= (wxMenu
*) 0 ;
40169 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
40174 PyObject
* obj0
= 0 ;
40175 PyObject
* obj1
= 0 ;
40176 char * kwnames
[] = {
40177 (char *) "self",(char *) "handler", NULL
40180 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40181 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40182 if (!SWIG_IsOK(res1
)) {
40183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetEventHandler" "', expected argument " "1"" of type '" "wxMenu *""'");
40185 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40186 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
40187 if (!SWIG_IsOK(res2
)) {
40188 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_SetEventHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
40190 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
40192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40193 (arg1
)->SetEventHandler(arg2
);
40194 wxPyEndAllowThreads(__tstate
);
40195 if (PyErr_Occurred()) SWIG_fail
;
40197 resultobj
= SWIG_Py_Void();
40204 SWIGINTERN PyObject
*_wrap_Menu_GetEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40205 PyObject
*resultobj
= 0;
40206 wxMenu
*arg1
= (wxMenu
*) 0 ;
40207 wxEvtHandler
*result
= 0 ;
40210 PyObject
*swig_obj
[1] ;
40212 if (!args
) SWIG_fail
;
40213 swig_obj
[0] = args
;
40214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40215 if (!SWIG_IsOK(res1
)) {
40216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetEventHandler" "', expected argument " "1"" of type '" "wxMenu const *""'");
40218 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40221 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
40222 wxPyEndAllowThreads(__tstate
);
40223 if (PyErr_Occurred()) SWIG_fail
;
40226 resultobj
= wxPyMake_wxObject(result
, 0);
40234 SWIGINTERN PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40235 PyObject
*resultobj
= 0;
40236 wxMenu
*arg1
= (wxMenu
*) 0 ;
40237 wxWindow
*arg2
= (wxWindow
*) 0 ;
40242 PyObject
* obj0
= 0 ;
40243 PyObject
* obj1
= 0 ;
40244 char * kwnames
[] = {
40245 (char *) "self",(char *) "win", NULL
40248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40250 if (!SWIG_IsOK(res1
)) {
40251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetInvokingWindow" "', expected argument " "1"" of type '" "wxMenu *""'");
40253 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40254 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40255 if (!SWIG_IsOK(res2
)) {
40256 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_SetInvokingWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
40258 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40261 (arg1
)->SetInvokingWindow(arg2
);
40262 wxPyEndAllowThreads(__tstate
);
40263 if (PyErr_Occurred()) SWIG_fail
;
40265 resultobj
= SWIG_Py_Void();
40272 SWIGINTERN PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40273 PyObject
*resultobj
= 0;
40274 wxMenu
*arg1
= (wxMenu
*) 0 ;
40275 wxWindow
*result
= 0 ;
40278 PyObject
*swig_obj
[1] ;
40280 if (!args
) SWIG_fail
;
40281 swig_obj
[0] = args
;
40282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40283 if (!SWIG_IsOK(res1
)) {
40284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetInvokingWindow" "', expected argument " "1"" of type '" "wxMenu const *""'");
40286 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40289 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
40290 wxPyEndAllowThreads(__tstate
);
40291 if (PyErr_Occurred()) SWIG_fail
;
40294 resultobj
= wxPyMake_wxObject(result
, 0);
40302 SWIGINTERN PyObject
*_wrap_Menu_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40303 PyObject
*resultobj
= 0;
40304 wxMenu
*arg1
= (wxMenu
*) 0 ;
40308 PyObject
*swig_obj
[1] ;
40310 if (!args
) SWIG_fail
;
40311 swig_obj
[0] = args
;
40312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40313 if (!SWIG_IsOK(res1
)) {
40314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetStyle" "', expected argument " "1"" of type '" "wxMenu const *""'");
40316 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40319 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
40320 wxPyEndAllowThreads(__tstate
);
40321 if (PyErr_Occurred()) SWIG_fail
;
40323 resultobj
= SWIG_From_long(static_cast< long >(result
));
40330 SWIGINTERN PyObject
*_wrap_Menu_UpdateUI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40331 PyObject
*resultobj
= 0;
40332 wxMenu
*arg1
= (wxMenu
*) 0 ;
40333 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
40338 PyObject
* obj0
= 0 ;
40339 PyObject
* obj1
= 0 ;
40340 char * kwnames
[] = {
40341 (char *) "self",(char *) "source", NULL
40344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40346 if (!SWIG_IsOK(res1
)) {
40347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_UpdateUI" "', expected argument " "1"" of type '" "wxMenu *""'");
40349 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40351 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
40352 if (!SWIG_IsOK(res2
)) {
40353 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_UpdateUI" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
40355 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
40358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40359 (arg1
)->UpdateUI(arg2
);
40360 wxPyEndAllowThreads(__tstate
);
40361 if (PyErr_Occurred()) SWIG_fail
;
40363 resultobj
= SWIG_Py_Void();
40370 SWIGINTERN PyObject
*_wrap_Menu_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40371 PyObject
*resultobj
= 0;
40372 wxMenu
*arg1
= (wxMenu
*) 0 ;
40373 wxMenuBar
*result
= 0 ;
40376 PyObject
*swig_obj
[1] ;
40378 if (!args
) SWIG_fail
;
40379 swig_obj
[0] = args
;
40380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40381 if (!SWIG_IsOK(res1
)) {
40382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetMenuBar" "', expected argument " "1"" of type '" "wxMenu const *""'");
40384 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40387 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
40388 wxPyEndAllowThreads(__tstate
);
40389 if (PyErr_Occurred()) SWIG_fail
;
40392 resultobj
= wxPyMake_wxObject(result
, (bool)0);
40400 SWIGINTERN PyObject
*_wrap_Menu_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40401 PyObject
*resultobj
= 0;
40402 wxMenu
*arg1
= (wxMenu
*) 0 ;
40403 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
40408 PyObject
* obj0
= 0 ;
40409 PyObject
* obj1
= 0 ;
40410 char * kwnames
[] = {
40411 (char *) "self",(char *) "menubar", NULL
40414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40416 if (!SWIG_IsOK(res1
)) {
40417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Attach" "', expected argument " "1"" of type '" "wxMenu *""'");
40419 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40420 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBarBase
, 0 | 0 );
40421 if (!SWIG_IsOK(res2
)) {
40422 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_Attach" "', expected argument " "2"" of type '" "wxMenuBarBase *""'");
40424 arg2
= reinterpret_cast< wxMenuBarBase
* >(argp2
);
40426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40427 (arg1
)->Attach(arg2
);
40428 wxPyEndAllowThreads(__tstate
);
40429 if (PyErr_Occurred()) SWIG_fail
;
40431 resultobj
= SWIG_Py_Void();
40438 SWIGINTERN PyObject
*_wrap_Menu_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40439 PyObject
*resultobj
= 0;
40440 wxMenu
*arg1
= (wxMenu
*) 0 ;
40443 PyObject
*swig_obj
[1] ;
40445 if (!args
) SWIG_fail
;
40446 swig_obj
[0] = args
;
40447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40448 if (!SWIG_IsOK(res1
)) {
40449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Detach" "', expected argument " "1"" of type '" "wxMenu *""'");
40451 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40455 wxPyEndAllowThreads(__tstate
);
40456 if (PyErr_Occurred()) SWIG_fail
;
40458 resultobj
= SWIG_Py_Void();
40465 SWIGINTERN PyObject
*_wrap_Menu_IsAttached(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40466 PyObject
*resultobj
= 0;
40467 wxMenu
*arg1
= (wxMenu
*) 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_wxMenu
, 0 | 0 );
40476 if (!SWIG_IsOK(res1
)) {
40477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_IsAttached" "', expected argument " "1"" of type '" "wxMenu const *""'");
40479 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40482 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
40483 wxPyEndAllowThreads(__tstate
);
40484 if (PyErr_Occurred()) SWIG_fail
;
40487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40495 SWIGINTERN PyObject
*_wrap_Menu_SetParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40496 PyObject
*resultobj
= 0;
40497 wxMenu
*arg1
= (wxMenu
*) 0 ;
40498 wxMenu
*arg2
= (wxMenu
*) 0 ;
40503 PyObject
* obj0
= 0 ;
40504 PyObject
* obj1
= 0 ;
40505 char * kwnames
[] = {
40506 (char *) "self",(char *) "parent", NULL
40509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40511 if (!SWIG_IsOK(res1
)) {
40512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetParent" "', expected argument " "1"" of type '" "wxMenu *""'");
40514 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40515 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40516 if (!SWIG_IsOK(res2
)) {
40517 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_SetParent" "', expected argument " "2"" of type '" "wxMenu *""'");
40519 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
40521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40522 (arg1
)->SetParent(arg2
);
40523 wxPyEndAllowThreads(__tstate
);
40524 if (PyErr_Occurred()) SWIG_fail
;
40526 resultobj
= SWIG_Py_Void();
40533 SWIGINTERN PyObject
*_wrap_Menu_GetParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40534 PyObject
*resultobj
= 0;
40535 wxMenu
*arg1
= (wxMenu
*) 0 ;
40536 wxMenu
*result
= 0 ;
40539 PyObject
*swig_obj
[1] ;
40541 if (!args
) SWIG_fail
;
40542 swig_obj
[0] = args
;
40543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40544 if (!SWIG_IsOK(res1
)) {
40545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetParent" "', expected argument " "1"" of type '" "wxMenu const *""'");
40547 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40550 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
40551 wxPyEndAllowThreads(__tstate
);
40552 if (PyErr_Occurred()) SWIG_fail
;
40555 resultobj
= wxPyMake_wxObject(result
, 0);
40563 SWIGINTERN PyObject
*Menu_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40565 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40566 SWIG_TypeNewClientData(SWIGTYPE_p_wxMenu
, SWIG_NewClientData(obj
));
40567 return SWIG_Py_Void();
40570 SWIGINTERN PyObject
*Menu_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40571 return SWIG_Python_InitShadowInstance(args
);
40574 SWIGINTERN PyObject
*_wrap_new_MenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40575 PyObject
*resultobj
= 0;
40576 long arg1
= (long) 0 ;
40577 wxMenuBar
*result
= 0 ;
40580 PyObject
* obj0
= 0 ;
40581 char * kwnames
[] = {
40582 (char *) "style", NULL
40585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) SWIG_fail
;
40587 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
40588 if (!SWIG_IsOK(ecode1
)) {
40589 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MenuBar" "', expected argument " "1"" of type '" "long""'");
40591 arg1
= static_cast< long >(val1
);
40594 if (!wxPyCheckForApp()) SWIG_fail
;
40595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40596 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
40597 wxPyEndAllowThreads(__tstate
);
40598 if (PyErr_Occurred()) SWIG_fail
;
40600 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_NEW
| 0 );
40607 SWIGINTERN PyObject
*_wrap_MenuBar_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40608 PyObject
*resultobj
= 0;
40609 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
40610 wxMenu
*arg2
= (wxMenu
*) 0 ;
40611 wxString
*arg3
= 0 ;
40617 bool temp3
= false ;
40618 PyObject
* obj0
= 0 ;
40619 PyObject
* obj1
= 0 ;
40620 PyObject
* obj2
= 0 ;
40621 char * kwnames
[] = {
40622 (char *) "self",(char *) "menu",(char *) "title", NULL
40625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
40627 if (!SWIG_IsOK(res1
)) {
40628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Append" "', expected argument " "1"" of type '" "wxMenuBar *""'");
40630 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
40631 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40632 if (!SWIG_IsOK(res2
)) {
40633 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuBar_Append" "', expected argument " "2"" of type '" "wxMenu *""'");
40635 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
40637 arg3
= wxString_in_helper(obj2
);
40638 if (arg3
== NULL
) SWIG_fail
;
40642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40643 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
40644 wxPyEndAllowThreads(__tstate
);
40645 if (PyErr_Occurred()) SWIG_fail
;
40648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40664 SWIGINTERN PyObject
*_wrap_MenuBar_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40665 PyObject
*resultobj
= 0;
40666 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
40668 wxMenu
*arg3
= (wxMenu
*) 0 ;
40669 wxString
*arg4
= 0 ;
40677 bool temp4
= false ;
40678 PyObject
* obj0
= 0 ;
40679 PyObject
* obj1
= 0 ;
40680 PyObject
* obj2
= 0 ;
40681 PyObject
* obj3
= 0 ;
40682 char * kwnames
[] = {
40683 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
40686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
40688 if (!SWIG_IsOK(res1
)) {
40689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Insert" "', expected argument " "1"" of type '" "wxMenuBar *""'");
40691 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
40692 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
40693 if (!SWIG_IsOK(ecode2
)) {
40694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_Insert" "', expected argument " "2"" of type '" "size_t""'");
40696 arg2
= static_cast< size_t >(val2
);
40697 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40698 if (!SWIG_IsOK(res3
)) {
40699 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "MenuBar_Insert" "', expected argument " "3"" of type '" "wxMenu *""'");
40701 arg3
= reinterpret_cast< wxMenu
* >(argp3
);
40703 arg4
= wxString_in_helper(obj3
);
40704 if (arg4
== NULL
) SWIG_fail
;
40708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40709 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
40710 wxPyEndAllowThreads(__tstate
);
40711 if (PyErr_Occurred()) SWIG_fail
;
40714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40730 SWIGINTERN PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40731 PyObject
*resultobj
= 0;
40732 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
40736 PyObject
*swig_obj
[1] ;
40738 if (!args
) SWIG_fail
;
40739 swig_obj
[0] = args
;
40740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
40741 if (!SWIG_IsOK(res1
)) {
40742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetMenuCount" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
40744 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
40746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40747 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
40748 wxPyEndAllowThreads(__tstate
);
40749 if (PyErr_Occurred()) SWIG_fail
;
40751 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
40758 SWIGINTERN PyObject
*_wrap_MenuBar_GetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40759 PyObject
*resultobj
= 0;
40760 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
40762 wxMenu
*result
= 0 ;
40767 PyObject
* obj0
= 0 ;
40768 PyObject
* obj1
= 0 ;
40769 char * kwnames
[] = {
40770 (char *) "self",(char *) "pos", NULL
40773 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40774 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
40775 if (!SWIG_IsOK(res1
)) {
40776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetMenu" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
40778 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
40779 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
40780 if (!SWIG_IsOK(ecode2
)) {
40781 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_GetMenu" "', expected argument " "2"" of type '" "size_t""'");
40783 arg2
= static_cast< size_t >(val2
);
40785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40786 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
40787 wxPyEndAllowThreads(__tstate
);
40788 if (PyErr_Occurred()) SWIG_fail
;
40791 resultobj
= wxPyMake_wxObject(result
, 0);
40799 SWIGINTERN PyObject
*_wrap_MenuBar_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40800 PyObject
*resultobj
= 0;
40801 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
40803 wxMenu
*arg3
= (wxMenu
*) 0 ;
40804 wxString
*arg4
= 0 ;
40805 wxMenu
*result
= 0 ;
40812 bool temp4
= false ;
40813 PyObject
* obj0
= 0 ;
40814 PyObject
* obj1
= 0 ;
40815 PyObject
* obj2
= 0 ;
40816 PyObject
* obj3
= 0 ;
40817 char * kwnames
[] = {
40818 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
40821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
40822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
40823 if (!SWIG_IsOK(res1
)) {
40824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Replace" "', expected argument " "1"" of type '" "wxMenuBar *""'");
40826 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
40827 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
40828 if (!SWIG_IsOK(ecode2
)) {
40829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_Replace" "', expected argument " "2"" of type '" "size_t""'");
40831 arg2
= static_cast< size_t >(val2
);
40832 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40833 if (!SWIG_IsOK(res3
)) {
40834 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "MenuBar_Replace" "', expected argument " "3"" of type '" "wxMenu *""'");
40836 arg3
= reinterpret_cast< wxMenu
* >(argp3
);
40838 arg4
= wxString_in_helper(obj3
);
40839 if (arg4
== NULL
) SWIG_fail
;
40843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40844 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
40845 wxPyEndAllowThreads(__tstate
);
40846 if (PyErr_Occurred()) SWIG_fail
;
40849 resultobj
= wxPyMake_wxObject(result
, 0);
40865 SWIGINTERN PyObject
*_wrap_MenuBar_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40866 PyObject
*resultobj
= 0;
40867 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
40869 wxMenu
*result
= 0 ;
40874 PyObject
* obj0
= 0 ;
40875 PyObject
* obj1
= 0 ;
40876 char * kwnames
[] = {
40877 (char *) "self",(char *) "pos", NULL
40880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
40882 if (!SWIG_IsOK(res1
)) {
40883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Remove" "', expected argument " "1"" of type '" "wxMenuBar *""'");
40885 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
40886 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
40887 if (!SWIG_IsOK(ecode2
)) {
40888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_Remove" "', expected argument " "2"" of type '" "size_t""'");
40890 arg2
= static_cast< size_t >(val2
);
40892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40893 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
40894 wxPyEndAllowThreads(__tstate
);
40895 if (PyErr_Occurred()) SWIG_fail
;
40898 resultobj
= wxPyMake_wxObject(result
, 0);
40906 SWIGINTERN PyObject
*_wrap_MenuBar_EnableTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40907 PyObject
*resultobj
= 0;
40908 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
40917 PyObject
* obj0
= 0 ;
40918 PyObject
* obj1
= 0 ;
40919 PyObject
* obj2
= 0 ;
40920 char * kwnames
[] = {
40921 (char *) "self",(char *) "pos",(char *) "enable", NULL
40924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
40926 if (!SWIG_IsOK(res1
)) {
40927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_EnableTop" "', expected argument " "1"" of type '" "wxMenuBar *""'");
40929 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
40930 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
40931 if (!SWIG_IsOK(ecode2
)) {
40932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_EnableTop" "', expected argument " "2"" of type '" "size_t""'");
40934 arg2
= static_cast< size_t >(val2
);
40935 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
40936 if (!SWIG_IsOK(ecode3
)) {
40937 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MenuBar_EnableTop" "', expected argument " "3"" of type '" "bool""'");
40939 arg3
= static_cast< bool >(val3
);
40941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40942 (arg1
)->EnableTop(arg2
,arg3
);
40943 wxPyEndAllowThreads(__tstate
);
40944 if (PyErr_Occurred()) SWIG_fail
;
40946 resultobj
= SWIG_Py_Void();
40953 SWIGINTERN PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40954 PyObject
*resultobj
= 0;
40955 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
40962 PyObject
* obj0
= 0 ;
40963 PyObject
* obj1
= 0 ;
40964 char * kwnames
[] = {
40965 (char *) "self",(char *) "pos", NULL
40968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
40970 if (!SWIG_IsOK(res1
)) {
40971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_IsEnabledTop" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
40973 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
40974 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
40975 if (!SWIG_IsOK(ecode2
)) {
40976 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_IsEnabledTop" "', expected argument " "2"" of type '" "size_t""'");
40978 arg2
= static_cast< size_t >(val2
);
40980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40981 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
40982 wxPyEndAllowThreads(__tstate
);
40983 if (PyErr_Occurred()) SWIG_fail
;
40986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40994 SWIGINTERN PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40995 PyObject
*resultobj
= 0;
40996 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
40998 wxString
*arg3
= 0 ;
41003 bool temp3
= false ;
41004 PyObject
* obj0
= 0 ;
41005 PyObject
* obj1
= 0 ;
41006 PyObject
* obj2
= 0 ;
41007 char * kwnames
[] = {
41008 (char *) "self",(char *) "pos",(char *) "label", NULL
41011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41013 if (!SWIG_IsOK(res1
)) {
41014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_SetLabelTop" "', expected argument " "1"" of type '" "wxMenuBar *""'");
41016 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41017 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
41018 if (!SWIG_IsOK(ecode2
)) {
41019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_SetLabelTop" "', expected argument " "2"" of type '" "size_t""'");
41021 arg2
= static_cast< size_t >(val2
);
41023 arg3
= wxString_in_helper(obj2
);
41024 if (arg3
== NULL
) SWIG_fail
;
41028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41029 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
41030 wxPyEndAllowThreads(__tstate
);
41031 if (PyErr_Occurred()) SWIG_fail
;
41033 resultobj
= SWIG_Py_Void();
41048 SWIGINTERN PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41049 PyObject
*resultobj
= 0;
41050 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41057 PyObject
* obj0
= 0 ;
41058 PyObject
* obj1
= 0 ;
41059 char * kwnames
[] = {
41060 (char *) "self",(char *) "pos", NULL
41063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41065 if (!SWIG_IsOK(res1
)) {
41066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetLabelTop" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41068 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41069 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
41070 if (!SWIG_IsOK(ecode2
)) {
41071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_GetLabelTop" "', expected argument " "2"" of type '" "size_t""'");
41073 arg2
= static_cast< size_t >(val2
);
41075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41076 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
41077 wxPyEndAllowThreads(__tstate
);
41078 if (PyErr_Occurred()) SWIG_fail
;
41082 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
41084 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
41093 SWIGINTERN PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41094 PyObject
*resultobj
= 0;
41095 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41096 wxString
*arg2
= 0 ;
41097 wxString
*arg3
= 0 ;
41101 bool temp2
= false ;
41102 bool temp3
= false ;
41103 PyObject
* obj0
= 0 ;
41104 PyObject
* obj1
= 0 ;
41105 PyObject
* obj2
= 0 ;
41106 char * kwnames
[] = {
41107 (char *) "self",(char *) "menu",(char *) "item", NULL
41110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41112 if (!SWIG_IsOK(res1
)) {
41113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_FindMenuItem" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41115 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41117 arg2
= wxString_in_helper(obj1
);
41118 if (arg2
== NULL
) SWIG_fail
;
41122 arg3
= wxString_in_helper(obj2
);
41123 if (arg3
== NULL
) SWIG_fail
;
41127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41128 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
41129 wxPyEndAllowThreads(__tstate
);
41130 if (PyErr_Occurred()) SWIG_fail
;
41132 resultobj
= SWIG_From_int(static_cast< int >(result
));
41155 SWIGINTERN PyObject
*_wrap_MenuBar_FindItemById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41156 PyObject
*resultobj
= 0;
41157 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41159 wxMenuItem
*result
= 0 ;
41164 PyObject
* obj0
= 0 ;
41165 PyObject
* obj1
= 0 ;
41166 char * kwnames
[] = {
41167 (char *) "self",(char *) "id", NULL
41170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41172 if (!SWIG_IsOK(res1
)) {
41173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_FindItemById" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41175 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41176 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41177 if (!SWIG_IsOK(ecode2
)) {
41178 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_FindItemById" "', expected argument " "2"" of type '" "int""'");
41180 arg2
= static_cast< int >(val2
);
41182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41183 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
41184 wxPyEndAllowThreads(__tstate
);
41185 if (PyErr_Occurred()) SWIG_fail
;
41188 resultobj
= wxPyMake_wxObject(result
, (bool)0);
41196 SWIGINTERN PyObject
*_wrap_MenuBar_FindMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41197 PyObject
*resultobj
= 0;
41198 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41199 wxString
*arg2
= 0 ;
41203 bool temp2
= false ;
41204 PyObject
* obj0
= 0 ;
41205 PyObject
* obj1
= 0 ;
41206 char * kwnames
[] = {
41207 (char *) "self",(char *) "title", NULL
41210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41212 if (!SWIG_IsOK(res1
)) {
41213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_FindMenu" "', expected argument " "1"" of type '" "wxMenuBar *""'");
41215 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41217 arg2
= wxString_in_helper(obj1
);
41218 if (arg2
== NULL
) SWIG_fail
;
41222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41223 result
= (int)(arg1
)->FindMenu((wxString
const &)*arg2
);
41224 wxPyEndAllowThreads(__tstate
);
41225 if (PyErr_Occurred()) SWIG_fail
;
41227 resultobj
= SWIG_From_int(static_cast< int >(result
));
41242 SWIGINTERN PyObject
*_wrap_MenuBar_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41243 PyObject
*resultobj
= 0;
41244 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41253 PyObject
* obj0
= 0 ;
41254 PyObject
* obj1
= 0 ;
41255 PyObject
* obj2
= 0 ;
41256 char * kwnames
[] = {
41257 (char *) "self",(char *) "id",(char *) "enable", NULL
41260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41262 if (!SWIG_IsOK(res1
)) {
41263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Enable" "', expected argument " "1"" of type '" "wxMenuBar *""'");
41265 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41266 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41267 if (!SWIG_IsOK(ecode2
)) {
41268 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_Enable" "', expected argument " "2"" of type '" "int""'");
41270 arg2
= static_cast< int >(val2
);
41271 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
41272 if (!SWIG_IsOK(ecode3
)) {
41273 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MenuBar_Enable" "', expected argument " "3"" of type '" "bool""'");
41275 arg3
= static_cast< bool >(val3
);
41277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41278 (arg1
)->Enable(arg2
,arg3
);
41279 wxPyEndAllowThreads(__tstate
);
41280 if (PyErr_Occurred()) SWIG_fail
;
41282 resultobj
= SWIG_Py_Void();
41289 SWIGINTERN PyObject
*_wrap_MenuBar_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41290 PyObject
*resultobj
= 0;
41291 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41300 PyObject
* obj0
= 0 ;
41301 PyObject
* obj1
= 0 ;
41302 PyObject
* obj2
= 0 ;
41303 char * kwnames
[] = {
41304 (char *) "self",(char *) "id",(char *) "check", NULL
41307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41309 if (!SWIG_IsOK(res1
)) {
41310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Check" "', expected argument " "1"" of type '" "wxMenuBar *""'");
41312 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41313 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41314 if (!SWIG_IsOK(ecode2
)) {
41315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_Check" "', expected argument " "2"" of type '" "int""'");
41317 arg2
= static_cast< int >(val2
);
41318 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
41319 if (!SWIG_IsOK(ecode3
)) {
41320 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MenuBar_Check" "', expected argument " "3"" of type '" "bool""'");
41322 arg3
= static_cast< bool >(val3
);
41324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41325 (arg1
)->Check(arg2
,arg3
);
41326 wxPyEndAllowThreads(__tstate
);
41327 if (PyErr_Occurred()) SWIG_fail
;
41329 resultobj
= SWIG_Py_Void();
41336 SWIGINTERN PyObject
*_wrap_MenuBar_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41337 PyObject
*resultobj
= 0;
41338 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41345 PyObject
* obj0
= 0 ;
41346 PyObject
* obj1
= 0 ;
41347 char * kwnames
[] = {
41348 (char *) "self",(char *) "id", NULL
41351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41353 if (!SWIG_IsOK(res1
)) {
41354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_IsChecked" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41356 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41357 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41358 if (!SWIG_IsOK(ecode2
)) {
41359 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_IsChecked" "', expected argument " "2"" of type '" "int""'");
41361 arg2
= static_cast< int >(val2
);
41363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41364 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
41365 wxPyEndAllowThreads(__tstate
);
41366 if (PyErr_Occurred()) SWIG_fail
;
41369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41377 SWIGINTERN PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41378 PyObject
*resultobj
= 0;
41379 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41386 PyObject
* obj0
= 0 ;
41387 PyObject
* obj1
= 0 ;
41388 char * kwnames
[] = {
41389 (char *) "self",(char *) "id", NULL
41392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41394 if (!SWIG_IsOK(res1
)) {
41395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_IsEnabled" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41397 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41398 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41399 if (!SWIG_IsOK(ecode2
)) {
41400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_IsEnabled" "', expected argument " "2"" of type '" "int""'");
41402 arg2
= static_cast< int >(val2
);
41404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41405 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
41406 wxPyEndAllowThreads(__tstate
);
41407 if (PyErr_Occurred()) SWIG_fail
;
41410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41418 SWIGINTERN PyObject
*_wrap_MenuBar_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41419 PyObject
*resultobj
= 0;
41420 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41422 wxString
*arg3
= 0 ;
41427 bool temp3
= false ;
41428 PyObject
* obj0
= 0 ;
41429 PyObject
* obj1
= 0 ;
41430 PyObject
* obj2
= 0 ;
41431 char * kwnames
[] = {
41432 (char *) "self",(char *) "id",(char *) "label", NULL
41435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41437 if (!SWIG_IsOK(res1
)) {
41438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_SetLabel" "', expected argument " "1"" of type '" "wxMenuBar *""'");
41440 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41441 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41442 if (!SWIG_IsOK(ecode2
)) {
41443 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_SetLabel" "', expected argument " "2"" of type '" "int""'");
41445 arg2
= static_cast< int >(val2
);
41447 arg3
= wxString_in_helper(obj2
);
41448 if (arg3
== NULL
) SWIG_fail
;
41452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41453 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
41454 wxPyEndAllowThreads(__tstate
);
41455 if (PyErr_Occurred()) SWIG_fail
;
41457 resultobj
= SWIG_Py_Void();
41472 SWIGINTERN PyObject
*_wrap_MenuBar_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41473 PyObject
*resultobj
= 0;
41474 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41481 PyObject
* obj0
= 0 ;
41482 PyObject
* obj1
= 0 ;
41483 char * kwnames
[] = {
41484 (char *) "self",(char *) "id", NULL
41487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41489 if (!SWIG_IsOK(res1
)) {
41490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetLabel" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41492 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41493 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41494 if (!SWIG_IsOK(ecode2
)) {
41495 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_GetLabel" "', expected argument " "2"" of type '" "int""'");
41497 arg2
= static_cast< int >(val2
);
41499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41500 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
41501 wxPyEndAllowThreads(__tstate
);
41502 if (PyErr_Occurred()) SWIG_fail
;
41506 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
41508 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
41517 SWIGINTERN PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41518 PyObject
*resultobj
= 0;
41519 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41521 wxString
*arg3
= 0 ;
41526 bool temp3
= false ;
41527 PyObject
* obj0
= 0 ;
41528 PyObject
* obj1
= 0 ;
41529 PyObject
* obj2
= 0 ;
41530 char * kwnames
[] = {
41531 (char *) "self",(char *) "id",(char *) "helpString", NULL
41534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41536 if (!SWIG_IsOK(res1
)) {
41537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_SetHelpString" "', expected argument " "1"" of type '" "wxMenuBar *""'");
41539 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41540 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41541 if (!SWIG_IsOK(ecode2
)) {
41542 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_SetHelpString" "', expected argument " "2"" of type '" "int""'");
41544 arg2
= static_cast< int >(val2
);
41546 arg3
= wxString_in_helper(obj2
);
41547 if (arg3
== NULL
) SWIG_fail
;
41551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41552 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
41553 wxPyEndAllowThreads(__tstate
);
41554 if (PyErr_Occurred()) SWIG_fail
;
41556 resultobj
= SWIG_Py_Void();
41571 SWIGINTERN PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41572 PyObject
*resultobj
= 0;
41573 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41580 PyObject
* obj0
= 0 ;
41581 PyObject
* obj1
= 0 ;
41582 char * kwnames
[] = {
41583 (char *) "self",(char *) "id", NULL
41586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41588 if (!SWIG_IsOK(res1
)) {
41589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetHelpString" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41591 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41592 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41593 if (!SWIG_IsOK(ecode2
)) {
41594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_GetHelpString" "', expected argument " "2"" of type '" "int""'");
41596 arg2
= static_cast< int >(val2
);
41598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41599 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
41600 wxPyEndAllowThreads(__tstate
);
41601 if (PyErr_Occurred()) SWIG_fail
;
41605 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
41607 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
41616 SWIGINTERN PyObject
*_wrap_MenuBar_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41617 PyObject
*resultobj
= 0;
41618 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41619 wxFrame
*result
= 0 ;
41622 PyObject
*swig_obj
[1] ;
41624 if (!args
) SWIG_fail
;
41625 swig_obj
[0] = args
;
41626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41627 if (!SWIG_IsOK(res1
)) {
41628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetFrame" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41630 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41633 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
41634 wxPyEndAllowThreads(__tstate
);
41635 if (PyErr_Occurred()) SWIG_fail
;
41638 resultobj
= wxPyMake_wxObject(result
, (bool)0);
41646 SWIGINTERN PyObject
*_wrap_MenuBar_IsAttached(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41647 PyObject
*resultobj
= 0;
41648 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41652 PyObject
*swig_obj
[1] ;
41654 if (!args
) SWIG_fail
;
41655 swig_obj
[0] = args
;
41656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41657 if (!SWIG_IsOK(res1
)) {
41658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_IsAttached" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41660 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41663 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
41664 wxPyEndAllowThreads(__tstate
);
41665 if (PyErr_Occurred()) SWIG_fail
;
41668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41676 SWIGINTERN PyObject
*_wrap_MenuBar_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41677 PyObject
*resultobj
= 0;
41678 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41679 wxFrame
*arg2
= (wxFrame
*) 0 ;
41684 PyObject
* obj0
= 0 ;
41685 PyObject
* obj1
= 0 ;
41686 char * kwnames
[] = {
41687 (char *) "self",(char *) "frame", NULL
41690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41692 if (!SWIG_IsOK(res1
)) {
41693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Attach" "', expected argument " "1"" of type '" "wxMenuBar *""'");
41695 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41696 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
41697 if (!SWIG_IsOK(res2
)) {
41698 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuBar_Attach" "', expected argument " "2"" of type '" "wxFrame *""'");
41700 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
41702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41703 (arg1
)->Attach(arg2
);
41704 wxPyEndAllowThreads(__tstate
);
41705 if (PyErr_Occurred()) SWIG_fail
;
41707 resultobj
= SWIG_Py_Void();
41714 SWIGINTERN PyObject
*_wrap_MenuBar_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41715 PyObject
*resultobj
= 0;
41716 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41719 PyObject
*swig_obj
[1] ;
41721 if (!args
) SWIG_fail
;
41722 swig_obj
[0] = args
;
41723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41724 if (!SWIG_IsOK(res1
)) {
41725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Detach" "', expected argument " "1"" of type '" "wxMenuBar *""'");
41727 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41731 wxPyEndAllowThreads(__tstate
);
41732 if (PyErr_Occurred()) SWIG_fail
;
41734 resultobj
= SWIG_Py_Void();
41741 SWIGINTERN PyObject
*_wrap_MenuBar_SetAutoWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41742 PyObject
*resultobj
= 0;
41746 PyObject
* obj0
= 0 ;
41747 char * kwnames
[] = {
41748 (char *) "enable", NULL
41751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_SetAutoWindowMenu",kwnames
,&obj0
)) SWIG_fail
;
41752 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
41753 if (!SWIG_IsOK(ecode1
)) {
41754 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MenuBar_SetAutoWindowMenu" "', expected argument " "1"" of type '" "bool""'");
41756 arg1
= static_cast< bool >(val1
);
41758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41759 wxMenuBar::SetAutoWindowMenu(arg1
);
41760 wxPyEndAllowThreads(__tstate
);
41761 if (PyErr_Occurred()) SWIG_fail
;
41763 resultobj
= SWIG_Py_Void();
41770 SWIGINTERN PyObject
*_wrap_MenuBar_GetAutoWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41771 PyObject
*resultobj
= 0;
41774 if (!SWIG_Python_UnpackTuple(args
,"MenuBar_GetAutoWindowMenu",0,0,0)) SWIG_fail
;
41776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41777 result
= (bool)wxMenuBar::GetAutoWindowMenu();
41778 wxPyEndAllowThreads(__tstate
);
41779 if (PyErr_Occurred()) SWIG_fail
;
41782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41790 SWIGINTERN PyObject
*MenuBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41792 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
41793 SWIG_TypeNewClientData(SWIGTYPE_p_wxMenuBar
, SWIG_NewClientData(obj
));
41794 return SWIG_Py_Void();
41797 SWIGINTERN PyObject
*MenuBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41798 return SWIG_Python_InitShadowInstance(args
);
41801 SWIGINTERN PyObject
*_wrap_new_MenuItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41802 PyObject
*resultobj
= 0;
41803 wxMenu
*arg1
= (wxMenu
*) NULL
;
41804 int arg2
= (int) wxID_ANY
;
41805 wxString
const &arg3_defvalue
= wxPyEmptyString
;
41806 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
41807 wxString
const &arg4_defvalue
= wxPyEmptyString
;
41808 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
41809 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
41810 wxMenu
*arg6
= (wxMenu
*) NULL
;
41811 wxMenuItem
*result
= 0 ;
41816 bool temp3
= false ;
41817 bool temp4
= false ;
41822 PyObject
* obj0
= 0 ;
41823 PyObject
* obj1
= 0 ;
41824 PyObject
* obj2
= 0 ;
41825 PyObject
* obj3
= 0 ;
41826 PyObject
* obj4
= 0 ;
41827 PyObject
* obj5
= 0 ;
41828 char * kwnames
[] = {
41829 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
41832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
41834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41835 if (!SWIG_IsOK(res1
)) {
41836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MenuItem" "', expected argument " "1"" of type '" "wxMenu *""'");
41838 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
41841 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41842 if (!SWIG_IsOK(ecode2
)) {
41843 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MenuItem" "', expected argument " "2"" of type '" "int""'");
41845 arg2
= static_cast< int >(val2
);
41849 arg3
= wxString_in_helper(obj2
);
41850 if (arg3
== NULL
) SWIG_fail
;
41856 arg4
= wxString_in_helper(obj3
);
41857 if (arg4
== NULL
) SWIG_fail
;
41862 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
41863 if (!SWIG_IsOK(ecode5
)) {
41864 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_MenuItem" "', expected argument " "5"" of type '" "wxItemKind""'");
41866 arg5
= static_cast< wxItemKind
>(val5
);
41869 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41870 if (!SWIG_IsOK(res6
)) {
41871 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_MenuItem" "', expected argument " "6"" of type '" "wxMenu *""'");
41873 arg6
= reinterpret_cast< wxMenu
* >(argp6
);
41876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41877 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
41878 wxPyEndAllowThreads(__tstate
);
41879 if (PyErr_Occurred()) SWIG_fail
;
41882 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
41906 SWIGINTERN PyObject
*_wrap_delete_MenuItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41907 PyObject
*resultobj
= 0;
41908 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
41911 PyObject
*swig_obj
[1] ;
41913 if (!args
) SWIG_fail
;
41914 swig_obj
[0] = args
;
41915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_DISOWN
| 0 );
41916 if (!SWIG_IsOK(res1
)) {
41917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MenuItem" "', expected argument " "1"" of type '" "wxMenuItem *""'");
41919 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
41921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41924 wxPyEndAllowThreads(__tstate
);
41925 if (PyErr_Occurred()) SWIG_fail
;
41927 resultobj
= SWIG_Py_Void();
41934 SWIGINTERN PyObject
*_wrap_MenuItem_GetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41935 PyObject
*resultobj
= 0;
41936 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
41937 wxMenu
*result
= 0 ;
41940 PyObject
*swig_obj
[1] ;
41942 if (!args
) SWIG_fail
;
41943 swig_obj
[0] = args
;
41944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
41945 if (!SWIG_IsOK(res1
)) {
41946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetMenu" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
41948 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
41950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41951 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
41952 wxPyEndAllowThreads(__tstate
);
41953 if (PyErr_Occurred()) SWIG_fail
;
41956 resultobj
= wxPyMake_wxObject(result
, 0);
41964 SWIGINTERN PyObject
*_wrap_MenuItem_SetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41965 PyObject
*resultobj
= 0;
41966 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
41967 wxMenu
*arg2
= (wxMenu
*) 0 ;
41972 PyObject
* obj0
= 0 ;
41973 PyObject
* obj1
= 0 ;
41974 char * kwnames
[] = {
41975 (char *) "self",(char *) "menu", NULL
41978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
41980 if (!SWIG_IsOK(res1
)) {
41981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetMenu" "', expected argument " "1"" of type '" "wxMenuItem *""'");
41983 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
41984 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41985 if (!SWIG_IsOK(res2
)) {
41986 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
41988 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
41990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41991 (arg1
)->SetMenu(arg2
);
41992 wxPyEndAllowThreads(__tstate
);
41993 if (PyErr_Occurred()) SWIG_fail
;
41995 resultobj
= SWIG_Py_Void();
42002 SWIGINTERN PyObject
*_wrap_MenuItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42003 PyObject
*resultobj
= 0;
42004 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42010 PyObject
* obj0
= 0 ;
42011 PyObject
* obj1
= 0 ;
42012 char * kwnames
[] = {
42013 (char *) "self",(char *) "id", NULL
42016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42018 if (!SWIG_IsOK(res1
)) {
42019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetId" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42021 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42022 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42023 if (!SWIG_IsOK(ecode2
)) {
42024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_SetId" "', expected argument " "2"" of type '" "int""'");
42026 arg2
= static_cast< int >(val2
);
42028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42029 (arg1
)->SetId(arg2
);
42030 wxPyEndAllowThreads(__tstate
);
42031 if (PyErr_Occurred()) SWIG_fail
;
42033 resultobj
= SWIG_Py_Void();
42040 SWIGINTERN PyObject
*_wrap_MenuItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42041 PyObject
*resultobj
= 0;
42042 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42046 PyObject
*swig_obj
[1] ;
42048 if (!args
) SWIG_fail
;
42049 swig_obj
[0] = args
;
42050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42051 if (!SWIG_IsOK(res1
)) {
42052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetId" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42054 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42057 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
42058 wxPyEndAllowThreads(__tstate
);
42059 if (PyErr_Occurred()) SWIG_fail
;
42061 resultobj
= SWIG_From_int(static_cast< int >(result
));
42068 SWIGINTERN PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42069 PyObject
*resultobj
= 0;
42070 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42074 PyObject
*swig_obj
[1] ;
42076 if (!args
) SWIG_fail
;
42077 swig_obj
[0] = args
;
42078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42079 if (!SWIG_IsOK(res1
)) {
42080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsSeparator" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42082 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42085 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
42086 wxPyEndAllowThreads(__tstate
);
42087 if (PyErr_Occurred()) SWIG_fail
;
42090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42098 SWIGINTERN PyObject
*_wrap_MenuItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42099 PyObject
*resultobj
= 0;
42100 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42101 wxString
*arg2
= 0 ;
42104 bool temp2
= false ;
42105 PyObject
* obj0
= 0 ;
42106 PyObject
* obj1
= 0 ;
42107 char * kwnames
[] = {
42108 (char *) "self",(char *) "str", NULL
42111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42113 if (!SWIG_IsOK(res1
)) {
42114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetText" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42116 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42118 arg2
= wxString_in_helper(obj1
);
42119 if (arg2
== NULL
) SWIG_fail
;
42123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42124 (arg1
)->SetText((wxString
const &)*arg2
);
42125 wxPyEndAllowThreads(__tstate
);
42126 if (PyErr_Occurred()) SWIG_fail
;
42128 resultobj
= SWIG_Py_Void();
42143 SWIGINTERN PyObject
*_wrap_MenuItem_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42144 PyObject
*resultobj
= 0;
42145 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42149 PyObject
*swig_obj
[1] ;
42151 if (!args
) SWIG_fail
;
42152 swig_obj
[0] = args
;
42153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42154 if (!SWIG_IsOK(res1
)) {
42155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetLabel" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42157 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42160 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
42161 wxPyEndAllowThreads(__tstate
);
42162 if (PyErr_Occurred()) SWIG_fail
;
42166 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42168 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42177 SWIGINTERN PyObject
*_wrap_MenuItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42178 PyObject
*resultobj
= 0;
42179 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42180 wxString
*result
= 0 ;
42183 PyObject
*swig_obj
[1] ;
42185 if (!args
) SWIG_fail
;
42186 swig_obj
[0] = args
;
42187 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42188 if (!SWIG_IsOK(res1
)) {
42189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetText" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42191 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42195 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
42196 result
= (wxString
*) &_result_ref
;
42198 wxPyEndAllowThreads(__tstate
);
42199 if (PyErr_Occurred()) SWIG_fail
;
42203 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
42205 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
42214 SWIGINTERN PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42215 PyObject
*resultobj
= 0;
42216 wxString
*arg1
= 0 ;
42218 bool temp1
= false ;
42219 PyObject
* obj0
= 0 ;
42220 char * kwnames
[] = {
42221 (char *) "text", NULL
42224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) SWIG_fail
;
42226 arg1
= wxString_in_helper(obj0
);
42227 if (arg1
== NULL
) SWIG_fail
;
42231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42232 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
42233 wxPyEndAllowThreads(__tstate
);
42234 if (PyErr_Occurred()) SWIG_fail
;
42238 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42240 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42257 SWIGINTERN PyObject
*_wrap_MenuItem_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42258 PyObject
*resultobj
= 0;
42259 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42263 PyObject
*swig_obj
[1] ;
42265 if (!args
) SWIG_fail
;
42266 swig_obj
[0] = args
;
42267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42268 if (!SWIG_IsOK(res1
)) {
42269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetKind" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42271 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42274 result
= (wxItemKind
)((wxMenuItem
const *)arg1
)->GetKind();
42275 wxPyEndAllowThreads(__tstate
);
42276 if (PyErr_Occurred()) SWIG_fail
;
42278 resultobj
= SWIG_From_int(static_cast< int >(result
));
42285 SWIGINTERN PyObject
*_wrap_MenuItem_SetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42286 PyObject
*resultobj
= 0;
42287 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42293 PyObject
* obj0
= 0 ;
42294 PyObject
* obj1
= 0 ;
42295 char * kwnames
[] = {
42296 (char *) "self",(char *) "kind", NULL
42299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42301 if (!SWIG_IsOK(res1
)) {
42302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetKind" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42304 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42305 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42306 if (!SWIG_IsOK(ecode2
)) {
42307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_SetKind" "', expected argument " "2"" of type '" "wxItemKind""'");
42309 arg2
= static_cast< wxItemKind
>(val2
);
42311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42312 (arg1
)->SetKind(arg2
);
42313 wxPyEndAllowThreads(__tstate
);
42314 if (PyErr_Occurred()) SWIG_fail
;
42316 resultobj
= SWIG_Py_Void();
42323 SWIGINTERN PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42324 PyObject
*resultobj
= 0;
42325 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42331 PyObject
* obj0
= 0 ;
42332 PyObject
* obj1
= 0 ;
42333 char * kwnames
[] = {
42334 (char *) "self",(char *) "checkable", NULL
42337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42339 if (!SWIG_IsOK(res1
)) {
42340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetCheckable" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42342 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42343 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42344 if (!SWIG_IsOK(ecode2
)) {
42345 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_SetCheckable" "', expected argument " "2"" of type '" "bool""'");
42347 arg2
= static_cast< bool >(val2
);
42349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42350 (arg1
)->SetCheckable(arg2
);
42351 wxPyEndAllowThreads(__tstate
);
42352 if (PyErr_Occurred()) SWIG_fail
;
42354 resultobj
= SWIG_Py_Void();
42361 SWIGINTERN PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42362 PyObject
*resultobj
= 0;
42363 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42367 PyObject
*swig_obj
[1] ;
42369 if (!args
) SWIG_fail
;
42370 swig_obj
[0] = args
;
42371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42372 if (!SWIG_IsOK(res1
)) {
42373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsCheckable" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42375 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42378 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
42379 wxPyEndAllowThreads(__tstate
);
42380 if (PyErr_Occurred()) SWIG_fail
;
42383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42391 SWIGINTERN PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42392 PyObject
*resultobj
= 0;
42393 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42397 PyObject
*swig_obj
[1] ;
42399 if (!args
) SWIG_fail
;
42400 swig_obj
[0] = args
;
42401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42402 if (!SWIG_IsOK(res1
)) {
42403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsSubMenu" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42405 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42408 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
42409 wxPyEndAllowThreads(__tstate
);
42410 if (PyErr_Occurred()) SWIG_fail
;
42413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42421 SWIGINTERN PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42422 PyObject
*resultobj
= 0;
42423 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42424 wxMenu
*arg2
= (wxMenu
*) 0 ;
42429 PyObject
* obj0
= 0 ;
42430 PyObject
* obj1
= 0 ;
42431 char * kwnames
[] = {
42432 (char *) "self",(char *) "menu", NULL
42435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42436 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42437 if (!SWIG_IsOK(res1
)) {
42438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetSubMenu" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42440 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42441 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42442 if (!SWIG_IsOK(res2
)) {
42443 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetSubMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
42445 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
42447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42448 (arg1
)->SetSubMenu(arg2
);
42449 wxPyEndAllowThreads(__tstate
);
42450 if (PyErr_Occurred()) SWIG_fail
;
42452 resultobj
= SWIG_Py_Void();
42459 SWIGINTERN PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42460 PyObject
*resultobj
= 0;
42461 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42462 wxMenu
*result
= 0 ;
42465 PyObject
*swig_obj
[1] ;
42467 if (!args
) SWIG_fail
;
42468 swig_obj
[0] = args
;
42469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42470 if (!SWIG_IsOK(res1
)) {
42471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetSubMenu" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42473 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42476 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
42477 wxPyEndAllowThreads(__tstate
);
42478 if (PyErr_Occurred()) SWIG_fail
;
42481 resultobj
= wxPyMake_wxObject(result
, 0);
42489 SWIGINTERN PyObject
*_wrap_MenuItem_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42490 PyObject
*resultobj
= 0;
42491 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42492 bool arg2
= (bool) true ;
42497 PyObject
* obj0
= 0 ;
42498 PyObject
* obj1
= 0 ;
42499 char * kwnames
[] = {
42500 (char *) "self",(char *) "enable", NULL
42503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42505 if (!SWIG_IsOK(res1
)) {
42506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_Enable" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42508 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42510 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42511 if (!SWIG_IsOK(ecode2
)) {
42512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_Enable" "', expected argument " "2"" of type '" "bool""'");
42514 arg2
= static_cast< bool >(val2
);
42517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42518 (arg1
)->Enable(arg2
);
42519 wxPyEndAllowThreads(__tstate
);
42520 if (PyErr_Occurred()) SWIG_fail
;
42522 resultobj
= SWIG_Py_Void();
42529 SWIGINTERN PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42530 PyObject
*resultobj
= 0;
42531 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42535 PyObject
*swig_obj
[1] ;
42537 if (!args
) SWIG_fail
;
42538 swig_obj
[0] = args
;
42539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42540 if (!SWIG_IsOK(res1
)) {
42541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsEnabled" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42543 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42546 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
42547 wxPyEndAllowThreads(__tstate
);
42548 if (PyErr_Occurred()) SWIG_fail
;
42551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42559 SWIGINTERN PyObject
*_wrap_MenuItem_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42560 PyObject
*resultobj
= 0;
42561 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42562 bool arg2
= (bool) true ;
42567 PyObject
* obj0
= 0 ;
42568 PyObject
* obj1
= 0 ;
42569 char * kwnames
[] = {
42570 (char *) "self",(char *) "check", NULL
42573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42575 if (!SWIG_IsOK(res1
)) {
42576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_Check" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42578 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42580 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42581 if (!SWIG_IsOK(ecode2
)) {
42582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_Check" "', expected argument " "2"" of type '" "bool""'");
42584 arg2
= static_cast< bool >(val2
);
42587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42588 (arg1
)->Check(arg2
);
42589 wxPyEndAllowThreads(__tstate
);
42590 if (PyErr_Occurred()) SWIG_fail
;
42592 resultobj
= SWIG_Py_Void();
42599 SWIGINTERN PyObject
*_wrap_MenuItem_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42600 PyObject
*resultobj
= 0;
42601 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42605 PyObject
*swig_obj
[1] ;
42607 if (!args
) SWIG_fail
;
42608 swig_obj
[0] = args
;
42609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42610 if (!SWIG_IsOK(res1
)) {
42611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsChecked" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42613 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42616 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
42617 wxPyEndAllowThreads(__tstate
);
42618 if (PyErr_Occurred()) SWIG_fail
;
42621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42629 SWIGINTERN PyObject
*_wrap_MenuItem_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42630 PyObject
*resultobj
= 0;
42631 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42634 PyObject
*swig_obj
[1] ;
42636 if (!args
) SWIG_fail
;
42637 swig_obj
[0] = args
;
42638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42639 if (!SWIG_IsOK(res1
)) {
42640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_Toggle" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42642 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42646 wxPyEndAllowThreads(__tstate
);
42647 if (PyErr_Occurred()) SWIG_fail
;
42649 resultobj
= SWIG_Py_Void();
42656 SWIGINTERN PyObject
*_wrap_MenuItem_SetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42657 PyObject
*resultobj
= 0;
42658 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42659 wxString
*arg2
= 0 ;
42662 bool temp2
= false ;
42663 PyObject
* obj0
= 0 ;
42664 PyObject
* obj1
= 0 ;
42665 char * kwnames
[] = {
42666 (char *) "self",(char *) "str", NULL
42669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42671 if (!SWIG_IsOK(res1
)) {
42672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetHelp" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42674 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42676 arg2
= wxString_in_helper(obj1
);
42677 if (arg2
== NULL
) SWIG_fail
;
42681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42682 (arg1
)->SetHelp((wxString
const &)*arg2
);
42683 wxPyEndAllowThreads(__tstate
);
42684 if (PyErr_Occurred()) SWIG_fail
;
42686 resultobj
= SWIG_Py_Void();
42701 SWIGINTERN PyObject
*_wrap_MenuItem_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42702 PyObject
*resultobj
= 0;
42703 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42704 wxString
*result
= 0 ;
42707 PyObject
*swig_obj
[1] ;
42709 if (!args
) SWIG_fail
;
42710 swig_obj
[0] = args
;
42711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42712 if (!SWIG_IsOK(res1
)) {
42713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetHelp" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42715 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42719 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
42720 result
= (wxString
*) &_result_ref
;
42722 wxPyEndAllowThreads(__tstate
);
42723 if (PyErr_Occurred()) SWIG_fail
;
42727 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
42729 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
42738 SWIGINTERN PyObject
*_wrap_MenuItem_GetAccel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42739 PyObject
*resultobj
= 0;
42740 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42741 wxAcceleratorEntry
*result
= 0 ;
42744 PyObject
*swig_obj
[1] ;
42746 if (!args
) SWIG_fail
;
42747 swig_obj
[0] = args
;
42748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42749 if (!SWIG_IsOK(res1
)) {
42750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetAccel" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42752 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42755 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
42756 wxPyEndAllowThreads(__tstate
);
42757 if (PyErr_Occurred()) SWIG_fail
;
42759 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
42766 SWIGINTERN PyObject
*_wrap_MenuItem_SetAccel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42767 PyObject
*resultobj
= 0;
42768 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42769 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
42774 PyObject
* obj0
= 0 ;
42775 PyObject
* obj1
= 0 ;
42776 char * kwnames
[] = {
42777 (char *) "self",(char *) "accel", NULL
42780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42782 if (!SWIG_IsOK(res1
)) {
42783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetAccel" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42785 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42786 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
42787 if (!SWIG_IsOK(res2
)) {
42788 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetAccel" "', expected argument " "2"" of type '" "wxAcceleratorEntry *""'");
42790 arg2
= reinterpret_cast< wxAcceleratorEntry
* >(argp2
);
42792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42793 (arg1
)->SetAccel(arg2
);
42794 wxPyEndAllowThreads(__tstate
);
42795 if (PyErr_Occurred()) SWIG_fail
;
42797 resultobj
= SWIG_Py_Void();
42804 SWIGINTERN PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42805 PyObject
*resultobj
= 0;
42806 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42807 wxBitmap
*arg2
= 0 ;
42812 PyObject
* obj0
= 0 ;
42813 PyObject
* obj1
= 0 ;
42814 char * kwnames
[] = {
42815 (char *) "self",(char *) "bitmap", NULL
42818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42820 if (!SWIG_IsOK(res1
)) {
42821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetBitmap" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42823 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42824 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
42825 if (!SWIG_IsOK(res2
)) {
42826 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
42829 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MenuItem_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
42831 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
42833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42834 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
42835 wxPyEndAllowThreads(__tstate
);
42836 if (PyErr_Occurred()) SWIG_fail
;
42838 resultobj
= SWIG_Py_Void();
42845 SWIGINTERN PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42846 PyObject
*resultobj
= 0;
42847 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42848 wxBitmap
*result
= 0 ;
42851 PyObject
*swig_obj
[1] ;
42853 if (!args
) SWIG_fail
;
42854 swig_obj
[0] = args
;
42855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42856 if (!SWIG_IsOK(res1
)) {
42857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetBitmap" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42859 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42863 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
42864 result
= (wxBitmap
*) &_result_ref
;
42866 wxPyEndAllowThreads(__tstate
);
42867 if (PyErr_Occurred()) SWIG_fail
;
42870 wxBitmap
* resultptr
= new wxBitmap(*result
);
42871 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
42879 SWIGINTERN PyObject
*_wrap_MenuItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42880 PyObject
*resultobj
= 0;
42881 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42887 PyObject
* obj0
= 0 ;
42888 PyObject
* obj1
= 0 ;
42889 char * kwnames
[] = {
42890 (char *) "self",(char *) "font", NULL
42893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42895 if (!SWIG_IsOK(res1
)) {
42896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetFont" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42898 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42899 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
42900 if (!SWIG_IsOK(res2
)) {
42901 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
42904 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MenuItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
42906 arg2
= reinterpret_cast< wxFont
* >(argp2
);
42908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42909 wxMenuItem_SetFont(arg1
,(wxFont
const &)*arg2
);
42910 wxPyEndAllowThreads(__tstate
);
42911 if (PyErr_Occurred()) SWIG_fail
;
42913 resultobj
= SWIG_Py_Void();
42920 SWIGINTERN PyObject
*_wrap_MenuItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42921 PyObject
*resultobj
= 0;
42922 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42926 PyObject
*swig_obj
[1] ;
42928 if (!args
) SWIG_fail
;
42929 swig_obj
[0] = args
;
42930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42931 if (!SWIG_IsOK(res1
)) {
42932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetFont" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42934 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42937 result
= wxMenuItem_GetFont(arg1
);
42938 wxPyEndAllowThreads(__tstate
);
42939 if (PyErr_Occurred()) SWIG_fail
;
42941 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
42948 SWIGINTERN PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42949 PyObject
*resultobj
= 0;
42950 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42951 wxColour
*arg2
= 0 ;
42955 PyObject
* obj0
= 0 ;
42956 PyObject
* obj1
= 0 ;
42957 char * kwnames
[] = {
42958 (char *) "self",(char *) "colText", NULL
42961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42963 if (!SWIG_IsOK(res1
)) {
42964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetTextColour" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42966 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42969 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
42972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42973 wxMenuItem_SetTextColour(arg1
,(wxColour
const &)*arg2
);
42974 wxPyEndAllowThreads(__tstate
);
42975 if (PyErr_Occurred()) SWIG_fail
;
42977 resultobj
= SWIG_Py_Void();
42984 SWIGINTERN PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42985 PyObject
*resultobj
= 0;
42986 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42990 PyObject
*swig_obj
[1] ;
42992 if (!args
) SWIG_fail
;
42993 swig_obj
[0] = args
;
42994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42995 if (!SWIG_IsOK(res1
)) {
42996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetTextColour" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42998 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43001 result
= wxMenuItem_GetTextColour(arg1
);
43002 wxPyEndAllowThreads(__tstate
);
43003 if (PyErr_Occurred()) SWIG_fail
;
43005 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43012 SWIGINTERN PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43013 PyObject
*resultobj
= 0;
43014 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43015 wxColour
*arg2
= 0 ;
43019 PyObject
* obj0
= 0 ;
43020 PyObject
* obj1
= 0 ;
43021 char * kwnames
[] = {
43022 (char *) "self",(char *) "colBack", NULL
43025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43027 if (!SWIG_IsOK(res1
)) {
43028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43030 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43033 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43037 wxMenuItem_SetBackgroundColour(arg1
,(wxColour
const &)*arg2
);
43038 wxPyEndAllowThreads(__tstate
);
43039 if (PyErr_Occurred()) SWIG_fail
;
43041 resultobj
= SWIG_Py_Void();
43048 SWIGINTERN PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43049 PyObject
*resultobj
= 0;
43050 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43054 PyObject
*swig_obj
[1] ;
43056 if (!args
) SWIG_fail
;
43057 swig_obj
[0] = args
;
43058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43059 if (!SWIG_IsOK(res1
)) {
43060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43062 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43065 result
= wxMenuItem_GetBackgroundColour(arg1
);
43066 wxPyEndAllowThreads(__tstate
);
43067 if (PyErr_Occurred()) SWIG_fail
;
43069 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43076 SWIGINTERN PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43077 PyObject
*resultobj
= 0;
43078 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43079 wxBitmap
*arg2
= 0 ;
43080 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
43081 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
43088 PyObject
* obj0
= 0 ;
43089 PyObject
* obj1
= 0 ;
43090 PyObject
* obj2
= 0 ;
43091 char * kwnames
[] = {
43092 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
43095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43097 if (!SWIG_IsOK(res1
)) {
43098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetBitmaps" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43100 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43101 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
43102 if (!SWIG_IsOK(res2
)) {
43103 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetBitmaps" "', expected argument " "2"" of type '" "wxBitmap const &""'");
43106 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MenuItem_SetBitmaps" "', expected argument " "2"" of type '" "wxBitmap const &""'");
43108 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
43110 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
43111 if (!SWIG_IsOK(res3
)) {
43112 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "MenuItem_SetBitmaps" "', expected argument " "3"" of type '" "wxBitmap const &""'");
43115 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MenuItem_SetBitmaps" "', expected argument " "3"" of type '" "wxBitmap const &""'");
43117 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
43120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43121 wxMenuItem_SetBitmaps(arg1
,(wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
43122 wxPyEndAllowThreads(__tstate
);
43123 if (PyErr_Occurred()) SWIG_fail
;
43125 resultobj
= SWIG_Py_Void();
43132 SWIGINTERN PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43133 PyObject
*resultobj
= 0;
43134 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43135 wxBitmap
*arg2
= 0 ;
43140 PyObject
* obj0
= 0 ;
43141 PyObject
* obj1
= 0 ;
43142 char * kwnames
[] = {
43143 (char *) "self",(char *) "bmpDisabled", NULL
43146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43148 if (!SWIG_IsOK(res1
)) {
43149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43151 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43152 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
43153 if (!SWIG_IsOK(res2
)) {
43154 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
43157 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MenuItem_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
43159 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
43161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43162 wxMenuItem_SetDisabledBitmap(arg1
,(wxBitmap
const &)*arg2
);
43163 wxPyEndAllowThreads(__tstate
);
43164 if (PyErr_Occurred()) SWIG_fail
;
43166 resultobj
= SWIG_Py_Void();
43173 SWIGINTERN PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43174 PyObject
*resultobj
= 0;
43175 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43176 wxBitmap
*result
= 0 ;
43179 PyObject
*swig_obj
[1] ;
43181 if (!args
) SWIG_fail
;
43182 swig_obj
[0] = args
;
43183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43184 if (!SWIG_IsOK(res1
)) {
43185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
43187 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43191 wxBitmap
const &_result_ref
= wxMenuItem_GetDisabledBitmap((wxMenuItem
const *)arg1
);
43192 result
= (wxBitmap
*) &_result_ref
;
43194 wxPyEndAllowThreads(__tstate
);
43195 if (PyErr_Occurred()) SWIG_fail
;
43198 wxBitmap
* resultptr
= new wxBitmap(*result
);
43199 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
43207 SWIGINTERN PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43208 PyObject
*resultobj
= 0;
43209 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43215 PyObject
* obj0
= 0 ;
43216 PyObject
* obj1
= 0 ;
43217 char * kwnames
[] = {
43218 (char *) "self",(char *) "nWidth", NULL
43221 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43222 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43223 if (!SWIG_IsOK(res1
)) {
43224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetMarginWidth" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43226 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43227 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43228 if (!SWIG_IsOK(ecode2
)) {
43229 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_SetMarginWidth" "', expected argument " "2"" of type '" "int""'");
43231 arg2
= static_cast< int >(val2
);
43233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43234 wxMenuItem_SetMarginWidth(arg1
,arg2
);
43235 wxPyEndAllowThreads(__tstate
);
43236 if (PyErr_Occurred()) SWIG_fail
;
43238 resultobj
= SWIG_Py_Void();
43245 SWIGINTERN PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43246 PyObject
*resultobj
= 0;
43247 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43251 PyObject
*swig_obj
[1] ;
43253 if (!args
) SWIG_fail
;
43254 swig_obj
[0] = args
;
43255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43256 if (!SWIG_IsOK(res1
)) {
43257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetMarginWidth" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43259 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43262 result
= (int)wxMenuItem_GetMarginWidth(arg1
);
43263 wxPyEndAllowThreads(__tstate
);
43264 if (PyErr_Occurred()) SWIG_fail
;
43266 resultobj
= SWIG_From_int(static_cast< int >(result
));
43273 SWIGINTERN PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43274 PyObject
*resultobj
= 0;
43277 if (!SWIG_Python_UnpackTuple(args
,"MenuItem_GetDefaultMarginWidth",0,0,0)) SWIG_fail
;
43279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43280 result
= (int)wxMenuItem_GetDefaultMarginWidth();
43281 wxPyEndAllowThreads(__tstate
);
43282 if (PyErr_Occurred()) SWIG_fail
;
43284 resultobj
= SWIG_From_int(static_cast< int >(result
));
43291 SWIGINTERN PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43292 PyObject
*resultobj
= 0;
43293 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43297 PyObject
*swig_obj
[1] ;
43299 if (!args
) SWIG_fail
;
43300 swig_obj
[0] = args
;
43301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43302 if (!SWIG_IsOK(res1
)) {
43303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsOwnerDrawn" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43305 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43308 result
= (bool)wxMenuItem_IsOwnerDrawn(arg1
);
43309 wxPyEndAllowThreads(__tstate
);
43310 if (PyErr_Occurred()) SWIG_fail
;
43313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43321 SWIGINTERN PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43322 PyObject
*resultobj
= 0;
43323 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43324 bool arg2
= (bool) true ;
43329 PyObject
* obj0
= 0 ;
43330 PyObject
* obj1
= 0 ;
43331 char * kwnames
[] = {
43332 (char *) "self",(char *) "ownerDrawn", NULL
43335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43337 if (!SWIG_IsOK(res1
)) {
43338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetOwnerDrawn" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43340 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43342 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
43343 if (!SWIG_IsOK(ecode2
)) {
43344 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_SetOwnerDrawn" "', expected argument " "2"" of type '" "bool""'");
43346 arg2
= static_cast< bool >(val2
);
43349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43350 wxMenuItem_SetOwnerDrawn(arg1
,arg2
);
43351 wxPyEndAllowThreads(__tstate
);
43352 if (PyErr_Occurred()) SWIG_fail
;
43354 resultobj
= SWIG_Py_Void();
43361 SWIGINTERN PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43362 PyObject
*resultobj
= 0;
43363 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43366 PyObject
*swig_obj
[1] ;
43368 if (!args
) SWIG_fail
;
43369 swig_obj
[0] = args
;
43370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43371 if (!SWIG_IsOK(res1
)) {
43372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_ResetOwnerDrawn" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43374 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43377 wxMenuItem_ResetOwnerDrawn(arg1
);
43378 wxPyEndAllowThreads(__tstate
);
43379 if (PyErr_Occurred()) SWIG_fail
;
43381 resultobj
= SWIG_Py_Void();
43388 SWIGINTERN PyObject
*MenuItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43390 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43391 SWIG_TypeNewClientData(SWIGTYPE_p_wxMenuItem
, SWIG_NewClientData(obj
));
43392 return SWIG_Py_Void();
43395 SWIGINTERN PyObject
*MenuItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43396 return SWIG_Python_InitShadowInstance(args
);
43399 SWIGINTERN
int ControlNameStr_set(PyObject
*) {
43400 SWIG_Error(SWIG_AttributeError
,"Variable ControlNameStr is read-only.");
43405 SWIGINTERN PyObject
*ControlNameStr_get(void) {
43406 PyObject
*pyobj
= 0;
43410 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
43412 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
43419 SWIGINTERN PyObject
*_wrap_new_Control(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43420 PyObject
*resultobj
= 0;
43421 wxWindow
*arg1
= (wxWindow
*) 0 ;
43422 int arg2
= (int) -1 ;
43423 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
43424 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
43425 wxSize
const &arg4_defvalue
= wxDefaultSize
;
43426 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
43427 long arg5
= (long) 0 ;
43428 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
43429 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
43430 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
43431 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
43432 wxControl
*result
= 0 ;
43443 bool temp7
= false ;
43444 PyObject
* obj0
= 0 ;
43445 PyObject
* obj1
= 0 ;
43446 PyObject
* obj2
= 0 ;
43447 PyObject
* obj3
= 0 ;
43448 PyObject
* obj4
= 0 ;
43449 PyObject
* obj5
= 0 ;
43450 PyObject
* obj6
= 0 ;
43451 char * kwnames
[] = {
43452 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
43456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43457 if (!SWIG_IsOK(res1
)) {
43458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Control" "', expected argument " "1"" of type '" "wxWindow *""'");
43460 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43462 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43463 if (!SWIG_IsOK(ecode2
)) {
43464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Control" "', expected argument " "2"" of type '" "int""'");
43466 arg2
= static_cast< int >(val2
);
43471 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
43477 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
43481 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
43482 if (!SWIG_IsOK(ecode5
)) {
43483 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Control" "', expected argument " "5"" of type '" "long""'");
43485 arg5
= static_cast< long >(val5
);
43488 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
43489 if (!SWIG_IsOK(res6
)) {
43490 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_Control" "', expected argument " "6"" of type '" "wxValidator const &""'");
43493 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Control" "', expected argument " "6"" of type '" "wxValidator const &""'");
43495 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
43499 arg7
= wxString_in_helper(obj6
);
43500 if (arg7
== NULL
) SWIG_fail
;
43505 if (!wxPyCheckForApp()) SWIG_fail
;
43506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43507 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
43508 wxPyEndAllowThreads(__tstate
);
43509 if (PyErr_Occurred()) SWIG_fail
;
43511 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxControl
, SWIG_POINTER_NEW
| 0 );
43526 SWIGINTERN PyObject
*_wrap_new_PreControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43527 PyObject
*resultobj
= 0;
43528 wxControl
*result
= 0 ;
43530 if (!SWIG_Python_UnpackTuple(args
,"new_PreControl",0,0,0)) SWIG_fail
;
43532 if (!wxPyCheckForApp()) SWIG_fail
;
43533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43534 result
= (wxControl
*)new wxControl();
43535 wxPyEndAllowThreads(__tstate
);
43536 if (PyErr_Occurred()) SWIG_fail
;
43538 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxControl
, SWIG_POINTER_OWN
| 0 );
43545 SWIGINTERN PyObject
*_wrap_Control_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43546 PyObject
*resultobj
= 0;
43547 wxControl
*arg1
= (wxControl
*) 0 ;
43548 wxWindow
*arg2
= (wxWindow
*) 0 ;
43549 int arg3
= (int) -1 ;
43550 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
43551 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
43552 wxSize
const &arg5_defvalue
= wxDefaultSize
;
43553 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
43554 long arg6
= (long) 0 ;
43555 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
43556 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
43557 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
43558 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
43572 bool temp8
= false ;
43573 PyObject
* obj0
= 0 ;
43574 PyObject
* obj1
= 0 ;
43575 PyObject
* obj2
= 0 ;
43576 PyObject
* obj3
= 0 ;
43577 PyObject
* obj4
= 0 ;
43578 PyObject
* obj5
= 0 ;
43579 PyObject
* obj6
= 0 ;
43580 PyObject
* obj7
= 0 ;
43581 char * kwnames
[] = {
43582 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
43586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxControl
, 0 | 0 );
43587 if (!SWIG_IsOK(res1
)) {
43588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Control_Create" "', expected argument " "1"" of type '" "wxControl *""'");
43590 arg1
= reinterpret_cast< wxControl
* >(argp1
);
43591 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43592 if (!SWIG_IsOK(res2
)) {
43593 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Control_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43595 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43597 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43598 if (!SWIG_IsOK(ecode3
)) {
43599 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Control_Create" "', expected argument " "3"" of type '" "int""'");
43601 arg3
= static_cast< int >(val3
);
43606 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
43612 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
43616 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
43617 if (!SWIG_IsOK(ecode6
)) {
43618 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Control_Create" "', expected argument " "6"" of type '" "long""'");
43620 arg6
= static_cast< long >(val6
);
43623 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
43624 if (!SWIG_IsOK(res7
)) {
43625 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "Control_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
43628 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Control_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
43630 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
43634 arg8
= wxString_in_helper(obj7
);
43635 if (arg8
== NULL
) SWIG_fail
;
43640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43641 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
43642 wxPyEndAllowThreads(__tstate
);
43643 if (PyErr_Occurred()) SWIG_fail
;
43646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43662 SWIGINTERN PyObject
*_wrap_Control_Command(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43663 PyObject
*resultobj
= 0;
43664 wxControl
*arg1
= (wxControl
*) 0 ;
43665 wxCommandEvent
*arg2
= 0 ;
43670 PyObject
* obj0
= 0 ;
43671 PyObject
* obj1
= 0 ;
43672 char * kwnames
[] = {
43673 (char *) "self",(char *) "event", NULL
43676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxControl
, 0 | 0 );
43678 if (!SWIG_IsOK(res1
)) {
43679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Control_Command" "', expected argument " "1"" of type '" "wxControl *""'");
43681 arg1
= reinterpret_cast< wxControl
* >(argp1
);
43682 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCommandEvent
, 0 );
43683 if (!SWIG_IsOK(res2
)) {
43684 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Control_Command" "', expected argument " "2"" of type '" "wxCommandEvent &""'");
43687 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Control_Command" "', expected argument " "2"" of type '" "wxCommandEvent &""'");
43689 arg2
= reinterpret_cast< wxCommandEvent
* >(argp2
);
43691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43692 (arg1
)->Command(*arg2
);
43693 wxPyEndAllowThreads(__tstate
);
43694 if (PyErr_Occurred()) SWIG_fail
;
43696 resultobj
= SWIG_Py_Void();
43703 SWIGINTERN PyObject
*_wrap_Control_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43704 PyObject
*resultobj
= 0;
43705 wxControl
*arg1
= (wxControl
*) 0 ;
43709 PyObject
*swig_obj
[1] ;
43711 if (!args
) SWIG_fail
;
43712 swig_obj
[0] = args
;
43713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxControl
, 0 | 0 );
43714 if (!SWIG_IsOK(res1
)) {
43715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Control_GetLabel" "', expected argument " "1"" of type '" "wxControl *""'");
43717 arg1
= reinterpret_cast< wxControl
* >(argp1
);
43719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43720 result
= (arg1
)->GetLabel();
43721 wxPyEndAllowThreads(__tstate
);
43722 if (PyErr_Occurred()) SWIG_fail
;
43726 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
43728 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
43737 SWIGINTERN PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43738 PyObject
*resultobj
= 0;
43739 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
43740 SwigValueWrapper
<wxVisualAttributes
> result
;
43743 PyObject
* obj0
= 0 ;
43744 char * kwnames
[] = {
43745 (char *) "variant", NULL
43748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
43750 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
43751 if (!SWIG_IsOK(ecode1
)) {
43752 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Control_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
43754 arg1
= static_cast< wxWindowVariant
>(val1
);
43757 if (!wxPyCheckForApp()) SWIG_fail
;
43758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43759 result
= wxControl::GetClassDefaultAttributes(arg1
);
43760 wxPyEndAllowThreads(__tstate
);
43761 if (PyErr_Occurred()) SWIG_fail
;
43763 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
43770 SWIGINTERN PyObject
*Control_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43772 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43773 SWIG_TypeNewClientData(SWIGTYPE_p_wxControl
, SWIG_NewClientData(obj
));
43774 return SWIG_Py_Void();
43777 SWIGINTERN PyObject
*Control_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43778 return SWIG_Python_InitShadowInstance(args
);
43781 SWIGINTERN PyObject
*_wrap_ItemContainer_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43782 PyObject
*resultobj
= 0;
43783 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
43784 wxString
*arg2
= 0 ;
43785 PyObject
*arg3
= (PyObject
*) NULL
;
43789 bool temp2
= false ;
43790 PyObject
* obj0
= 0 ;
43791 PyObject
* obj1
= 0 ;
43792 PyObject
* obj2
= 0 ;
43793 char * kwnames
[] = {
43794 (char *) "self",(char *) "item",(char *) "clientData", NULL
43797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
43799 if (!SWIG_IsOK(res1
)) {
43800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_Append" "', expected argument " "1"" of type '" "wxItemContainer *""'");
43802 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
43804 arg2
= wxString_in_helper(obj1
);
43805 if (arg2
== NULL
) SWIG_fail
;
43812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43813 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
43814 wxPyEndAllowThreads(__tstate
);
43815 if (PyErr_Occurred()) SWIG_fail
;
43817 resultobj
= SWIG_From_int(static_cast< int >(result
));
43832 SWIGINTERN PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43833 PyObject
*resultobj
= 0;
43834 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
43835 wxArrayString
*arg2
= 0 ;
43838 bool temp2
= false ;
43839 PyObject
* obj0
= 0 ;
43840 PyObject
* obj1
= 0 ;
43841 char * kwnames
[] = {
43842 (char *) "self",(char *) "strings", NULL
43845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
43847 if (!SWIG_IsOK(res1
)) {
43848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_AppendItems" "', expected argument " "1"" of type '" "wxItemContainer *""'");
43850 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
43852 if (! PySequence_Check(obj1
)) {
43853 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
43856 arg2
= new wxArrayString
;
43858 int i
, len
=PySequence_Length(obj1
);
43859 for (i
=0; i
<len
; i
++) {
43860 PyObject
* item
= PySequence_GetItem(obj1
, i
);
43861 wxString
* s
= wxString_in_helper(item
);
43862 if (PyErr_Occurred()) SWIG_fail
;
43869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43870 (arg1
)->Append((wxArrayString
const &)*arg2
);
43871 wxPyEndAllowThreads(__tstate
);
43872 if (PyErr_Occurred()) SWIG_fail
;
43874 resultobj
= SWIG_Py_Void();
43876 if (temp2
) delete arg2
;
43881 if (temp2
) delete arg2
;
43887 SWIGINTERN PyObject
*_wrap_ItemContainer_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43888 PyObject
*resultobj
= 0;
43889 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
43890 wxString
*arg2
= 0 ;
43891 unsigned int arg3
;
43892 PyObject
*arg4
= (PyObject
*) NULL
;
43896 bool temp2
= false ;
43897 unsigned int val3
;
43899 PyObject
* obj0
= 0 ;
43900 PyObject
* obj1
= 0 ;
43901 PyObject
* obj2
= 0 ;
43902 PyObject
* obj3
= 0 ;
43903 char * kwnames
[] = {
43904 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
43907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
43908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
43909 if (!SWIG_IsOK(res1
)) {
43910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_Insert" "', expected argument " "1"" of type '" "wxItemContainer *""'");
43912 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
43914 arg2
= wxString_in_helper(obj1
);
43915 if (arg2
== NULL
) SWIG_fail
;
43918 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
43919 if (!SWIG_IsOK(ecode3
)) {
43920 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ItemContainer_Insert" "', expected argument " "3"" of type '" "unsigned int""'");
43922 arg3
= static_cast< unsigned int >(val3
);
43927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43928 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
43929 wxPyEndAllowThreads(__tstate
);
43930 if (PyErr_Occurred()) SWIG_fail
;
43932 resultobj
= SWIG_From_int(static_cast< int >(result
));
43947 SWIGINTERN PyObject
*_wrap_ItemContainer_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43948 PyObject
*resultobj
= 0;
43949 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
43952 PyObject
*swig_obj
[1] ;
43954 if (!args
) SWIG_fail
;
43955 swig_obj
[0] = args
;
43956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
43957 if (!SWIG_IsOK(res1
)) {
43958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_Clear" "', expected argument " "1"" of type '" "wxItemContainer *""'");
43960 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
43962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43964 wxPyEndAllowThreads(__tstate
);
43965 if (PyErr_Occurred()) SWIG_fail
;
43967 resultobj
= SWIG_Py_Void();
43974 SWIGINTERN PyObject
*_wrap_ItemContainer_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43975 PyObject
*resultobj
= 0;
43976 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
43977 unsigned int arg2
;
43980 unsigned int val2
;
43982 PyObject
* obj0
= 0 ;
43983 PyObject
* obj1
= 0 ;
43984 char * kwnames
[] = {
43985 (char *) "self",(char *) "n", NULL
43988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
43990 if (!SWIG_IsOK(res1
)) {
43991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_Delete" "', expected argument " "1"" of type '" "wxItemContainer *""'");
43993 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
43994 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
43995 if (!SWIG_IsOK(ecode2
)) {
43996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_Delete" "', expected argument " "2"" of type '" "unsigned int""'");
43998 arg2
= static_cast< unsigned int >(val2
);
44000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44001 (arg1
)->Delete(arg2
);
44002 wxPyEndAllowThreads(__tstate
);
44003 if (PyErr_Occurred()) SWIG_fail
;
44005 resultobj
= SWIG_Py_Void();
44012 SWIGINTERN PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44013 PyObject
*resultobj
= 0;
44014 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44015 unsigned int arg2
;
44016 PyObject
*result
= 0 ;
44019 unsigned int val2
;
44021 PyObject
* obj0
= 0 ;
44022 PyObject
* obj1
= 0 ;
44023 char * kwnames
[] = {
44024 (char *) "self",(char *) "n", NULL
44027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44029 if (!SWIG_IsOK(res1
)) {
44030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetClientData" "', expected argument " "1"" of type '" "wxItemContainer *""'");
44032 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44033 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
44034 if (!SWIG_IsOK(ecode2
)) {
44035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_GetClientData" "', expected argument " "2"" of type '" "unsigned int""'");
44037 arg2
= static_cast< unsigned int >(val2
);
44039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44040 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
44041 wxPyEndAllowThreads(__tstate
);
44042 if (PyErr_Occurred()) SWIG_fail
;
44044 resultobj
= result
;
44051 SWIGINTERN PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44052 PyObject
*resultobj
= 0;
44053 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44054 unsigned int arg2
;
44055 PyObject
*arg3
= (PyObject
*) 0 ;
44058 unsigned int val2
;
44060 PyObject
* obj0
= 0 ;
44061 PyObject
* obj1
= 0 ;
44062 PyObject
* obj2
= 0 ;
44063 char * kwnames
[] = {
44064 (char *) "self",(char *) "n",(char *) "clientData", NULL
44067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
44068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44069 if (!SWIG_IsOK(res1
)) {
44070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_SetClientData" "', expected argument " "1"" of type '" "wxItemContainer *""'");
44072 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44073 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
44074 if (!SWIG_IsOK(ecode2
)) {
44075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_SetClientData" "', expected argument " "2"" of type '" "unsigned int""'");
44077 arg2
= static_cast< unsigned int >(val2
);
44080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44081 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
44082 wxPyEndAllowThreads(__tstate
);
44083 if (PyErr_Occurred()) SWIG_fail
;
44085 resultobj
= SWIG_Py_Void();
44092 SWIGINTERN PyObject
*_wrap_ItemContainer_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44093 PyObject
*resultobj
= 0;
44094 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44095 unsigned int result
;
44098 PyObject
*swig_obj
[1] ;
44100 if (!args
) SWIG_fail
;
44101 swig_obj
[0] = args
;
44102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44103 if (!SWIG_IsOK(res1
)) {
44104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetCount" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
44106 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44109 result
= (unsigned int)((wxItemContainer
const *)arg1
)->GetCount();
44110 wxPyEndAllowThreads(__tstate
);
44111 if (PyErr_Occurred()) SWIG_fail
;
44113 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
44120 SWIGINTERN PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44121 PyObject
*resultobj
= 0;
44122 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44126 PyObject
*swig_obj
[1] ;
44128 if (!args
) SWIG_fail
;
44129 swig_obj
[0] = args
;
44130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44131 if (!SWIG_IsOK(res1
)) {
44132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_IsEmpty" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
44134 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44137 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
44138 wxPyEndAllowThreads(__tstate
);
44139 if (PyErr_Occurred()) SWIG_fail
;
44142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44150 SWIGINTERN PyObject
*_wrap_ItemContainer_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44151 PyObject
*resultobj
= 0;
44152 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44153 unsigned int arg2
;
44157 unsigned int val2
;
44159 PyObject
* obj0
= 0 ;
44160 PyObject
* obj1
= 0 ;
44161 char * kwnames
[] = {
44162 (char *) "self",(char *) "n", NULL
44165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44167 if (!SWIG_IsOK(res1
)) {
44168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetString" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
44170 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44171 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
44172 if (!SWIG_IsOK(ecode2
)) {
44173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_GetString" "', expected argument " "2"" of type '" "unsigned int""'");
44175 arg2
= static_cast< unsigned int >(val2
);
44177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44178 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
44179 wxPyEndAllowThreads(__tstate
);
44180 if (PyErr_Occurred()) SWIG_fail
;
44184 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44186 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44195 SWIGINTERN PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44196 PyObject
*resultobj
= 0;
44197 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44198 wxArrayString result
;
44201 PyObject
*swig_obj
[1] ;
44203 if (!args
) SWIG_fail
;
44204 swig_obj
[0] = args
;
44205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44206 if (!SWIG_IsOK(res1
)) {
44207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetStrings" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
44209 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44212 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
44213 wxPyEndAllowThreads(__tstate
);
44214 if (PyErr_Occurred()) SWIG_fail
;
44217 resultobj
= wxArrayString2PyList_helper(result
);
44225 SWIGINTERN PyObject
*_wrap_ItemContainer_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44226 PyObject
*resultobj
= 0;
44227 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44228 unsigned int arg2
;
44229 wxString
*arg3
= 0 ;
44232 unsigned int val2
;
44234 bool temp3
= false ;
44235 PyObject
* obj0
= 0 ;
44236 PyObject
* obj1
= 0 ;
44237 PyObject
* obj2
= 0 ;
44238 char * kwnames
[] = {
44239 (char *) "self",(char *) "n",(char *) "s", NULL
44242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
44243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44244 if (!SWIG_IsOK(res1
)) {
44245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_SetString" "', expected argument " "1"" of type '" "wxItemContainer *""'");
44247 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44248 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
44249 if (!SWIG_IsOK(ecode2
)) {
44250 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_SetString" "', expected argument " "2"" of type '" "unsigned int""'");
44252 arg2
= static_cast< unsigned int >(val2
);
44254 arg3
= wxString_in_helper(obj2
);
44255 if (arg3
== NULL
) SWIG_fail
;
44259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44260 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
44261 wxPyEndAllowThreads(__tstate
);
44262 if (PyErr_Occurred()) SWIG_fail
;
44264 resultobj
= SWIG_Py_Void();
44279 SWIGINTERN PyObject
*_wrap_ItemContainer_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44280 PyObject
*resultobj
= 0;
44281 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44282 wxString
*arg2
= 0 ;
44286 bool temp2
= false ;
44287 PyObject
* obj0
= 0 ;
44288 PyObject
* obj1
= 0 ;
44289 char * kwnames
[] = {
44290 (char *) "self",(char *) "s", NULL
44293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44295 if (!SWIG_IsOK(res1
)) {
44296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_FindString" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
44298 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44300 arg2
= wxString_in_helper(obj1
);
44301 if (arg2
== NULL
) SWIG_fail
;
44305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44306 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
44307 wxPyEndAllowThreads(__tstate
);
44308 if (PyErr_Occurred()) SWIG_fail
;
44310 resultobj
= SWIG_From_int(static_cast< int >(result
));
44325 SWIGINTERN PyObject
*_wrap_ItemContainer_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44326 PyObject
*resultobj
= 0;
44327 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44333 PyObject
* obj0
= 0 ;
44334 PyObject
* obj1
= 0 ;
44335 char * kwnames
[] = {
44336 (char *) "self",(char *) "n", NULL
44339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44341 if (!SWIG_IsOK(res1
)) {
44342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_SetSelection" "', expected argument " "1"" of type '" "wxItemContainer *""'");
44344 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44345 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44346 if (!SWIG_IsOK(ecode2
)) {
44347 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_SetSelection" "', expected argument " "2"" of type '" "int""'");
44349 arg2
= static_cast< int >(val2
);
44351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44352 (arg1
)->SetSelection(arg2
);
44353 wxPyEndAllowThreads(__tstate
);
44354 if (PyErr_Occurred()) SWIG_fail
;
44356 resultobj
= SWIG_Py_Void();
44363 SWIGINTERN PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44364 PyObject
*resultobj
= 0;
44365 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44369 PyObject
*swig_obj
[1] ;
44371 if (!args
) SWIG_fail
;
44372 swig_obj
[0] = args
;
44373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44374 if (!SWIG_IsOK(res1
)) {
44375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetSelection" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
44377 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44380 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
44381 wxPyEndAllowThreads(__tstate
);
44382 if (PyErr_Occurred()) SWIG_fail
;
44384 resultobj
= SWIG_From_int(static_cast< int >(result
));
44391 SWIGINTERN PyObject
*_wrap_ItemContainer_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44392 PyObject
*resultobj
= 0;
44393 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44394 wxString
*arg2
= 0 ;
44398 bool temp2
= false ;
44399 PyObject
* obj0
= 0 ;
44400 PyObject
* obj1
= 0 ;
44401 char * kwnames
[] = {
44402 (char *) "self",(char *) "s", NULL
44405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44407 if (!SWIG_IsOK(res1
)) {
44408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_SetStringSelection" "', expected argument " "1"" of type '" "wxItemContainer *""'");
44410 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44412 arg2
= wxString_in_helper(obj1
);
44413 if (arg2
== NULL
) SWIG_fail
;
44417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44418 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
44419 wxPyEndAllowThreads(__tstate
);
44420 if (PyErr_Occurred()) SWIG_fail
;
44423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44439 SWIGINTERN PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44440 PyObject
*resultobj
= 0;
44441 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44445 PyObject
*swig_obj
[1] ;
44447 if (!args
) SWIG_fail
;
44448 swig_obj
[0] = args
;
44449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44450 if (!SWIG_IsOK(res1
)) {
44451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetStringSelection" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
44453 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44456 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
44457 wxPyEndAllowThreads(__tstate
);
44458 if (PyErr_Occurred()) SWIG_fail
;
44462 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44464 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44473 SWIGINTERN PyObject
*_wrap_ItemContainer_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44474 PyObject
*resultobj
= 0;
44475 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44481 PyObject
* obj0
= 0 ;
44482 PyObject
* obj1
= 0 ;
44483 char * kwnames
[] = {
44484 (char *) "self",(char *) "n", NULL
44487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44489 if (!SWIG_IsOK(res1
)) {
44490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_Select" "', expected argument " "1"" of type '" "wxItemContainer *""'");
44492 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44493 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44494 if (!SWIG_IsOK(ecode2
)) {
44495 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_Select" "', expected argument " "2"" of type '" "int""'");
44497 arg2
= static_cast< int >(val2
);
44499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44500 (arg1
)->Select(arg2
);
44501 wxPyEndAllowThreads(__tstate
);
44502 if (PyErr_Occurred()) SWIG_fail
;
44504 resultobj
= SWIG_Py_Void();
44511 SWIGINTERN PyObject
*ItemContainer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44513 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44514 SWIG_TypeNewClientData(SWIGTYPE_p_wxItemContainer
, SWIG_NewClientData(obj
));
44515 return SWIG_Py_Void();
44518 SWIGINTERN PyObject
*ControlWithItems_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44520 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44521 SWIG_TypeNewClientData(SWIGTYPE_p_wxControlWithItems
, SWIG_NewClientData(obj
));
44522 return SWIG_Py_Void();
44525 SWIGINTERN PyObject
*_wrap_new_SizerItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44526 PyObject
*resultobj
= 0;
44527 wxSizerItem
*result
= 0 ;
44529 if (!SWIG_Python_UnpackTuple(args
,"new_SizerItem",0,0,0)) SWIG_fail
;
44531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44532 result
= (wxSizerItem
*)new wxSizerItem();
44533 wxPyEndAllowThreads(__tstate
);
44534 if (PyErr_Occurred()) SWIG_fail
;
44536 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_NEW
| 0 );
44543 SWIGINTERN PyObject
*_wrap_delete_SizerItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44544 PyObject
*resultobj
= 0;
44545 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
44548 PyObject
*swig_obj
[1] ;
44550 if (!args
) SWIG_fail
;
44551 swig_obj
[0] = args
;
44552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_DISOWN
| 0 );
44553 if (!SWIG_IsOK(res1
)) {
44554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SizerItem" "', expected argument " "1"" of type '" "wxSizerItem *""'");
44556 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
44558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44561 wxPyEndAllowThreads(__tstate
);
44562 if (PyErr_Occurred()) SWIG_fail
;
44564 resultobj
= SWIG_Py_Void();
44571 SWIGINTERN PyObject
*_wrap_new_SizerItemWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44572 PyObject
*resultobj
= 0;
44573 wxWindow
*arg1
= (wxWindow
*) 0 ;
44577 PyObject
*arg5
= (PyObject
*) NULL
;
44578 wxSizerItem
*result
= 0 ;
44587 PyObject
* obj0
= 0 ;
44588 PyObject
* obj1
= 0 ;
44589 PyObject
* obj2
= 0 ;
44590 PyObject
* obj3
= 0 ;
44591 PyObject
* obj4
= 0 ;
44592 char * kwnames
[] = {
44593 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
44596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
44597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44598 if (!SWIG_IsOK(res1
)) {
44599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SizerItemWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
44601 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44602 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44603 if (!SWIG_IsOK(ecode2
)) {
44604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SizerItemWindow" "', expected argument " "2"" of type '" "int""'");
44606 arg2
= static_cast< int >(val2
);
44607 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44608 if (!SWIG_IsOK(ecode3
)) {
44609 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SizerItemWindow" "', expected argument " "3"" of type '" "int""'");
44611 arg3
= static_cast< int >(val3
);
44612 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
44613 if (!SWIG_IsOK(ecode4
)) {
44614 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_SizerItemWindow" "', expected argument " "4"" of type '" "int""'");
44616 arg4
= static_cast< int >(val4
);
44621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44622 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
44623 wxPyEndAllowThreads(__tstate
);
44624 if (PyErr_Occurred()) SWIG_fail
;
44626 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_OWN
| 0 );
44633 SWIGINTERN PyObject
*_wrap_new_SizerItemSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44634 PyObject
*resultobj
= 0;
44640 PyObject
*arg6
= (PyObject
*) NULL
;
44641 wxSizerItem
*result
= 0 ;
44652 PyObject
* obj0
= 0 ;
44653 PyObject
* obj1
= 0 ;
44654 PyObject
* obj2
= 0 ;
44655 PyObject
* obj3
= 0 ;
44656 PyObject
* obj4
= 0 ;
44657 PyObject
* obj5
= 0 ;
44658 char * kwnames
[] = {
44659 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
44662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
44663 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
44664 if (!SWIG_IsOK(ecode1
)) {
44665 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SizerItemSpacer" "', expected argument " "1"" of type '" "int""'");
44667 arg1
= static_cast< int >(val1
);
44668 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44669 if (!SWIG_IsOK(ecode2
)) {
44670 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SizerItemSpacer" "', expected argument " "2"" of type '" "int""'");
44672 arg2
= static_cast< int >(val2
);
44673 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44674 if (!SWIG_IsOK(ecode3
)) {
44675 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SizerItemSpacer" "', expected argument " "3"" of type '" "int""'");
44677 arg3
= static_cast< int >(val3
);
44678 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
44679 if (!SWIG_IsOK(ecode4
)) {
44680 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_SizerItemSpacer" "', expected argument " "4"" of type '" "int""'");
44682 arg4
= static_cast< int >(val4
);
44683 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
44684 if (!SWIG_IsOK(ecode5
)) {
44685 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SizerItemSpacer" "', expected argument " "5"" of type '" "int""'");
44687 arg5
= static_cast< int >(val5
);
44692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44693 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
44694 wxPyEndAllowThreads(__tstate
);
44695 if (PyErr_Occurred()) SWIG_fail
;
44697 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_OWN
| 0 );
44704 SWIGINTERN PyObject
*_wrap_new_SizerItemSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44705 PyObject
*resultobj
= 0;
44706 wxSizer
*arg1
= (wxSizer
*) 0 ;
44710 PyObject
*arg5
= (PyObject
*) NULL
;
44711 wxSizerItem
*result
= 0 ;
44719 PyObject
* obj0
= 0 ;
44720 PyObject
* obj1
= 0 ;
44721 PyObject
* obj2
= 0 ;
44722 PyObject
* obj3
= 0 ;
44723 PyObject
* obj4
= 0 ;
44724 char * kwnames
[] = {
44725 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
44728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
44729 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
44730 if (!SWIG_IsOK(res1
)) {
44731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SizerItemSizer" "', expected argument " "1"" of type '" "wxSizer *""'");
44733 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44734 if (!SWIG_IsOK(ecode2
)) {
44735 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SizerItemSizer" "', expected argument " "2"" of type '" "int""'");
44737 arg2
= static_cast< int >(val2
);
44738 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
44739 if (!SWIG_IsOK(ecode3
)) {
44740 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SizerItemSizer" "', expected argument " "3"" of type '" "int""'");
44742 arg3
= static_cast< int >(val3
);
44743 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
44744 if (!SWIG_IsOK(ecode4
)) {
44745 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_SizerItemSizer" "', expected argument " "4"" of type '" "int""'");
44747 arg4
= static_cast< int >(val4
);
44752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44753 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
44754 wxPyEndAllowThreads(__tstate
);
44755 if (PyErr_Occurred()) SWIG_fail
;
44757 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_OWN
| 0 );
44764 SWIGINTERN PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44765 PyObject
*resultobj
= 0;
44766 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
44769 PyObject
*swig_obj
[1] ;
44771 if (!args
) SWIG_fail
;
44772 swig_obj
[0] = args
;
44773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
44774 if (!SWIG_IsOK(res1
)) {
44775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_DeleteWindows" "', expected argument " "1"" of type '" "wxSizerItem *""'");
44777 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
44779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44780 (arg1
)->DeleteWindows();
44781 wxPyEndAllowThreads(__tstate
);
44782 if (PyErr_Occurred()) SWIG_fail
;
44784 resultobj
= SWIG_Py_Void();
44791 SWIGINTERN PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44792 PyObject
*resultobj
= 0;
44793 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
44796 PyObject
*swig_obj
[1] ;
44798 if (!args
) SWIG_fail
;
44799 swig_obj
[0] = args
;
44800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
44801 if (!SWIG_IsOK(res1
)) {
44802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_DetachSizer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
44804 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
44806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44807 (arg1
)->DetachSizer();
44808 wxPyEndAllowThreads(__tstate
);
44809 if (PyErr_Occurred()) SWIG_fail
;
44811 resultobj
= SWIG_Py_Void();
44818 SWIGINTERN PyObject
*_wrap_SizerItem_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44819 PyObject
*resultobj
= 0;
44820 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
44824 PyObject
*swig_obj
[1] ;
44826 if (!args
) SWIG_fail
;
44827 swig_obj
[0] = args
;
44828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
44829 if (!SWIG_IsOK(res1
)) {
44830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetSize" "', expected argument " "1"" of type '" "wxSizerItem *""'");
44832 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
44834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44835 result
= (arg1
)->GetSize();
44836 wxPyEndAllowThreads(__tstate
);
44837 if (PyErr_Occurred()) SWIG_fail
;
44839 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
44846 SWIGINTERN PyObject
*_wrap_SizerItem_CalcMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44847 PyObject
*resultobj
= 0;
44848 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
44852 PyObject
*swig_obj
[1] ;
44854 if (!args
) SWIG_fail
;
44855 swig_obj
[0] = args
;
44856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
44857 if (!SWIG_IsOK(res1
)) {
44858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_CalcMin" "', expected argument " "1"" of type '" "wxSizerItem *""'");
44860 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
44862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44863 result
= (arg1
)->CalcMin();
44864 wxPyEndAllowThreads(__tstate
);
44865 if (PyErr_Occurred()) SWIG_fail
;
44867 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
44874 SWIGINTERN PyObject
*_wrap_SizerItem_SetDimension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44875 PyObject
*resultobj
= 0;
44876 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
44877 wxPoint
*arg2
= 0 ;
44883 PyObject
* obj0
= 0 ;
44884 PyObject
* obj1
= 0 ;
44885 PyObject
* obj2
= 0 ;
44886 char * kwnames
[] = {
44887 (char *) "self",(char *) "pos",(char *) "size", NULL
44890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
44891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
44892 if (!SWIG_IsOK(res1
)) {
44893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetDimension" "', expected argument " "1"" of type '" "wxSizerItem *""'");
44895 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
44898 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
44902 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
44905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44906 (arg1
)->SetDimension((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
44907 wxPyEndAllowThreads(__tstate
);
44908 if (PyErr_Occurred()) SWIG_fail
;
44910 resultobj
= SWIG_Py_Void();
44917 SWIGINTERN PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44918 PyObject
*resultobj
= 0;
44919 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
44923 PyObject
*swig_obj
[1] ;
44925 if (!args
) SWIG_fail
;
44926 swig_obj
[0] = args
;
44927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
44928 if (!SWIG_IsOK(res1
)) {
44929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetMinSize" "', expected argument " "1"" of type '" "wxSizerItem *""'");
44931 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
44933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44934 result
= (arg1
)->GetMinSize();
44935 wxPyEndAllowThreads(__tstate
);
44936 if (PyErr_Occurred()) SWIG_fail
;
44938 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
44945 SWIGINTERN PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44946 PyObject
*resultobj
= 0;
44947 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
44951 PyObject
*swig_obj
[1] ;
44953 if (!args
) SWIG_fail
;
44954 swig_obj
[0] = args
;
44955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
44956 if (!SWIG_IsOK(res1
)) {
44957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetMinSizeWithBorder" "', expected argument " "1"" of type '" "wxSizerItem const *""'");
44959 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
44961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44962 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
44963 wxPyEndAllowThreads(__tstate
);
44964 if (PyErr_Occurred()) SWIG_fail
;
44966 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
44973 SWIGINTERN PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44974 PyObject
*resultobj
= 0;
44975 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
44984 PyObject
* obj0
= 0 ;
44985 PyObject
* obj1
= 0 ;
44986 PyObject
* obj2
= 0 ;
44987 char * kwnames
[] = {
44988 (char *) "self",(char *) "x",(char *) "y", NULL
44991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
44992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
44993 if (!SWIG_IsOK(res1
)) {
44994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetInitSize" "', expected argument " "1"" of type '" "wxSizerItem *""'");
44996 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
44997 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44998 if (!SWIG_IsOK(ecode2
)) {
44999 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetInitSize" "', expected argument " "2"" of type '" "int""'");
45001 arg2
= static_cast< int >(val2
);
45002 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45003 if (!SWIG_IsOK(ecode3
)) {
45004 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SizerItem_SetInitSize" "', expected argument " "3"" of type '" "int""'");
45006 arg3
= static_cast< int >(val3
);
45008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45009 (arg1
)->SetInitSize(arg2
,arg3
);
45010 wxPyEndAllowThreads(__tstate
);
45011 if (PyErr_Occurred()) SWIG_fail
;
45013 resultobj
= SWIG_Py_Void();
45020 SWIGINTERN PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45021 PyObject
*resultobj
= 0;
45022 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45031 PyObject
* obj0
= 0 ;
45032 PyObject
* obj1
= 0 ;
45033 PyObject
* obj2
= 0 ;
45034 char * kwnames
[] = {
45035 (char *) "self",(char *) "width",(char *) "height", NULL
45038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45040 if (!SWIG_IsOK(res1
)) {
45041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetRatioWH" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45043 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45044 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45045 if (!SWIG_IsOK(ecode2
)) {
45046 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetRatioWH" "', expected argument " "2"" of type '" "int""'");
45048 arg2
= static_cast< int >(val2
);
45049 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45050 if (!SWIG_IsOK(ecode3
)) {
45051 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SizerItem_SetRatioWH" "', expected argument " "3"" of type '" "int""'");
45053 arg3
= static_cast< int >(val3
);
45055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45056 (arg1
)->SetRatio(arg2
,arg3
);
45057 wxPyEndAllowThreads(__tstate
);
45058 if (PyErr_Occurred()) SWIG_fail
;
45060 resultobj
= SWIG_Py_Void();
45067 SWIGINTERN PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45068 PyObject
*resultobj
= 0;
45069 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45074 PyObject
* obj0
= 0 ;
45075 PyObject
* obj1
= 0 ;
45076 char * kwnames
[] = {
45077 (char *) "self",(char *) "size", NULL
45080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45082 if (!SWIG_IsOK(res1
)) {
45083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetRatioSize" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45085 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45088 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
45091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45092 (arg1
)->SetRatio((wxSize
const &)*arg2
);
45093 wxPyEndAllowThreads(__tstate
);
45094 if (PyErr_Occurred()) SWIG_fail
;
45096 resultobj
= SWIG_Py_Void();
45103 SWIGINTERN PyObject
*_wrap_SizerItem_SetRatio(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45104 PyObject
*resultobj
= 0;
45105 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45111 PyObject
* obj0
= 0 ;
45112 PyObject
* obj1
= 0 ;
45113 char * kwnames
[] = {
45114 (char *) "self",(char *) "ratio", NULL
45117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45119 if (!SWIG_IsOK(res1
)) {
45120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetRatio" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45122 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45123 ecode2
= SWIG_AsVal_float(obj1
, &val2
);
45124 if (!SWIG_IsOK(ecode2
)) {
45125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetRatio" "', expected argument " "2"" of type '" "float""'");
45127 arg2
= static_cast< float >(val2
);
45129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45130 (arg1
)->SetRatio(arg2
);
45131 wxPyEndAllowThreads(__tstate
);
45132 if (PyErr_Occurred()) SWIG_fail
;
45134 resultobj
= SWIG_Py_Void();
45141 SWIGINTERN PyObject
*_wrap_SizerItem_GetRatio(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45142 PyObject
*resultobj
= 0;
45143 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45147 PyObject
*swig_obj
[1] ;
45149 if (!args
) SWIG_fail
;
45150 swig_obj
[0] = args
;
45151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45152 if (!SWIG_IsOK(res1
)) {
45153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetRatio" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45155 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45158 result
= (float)(arg1
)->GetRatio();
45159 wxPyEndAllowThreads(__tstate
);
45160 if (PyErr_Occurred()) SWIG_fail
;
45162 resultobj
= SWIG_From_float(static_cast< float >(result
));
45169 SWIGINTERN PyObject
*_wrap_SizerItem_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45170 PyObject
*resultobj
= 0;
45171 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45175 PyObject
*swig_obj
[1] ;
45177 if (!args
) SWIG_fail
;
45178 swig_obj
[0] = args
;
45179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45180 if (!SWIG_IsOK(res1
)) {
45181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetRect" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45183 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45186 result
= (arg1
)->GetRect();
45187 wxPyEndAllowThreads(__tstate
);
45188 if (PyErr_Occurred()) SWIG_fail
;
45190 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
45197 SWIGINTERN PyObject
*_wrap_SizerItem_IsWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45198 PyObject
*resultobj
= 0;
45199 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45203 PyObject
*swig_obj
[1] ;
45205 if (!args
) SWIG_fail
;
45206 swig_obj
[0] = args
;
45207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45208 if (!SWIG_IsOK(res1
)) {
45209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_IsWindow" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45211 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45214 result
= (bool)(arg1
)->IsWindow();
45215 wxPyEndAllowThreads(__tstate
);
45216 if (PyErr_Occurred()) SWIG_fail
;
45219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45227 SWIGINTERN PyObject
*_wrap_SizerItem_IsSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45228 PyObject
*resultobj
= 0;
45229 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45233 PyObject
*swig_obj
[1] ;
45235 if (!args
) SWIG_fail
;
45236 swig_obj
[0] = args
;
45237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45238 if (!SWIG_IsOK(res1
)) {
45239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_IsSizer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45241 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45244 result
= (bool)(arg1
)->IsSizer();
45245 wxPyEndAllowThreads(__tstate
);
45246 if (PyErr_Occurred()) SWIG_fail
;
45249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45257 SWIGINTERN PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45258 PyObject
*resultobj
= 0;
45259 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45263 PyObject
*swig_obj
[1] ;
45265 if (!args
) SWIG_fail
;
45266 swig_obj
[0] = args
;
45267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45268 if (!SWIG_IsOK(res1
)) {
45269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_IsSpacer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45271 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45274 result
= (bool)(arg1
)->IsSpacer();
45275 wxPyEndAllowThreads(__tstate
);
45276 if (PyErr_Occurred()) SWIG_fail
;
45279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45287 SWIGINTERN PyObject
*_wrap_SizerItem_SetProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45288 PyObject
*resultobj
= 0;
45289 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45295 PyObject
* obj0
= 0 ;
45296 PyObject
* obj1
= 0 ;
45297 char * kwnames
[] = {
45298 (char *) "self",(char *) "proportion", NULL
45301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45303 if (!SWIG_IsOK(res1
)) {
45304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetProportion" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45306 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45307 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45308 if (!SWIG_IsOK(ecode2
)) {
45309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetProportion" "', expected argument " "2"" of type '" "int""'");
45311 arg2
= static_cast< int >(val2
);
45313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45314 (arg1
)->SetProportion(arg2
);
45315 wxPyEndAllowThreads(__tstate
);
45316 if (PyErr_Occurred()) SWIG_fail
;
45318 resultobj
= SWIG_Py_Void();
45325 SWIGINTERN PyObject
*_wrap_SizerItem_GetProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45326 PyObject
*resultobj
= 0;
45327 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45331 PyObject
*swig_obj
[1] ;
45333 if (!args
) SWIG_fail
;
45334 swig_obj
[0] = args
;
45335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45336 if (!SWIG_IsOK(res1
)) {
45337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetProportion" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45339 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45342 result
= (int)(arg1
)->GetProportion();
45343 wxPyEndAllowThreads(__tstate
);
45344 if (PyErr_Occurred()) SWIG_fail
;
45346 resultobj
= SWIG_From_int(static_cast< int >(result
));
45353 SWIGINTERN PyObject
*_wrap_SizerItem_SetFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45354 PyObject
*resultobj
= 0;
45355 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45361 PyObject
* obj0
= 0 ;
45362 PyObject
* obj1
= 0 ;
45363 char * kwnames
[] = {
45364 (char *) "self",(char *) "flag", NULL
45367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45369 if (!SWIG_IsOK(res1
)) {
45370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetFlag" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45372 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45373 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45374 if (!SWIG_IsOK(ecode2
)) {
45375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetFlag" "', expected argument " "2"" of type '" "int""'");
45377 arg2
= static_cast< int >(val2
);
45379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45380 (arg1
)->SetFlag(arg2
);
45381 wxPyEndAllowThreads(__tstate
);
45382 if (PyErr_Occurred()) SWIG_fail
;
45384 resultobj
= SWIG_Py_Void();
45391 SWIGINTERN PyObject
*_wrap_SizerItem_GetFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45392 PyObject
*resultobj
= 0;
45393 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45397 PyObject
*swig_obj
[1] ;
45399 if (!args
) SWIG_fail
;
45400 swig_obj
[0] = args
;
45401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45402 if (!SWIG_IsOK(res1
)) {
45403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetFlag" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45405 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45408 result
= (int)(arg1
)->GetFlag();
45409 wxPyEndAllowThreads(__tstate
);
45410 if (PyErr_Occurred()) SWIG_fail
;
45412 resultobj
= SWIG_From_int(static_cast< int >(result
));
45419 SWIGINTERN PyObject
*_wrap_SizerItem_SetBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45420 PyObject
*resultobj
= 0;
45421 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45427 PyObject
* obj0
= 0 ;
45428 PyObject
* obj1
= 0 ;
45429 char * kwnames
[] = {
45430 (char *) "self",(char *) "border", NULL
45433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45435 if (!SWIG_IsOK(res1
)) {
45436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetBorder" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45438 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45439 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45440 if (!SWIG_IsOK(ecode2
)) {
45441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetBorder" "', expected argument " "2"" of type '" "int""'");
45443 arg2
= static_cast< int >(val2
);
45445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45446 (arg1
)->SetBorder(arg2
);
45447 wxPyEndAllowThreads(__tstate
);
45448 if (PyErr_Occurred()) SWIG_fail
;
45450 resultobj
= SWIG_Py_Void();
45457 SWIGINTERN PyObject
*_wrap_SizerItem_GetBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45458 PyObject
*resultobj
= 0;
45459 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45463 PyObject
*swig_obj
[1] ;
45465 if (!args
) SWIG_fail
;
45466 swig_obj
[0] = args
;
45467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45468 if (!SWIG_IsOK(res1
)) {
45469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetBorder" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45471 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45474 result
= (int)(arg1
)->GetBorder();
45475 wxPyEndAllowThreads(__tstate
);
45476 if (PyErr_Occurred()) SWIG_fail
;
45478 resultobj
= SWIG_From_int(static_cast< int >(result
));
45485 SWIGINTERN PyObject
*_wrap_SizerItem_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45486 PyObject
*resultobj
= 0;
45487 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45488 wxWindow
*result
= 0 ;
45491 PyObject
*swig_obj
[1] ;
45493 if (!args
) SWIG_fail
;
45494 swig_obj
[0] = args
;
45495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45496 if (!SWIG_IsOK(res1
)) {
45497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetWindow" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45499 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45502 result
= (wxWindow
*)(arg1
)->GetWindow();
45503 wxPyEndAllowThreads(__tstate
);
45504 if (PyErr_Occurred()) SWIG_fail
;
45507 resultobj
= wxPyMake_wxObject(result
, 0);
45515 SWIGINTERN PyObject
*_wrap_SizerItem_SetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45516 PyObject
*resultobj
= 0;
45517 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45518 wxWindow
*arg2
= (wxWindow
*) 0 ;
45523 PyObject
* obj0
= 0 ;
45524 PyObject
* obj1
= 0 ;
45525 char * kwnames
[] = {
45526 (char *) "self",(char *) "window", NULL
45529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45531 if (!SWIG_IsOK(res1
)) {
45532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetWindow" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45534 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45535 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45536 if (!SWIG_IsOK(res2
)) {
45537 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizerItem_SetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
45539 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45542 (arg1
)->SetWindow(arg2
);
45543 wxPyEndAllowThreads(__tstate
);
45544 if (PyErr_Occurred()) SWIG_fail
;
45546 resultobj
= SWIG_Py_Void();
45553 SWIGINTERN PyObject
*_wrap_SizerItem_GetSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45554 PyObject
*resultobj
= 0;
45555 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45556 wxSizer
*result
= 0 ;
45559 PyObject
*swig_obj
[1] ;
45561 if (!args
) SWIG_fail
;
45562 swig_obj
[0] = args
;
45563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45564 if (!SWIG_IsOK(res1
)) {
45565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetSizer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45567 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45570 result
= (wxSizer
*)(arg1
)->GetSizer();
45571 wxPyEndAllowThreads(__tstate
);
45572 if (PyErr_Occurred()) SWIG_fail
;
45575 resultobj
= wxPyMake_wxObject(result
, (bool)0);
45583 SWIGINTERN PyObject
*_wrap_SizerItem_SetSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45584 PyObject
*resultobj
= 0;
45585 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45586 wxSizer
*arg2
= (wxSizer
*) 0 ;
45590 PyObject
* obj0
= 0 ;
45591 PyObject
* obj1
= 0 ;
45592 char * kwnames
[] = {
45593 (char *) "self",(char *) "sizer", NULL
45596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45598 if (!SWIG_IsOK(res1
)) {
45599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetSizer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45601 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45602 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
45603 if (!SWIG_IsOK(res2
)) {
45604 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizerItem_SetSizer" "', expected argument " "2"" of type '" "wxSizer *""'");
45607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45608 (arg1
)->SetSizer(arg2
);
45609 wxPyEndAllowThreads(__tstate
);
45610 if (PyErr_Occurred()) SWIG_fail
;
45612 resultobj
= SWIG_Py_Void();
45619 SWIGINTERN PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45620 PyObject
*resultobj
= 0;
45621 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45622 wxSize
*result
= 0 ;
45625 PyObject
*swig_obj
[1] ;
45627 if (!args
) SWIG_fail
;
45628 swig_obj
[0] = args
;
45629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45630 if (!SWIG_IsOK(res1
)) {
45631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetSpacer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45633 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45637 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
45638 result
= (wxSize
*) &_result_ref
;
45640 wxPyEndAllowThreads(__tstate
);
45641 if (PyErr_Occurred()) SWIG_fail
;
45643 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
45650 SWIGINTERN PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45651 PyObject
*resultobj
= 0;
45652 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45657 PyObject
* obj0
= 0 ;
45658 PyObject
* obj1
= 0 ;
45659 char * kwnames
[] = {
45660 (char *) "self",(char *) "size", NULL
45663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45665 if (!SWIG_IsOK(res1
)) {
45666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetSpacer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45668 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45671 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
45674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45675 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
45676 wxPyEndAllowThreads(__tstate
);
45677 if (PyErr_Occurred()) SWIG_fail
;
45679 resultobj
= SWIG_Py_Void();
45686 SWIGINTERN PyObject
*_wrap_SizerItem_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45687 PyObject
*resultobj
= 0;
45688 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45694 PyObject
* obj0
= 0 ;
45695 PyObject
* obj1
= 0 ;
45696 char * kwnames
[] = {
45697 (char *) "self",(char *) "show", NULL
45700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45702 if (!SWIG_IsOK(res1
)) {
45703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_Show" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45705 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45706 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
45707 if (!SWIG_IsOK(ecode2
)) {
45708 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_Show" "', expected argument " "2"" of type '" "bool""'");
45710 arg2
= static_cast< bool >(val2
);
45712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45713 (arg1
)->Show(arg2
);
45714 wxPyEndAllowThreads(__tstate
);
45715 if (PyErr_Occurred()) SWIG_fail
;
45717 resultobj
= SWIG_Py_Void();
45724 SWIGINTERN PyObject
*_wrap_SizerItem_IsShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45725 PyObject
*resultobj
= 0;
45726 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45730 PyObject
*swig_obj
[1] ;
45732 if (!args
) SWIG_fail
;
45733 swig_obj
[0] = args
;
45734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45735 if (!SWIG_IsOK(res1
)) {
45736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_IsShown" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45738 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45741 result
= (bool)(arg1
)->IsShown();
45742 wxPyEndAllowThreads(__tstate
);
45743 if (PyErr_Occurred()) SWIG_fail
;
45746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45754 SWIGINTERN PyObject
*_wrap_SizerItem_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45755 PyObject
*resultobj
= 0;
45756 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45760 PyObject
*swig_obj
[1] ;
45762 if (!args
) SWIG_fail
;
45763 swig_obj
[0] = args
;
45764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45765 if (!SWIG_IsOK(res1
)) {
45766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetPosition" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45768 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45771 result
= (arg1
)->GetPosition();
45772 wxPyEndAllowThreads(__tstate
);
45773 if (PyErr_Occurred()) SWIG_fail
;
45775 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
45782 SWIGINTERN PyObject
*_wrap_SizerItem_GetUserData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45783 PyObject
*resultobj
= 0;
45784 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45785 PyObject
*result
= 0 ;
45788 PyObject
*swig_obj
[1] ;
45790 if (!args
) SWIG_fail
;
45791 swig_obj
[0] = args
;
45792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45793 if (!SWIG_IsOK(res1
)) {
45794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetUserData" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45796 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45799 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
45800 wxPyEndAllowThreads(__tstate
);
45801 if (PyErr_Occurred()) SWIG_fail
;
45803 resultobj
= result
;
45810 SWIGINTERN PyObject
*_wrap_SizerItem_SetUserData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45811 PyObject
*resultobj
= 0;
45812 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45813 PyObject
*arg2
= (PyObject
*) 0 ;
45816 PyObject
* obj0
= 0 ;
45817 PyObject
* obj1
= 0 ;
45818 char * kwnames
[] = {
45819 (char *) "self",(char *) "userData", NULL
45822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetUserData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45824 if (!SWIG_IsOK(res1
)) {
45825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetUserData" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45827 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45831 wxSizerItem_SetUserData(arg1
,arg2
);
45832 wxPyEndAllowThreads(__tstate
);
45833 if (PyErr_Occurred()) SWIG_fail
;
45835 resultobj
= SWIG_Py_Void();
45842 SWIGINTERN PyObject
*SizerItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45844 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
45845 SWIG_TypeNewClientData(SWIGTYPE_p_wxSizerItem
, SWIG_NewClientData(obj
));
45846 return SWIG_Py_Void();
45849 SWIGINTERN PyObject
*SizerItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45850 return SWIG_Python_InitShadowInstance(args
);
45853 SWIGINTERN PyObject
*_wrap_delete_Sizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45854 PyObject
*resultobj
= 0;
45855 wxSizer
*arg1
= (wxSizer
*) 0 ;
45858 PyObject
*swig_obj
[1] ;
45860 if (!args
) SWIG_fail
;
45861 swig_obj
[0] = args
;
45862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
45863 if (!SWIG_IsOK(res1
)) {
45864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Sizer" "', expected argument " "1"" of type '" "wxSizer *""'");
45866 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
45868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45871 wxPyEndAllowThreads(__tstate
);
45872 if (PyErr_Occurred()) SWIG_fail
;
45874 resultobj
= SWIG_Py_Void();
45881 SWIGINTERN PyObject
*_wrap_Sizer__setOORInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45882 PyObject
*resultobj
= 0;
45883 wxSizer
*arg1
= (wxSizer
*) 0 ;
45884 PyObject
*arg2
= (PyObject
*) 0 ;
45887 PyObject
* obj0
= 0 ;
45888 PyObject
* obj1
= 0 ;
45889 char * kwnames
[] = {
45890 (char *) "self",(char *) "_self", NULL
45893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
45895 if (!SWIG_IsOK(res1
)) {
45896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer__setOORInfo" "', expected argument " "1"" of type '" "wxSizer *""'");
45898 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
45901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45902 wxSizer__setOORInfo(arg1
,arg2
);
45903 wxPyEndAllowThreads(__tstate
);
45904 if (PyErr_Occurred()) SWIG_fail
;
45906 resultobj
= SWIG_Py_Void();
45913 SWIGINTERN PyObject
*_wrap_Sizer_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45914 PyObject
*resultobj
= 0;
45915 wxSizer
*arg1
= (wxSizer
*) 0 ;
45916 PyObject
*arg2
= (PyObject
*) 0 ;
45917 int arg3
= (int) 0 ;
45918 int arg4
= (int) 0 ;
45919 int arg5
= (int) 0 ;
45920 PyObject
*arg6
= (PyObject
*) NULL
;
45921 wxSizerItem
*result
= 0 ;
45930 PyObject
* obj0
= 0 ;
45931 PyObject
* obj1
= 0 ;
45932 PyObject
* obj2
= 0 ;
45933 PyObject
* obj3
= 0 ;
45934 PyObject
* obj4
= 0 ;
45935 PyObject
* obj5
= 0 ;
45936 char * kwnames
[] = {
45937 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
45940 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
45941 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
45942 if (!SWIG_IsOK(res1
)) {
45943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Add" "', expected argument " "1"" of type '" "wxSizer *""'");
45945 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
45948 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45949 if (!SWIG_IsOK(ecode3
)) {
45950 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Sizer_Add" "', expected argument " "3"" of type '" "int""'");
45952 arg3
= static_cast< int >(val3
);
45955 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
45956 if (!SWIG_IsOK(ecode4
)) {
45957 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer_Add" "', expected argument " "4"" of type '" "int""'");
45959 arg4
= static_cast< int >(val4
);
45962 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
45963 if (!SWIG_IsOK(ecode5
)) {
45964 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Sizer_Add" "', expected argument " "5"" of type '" "int""'");
45966 arg5
= static_cast< int >(val5
);
45972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45973 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
45974 wxPyEndAllowThreads(__tstate
);
45975 if (PyErr_Occurred()) SWIG_fail
;
45977 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45984 SWIGINTERN PyObject
*_wrap_Sizer_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45985 PyObject
*resultobj
= 0;
45986 wxSizer
*arg1
= (wxSizer
*) 0 ;
45988 PyObject
*arg3
= (PyObject
*) 0 ;
45989 int arg4
= (int) 0 ;
45990 int arg5
= (int) 0 ;
45991 int arg6
= (int) 0 ;
45992 PyObject
*arg7
= (PyObject
*) NULL
;
45993 wxSizerItem
*result
= 0 ;
46004 PyObject
* obj0
= 0 ;
46005 PyObject
* obj1
= 0 ;
46006 PyObject
* obj2
= 0 ;
46007 PyObject
* obj3
= 0 ;
46008 PyObject
* obj4
= 0 ;
46009 PyObject
* obj5
= 0 ;
46010 PyObject
* obj6
= 0 ;
46011 char * kwnames
[] = {
46012 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
46015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
46016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46017 if (!SWIG_IsOK(res1
)) {
46018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Insert" "', expected argument " "1"" of type '" "wxSizer *""'");
46020 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46021 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46022 if (!SWIG_IsOK(ecode2
)) {
46023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_Insert" "', expected argument " "2"" of type '" "int""'");
46025 arg2
= static_cast< int >(val2
);
46028 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
46029 if (!SWIG_IsOK(ecode4
)) {
46030 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer_Insert" "', expected argument " "4"" of type '" "int""'");
46032 arg4
= static_cast< int >(val4
);
46035 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
46036 if (!SWIG_IsOK(ecode5
)) {
46037 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Sizer_Insert" "', expected argument " "5"" of type '" "int""'");
46039 arg5
= static_cast< int >(val5
);
46042 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
46043 if (!SWIG_IsOK(ecode6
)) {
46044 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Sizer_Insert" "', expected argument " "6"" of type '" "int""'");
46046 arg6
= static_cast< int >(val6
);
46052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46053 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
46054 wxPyEndAllowThreads(__tstate
);
46055 if (PyErr_Occurred()) SWIG_fail
;
46057 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46064 SWIGINTERN PyObject
*_wrap_Sizer_Prepend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46065 PyObject
*resultobj
= 0;
46066 wxSizer
*arg1
= (wxSizer
*) 0 ;
46067 PyObject
*arg2
= (PyObject
*) 0 ;
46068 int arg3
= (int) 0 ;
46069 int arg4
= (int) 0 ;
46070 int arg5
= (int) 0 ;
46071 PyObject
*arg6
= (PyObject
*) NULL
;
46072 wxSizerItem
*result
= 0 ;
46081 PyObject
* obj0
= 0 ;
46082 PyObject
* obj1
= 0 ;
46083 PyObject
* obj2
= 0 ;
46084 PyObject
* obj3
= 0 ;
46085 PyObject
* obj4
= 0 ;
46086 PyObject
* obj5
= 0 ;
46087 char * kwnames
[] = {
46088 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
46091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
46092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46093 if (!SWIG_IsOK(res1
)) {
46094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Prepend" "', expected argument " "1"" of type '" "wxSizer *""'");
46096 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46099 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
46100 if (!SWIG_IsOK(ecode3
)) {
46101 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Sizer_Prepend" "', expected argument " "3"" of type '" "int""'");
46103 arg3
= static_cast< int >(val3
);
46106 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
46107 if (!SWIG_IsOK(ecode4
)) {
46108 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer_Prepend" "', expected argument " "4"" of type '" "int""'");
46110 arg4
= static_cast< int >(val4
);
46113 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
46114 if (!SWIG_IsOK(ecode5
)) {
46115 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Sizer_Prepend" "', expected argument " "5"" of type '" "int""'");
46117 arg5
= static_cast< int >(val5
);
46123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46124 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
46125 wxPyEndAllowThreads(__tstate
);
46126 if (PyErr_Occurred()) SWIG_fail
;
46128 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46135 SWIGINTERN PyObject
*_wrap_Sizer_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46136 PyObject
*resultobj
= 0;
46137 wxSizer
*arg1
= (wxSizer
*) 0 ;
46138 PyObject
*arg2
= (PyObject
*) 0 ;
46142 PyObject
* obj0
= 0 ;
46143 PyObject
* obj1
= 0 ;
46144 char * kwnames
[] = {
46145 (char *) "self",(char *) "item", NULL
46148 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46149 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46150 if (!SWIG_IsOK(res1
)) {
46151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Remove" "', expected argument " "1"" of type '" "wxSizer *""'");
46153 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46157 result
= (bool)wxSizer_Remove(arg1
,arg2
);
46158 wxPyEndAllowThreads(__tstate
);
46159 if (PyErr_Occurred()) SWIG_fail
;
46162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46170 SWIGINTERN PyObject
*_wrap_Sizer_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46171 PyObject
*resultobj
= 0;
46172 wxSizer
*arg1
= (wxSizer
*) 0 ;
46173 PyObject
*arg2
= (PyObject
*) 0 ;
46177 PyObject
* obj0
= 0 ;
46178 PyObject
* obj1
= 0 ;
46179 char * kwnames
[] = {
46180 (char *) "self",(char *) "item", NULL
46183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46185 if (!SWIG_IsOK(res1
)) {
46186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Detach" "', expected argument " "1"" of type '" "wxSizer *""'");
46188 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46192 result
= (bool)wxSizer_Detach(arg1
,arg2
);
46193 wxPyEndAllowThreads(__tstate
);
46194 if (PyErr_Occurred()) SWIG_fail
;
46197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46205 SWIGINTERN PyObject
*_wrap_Sizer_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46206 PyObject
*resultobj
= 0;
46207 wxSizer
*arg1
= (wxSizer
*) 0 ;
46208 PyObject
*arg2
= (PyObject
*) 0 ;
46209 wxSizerItem
*result
= 0 ;
46212 PyObject
* obj0
= 0 ;
46213 PyObject
* obj1
= 0 ;
46214 char * kwnames
[] = {
46215 (char *) "self",(char *) "item", NULL
46218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46220 if (!SWIG_IsOK(res1
)) {
46221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetItem" "', expected argument " "1"" of type '" "wxSizer *""'");
46223 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46227 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
46228 wxPyEndAllowThreads(__tstate
);
46229 if (PyErr_Occurred()) SWIG_fail
;
46231 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46238 SWIGINTERN PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46239 PyObject
*resultobj
= 0;
46240 wxSizer
*arg1
= (wxSizer
*) 0 ;
46241 PyObject
*arg2
= (PyObject
*) 0 ;
46246 PyObject
* obj0
= 0 ;
46247 PyObject
* obj1
= 0 ;
46248 PyObject
* obj2
= 0 ;
46249 char * kwnames
[] = {
46250 (char *) "self",(char *) "item",(char *) "size", NULL
46253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
46254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46255 if (!SWIG_IsOK(res1
)) {
46256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer__SetItemMinSize" "', expected argument " "1"" of type '" "wxSizer *""'");
46258 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46262 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
46265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46266 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
46267 wxPyEndAllowThreads(__tstate
);
46268 if (PyErr_Occurred()) SWIG_fail
;
46270 resultobj
= SWIG_Py_Void();
46277 SWIGINTERN PyObject
*_wrap_Sizer_AddItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46278 PyObject
*resultobj
= 0;
46279 wxSizer
*arg1
= (wxSizer
*) 0 ;
46280 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
46281 wxSizerItem
*result
= 0 ;
46285 PyObject
* obj0
= 0 ;
46286 PyObject
* obj1
= 0 ;
46287 char * kwnames
[] = {
46288 (char *) "self",(char *) "item", NULL
46291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46293 if (!SWIG_IsOK(res1
)) {
46294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_AddItem" "', expected argument " "1"" of type '" "wxSizer *""'");
46296 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46297 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_DISOWN
| 0 );
46298 if (!SWIG_IsOK(res2
)) {
46299 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_AddItem" "', expected argument " "2"" of type '" "wxSizerItem *""'");
46302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46303 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
46304 wxPyEndAllowThreads(__tstate
);
46305 if (PyErr_Occurred()) SWIG_fail
;
46307 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46314 SWIGINTERN PyObject
*_wrap_Sizer_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46315 PyObject
*resultobj
= 0;
46316 wxSizer
*arg1
= (wxSizer
*) 0 ;
46318 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
46319 wxSizerItem
*result
= 0 ;
46325 PyObject
* obj0
= 0 ;
46326 PyObject
* obj1
= 0 ;
46327 PyObject
* obj2
= 0 ;
46328 char * kwnames
[] = {
46329 (char *) "self",(char *) "index",(char *) "item", NULL
46332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
46333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46334 if (!SWIG_IsOK(res1
)) {
46335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_InsertItem" "', expected argument " "1"" of type '" "wxSizer *""'");
46337 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46338 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
46339 if (!SWIG_IsOK(ecode2
)) {
46340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_InsertItem" "', expected argument " "2"" of type '" "size_t""'");
46342 arg2
= static_cast< size_t >(val2
);
46343 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_DISOWN
| 0 );
46344 if (!SWIG_IsOK(res3
)) {
46345 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Sizer_InsertItem" "', expected argument " "3"" of type '" "wxSizerItem *""'");
46348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46349 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
46350 wxPyEndAllowThreads(__tstate
);
46351 if (PyErr_Occurred()) SWIG_fail
;
46353 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46360 SWIGINTERN PyObject
*_wrap_Sizer_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46361 PyObject
*resultobj
= 0;
46362 wxSizer
*arg1
= (wxSizer
*) 0 ;
46363 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
46364 wxSizerItem
*result
= 0 ;
46368 PyObject
* obj0
= 0 ;
46369 PyObject
* obj1
= 0 ;
46370 char * kwnames
[] = {
46371 (char *) "self",(char *) "item", NULL
46374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46376 if (!SWIG_IsOK(res1
)) {
46377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_PrependItem" "', expected argument " "1"" of type '" "wxSizer *""'");
46379 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46380 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_DISOWN
| 0 );
46381 if (!SWIG_IsOK(res2
)) {
46382 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_PrependItem" "', expected argument " "2"" of type '" "wxSizerItem *""'");
46385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46386 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
46387 wxPyEndAllowThreads(__tstate
);
46388 if (PyErr_Occurred()) SWIG_fail
;
46390 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46397 SWIGINTERN PyObject
*_wrap_Sizer_SetDimension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46398 PyObject
*resultobj
= 0;
46399 wxSizer
*arg1
= (wxSizer
*) 0 ;
46414 PyObject
* obj0
= 0 ;
46415 PyObject
* obj1
= 0 ;
46416 PyObject
* obj2
= 0 ;
46417 PyObject
* obj3
= 0 ;
46418 PyObject
* obj4
= 0 ;
46419 char * kwnames
[] = {
46420 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
46423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
46424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46425 if (!SWIG_IsOK(res1
)) {
46426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_SetDimension" "', expected argument " "1"" of type '" "wxSizer *""'");
46428 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46429 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46430 if (!SWIG_IsOK(ecode2
)) {
46431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_SetDimension" "', expected argument " "2"" of type '" "int""'");
46433 arg2
= static_cast< int >(val2
);
46434 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
46435 if (!SWIG_IsOK(ecode3
)) {
46436 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Sizer_SetDimension" "', expected argument " "3"" of type '" "int""'");
46438 arg3
= static_cast< int >(val3
);
46439 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
46440 if (!SWIG_IsOK(ecode4
)) {
46441 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer_SetDimension" "', expected argument " "4"" of type '" "int""'");
46443 arg4
= static_cast< int >(val4
);
46444 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
46445 if (!SWIG_IsOK(ecode5
)) {
46446 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Sizer_SetDimension" "', expected argument " "5"" of type '" "int""'");
46448 arg5
= static_cast< int >(val5
);
46450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46451 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
46452 wxPyEndAllowThreads(__tstate
);
46453 if (PyErr_Occurred()) SWIG_fail
;
46455 resultobj
= SWIG_Py_Void();
46462 SWIGINTERN PyObject
*_wrap_Sizer_SetMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46463 PyObject
*resultobj
= 0;
46464 wxSizer
*arg1
= (wxSizer
*) 0 ;
46469 PyObject
* obj0
= 0 ;
46470 PyObject
* obj1
= 0 ;
46471 char * kwnames
[] = {
46472 (char *) "self",(char *) "size", NULL
46475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46477 if (!SWIG_IsOK(res1
)) {
46478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_SetMinSize" "', expected argument " "1"" of type '" "wxSizer *""'");
46480 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46483 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
46486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46487 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
46488 wxPyEndAllowThreads(__tstate
);
46489 if (PyErr_Occurred()) SWIG_fail
;
46491 resultobj
= SWIG_Py_Void();
46498 SWIGINTERN PyObject
*_wrap_Sizer_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46499 PyObject
*resultobj
= 0;
46500 wxSizer
*arg1
= (wxSizer
*) 0 ;
46504 PyObject
*swig_obj
[1] ;
46506 if (!args
) SWIG_fail
;
46507 swig_obj
[0] = args
;
46508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46509 if (!SWIG_IsOK(res1
)) {
46510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetSize" "', expected argument " "1"" of type '" "wxSizer *""'");
46512 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46515 result
= (arg1
)->GetSize();
46516 wxPyEndAllowThreads(__tstate
);
46517 if (PyErr_Occurred()) SWIG_fail
;
46519 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
46526 SWIGINTERN PyObject
*_wrap_Sizer_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46527 PyObject
*resultobj
= 0;
46528 wxSizer
*arg1
= (wxSizer
*) 0 ;
46532 PyObject
*swig_obj
[1] ;
46534 if (!args
) SWIG_fail
;
46535 swig_obj
[0] = args
;
46536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46537 if (!SWIG_IsOK(res1
)) {
46538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetPosition" "', expected argument " "1"" of type '" "wxSizer *""'");
46540 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46543 result
= (arg1
)->GetPosition();
46544 wxPyEndAllowThreads(__tstate
);
46545 if (PyErr_Occurred()) SWIG_fail
;
46547 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
46554 SWIGINTERN PyObject
*_wrap_Sizer_GetMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46555 PyObject
*resultobj
= 0;
46556 wxSizer
*arg1
= (wxSizer
*) 0 ;
46560 PyObject
*swig_obj
[1] ;
46562 if (!args
) SWIG_fail
;
46563 swig_obj
[0] = args
;
46564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46565 if (!SWIG_IsOK(res1
)) {
46566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetMinSize" "', expected argument " "1"" of type '" "wxSizer *""'");
46568 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46571 result
= (arg1
)->GetMinSize();
46572 wxPyEndAllowThreads(__tstate
);
46573 if (PyErr_Occurred()) SWIG_fail
;
46575 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
46582 SWIGINTERN PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46583 PyObject
*resultobj
= 0;
46584 wxSizer
*arg1
= (wxSizer
*) 0 ;
46587 PyObject
*swig_obj
[1] ;
46589 if (!args
) SWIG_fail
;
46590 swig_obj
[0] = args
;
46591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46592 if (!SWIG_IsOK(res1
)) {
46593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_RecalcSizes" "', expected argument " "1"" of type '" "wxSizer *""'");
46595 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46598 (arg1
)->RecalcSizes();
46599 wxPyEndAllowThreads(__tstate
);
46600 if (PyErr_Occurred()) SWIG_fail
;
46602 resultobj
= SWIG_Py_Void();
46609 SWIGINTERN PyObject
*_wrap_Sizer_CalcMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46610 PyObject
*resultobj
= 0;
46611 wxSizer
*arg1
= (wxSizer
*) 0 ;
46615 PyObject
*swig_obj
[1] ;
46617 if (!args
) SWIG_fail
;
46618 swig_obj
[0] = args
;
46619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46620 if (!SWIG_IsOK(res1
)) {
46621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_CalcMin" "', expected argument " "1"" of type '" "wxSizer *""'");
46623 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46626 result
= (arg1
)->CalcMin();
46627 wxPyEndAllowThreads(__tstate
);
46628 if (PyErr_Occurred()) SWIG_fail
;
46630 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
46637 SWIGINTERN PyObject
*_wrap_Sizer_Layout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46638 PyObject
*resultobj
= 0;
46639 wxSizer
*arg1
= (wxSizer
*) 0 ;
46642 PyObject
*swig_obj
[1] ;
46644 if (!args
) SWIG_fail
;
46645 swig_obj
[0] = args
;
46646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46647 if (!SWIG_IsOK(res1
)) {
46648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Layout" "', expected argument " "1"" of type '" "wxSizer *""'");
46650 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46654 wxPyEndAllowThreads(__tstate
);
46655 if (PyErr_Occurred()) SWIG_fail
;
46657 resultobj
= SWIG_Py_Void();
46664 SWIGINTERN PyObject
*_wrap_Sizer_Fit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46665 PyObject
*resultobj
= 0;
46666 wxSizer
*arg1
= (wxSizer
*) 0 ;
46667 wxWindow
*arg2
= (wxWindow
*) 0 ;
46673 PyObject
* obj0
= 0 ;
46674 PyObject
* obj1
= 0 ;
46675 char * kwnames
[] = {
46676 (char *) "self",(char *) "window", NULL
46679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46681 if (!SWIG_IsOK(res1
)) {
46682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Fit" "', expected argument " "1"" of type '" "wxSizer *""'");
46684 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46685 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46686 if (!SWIG_IsOK(res2
)) {
46687 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_Fit" "', expected argument " "2"" of type '" "wxWindow *""'");
46689 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
46691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46692 result
= (arg1
)->Fit(arg2
);
46693 wxPyEndAllowThreads(__tstate
);
46694 if (PyErr_Occurred()) SWIG_fail
;
46696 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
46703 SWIGINTERN PyObject
*_wrap_Sizer_FitInside(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46704 PyObject
*resultobj
= 0;
46705 wxSizer
*arg1
= (wxSizer
*) 0 ;
46706 wxWindow
*arg2
= (wxWindow
*) 0 ;
46711 PyObject
* obj0
= 0 ;
46712 PyObject
* obj1
= 0 ;
46713 char * kwnames
[] = {
46714 (char *) "self",(char *) "window", NULL
46717 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46718 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46719 if (!SWIG_IsOK(res1
)) {
46720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_FitInside" "', expected argument " "1"" of type '" "wxSizer *""'");
46722 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46723 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46724 if (!SWIG_IsOK(res2
)) {
46725 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_FitInside" "', expected argument " "2"" of type '" "wxWindow *""'");
46727 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
46729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46730 (arg1
)->FitInside(arg2
);
46731 wxPyEndAllowThreads(__tstate
);
46732 if (PyErr_Occurred()) SWIG_fail
;
46734 resultobj
= SWIG_Py_Void();
46741 SWIGINTERN PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46742 PyObject
*resultobj
= 0;
46743 wxSizer
*arg1
= (wxSizer
*) 0 ;
46744 wxWindow
*arg2
= (wxWindow
*) 0 ;
46749 PyObject
* obj0
= 0 ;
46750 PyObject
* obj1
= 0 ;
46751 char * kwnames
[] = {
46752 (char *) "self",(char *) "window", NULL
46755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46757 if (!SWIG_IsOK(res1
)) {
46758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_SetSizeHints" "', expected argument " "1"" of type '" "wxSizer *""'");
46760 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46761 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46762 if (!SWIG_IsOK(res2
)) {
46763 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_SetSizeHints" "', expected argument " "2"" of type '" "wxWindow *""'");
46765 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
46767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46768 (arg1
)->SetSizeHints(arg2
);
46769 wxPyEndAllowThreads(__tstate
);
46770 if (PyErr_Occurred()) SWIG_fail
;
46772 resultobj
= SWIG_Py_Void();
46779 SWIGINTERN PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46780 PyObject
*resultobj
= 0;
46781 wxSizer
*arg1
= (wxSizer
*) 0 ;
46782 wxWindow
*arg2
= (wxWindow
*) 0 ;
46787 PyObject
* obj0
= 0 ;
46788 PyObject
* obj1
= 0 ;
46789 char * kwnames
[] = {
46790 (char *) "self",(char *) "window", NULL
46793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46795 if (!SWIG_IsOK(res1
)) {
46796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_SetVirtualSizeHints" "', expected argument " "1"" of type '" "wxSizer *""'");
46798 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46799 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
46800 if (!SWIG_IsOK(res2
)) {
46801 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_SetVirtualSizeHints" "', expected argument " "2"" of type '" "wxWindow *""'");
46803 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
46805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46806 (arg1
)->SetVirtualSizeHints(arg2
);
46807 wxPyEndAllowThreads(__tstate
);
46808 if (PyErr_Occurred()) SWIG_fail
;
46810 resultobj
= SWIG_Py_Void();
46817 SWIGINTERN PyObject
*_wrap_Sizer_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46818 PyObject
*resultobj
= 0;
46819 wxSizer
*arg1
= (wxSizer
*) 0 ;
46820 bool arg2
= (bool) false ;
46825 PyObject
* obj0
= 0 ;
46826 PyObject
* obj1
= 0 ;
46827 char * kwnames
[] = {
46828 (char *) "self",(char *) "deleteWindows", NULL
46831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46833 if (!SWIG_IsOK(res1
)) {
46834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Clear" "', expected argument " "1"" of type '" "wxSizer *""'");
46836 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46838 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46839 if (!SWIG_IsOK(ecode2
)) {
46840 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_Clear" "', expected argument " "2"" of type '" "bool""'");
46842 arg2
= static_cast< bool >(val2
);
46845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46846 (arg1
)->Clear(arg2
);
46847 wxPyEndAllowThreads(__tstate
);
46848 if (PyErr_Occurred()) SWIG_fail
;
46850 resultobj
= SWIG_Py_Void();
46857 SWIGINTERN PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46858 PyObject
*resultobj
= 0;
46859 wxSizer
*arg1
= (wxSizer
*) 0 ;
46862 PyObject
*swig_obj
[1] ;
46864 if (!args
) SWIG_fail
;
46865 swig_obj
[0] = args
;
46866 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46867 if (!SWIG_IsOK(res1
)) {
46868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_DeleteWindows" "', expected argument " "1"" of type '" "wxSizer *""'");
46870 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46873 (arg1
)->DeleteWindows();
46874 wxPyEndAllowThreads(__tstate
);
46875 if (PyErr_Occurred()) SWIG_fail
;
46877 resultobj
= SWIG_Py_Void();
46884 SWIGINTERN PyObject
*_wrap_Sizer_GetChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46885 PyObject
*resultobj
= 0;
46886 wxSizer
*arg1
= (wxSizer
*) 0 ;
46887 PyObject
*result
= 0 ;
46890 PyObject
*swig_obj
[1] ;
46892 if (!args
) SWIG_fail
;
46893 swig_obj
[0] = args
;
46894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46895 if (!SWIG_IsOK(res1
)) {
46896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetChildren" "', expected argument " "1"" of type '" "wxSizer *""'");
46898 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46901 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
46902 wxPyEndAllowThreads(__tstate
);
46903 if (PyErr_Occurred()) SWIG_fail
;
46905 resultobj
= result
;
46912 SWIGINTERN PyObject
*_wrap_Sizer_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46913 PyObject
*resultobj
= 0;
46914 wxSizer
*arg1
= (wxSizer
*) 0 ;
46915 PyObject
*arg2
= (PyObject
*) 0 ;
46916 bool arg3
= (bool) true ;
46917 bool arg4
= (bool) false ;
46925 PyObject
* obj0
= 0 ;
46926 PyObject
* obj1
= 0 ;
46927 PyObject
* obj2
= 0 ;
46928 PyObject
* obj3
= 0 ;
46929 char * kwnames
[] = {
46930 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
46933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
46934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46935 if (!SWIG_IsOK(res1
)) {
46936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Show" "', expected argument " "1"" of type '" "wxSizer *""'");
46938 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46941 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
46942 if (!SWIG_IsOK(ecode3
)) {
46943 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Sizer_Show" "', expected argument " "3"" of type '" "bool""'");
46945 arg3
= static_cast< bool >(val3
);
46948 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
46949 if (!SWIG_IsOK(ecode4
)) {
46950 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer_Show" "', expected argument " "4"" of type '" "bool""'");
46952 arg4
= static_cast< bool >(val4
);
46955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46956 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
46957 wxPyEndAllowThreads(__tstate
);
46958 if (PyErr_Occurred()) SWIG_fail
;
46961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46969 SWIGINTERN PyObject
*_wrap_Sizer_IsShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46970 PyObject
*resultobj
= 0;
46971 wxSizer
*arg1
= (wxSizer
*) 0 ;
46972 PyObject
*arg2
= (PyObject
*) 0 ;
46976 PyObject
* obj0
= 0 ;
46977 PyObject
* obj1
= 0 ;
46978 char * kwnames
[] = {
46979 (char *) "self",(char *) "item", NULL
46982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46984 if (!SWIG_IsOK(res1
)) {
46985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_IsShown" "', expected argument " "1"" of type '" "wxSizer *""'");
46987 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46991 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
46992 wxPyEndAllowThreads(__tstate
);
46993 if (PyErr_Occurred()) SWIG_fail
;
46996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
47004 SWIGINTERN PyObject
*_wrap_Sizer_ShowItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47005 PyObject
*resultobj
= 0;
47006 wxSizer
*arg1
= (wxSizer
*) 0 ;
47012 PyObject
* obj0
= 0 ;
47013 PyObject
* obj1
= 0 ;
47014 char * kwnames
[] = {
47015 (char *) "self",(char *) "show", NULL
47018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
47020 if (!SWIG_IsOK(res1
)) {
47021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_ShowItems" "', expected argument " "1"" of type '" "wxSizer *""'");
47023 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
47024 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
47025 if (!SWIG_IsOK(ecode2
)) {
47026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_ShowItems" "', expected argument " "2"" of type '" "bool""'");
47028 arg2
= static_cast< bool >(val2
);
47030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47031 (arg1
)->ShowItems(arg2
);
47032 wxPyEndAllowThreads(__tstate
);
47033 if (PyErr_Occurred()) SWIG_fail
;
47035 resultobj
= SWIG_Py_Void();
47042 SWIGINTERN PyObject
*Sizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47044 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
47045 SWIG_TypeNewClientData(SWIGTYPE_p_wxSizer
, SWIG_NewClientData(obj
));
47046 return SWIG_Py_Void();
47049 SWIGINTERN PyObject
*_wrap_new_PySizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47050 PyObject
*resultobj
= 0;
47051 wxPySizer
*result
= 0 ;
47053 if (!SWIG_Python_UnpackTuple(args
,"new_PySizer",0,0,0)) SWIG_fail
;
47055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47056 result
= (wxPySizer
*)new wxPySizer();
47057 wxPyEndAllowThreads(__tstate
);
47058 if (PyErr_Occurred()) SWIG_fail
;
47060 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPySizer
, SWIG_POINTER_NEW
| 0 );
47067 SWIGINTERN PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47068 PyObject
*resultobj
= 0;
47069 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
47070 PyObject
*arg2
= (PyObject
*) 0 ;
47071 PyObject
*arg3
= (PyObject
*) 0 ;
47074 PyObject
* obj0
= 0 ;
47075 PyObject
* obj1
= 0 ;
47076 PyObject
* obj2
= 0 ;
47077 char * kwnames
[] = {
47078 (char *) "self",(char *) "self",(char *) "_class", NULL
47081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
47082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPySizer
, 0 | 0 );
47083 if (!SWIG_IsOK(res1
)) {
47084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PySizer__setCallbackInfo" "', expected argument " "1"" of type '" "wxPySizer *""'");
47086 arg1
= reinterpret_cast< wxPySizer
* >(argp1
);
47090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47091 (arg1
)->_setCallbackInfo(arg2
,arg3
);
47092 wxPyEndAllowThreads(__tstate
);
47093 if (PyErr_Occurred()) SWIG_fail
;
47095 resultobj
= SWIG_Py_Void();
47102 SWIGINTERN PyObject
*PySizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47104 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
47105 SWIG_TypeNewClientData(SWIGTYPE_p_wxPySizer
, SWIG_NewClientData(obj
));
47106 return SWIG_Py_Void();
47109 SWIGINTERN PyObject
*PySizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47110 return SWIG_Python_InitShadowInstance(args
);
47113 SWIGINTERN PyObject
*_wrap_new_BoxSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47114 PyObject
*resultobj
= 0;
47115 int arg1
= (int) wxHORIZONTAL
;
47116 wxBoxSizer
*result
= 0 ;
47119 PyObject
* obj0
= 0 ;
47120 char * kwnames
[] = {
47121 (char *) "orient", NULL
47124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) SWIG_fail
;
47126 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
47127 if (!SWIG_IsOK(ecode1
)) {
47128 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BoxSizer" "', expected argument " "1"" of type '" "int""'");
47130 arg1
= static_cast< int >(val1
);
47133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47134 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
47135 wxPyEndAllowThreads(__tstate
);
47136 if (PyErr_Occurred()) SWIG_fail
;
47138 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_NEW
| 0 );
47145 SWIGINTERN PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47146 PyObject
*resultobj
= 0;
47147 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
47151 PyObject
*swig_obj
[1] ;
47153 if (!args
) SWIG_fail
;
47154 swig_obj
[0] = args
;
47155 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBoxSizer
, 0 | 0 );
47156 if (!SWIG_IsOK(res1
)) {
47157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BoxSizer_GetOrientation" "', expected argument " "1"" of type '" "wxBoxSizer *""'");
47159 arg1
= reinterpret_cast< wxBoxSizer
* >(argp1
);
47161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47162 result
= (int)(arg1
)->GetOrientation();
47163 wxPyEndAllowThreads(__tstate
);
47164 if (PyErr_Occurred()) SWIG_fail
;
47166 resultobj
= SWIG_From_int(static_cast< int >(result
));
47173 SWIGINTERN PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47174 PyObject
*resultobj
= 0;
47175 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
47181 PyObject
* obj0
= 0 ;
47182 PyObject
* obj1
= 0 ;
47183 char * kwnames
[] = {
47184 (char *) "self",(char *) "orient", NULL
47187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBoxSizer
, 0 | 0 );
47189 if (!SWIG_IsOK(res1
)) {
47190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BoxSizer_SetOrientation" "', expected argument " "1"" of type '" "wxBoxSizer *""'");
47192 arg1
= reinterpret_cast< wxBoxSizer
* >(argp1
);
47193 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47194 if (!SWIG_IsOK(ecode2
)) {
47195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BoxSizer_SetOrientation" "', expected argument " "2"" of type '" "int""'");
47197 arg2
= static_cast< int >(val2
);
47199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47200 (arg1
)->SetOrientation(arg2
);
47201 wxPyEndAllowThreads(__tstate
);
47202 if (PyErr_Occurred()) SWIG_fail
;
47204 resultobj
= SWIG_Py_Void();
47211 SWIGINTERN PyObject
*BoxSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47213 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
47214 SWIG_TypeNewClientData(SWIGTYPE_p_wxBoxSizer
, SWIG_NewClientData(obj
));
47215 return SWIG_Py_Void();
47218 SWIGINTERN PyObject
*BoxSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47219 return SWIG_Python_InitShadowInstance(args
);
47222 SWIGINTERN PyObject
*_wrap_new_StaticBoxSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47223 PyObject
*resultobj
= 0;
47224 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
47225 int arg2
= (int) wxHORIZONTAL
;
47226 wxStaticBoxSizer
*result
= 0 ;
47231 PyObject
* obj0
= 0 ;
47232 PyObject
* obj1
= 0 ;
47233 char * kwnames
[] = {
47234 (char *) "box",(char *) "orient", NULL
47237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
47239 if (!SWIG_IsOK(res1
)) {
47240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBoxSizer" "', expected argument " "1"" of type '" "wxStaticBox *""'");
47242 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
47244 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47245 if (!SWIG_IsOK(ecode2
)) {
47246 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBoxSizer" "', expected argument " "2"" of type '" "int""'");
47248 arg2
= static_cast< int >(val2
);
47251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47252 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
47253 wxPyEndAllowThreads(__tstate
);
47254 if (PyErr_Occurred()) SWIG_fail
;
47256 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBoxSizer
, SWIG_POINTER_NEW
| 0 );
47263 SWIGINTERN PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47264 PyObject
*resultobj
= 0;
47265 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
47266 wxStaticBox
*result
= 0 ;
47269 PyObject
*swig_obj
[1] ;
47271 if (!args
) SWIG_fail
;
47272 swig_obj
[0] = args
;
47273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBoxSizer
, 0 | 0 );
47274 if (!SWIG_IsOK(res1
)) {
47275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBoxSizer_GetStaticBox" "', expected argument " "1"" of type '" "wxStaticBoxSizer *""'");
47277 arg1
= reinterpret_cast< wxStaticBoxSizer
* >(argp1
);
47279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47280 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
47281 wxPyEndAllowThreads(__tstate
);
47282 if (PyErr_Occurred()) SWIG_fail
;
47285 resultobj
= wxPyMake_wxObject(result
, (bool)0);
47293 SWIGINTERN PyObject
*StaticBoxSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47295 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
47296 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBoxSizer
, SWIG_NewClientData(obj
));
47297 return SWIG_Py_Void();
47300 SWIGINTERN PyObject
*StaticBoxSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47301 return SWIG_Python_InitShadowInstance(args
);
47304 SWIGINTERN PyObject
*_wrap_new_GridSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47305 PyObject
*resultobj
= 0;
47306 int arg1
= (int) 1 ;
47307 int arg2
= (int) 0 ;
47308 int arg3
= (int) 0 ;
47309 int arg4
= (int) 0 ;
47310 wxGridSizer
*result
= 0 ;
47319 PyObject
* obj0
= 0 ;
47320 PyObject
* obj1
= 0 ;
47321 PyObject
* obj2
= 0 ;
47322 PyObject
* obj3
= 0 ;
47323 char * kwnames
[] = {
47324 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
47327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
47329 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
47330 if (!SWIG_IsOK(ecode1
)) {
47331 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridSizer" "', expected argument " "1"" of type '" "int""'");
47333 arg1
= static_cast< int >(val1
);
47336 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47337 if (!SWIG_IsOK(ecode2
)) {
47338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridSizer" "', expected argument " "2"" of type '" "int""'");
47340 arg2
= static_cast< int >(val2
);
47343 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
47344 if (!SWIG_IsOK(ecode3
)) {
47345 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_GridSizer" "', expected argument " "3"" of type '" "int""'");
47347 arg3
= static_cast< int >(val3
);
47350 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
47351 if (!SWIG_IsOK(ecode4
)) {
47352 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GridSizer" "', expected argument " "4"" of type '" "int""'");
47354 arg4
= static_cast< int >(val4
);
47357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47358 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
47359 wxPyEndAllowThreads(__tstate
);
47360 if (PyErr_Occurred()) SWIG_fail
;
47362 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_NEW
| 0 );
47369 SWIGINTERN PyObject
*_wrap_GridSizer_SetCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47370 PyObject
*resultobj
= 0;
47371 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
47377 PyObject
* obj0
= 0 ;
47378 PyObject
* obj1
= 0 ;
47379 char * kwnames
[] = {
47380 (char *) "self",(char *) "cols", NULL
47383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
47385 if (!SWIG_IsOK(res1
)) {
47386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_SetCols" "', expected argument " "1"" of type '" "wxGridSizer *""'");
47388 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
47389 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47390 if (!SWIG_IsOK(ecode2
)) {
47391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridSizer_SetCols" "', expected argument " "2"" of type '" "int""'");
47393 arg2
= static_cast< int >(val2
);
47395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47396 (arg1
)->SetCols(arg2
);
47397 wxPyEndAllowThreads(__tstate
);
47398 if (PyErr_Occurred()) SWIG_fail
;
47400 resultobj
= SWIG_Py_Void();
47407 SWIGINTERN PyObject
*_wrap_GridSizer_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47408 PyObject
*resultobj
= 0;
47409 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
47415 PyObject
* obj0
= 0 ;
47416 PyObject
* obj1
= 0 ;
47417 char * kwnames
[] = {
47418 (char *) "self",(char *) "rows", NULL
47421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
47423 if (!SWIG_IsOK(res1
)) {
47424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_SetRows" "', expected argument " "1"" of type '" "wxGridSizer *""'");
47426 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
47427 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47428 if (!SWIG_IsOK(ecode2
)) {
47429 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridSizer_SetRows" "', expected argument " "2"" of type '" "int""'");
47431 arg2
= static_cast< int >(val2
);
47433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47434 (arg1
)->SetRows(arg2
);
47435 wxPyEndAllowThreads(__tstate
);
47436 if (PyErr_Occurred()) SWIG_fail
;
47438 resultobj
= SWIG_Py_Void();
47445 SWIGINTERN PyObject
*_wrap_GridSizer_SetVGap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47446 PyObject
*resultobj
= 0;
47447 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
47453 PyObject
* obj0
= 0 ;
47454 PyObject
* obj1
= 0 ;
47455 char * kwnames
[] = {
47456 (char *) "self",(char *) "gap", NULL
47459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
47461 if (!SWIG_IsOK(res1
)) {
47462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_SetVGap" "', expected argument " "1"" of type '" "wxGridSizer *""'");
47464 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
47465 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47466 if (!SWIG_IsOK(ecode2
)) {
47467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridSizer_SetVGap" "', expected argument " "2"" of type '" "int""'");
47469 arg2
= static_cast< int >(val2
);
47471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47472 (arg1
)->SetVGap(arg2
);
47473 wxPyEndAllowThreads(__tstate
);
47474 if (PyErr_Occurred()) SWIG_fail
;
47476 resultobj
= SWIG_Py_Void();
47483 SWIGINTERN PyObject
*_wrap_GridSizer_SetHGap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47484 PyObject
*resultobj
= 0;
47485 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
47491 PyObject
* obj0
= 0 ;
47492 PyObject
* obj1
= 0 ;
47493 char * kwnames
[] = {
47494 (char *) "self",(char *) "gap", NULL
47497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
47499 if (!SWIG_IsOK(res1
)) {
47500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_SetHGap" "', expected argument " "1"" of type '" "wxGridSizer *""'");
47502 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
47503 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47504 if (!SWIG_IsOK(ecode2
)) {
47505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridSizer_SetHGap" "', expected argument " "2"" of type '" "int""'");
47507 arg2
= static_cast< int >(val2
);
47509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47510 (arg1
)->SetHGap(arg2
);
47511 wxPyEndAllowThreads(__tstate
);
47512 if (PyErr_Occurred()) SWIG_fail
;
47514 resultobj
= SWIG_Py_Void();
47521 SWIGINTERN PyObject
*_wrap_GridSizer_GetCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47522 PyObject
*resultobj
= 0;
47523 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
47527 PyObject
*swig_obj
[1] ;
47529 if (!args
) SWIG_fail
;
47530 swig_obj
[0] = args
;
47531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
47532 if (!SWIG_IsOK(res1
)) {
47533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_GetCols" "', expected argument " "1"" of type '" "wxGridSizer *""'");
47535 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
47537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47538 result
= (int)(arg1
)->GetCols();
47539 wxPyEndAllowThreads(__tstate
);
47540 if (PyErr_Occurred()) SWIG_fail
;
47542 resultobj
= SWIG_From_int(static_cast< int >(result
));
47549 SWIGINTERN PyObject
*_wrap_GridSizer_GetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47550 PyObject
*resultobj
= 0;
47551 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
47555 PyObject
*swig_obj
[1] ;
47557 if (!args
) SWIG_fail
;
47558 swig_obj
[0] = args
;
47559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
47560 if (!SWIG_IsOK(res1
)) {
47561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_GetRows" "', expected argument " "1"" of type '" "wxGridSizer *""'");
47563 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
47565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47566 result
= (int)(arg1
)->GetRows();
47567 wxPyEndAllowThreads(__tstate
);
47568 if (PyErr_Occurred()) SWIG_fail
;
47570 resultobj
= SWIG_From_int(static_cast< int >(result
));
47577 SWIGINTERN PyObject
*_wrap_GridSizer_GetVGap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47578 PyObject
*resultobj
= 0;
47579 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
47583 PyObject
*swig_obj
[1] ;
47585 if (!args
) SWIG_fail
;
47586 swig_obj
[0] = args
;
47587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
47588 if (!SWIG_IsOK(res1
)) {
47589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_GetVGap" "', expected argument " "1"" of type '" "wxGridSizer *""'");
47591 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
47593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47594 result
= (int)(arg1
)->GetVGap();
47595 wxPyEndAllowThreads(__tstate
);
47596 if (PyErr_Occurred()) SWIG_fail
;
47598 resultobj
= SWIG_From_int(static_cast< int >(result
));
47605 SWIGINTERN PyObject
*_wrap_GridSizer_GetHGap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47606 PyObject
*resultobj
= 0;
47607 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
47611 PyObject
*swig_obj
[1] ;
47613 if (!args
) SWIG_fail
;
47614 swig_obj
[0] = args
;
47615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
47616 if (!SWIG_IsOK(res1
)) {
47617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_GetHGap" "', expected argument " "1"" of type '" "wxGridSizer *""'");
47619 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
47621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47622 result
= (int)(arg1
)->GetHGap();
47623 wxPyEndAllowThreads(__tstate
);
47624 if (PyErr_Occurred()) SWIG_fail
;
47626 resultobj
= SWIG_From_int(static_cast< int >(result
));
47633 SWIGINTERN PyObject
*GridSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47635 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
47636 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridSizer
, SWIG_NewClientData(obj
));
47637 return SWIG_Py_Void();
47640 SWIGINTERN PyObject
*GridSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47641 return SWIG_Python_InitShadowInstance(args
);
47644 SWIGINTERN PyObject
*_wrap_new_FlexGridSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47645 PyObject
*resultobj
= 0;
47646 int arg1
= (int) 1 ;
47647 int arg2
= (int) 0 ;
47648 int arg3
= (int) 0 ;
47649 int arg4
= (int) 0 ;
47650 wxFlexGridSizer
*result
= 0 ;
47659 PyObject
* obj0
= 0 ;
47660 PyObject
* obj1
= 0 ;
47661 PyObject
* obj2
= 0 ;
47662 PyObject
* obj3
= 0 ;
47663 char * kwnames
[] = {
47664 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
47667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
47669 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
47670 if (!SWIG_IsOK(ecode1
)) {
47671 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FlexGridSizer" "', expected argument " "1"" of type '" "int""'");
47673 arg1
= static_cast< int >(val1
);
47676 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47677 if (!SWIG_IsOK(ecode2
)) {
47678 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FlexGridSizer" "', expected argument " "2"" of type '" "int""'");
47680 arg2
= static_cast< int >(val2
);
47683 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
47684 if (!SWIG_IsOK(ecode3
)) {
47685 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FlexGridSizer" "', expected argument " "3"" of type '" "int""'");
47687 arg3
= static_cast< int >(val3
);
47690 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
47691 if (!SWIG_IsOK(ecode4
)) {
47692 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FlexGridSizer" "', expected argument " "4"" of type '" "int""'");
47694 arg4
= static_cast< int >(val4
);
47697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47698 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
47699 wxPyEndAllowThreads(__tstate
);
47700 if (PyErr_Occurred()) SWIG_fail
;
47702 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_NEW
| 0 );
47709 SWIGINTERN PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47710 PyObject
*resultobj
= 0;
47711 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
47713 int arg3
= (int) 0 ;
47720 PyObject
* obj0
= 0 ;
47721 PyObject
* obj1
= 0 ;
47722 PyObject
* obj2
= 0 ;
47723 char * kwnames
[] = {
47724 (char *) "self",(char *) "idx",(char *) "proportion", NULL
47727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
47728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
47729 if (!SWIG_IsOK(res1
)) {
47730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_AddGrowableRow" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
47732 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
47733 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
47734 if (!SWIG_IsOK(ecode2
)) {
47735 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_AddGrowableRow" "', expected argument " "2"" of type '" "size_t""'");
47737 arg2
= static_cast< size_t >(val2
);
47739 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
47740 if (!SWIG_IsOK(ecode3
)) {
47741 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FlexGridSizer_AddGrowableRow" "', expected argument " "3"" of type '" "int""'");
47743 arg3
= static_cast< int >(val3
);
47746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47747 (arg1
)->AddGrowableRow(arg2
,arg3
);
47748 wxPyEndAllowThreads(__tstate
);
47749 if (PyErr_Occurred()) SWIG_fail
;
47751 resultobj
= SWIG_Py_Void();
47758 SWIGINTERN PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47759 PyObject
*resultobj
= 0;
47760 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
47766 PyObject
* obj0
= 0 ;
47767 PyObject
* obj1
= 0 ;
47768 char * kwnames
[] = {
47769 (char *) "self",(char *) "idx", NULL
47772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
47774 if (!SWIG_IsOK(res1
)) {
47775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_RemoveGrowableRow" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
47777 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
47778 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
47779 if (!SWIG_IsOK(ecode2
)) {
47780 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_RemoveGrowableRow" "', expected argument " "2"" of type '" "size_t""'");
47782 arg2
= static_cast< size_t >(val2
);
47784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47785 (arg1
)->RemoveGrowableRow(arg2
);
47786 wxPyEndAllowThreads(__tstate
);
47787 if (PyErr_Occurred()) SWIG_fail
;
47789 resultobj
= SWIG_Py_Void();
47796 SWIGINTERN PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47797 PyObject
*resultobj
= 0;
47798 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
47800 int arg3
= (int) 0 ;
47807 PyObject
* obj0
= 0 ;
47808 PyObject
* obj1
= 0 ;
47809 PyObject
* obj2
= 0 ;
47810 char * kwnames
[] = {
47811 (char *) "self",(char *) "idx",(char *) "proportion", NULL
47814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
47815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
47816 if (!SWIG_IsOK(res1
)) {
47817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_AddGrowableCol" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
47819 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
47820 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
47821 if (!SWIG_IsOK(ecode2
)) {
47822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_AddGrowableCol" "', expected argument " "2"" of type '" "size_t""'");
47824 arg2
= static_cast< size_t >(val2
);
47826 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
47827 if (!SWIG_IsOK(ecode3
)) {
47828 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FlexGridSizer_AddGrowableCol" "', expected argument " "3"" of type '" "int""'");
47830 arg3
= static_cast< int >(val3
);
47833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47834 (arg1
)->AddGrowableCol(arg2
,arg3
);
47835 wxPyEndAllowThreads(__tstate
);
47836 if (PyErr_Occurred()) SWIG_fail
;
47838 resultobj
= SWIG_Py_Void();
47845 SWIGINTERN PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47846 PyObject
*resultobj
= 0;
47847 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
47853 PyObject
* obj0
= 0 ;
47854 PyObject
* obj1
= 0 ;
47855 char * kwnames
[] = {
47856 (char *) "self",(char *) "idx", NULL
47859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
47861 if (!SWIG_IsOK(res1
)) {
47862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_RemoveGrowableCol" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
47864 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
47865 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
47866 if (!SWIG_IsOK(ecode2
)) {
47867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_RemoveGrowableCol" "', expected argument " "2"" of type '" "size_t""'");
47869 arg2
= static_cast< size_t >(val2
);
47871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47872 (arg1
)->RemoveGrowableCol(arg2
);
47873 wxPyEndAllowThreads(__tstate
);
47874 if (PyErr_Occurred()) SWIG_fail
;
47876 resultobj
= SWIG_Py_Void();
47883 SWIGINTERN PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47884 PyObject
*resultobj
= 0;
47885 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
47891 PyObject
* obj0
= 0 ;
47892 PyObject
* obj1
= 0 ;
47893 char * kwnames
[] = {
47894 (char *) "self",(char *) "direction", NULL
47897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
47899 if (!SWIG_IsOK(res1
)) {
47900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_SetFlexibleDirection" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
47902 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
47903 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47904 if (!SWIG_IsOK(ecode2
)) {
47905 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_SetFlexibleDirection" "', expected argument " "2"" of type '" "int""'");
47907 arg2
= static_cast< int >(val2
);
47909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47910 (arg1
)->SetFlexibleDirection(arg2
);
47911 wxPyEndAllowThreads(__tstate
);
47912 if (PyErr_Occurred()) SWIG_fail
;
47914 resultobj
= SWIG_Py_Void();
47921 SWIGINTERN PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47922 PyObject
*resultobj
= 0;
47923 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
47927 PyObject
*swig_obj
[1] ;
47929 if (!args
) SWIG_fail
;
47930 swig_obj
[0] = args
;
47931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
47932 if (!SWIG_IsOK(res1
)) {
47933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_GetFlexibleDirection" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
47935 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
47937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47938 result
= (int)(arg1
)->GetFlexibleDirection();
47939 wxPyEndAllowThreads(__tstate
);
47940 if (PyErr_Occurred()) SWIG_fail
;
47942 resultobj
= SWIG_From_int(static_cast< int >(result
));
47949 SWIGINTERN PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47950 PyObject
*resultobj
= 0;
47951 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
47952 wxFlexSizerGrowMode arg2
;
47957 PyObject
* obj0
= 0 ;
47958 PyObject
* obj1
= 0 ;
47959 char * kwnames
[] = {
47960 (char *) "self",(char *) "mode", NULL
47963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
47965 if (!SWIG_IsOK(res1
)) {
47966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_SetNonFlexibleGrowMode" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
47968 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
47969 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47970 if (!SWIG_IsOK(ecode2
)) {
47971 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_SetNonFlexibleGrowMode" "', expected argument " "2"" of type '" "wxFlexSizerGrowMode""'");
47973 arg2
= static_cast< wxFlexSizerGrowMode
>(val2
);
47975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47976 (arg1
)->SetNonFlexibleGrowMode(arg2
);
47977 wxPyEndAllowThreads(__tstate
);
47978 if (PyErr_Occurred()) SWIG_fail
;
47980 resultobj
= SWIG_Py_Void();
47987 SWIGINTERN PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47988 PyObject
*resultobj
= 0;
47989 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
47990 wxFlexSizerGrowMode result
;
47993 PyObject
*swig_obj
[1] ;
47995 if (!args
) SWIG_fail
;
47996 swig_obj
[0] = args
;
47997 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
47998 if (!SWIG_IsOK(res1
)) {
47999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_GetNonFlexibleGrowMode" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
48001 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
48003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48004 result
= (wxFlexSizerGrowMode
)(arg1
)->GetNonFlexibleGrowMode();
48005 wxPyEndAllowThreads(__tstate
);
48006 if (PyErr_Occurred()) SWIG_fail
;
48008 resultobj
= SWIG_From_int(static_cast< int >(result
));
48015 SWIGINTERN PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48016 PyObject
*resultobj
= 0;
48017 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
48018 wxArrayInt
*result
= 0 ;
48021 PyObject
*swig_obj
[1] ;
48023 if (!args
) SWIG_fail
;
48024 swig_obj
[0] = args
;
48025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
48026 if (!SWIG_IsOK(res1
)) {
48027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_GetRowHeights" "', expected argument " "1"" of type '" "wxFlexGridSizer const *""'");
48029 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
48031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48033 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
48034 result
= (wxArrayInt
*) &_result_ref
;
48036 wxPyEndAllowThreads(__tstate
);
48037 if (PyErr_Occurred()) SWIG_fail
;
48040 resultobj
= PyList_New(0);
48042 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
48043 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
48044 PyList_Append(resultobj
, val
);
48054 SWIGINTERN PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48055 PyObject
*resultobj
= 0;
48056 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
48057 wxArrayInt
*result
= 0 ;
48060 PyObject
*swig_obj
[1] ;
48062 if (!args
) SWIG_fail
;
48063 swig_obj
[0] = args
;
48064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
48065 if (!SWIG_IsOK(res1
)) {
48066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_GetColWidths" "', expected argument " "1"" of type '" "wxFlexGridSizer const *""'");
48068 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
48070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48072 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
48073 result
= (wxArrayInt
*) &_result_ref
;
48075 wxPyEndAllowThreads(__tstate
);
48076 if (PyErr_Occurred()) SWIG_fail
;
48079 resultobj
= PyList_New(0);
48081 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
48082 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
48083 PyList_Append(resultobj
, val
);
48093 SWIGINTERN PyObject
*FlexGridSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48095 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
48096 SWIG_TypeNewClientData(SWIGTYPE_p_wxFlexGridSizer
, SWIG_NewClientData(obj
));
48097 return SWIG_Py_Void();
48100 SWIGINTERN PyObject
*FlexGridSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48101 return SWIG_Python_InitShadowInstance(args
);
48104 SWIGINTERN PyObject
*_wrap_new_StdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48105 PyObject
*resultobj
= 0;
48106 wxStdDialogButtonSizer
*result
= 0 ;
48108 if (!SWIG_Python_UnpackTuple(args
,"new_StdDialogButtonSizer",0,0,0)) SWIG_fail
;
48110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48111 result
= (wxStdDialogButtonSizer
*)new wxStdDialogButtonSizer();
48112 wxPyEndAllowThreads(__tstate
);
48113 if (PyErr_Occurred()) SWIG_fail
;
48115 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_NEW
| 0 );
48122 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_AddButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48123 PyObject
*resultobj
= 0;
48124 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48125 wxButton
*arg2
= (wxButton
*) 0 ;
48130 PyObject
* obj0
= 0 ;
48131 PyObject
* obj1
= 0 ;
48132 char * kwnames
[] = {
48133 (char *) "self",(char *) "button", NULL
48136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_AddButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48138 if (!SWIG_IsOK(res1
)) {
48139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_AddButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer *""'");
48141 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48142 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxButton
, 0 | 0 );
48143 if (!SWIG_IsOK(res2
)) {
48144 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StdDialogButtonSizer_AddButton" "', expected argument " "2"" of type '" "wxButton *""'");
48146 arg2
= reinterpret_cast< wxButton
* >(argp2
);
48148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48149 (arg1
)->AddButton(arg2
);
48150 wxPyEndAllowThreads(__tstate
);
48151 if (PyErr_Occurred()) SWIG_fail
;
48153 resultobj
= SWIG_Py_Void();
48160 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48161 PyObject
*resultobj
= 0;
48162 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48165 PyObject
*swig_obj
[1] ;
48167 if (!args
) SWIG_fail
;
48168 swig_obj
[0] = args
;
48169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48170 if (!SWIG_IsOK(res1
)) {
48171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_Realize" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer *""'");
48173 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48177 wxPyEndAllowThreads(__tstate
);
48178 if (PyErr_Occurred()) SWIG_fail
;
48180 resultobj
= SWIG_Py_Void();
48187 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48188 PyObject
*resultobj
= 0;
48189 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48190 wxButton
*arg2
= (wxButton
*) 0 ;
48195 PyObject
* obj0
= 0 ;
48196 PyObject
* obj1
= 0 ;
48197 char * kwnames
[] = {
48198 (char *) "self",(char *) "button", NULL
48201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetAffirmativeButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48203 if (!SWIG_IsOK(res1
)) {
48204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_SetAffirmativeButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer *""'");
48206 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48207 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxButton
, 0 | 0 );
48208 if (!SWIG_IsOK(res2
)) {
48209 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StdDialogButtonSizer_SetAffirmativeButton" "', expected argument " "2"" of type '" "wxButton *""'");
48211 arg2
= reinterpret_cast< wxButton
* >(argp2
);
48213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48214 (arg1
)->SetAffirmativeButton(arg2
);
48215 wxPyEndAllowThreads(__tstate
);
48216 if (PyErr_Occurred()) SWIG_fail
;
48218 resultobj
= SWIG_Py_Void();
48225 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48226 PyObject
*resultobj
= 0;
48227 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48228 wxButton
*arg2
= (wxButton
*) 0 ;
48233 PyObject
* obj0
= 0 ;
48234 PyObject
* obj1
= 0 ;
48235 char * kwnames
[] = {
48236 (char *) "self",(char *) "button", NULL
48239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetNegativeButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48241 if (!SWIG_IsOK(res1
)) {
48242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_SetNegativeButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer *""'");
48244 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48245 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxButton
, 0 | 0 );
48246 if (!SWIG_IsOK(res2
)) {
48247 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StdDialogButtonSizer_SetNegativeButton" "', expected argument " "2"" of type '" "wxButton *""'");
48249 arg2
= reinterpret_cast< wxButton
* >(argp2
);
48251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48252 (arg1
)->SetNegativeButton(arg2
);
48253 wxPyEndAllowThreads(__tstate
);
48254 if (PyErr_Occurred()) SWIG_fail
;
48256 resultobj
= SWIG_Py_Void();
48263 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_SetCancelButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48264 PyObject
*resultobj
= 0;
48265 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48266 wxButton
*arg2
= (wxButton
*) 0 ;
48271 PyObject
* obj0
= 0 ;
48272 PyObject
* obj1
= 0 ;
48273 char * kwnames
[] = {
48274 (char *) "self",(char *) "button", NULL
48277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetCancelButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48279 if (!SWIG_IsOK(res1
)) {
48280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_SetCancelButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer *""'");
48282 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48283 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxButton
, 0 | 0 );
48284 if (!SWIG_IsOK(res2
)) {
48285 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StdDialogButtonSizer_SetCancelButton" "', expected argument " "2"" of type '" "wxButton *""'");
48287 arg2
= reinterpret_cast< wxButton
* >(argp2
);
48289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48290 (arg1
)->SetCancelButton(arg2
);
48291 wxPyEndAllowThreads(__tstate
);
48292 if (PyErr_Occurred()) SWIG_fail
;
48294 resultobj
= SWIG_Py_Void();
48301 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48302 PyObject
*resultobj
= 0;
48303 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48304 wxButton
*result
= 0 ;
48307 PyObject
*swig_obj
[1] ;
48309 if (!args
) SWIG_fail
;
48310 swig_obj
[0] = args
;
48311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48312 if (!SWIG_IsOK(res1
)) {
48313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_GetAffirmativeButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer const *""'");
48315 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48318 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetAffirmativeButton();
48319 wxPyEndAllowThreads(__tstate
);
48320 if (PyErr_Occurred()) SWIG_fail
;
48323 resultobj
= wxPyMake_wxObject(result
, (bool)0);
48331 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_GetApplyButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48332 PyObject
*resultobj
= 0;
48333 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48334 wxButton
*result
= 0 ;
48337 PyObject
*swig_obj
[1] ;
48339 if (!args
) SWIG_fail
;
48340 swig_obj
[0] = args
;
48341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48342 if (!SWIG_IsOK(res1
)) {
48343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_GetApplyButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer const *""'");
48345 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48348 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetApplyButton();
48349 wxPyEndAllowThreads(__tstate
);
48350 if (PyErr_Occurred()) SWIG_fail
;
48353 resultobj
= wxPyMake_wxObject(result
, (bool)0);
48361 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48362 PyObject
*resultobj
= 0;
48363 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48364 wxButton
*result
= 0 ;
48367 PyObject
*swig_obj
[1] ;
48369 if (!args
) SWIG_fail
;
48370 swig_obj
[0] = args
;
48371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48372 if (!SWIG_IsOK(res1
)) {
48373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_GetNegativeButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer const *""'");
48375 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48378 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetNegativeButton();
48379 wxPyEndAllowThreads(__tstate
);
48380 if (PyErr_Occurred()) SWIG_fail
;
48383 resultobj
= wxPyMake_wxObject(result
, (bool)0);
48391 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_GetCancelButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48392 PyObject
*resultobj
= 0;
48393 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48394 wxButton
*result
= 0 ;
48397 PyObject
*swig_obj
[1] ;
48399 if (!args
) SWIG_fail
;
48400 swig_obj
[0] = args
;
48401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48402 if (!SWIG_IsOK(res1
)) {
48403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_GetCancelButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer const *""'");
48405 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48408 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetCancelButton();
48409 wxPyEndAllowThreads(__tstate
);
48410 if (PyErr_Occurred()) SWIG_fail
;
48413 resultobj
= wxPyMake_wxObject(result
, (bool)0);
48421 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_GetHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48422 PyObject
*resultobj
= 0;
48423 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48424 wxButton
*result
= 0 ;
48427 PyObject
*swig_obj
[1] ;
48429 if (!args
) SWIG_fail
;
48430 swig_obj
[0] = args
;
48431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48432 if (!SWIG_IsOK(res1
)) {
48433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_GetHelpButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer const *""'");
48435 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48438 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetHelpButton();
48439 wxPyEndAllowThreads(__tstate
);
48440 if (PyErr_Occurred()) SWIG_fail
;
48443 resultobj
= wxPyMake_wxObject(result
, (bool)0);
48451 SWIGINTERN PyObject
*StdDialogButtonSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48453 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
48454 SWIG_TypeNewClientData(SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_NewClientData(obj
));
48455 return SWIG_Py_Void();
48458 SWIGINTERN PyObject
*StdDialogButtonSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48459 return SWIG_Python_InitShadowInstance(args
);
48462 SWIGINTERN PyObject
*_wrap_new_GBPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48463 PyObject
*resultobj
= 0;
48464 int arg1
= (int) 0 ;
48465 int arg2
= (int) 0 ;
48466 wxGBPosition
*result
= 0 ;
48471 PyObject
* obj0
= 0 ;
48472 PyObject
* obj1
= 0 ;
48473 char * kwnames
[] = {
48474 (char *) "row",(char *) "col", NULL
48477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48479 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
48480 if (!SWIG_IsOK(ecode1
)) {
48481 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GBPosition" "', expected argument " "1"" of type '" "int""'");
48483 arg1
= static_cast< int >(val1
);
48486 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48487 if (!SWIG_IsOK(ecode2
)) {
48488 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GBPosition" "', expected argument " "2"" of type '" "int""'");
48490 arg2
= static_cast< int >(val2
);
48493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48494 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
48495 wxPyEndAllowThreads(__tstate
);
48496 if (PyErr_Occurred()) SWIG_fail
;
48498 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_NEW
| 0 );
48505 SWIGINTERN PyObject
*_wrap_delete_GBPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48506 PyObject
*resultobj
= 0;
48507 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
48510 PyObject
*swig_obj
[1] ;
48512 if (!args
) SWIG_fail
;
48513 swig_obj
[0] = args
;
48514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_DISOWN
| 0 );
48515 if (!SWIG_IsOK(res1
)) {
48516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GBPosition" "', expected argument " "1"" of type '" "wxGBPosition *""'");
48518 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
48520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48523 wxPyEndAllowThreads(__tstate
);
48524 if (PyErr_Occurred()) SWIG_fail
;
48526 resultobj
= SWIG_Py_Void();
48533 SWIGINTERN PyObject
*_wrap_GBPosition_GetRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48534 PyObject
*resultobj
= 0;
48535 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
48539 PyObject
*swig_obj
[1] ;
48541 if (!args
) SWIG_fail
;
48542 swig_obj
[0] = args
;
48543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
48544 if (!SWIG_IsOK(res1
)) {
48545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_GetRow" "', expected argument " "1"" of type '" "wxGBPosition const *""'");
48547 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
48549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48550 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
48551 wxPyEndAllowThreads(__tstate
);
48552 if (PyErr_Occurred()) SWIG_fail
;
48554 resultobj
= SWIG_From_int(static_cast< int >(result
));
48561 SWIGINTERN PyObject
*_wrap_GBPosition_GetCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48562 PyObject
*resultobj
= 0;
48563 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
48567 PyObject
*swig_obj
[1] ;
48569 if (!args
) SWIG_fail
;
48570 swig_obj
[0] = args
;
48571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
48572 if (!SWIG_IsOK(res1
)) {
48573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_GetCol" "', expected argument " "1"" of type '" "wxGBPosition const *""'");
48575 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
48577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48578 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
48579 wxPyEndAllowThreads(__tstate
);
48580 if (PyErr_Occurred()) SWIG_fail
;
48582 resultobj
= SWIG_From_int(static_cast< int >(result
));
48589 SWIGINTERN PyObject
*_wrap_GBPosition_SetRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48590 PyObject
*resultobj
= 0;
48591 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
48597 PyObject
* obj0
= 0 ;
48598 PyObject
* obj1
= 0 ;
48599 char * kwnames
[] = {
48600 (char *) "self",(char *) "row", NULL
48603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
48605 if (!SWIG_IsOK(res1
)) {
48606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_SetRow" "', expected argument " "1"" of type '" "wxGBPosition *""'");
48608 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
48609 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48610 if (!SWIG_IsOK(ecode2
)) {
48611 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBPosition_SetRow" "', expected argument " "2"" of type '" "int""'");
48613 arg2
= static_cast< int >(val2
);
48615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48616 (arg1
)->SetRow(arg2
);
48617 wxPyEndAllowThreads(__tstate
);
48618 if (PyErr_Occurred()) SWIG_fail
;
48620 resultobj
= SWIG_Py_Void();
48627 SWIGINTERN PyObject
*_wrap_GBPosition_SetCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48628 PyObject
*resultobj
= 0;
48629 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
48635 PyObject
* obj0
= 0 ;
48636 PyObject
* obj1
= 0 ;
48637 char * kwnames
[] = {
48638 (char *) "self",(char *) "col", NULL
48641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
48643 if (!SWIG_IsOK(res1
)) {
48644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_SetCol" "', expected argument " "1"" of type '" "wxGBPosition *""'");
48646 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
48647 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48648 if (!SWIG_IsOK(ecode2
)) {
48649 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBPosition_SetCol" "', expected argument " "2"" of type '" "int""'");
48651 arg2
= static_cast< int >(val2
);
48653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48654 (arg1
)->SetCol(arg2
);
48655 wxPyEndAllowThreads(__tstate
);
48656 if (PyErr_Occurred()) SWIG_fail
;
48658 resultobj
= SWIG_Py_Void();
48665 SWIGINTERN PyObject
*_wrap_GBPosition___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48666 PyObject
*resultobj
= 0;
48667 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
48668 wxGBPosition
*arg2
= 0 ;
48672 wxGBPosition temp2
;
48673 PyObject
* obj0
= 0 ;
48674 PyObject
* obj1
= 0 ;
48675 char * kwnames
[] = {
48676 (char *) "self",(char *) "other", NULL
48679 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48680 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
48681 if (!SWIG_IsOK(res1
)) {
48682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition___eq__" "', expected argument " "1"" of type '" "wxGBPosition *""'");
48684 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
48687 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
48690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48691 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
48692 wxPyEndAllowThreads(__tstate
);
48693 if (PyErr_Occurred()) SWIG_fail
;
48696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
48704 SWIGINTERN PyObject
*_wrap_GBPosition___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48705 PyObject
*resultobj
= 0;
48706 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
48707 wxGBPosition
*arg2
= 0 ;
48711 wxGBPosition temp2
;
48712 PyObject
* obj0
= 0 ;
48713 PyObject
* obj1
= 0 ;
48714 char * kwnames
[] = {
48715 (char *) "self",(char *) "other", NULL
48718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
48720 if (!SWIG_IsOK(res1
)) {
48721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition___ne__" "', expected argument " "1"" of type '" "wxGBPosition *""'");
48723 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
48726 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
48729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48730 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
48731 wxPyEndAllowThreads(__tstate
);
48732 if (PyErr_Occurred()) SWIG_fail
;
48735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
48743 SWIGINTERN PyObject
*_wrap_GBPosition_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48744 PyObject
*resultobj
= 0;
48745 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
48746 int arg2
= (int) 0 ;
48747 int arg3
= (int) 0 ;
48754 PyObject
* obj0
= 0 ;
48755 PyObject
* obj1
= 0 ;
48756 PyObject
* obj2
= 0 ;
48757 char * kwnames
[] = {
48758 (char *) "self",(char *) "row",(char *) "col", NULL
48761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
48762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
48763 if (!SWIG_IsOK(res1
)) {
48764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_Set" "', expected argument " "1"" of type '" "wxGBPosition *""'");
48766 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
48768 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48769 if (!SWIG_IsOK(ecode2
)) {
48770 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBPosition_Set" "', expected argument " "2"" of type '" "int""'");
48772 arg2
= static_cast< int >(val2
);
48775 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
48776 if (!SWIG_IsOK(ecode3
)) {
48777 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GBPosition_Set" "', expected argument " "3"" of type '" "int""'");
48779 arg3
= static_cast< int >(val3
);
48782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48783 wxGBPosition_Set(arg1
,arg2
,arg3
);
48784 wxPyEndAllowThreads(__tstate
);
48785 if (PyErr_Occurred()) SWIG_fail
;
48787 resultobj
= SWIG_Py_Void();
48794 SWIGINTERN PyObject
*_wrap_GBPosition_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48795 PyObject
*resultobj
= 0;
48796 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
48797 PyObject
*result
= 0 ;
48800 PyObject
*swig_obj
[1] ;
48802 if (!args
) SWIG_fail
;
48803 swig_obj
[0] = args
;
48804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
48805 if (!SWIG_IsOK(res1
)) {
48806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_Get" "', expected argument " "1"" of type '" "wxGBPosition *""'");
48808 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
48810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48811 result
= (PyObject
*)wxGBPosition_Get(arg1
);
48812 wxPyEndAllowThreads(__tstate
);
48813 if (PyErr_Occurred()) SWIG_fail
;
48815 resultobj
= result
;
48822 SWIGINTERN PyObject
*GBPosition_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48824 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
48825 SWIG_TypeNewClientData(SWIGTYPE_p_wxGBPosition
, SWIG_NewClientData(obj
));
48826 return SWIG_Py_Void();
48829 SWIGINTERN PyObject
*GBPosition_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48830 return SWIG_Python_InitShadowInstance(args
);
48833 SWIGINTERN PyObject
*_wrap_new_GBSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48834 PyObject
*resultobj
= 0;
48835 int arg1
= (int) 1 ;
48836 int arg2
= (int) 1 ;
48837 wxGBSpan
*result
= 0 ;
48842 PyObject
* obj0
= 0 ;
48843 PyObject
* obj1
= 0 ;
48844 char * kwnames
[] = {
48845 (char *) "rowspan",(char *) "colspan", NULL
48848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48850 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
48851 if (!SWIG_IsOK(ecode1
)) {
48852 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GBSpan" "', expected argument " "1"" of type '" "int""'");
48854 arg1
= static_cast< int >(val1
);
48857 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48858 if (!SWIG_IsOK(ecode2
)) {
48859 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GBSpan" "', expected argument " "2"" of type '" "int""'");
48861 arg2
= static_cast< int >(val2
);
48864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48865 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
48866 wxPyEndAllowThreads(__tstate
);
48867 if (PyErr_Occurred()) SWIG_fail
;
48869 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_NEW
| 0 );
48876 SWIGINTERN PyObject
*_wrap_delete_GBSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48877 PyObject
*resultobj
= 0;
48878 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
48881 PyObject
*swig_obj
[1] ;
48883 if (!args
) SWIG_fail
;
48884 swig_obj
[0] = args
;
48885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_DISOWN
| 0 );
48886 if (!SWIG_IsOK(res1
)) {
48887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GBSpan" "', expected argument " "1"" of type '" "wxGBSpan *""'");
48889 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
48891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48894 wxPyEndAllowThreads(__tstate
);
48895 if (PyErr_Occurred()) SWIG_fail
;
48897 resultobj
= SWIG_Py_Void();
48904 SWIGINTERN PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48905 PyObject
*resultobj
= 0;
48906 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
48910 PyObject
*swig_obj
[1] ;
48912 if (!args
) SWIG_fail
;
48913 swig_obj
[0] = args
;
48914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
48915 if (!SWIG_IsOK(res1
)) {
48916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_GetRowspan" "', expected argument " "1"" of type '" "wxGBSpan const *""'");
48918 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
48920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48921 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
48922 wxPyEndAllowThreads(__tstate
);
48923 if (PyErr_Occurred()) SWIG_fail
;
48925 resultobj
= SWIG_From_int(static_cast< int >(result
));
48932 SWIGINTERN PyObject
*_wrap_GBSpan_GetColspan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48933 PyObject
*resultobj
= 0;
48934 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
48938 PyObject
*swig_obj
[1] ;
48940 if (!args
) SWIG_fail
;
48941 swig_obj
[0] = args
;
48942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
48943 if (!SWIG_IsOK(res1
)) {
48944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_GetColspan" "', expected argument " "1"" of type '" "wxGBSpan const *""'");
48946 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
48948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48949 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
48950 wxPyEndAllowThreads(__tstate
);
48951 if (PyErr_Occurred()) SWIG_fail
;
48953 resultobj
= SWIG_From_int(static_cast< int >(result
));
48960 SWIGINTERN PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48961 PyObject
*resultobj
= 0;
48962 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
48968 PyObject
* obj0
= 0 ;
48969 PyObject
* obj1
= 0 ;
48970 char * kwnames
[] = {
48971 (char *) "self",(char *) "rowspan", NULL
48974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
48976 if (!SWIG_IsOK(res1
)) {
48977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_SetRowspan" "', expected argument " "1"" of type '" "wxGBSpan *""'");
48979 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
48980 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48981 if (!SWIG_IsOK(ecode2
)) {
48982 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBSpan_SetRowspan" "', expected argument " "2"" of type '" "int""'");
48984 arg2
= static_cast< int >(val2
);
48986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48987 (arg1
)->SetRowspan(arg2
);
48988 wxPyEndAllowThreads(__tstate
);
48989 if (PyErr_Occurred()) SWIG_fail
;
48991 resultobj
= SWIG_Py_Void();
48998 SWIGINTERN PyObject
*_wrap_GBSpan_SetColspan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48999 PyObject
*resultobj
= 0;
49000 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
49006 PyObject
* obj0
= 0 ;
49007 PyObject
* obj1
= 0 ;
49008 char * kwnames
[] = {
49009 (char *) "self",(char *) "colspan", NULL
49012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
49014 if (!SWIG_IsOK(res1
)) {
49015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_SetColspan" "', expected argument " "1"" of type '" "wxGBSpan *""'");
49017 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
49018 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49019 if (!SWIG_IsOK(ecode2
)) {
49020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBSpan_SetColspan" "', expected argument " "2"" of type '" "int""'");
49022 arg2
= static_cast< int >(val2
);
49024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49025 (arg1
)->SetColspan(arg2
);
49026 wxPyEndAllowThreads(__tstate
);
49027 if (PyErr_Occurred()) SWIG_fail
;
49029 resultobj
= SWIG_Py_Void();
49036 SWIGINTERN PyObject
*_wrap_GBSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49037 PyObject
*resultobj
= 0;
49038 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
49039 wxGBSpan
*arg2
= 0 ;
49044 PyObject
* obj0
= 0 ;
49045 PyObject
* obj1
= 0 ;
49046 char * kwnames
[] = {
49047 (char *) "self",(char *) "other", NULL
49050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
49052 if (!SWIG_IsOK(res1
)) {
49053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan___eq__" "', expected argument " "1"" of type '" "wxGBSpan *""'");
49055 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
49058 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
49061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49062 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
49063 wxPyEndAllowThreads(__tstate
);
49064 if (PyErr_Occurred()) SWIG_fail
;
49067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
49075 SWIGINTERN PyObject
*_wrap_GBSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49076 PyObject
*resultobj
= 0;
49077 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
49078 wxGBSpan
*arg2
= 0 ;
49083 PyObject
* obj0
= 0 ;
49084 PyObject
* obj1
= 0 ;
49085 char * kwnames
[] = {
49086 (char *) "self",(char *) "other", NULL
49089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
49091 if (!SWIG_IsOK(res1
)) {
49092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan___ne__" "', expected argument " "1"" of type '" "wxGBSpan *""'");
49094 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
49097 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
49100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49101 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
49102 wxPyEndAllowThreads(__tstate
);
49103 if (PyErr_Occurred()) SWIG_fail
;
49106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
49114 SWIGINTERN PyObject
*_wrap_GBSpan_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49115 PyObject
*resultobj
= 0;
49116 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
49117 int arg2
= (int) 1 ;
49118 int arg3
= (int) 1 ;
49125 PyObject
* obj0
= 0 ;
49126 PyObject
* obj1
= 0 ;
49127 PyObject
* obj2
= 0 ;
49128 char * kwnames
[] = {
49129 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
49132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
49133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
49134 if (!SWIG_IsOK(res1
)) {
49135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_Set" "', expected argument " "1"" of type '" "wxGBSpan *""'");
49137 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
49139 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49140 if (!SWIG_IsOK(ecode2
)) {
49141 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBSpan_Set" "', expected argument " "2"" of type '" "int""'");
49143 arg2
= static_cast< int >(val2
);
49146 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
49147 if (!SWIG_IsOK(ecode3
)) {
49148 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GBSpan_Set" "', expected argument " "3"" of type '" "int""'");
49150 arg3
= static_cast< int >(val3
);
49153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49154 wxGBSpan_Set(arg1
,arg2
,arg3
);
49155 wxPyEndAllowThreads(__tstate
);
49156 if (PyErr_Occurred()) SWIG_fail
;
49158 resultobj
= SWIG_Py_Void();
49165 SWIGINTERN PyObject
*_wrap_GBSpan_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49166 PyObject
*resultobj
= 0;
49167 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
49168 PyObject
*result
= 0 ;
49171 PyObject
*swig_obj
[1] ;
49173 if (!args
) SWIG_fail
;
49174 swig_obj
[0] = args
;
49175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
49176 if (!SWIG_IsOK(res1
)) {
49177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_Get" "', expected argument " "1"" of type '" "wxGBSpan *""'");
49179 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
49181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49182 result
= (PyObject
*)wxGBSpan_Get(arg1
);
49183 wxPyEndAllowThreads(__tstate
);
49184 if (PyErr_Occurred()) SWIG_fail
;
49186 resultobj
= result
;
49193 SWIGINTERN PyObject
*GBSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49195 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
49196 SWIG_TypeNewClientData(SWIGTYPE_p_wxGBSpan
, SWIG_NewClientData(obj
));
49197 return SWIG_Py_Void();
49200 SWIGINTERN PyObject
*GBSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49201 return SWIG_Python_InitShadowInstance(args
);
49204 SWIGINTERN
int DefaultSpan_set(PyObject
*) {
49205 SWIG_Error(SWIG_AttributeError
,"Variable DefaultSpan is read-only.");
49210 SWIGINTERN PyObject
*DefaultSpan_get(void) {
49211 PyObject
*pyobj
= 0;
49213 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0 );
49218 SWIGINTERN PyObject
*_wrap_new_GBSizerItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49219 PyObject
*resultobj
= 0;
49220 wxGBSizerItem
*result
= 0 ;
49222 if (!SWIG_Python_UnpackTuple(args
,"new_GBSizerItem",0,0,0)) SWIG_fail
;
49224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49225 result
= (wxGBSizerItem
*)new wxGBSizerItem();
49226 wxPyEndAllowThreads(__tstate
);
49227 if (PyErr_Occurred()) SWIG_fail
;
49229 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_NEW
| 0 );
49236 SWIGINTERN PyObject
*_wrap_delete_GBSizerItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49237 PyObject
*resultobj
= 0;
49238 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
49241 PyObject
*swig_obj
[1] ;
49243 if (!args
) SWIG_fail
;
49244 swig_obj
[0] = args
;
49245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_DISOWN
| 0 );
49246 if (!SWIG_IsOK(res1
)) {
49247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GBSizerItem" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
49249 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49254 wxPyEndAllowThreads(__tstate
);
49255 if (PyErr_Occurred()) SWIG_fail
;
49257 resultobj
= SWIG_Py_Void();
49264 SWIGINTERN PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49265 PyObject
*resultobj
= 0;
49266 wxWindow
*arg1
= (wxWindow
*) 0 ;
49267 wxGBPosition
*arg2
= 0 ;
49268 wxGBSpan
*arg3
= 0 ;
49271 PyObject
*arg6
= (PyObject
*) NULL
;
49272 wxGBSizerItem
*result
= 0 ;
49275 wxGBPosition temp2
;
49281 PyObject
* obj0
= 0 ;
49282 PyObject
* obj1
= 0 ;
49283 PyObject
* obj2
= 0 ;
49284 PyObject
* obj3
= 0 ;
49285 PyObject
* obj4
= 0 ;
49286 PyObject
* obj5
= 0 ;
49287 char * kwnames
[] = {
49288 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
49291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
49292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
49293 if (!SWIG_IsOK(res1
)) {
49294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GBSizerItemWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
49296 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
49299 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
49303 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
49305 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
49306 if (!SWIG_IsOK(ecode4
)) {
49307 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GBSizerItemWindow" "', expected argument " "4"" of type '" "int""'");
49309 arg4
= static_cast< int >(val4
);
49310 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
49311 if (!SWIG_IsOK(ecode5
)) {
49312 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GBSizerItemWindow" "', expected argument " "5"" of type '" "int""'");
49314 arg5
= static_cast< int >(val5
);
49319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49320 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
49321 wxPyEndAllowThreads(__tstate
);
49322 if (PyErr_Occurred()) SWIG_fail
;
49324 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_OWN
| 0 );
49331 SWIGINTERN PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49332 PyObject
*resultobj
= 0;
49333 wxSizer
*arg1
= (wxSizer
*) 0 ;
49334 wxGBPosition
*arg2
= 0 ;
49335 wxGBSpan
*arg3
= 0 ;
49338 PyObject
*arg6
= (PyObject
*) NULL
;
49339 wxGBSizerItem
*result
= 0 ;
49341 wxGBPosition temp2
;
49347 PyObject
* obj0
= 0 ;
49348 PyObject
* obj1
= 0 ;
49349 PyObject
* obj2
= 0 ;
49350 PyObject
* obj3
= 0 ;
49351 PyObject
* obj4
= 0 ;
49352 PyObject
* obj5
= 0 ;
49353 char * kwnames
[] = {
49354 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
49357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
49358 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
49359 if (!SWIG_IsOK(res1
)) {
49360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GBSizerItemSizer" "', expected argument " "1"" of type '" "wxSizer *""'");
49364 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
49368 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
49370 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
49371 if (!SWIG_IsOK(ecode4
)) {
49372 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GBSizerItemSizer" "', expected argument " "4"" of type '" "int""'");
49374 arg4
= static_cast< int >(val4
);
49375 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
49376 if (!SWIG_IsOK(ecode5
)) {
49377 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GBSizerItemSizer" "', expected argument " "5"" of type '" "int""'");
49379 arg5
= static_cast< int >(val5
);
49384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49385 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
49386 wxPyEndAllowThreads(__tstate
);
49387 if (PyErr_Occurred()) SWIG_fail
;
49389 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_OWN
| 0 );
49396 SWIGINTERN PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49397 PyObject
*resultobj
= 0;
49400 wxGBPosition
*arg3
= 0 ;
49401 wxGBSpan
*arg4
= 0 ;
49404 PyObject
*arg7
= (PyObject
*) NULL
;
49405 wxGBSizerItem
*result
= 0 ;
49410 wxGBPosition temp3
;
49416 PyObject
* obj0
= 0 ;
49417 PyObject
* obj1
= 0 ;
49418 PyObject
* obj2
= 0 ;
49419 PyObject
* obj3
= 0 ;
49420 PyObject
* obj4
= 0 ;
49421 PyObject
* obj5
= 0 ;
49422 PyObject
* obj6
= 0 ;
49423 char * kwnames
[] = {
49424 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
49427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
49428 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
49429 if (!SWIG_IsOK(ecode1
)) {
49430 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GBSizerItemSpacer" "', expected argument " "1"" of type '" "int""'");
49432 arg1
= static_cast< int >(val1
);
49433 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49434 if (!SWIG_IsOK(ecode2
)) {
49435 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GBSizerItemSpacer" "', expected argument " "2"" of type '" "int""'");
49437 arg2
= static_cast< int >(val2
);
49440 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
49444 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
49446 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
49447 if (!SWIG_IsOK(ecode5
)) {
49448 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GBSizerItemSpacer" "', expected argument " "5"" of type '" "int""'");
49450 arg5
= static_cast< int >(val5
);
49451 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
49452 if (!SWIG_IsOK(ecode6
)) {
49453 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GBSizerItemSpacer" "', expected argument " "6"" of type '" "int""'");
49455 arg6
= static_cast< int >(val6
);
49460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49461 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
49462 wxPyEndAllowThreads(__tstate
);
49463 if (PyErr_Occurred()) SWIG_fail
;
49465 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_OWN
| 0 );
49472 SWIGINTERN PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49473 PyObject
*resultobj
= 0;
49474 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
49475 wxGBPosition result
;
49478 PyObject
*swig_obj
[1] ;
49480 if (!args
) SWIG_fail
;
49481 swig_obj
[0] = args
;
49482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
49483 if (!SWIG_IsOK(res1
)) {
49484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_GetPos" "', expected argument " "1"" of type '" "wxGBSizerItem const *""'");
49486 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49489 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
49490 wxPyEndAllowThreads(__tstate
);
49491 if (PyErr_Occurred()) SWIG_fail
;
49493 resultobj
= SWIG_NewPointerObj((new wxGBPosition(static_cast< const wxGBPosition
& >(result
))), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_OWN
| 0 );
49500 SWIGINTERN PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49501 PyObject
*resultobj
= 0;
49502 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
49506 PyObject
*swig_obj
[1] ;
49508 if (!args
) SWIG_fail
;
49509 swig_obj
[0] = args
;
49510 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
49511 if (!SWIG_IsOK(res1
)) {
49512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_GetSpan" "', expected argument " "1"" of type '" "wxGBSizerItem const *""'");
49514 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49517 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
49518 wxPyEndAllowThreads(__tstate
);
49519 if (PyErr_Occurred()) SWIG_fail
;
49521 resultobj
= SWIG_NewPointerObj((new wxGBSpan(static_cast< const wxGBSpan
& >(result
))), SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_OWN
| 0 );
49528 SWIGINTERN PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49529 PyObject
*resultobj
= 0;
49530 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
49531 wxGBPosition
*arg2
= 0 ;
49535 wxGBPosition temp2
;
49536 PyObject
* obj0
= 0 ;
49537 PyObject
* obj1
= 0 ;
49538 char * kwnames
[] = {
49539 (char *) "self",(char *) "pos", NULL
49542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
49544 if (!SWIG_IsOK(res1
)) {
49545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_SetPos" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
49547 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49550 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
49553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49554 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
49555 wxPyEndAllowThreads(__tstate
);
49556 if (PyErr_Occurred()) SWIG_fail
;
49559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
49567 SWIGINTERN PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49568 PyObject
*resultobj
= 0;
49569 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
49570 wxGBSpan
*arg2
= 0 ;
49575 PyObject
* obj0
= 0 ;
49576 PyObject
* obj1
= 0 ;
49577 char * kwnames
[] = {
49578 (char *) "self",(char *) "span", NULL
49581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
49583 if (!SWIG_IsOK(res1
)) {
49584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_SetSpan" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
49586 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49589 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
49592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49593 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
49594 wxPyEndAllowThreads(__tstate
);
49595 if (PyErr_Occurred()) SWIG_fail
;
49598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
49606 SWIGINTERN PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49607 PyObject
*resultobj
= 0;
49608 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
49609 wxGBSizerItem
*arg2
= 0 ;
49615 PyObject
* obj0
= 0 ;
49616 PyObject
* obj1
= 0 ;
49617 char * kwnames
[] = {
49618 (char *) "self",(char *) "other", NULL
49621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
49623 if (!SWIG_IsOK(res1
)) {
49624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_Intersects" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
49626 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49627 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGBSizerItem
, 0 | 0);
49628 if (!SWIG_IsOK(res2
)) {
49629 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GBSizerItem_Intersects" "', expected argument " "2"" of type '" "wxGBSizerItem const &""'");
49632 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GBSizerItem_Intersects" "', expected argument " "2"" of type '" "wxGBSizerItem const &""'");
49634 arg2
= reinterpret_cast< wxGBSizerItem
* >(argp2
);
49636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49637 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
49638 wxPyEndAllowThreads(__tstate
);
49639 if (PyErr_Occurred()) SWIG_fail
;
49642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
49650 SWIGINTERN PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49651 PyObject
*resultobj
= 0;
49652 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
49653 wxGBPosition
*arg2
= 0 ;
49654 wxGBSpan
*arg3
= 0 ;
49658 wxGBPosition temp2
;
49660 PyObject
* obj0
= 0 ;
49661 PyObject
* obj1
= 0 ;
49662 PyObject
* obj2
= 0 ;
49663 char * kwnames
[] = {
49664 (char *) "self",(char *) "pos",(char *) "span", NULL
49667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
49668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
49669 if (!SWIG_IsOK(res1
)) {
49670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_IntersectsPos" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
49672 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49675 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
49679 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
49682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49683 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
49684 wxPyEndAllowThreads(__tstate
);
49685 if (PyErr_Occurred()) SWIG_fail
;
49688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
49696 SWIGINTERN PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49697 PyObject
*resultobj
= 0;
49698 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
49699 wxGBPosition result
;
49702 PyObject
*swig_obj
[1] ;
49704 if (!args
) SWIG_fail
;
49705 swig_obj
[0] = args
;
49706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
49707 if (!SWIG_IsOK(res1
)) {
49708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_GetEndPos" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
49710 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49713 result
= wxGBSizerItem_GetEndPos(arg1
);
49714 wxPyEndAllowThreads(__tstate
);
49715 if (PyErr_Occurred()) SWIG_fail
;
49717 resultobj
= SWIG_NewPointerObj((new wxGBPosition(static_cast< const wxGBPosition
& >(result
))), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_OWN
| 0 );
49724 SWIGINTERN PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49725 PyObject
*resultobj
= 0;
49726 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
49727 wxGridBagSizer
*result
= 0 ;
49730 PyObject
*swig_obj
[1] ;
49732 if (!args
) SWIG_fail
;
49733 swig_obj
[0] = args
;
49734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
49735 if (!SWIG_IsOK(res1
)) {
49736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_GetGBSizer" "', expected argument " "1"" of type '" "wxGBSizerItem const *""'");
49738 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49741 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
49742 wxPyEndAllowThreads(__tstate
);
49743 if (PyErr_Occurred()) SWIG_fail
;
49745 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
49752 SWIGINTERN PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49753 PyObject
*resultobj
= 0;
49754 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
49755 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
49760 PyObject
* obj0
= 0 ;
49761 PyObject
* obj1
= 0 ;
49762 char * kwnames
[] = {
49763 (char *) "self",(char *) "sizer", NULL
49766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
49768 if (!SWIG_IsOK(res1
)) {
49769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_SetGBSizer" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
49771 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49772 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
49773 if (!SWIG_IsOK(res2
)) {
49774 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GBSizerItem_SetGBSizer" "', expected argument " "2"" of type '" "wxGridBagSizer *""'");
49776 arg2
= reinterpret_cast< wxGridBagSizer
* >(argp2
);
49778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49779 (arg1
)->SetGBSizer(arg2
);
49780 wxPyEndAllowThreads(__tstate
);
49781 if (PyErr_Occurred()) SWIG_fail
;
49783 resultobj
= SWIG_Py_Void();
49790 SWIGINTERN PyObject
*GBSizerItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49792 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
49793 SWIG_TypeNewClientData(SWIGTYPE_p_wxGBSizerItem
, SWIG_NewClientData(obj
));
49794 return SWIG_Py_Void();
49797 SWIGINTERN PyObject
*GBSizerItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49798 return SWIG_Python_InitShadowInstance(args
);
49801 SWIGINTERN PyObject
*_wrap_new_GridBagSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49802 PyObject
*resultobj
= 0;
49803 int arg1
= (int) 0 ;
49804 int arg2
= (int) 0 ;
49805 wxGridBagSizer
*result
= 0 ;
49810 PyObject
* obj0
= 0 ;
49811 PyObject
* obj1
= 0 ;
49812 char * kwnames
[] = {
49813 (char *) "vgap",(char *) "hgap", NULL
49816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49818 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
49819 if (!SWIG_IsOK(ecode1
)) {
49820 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridBagSizer" "', expected argument " "1"" of type '" "int""'");
49822 arg1
= static_cast< int >(val1
);
49825 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49826 if (!SWIG_IsOK(ecode2
)) {
49827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridBagSizer" "', expected argument " "2"" of type '" "int""'");
49829 arg2
= static_cast< int >(val2
);
49832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49833 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
49834 wxPyEndAllowThreads(__tstate
);
49835 if (PyErr_Occurred()) SWIG_fail
;
49837 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_NEW
| 0 );
49844 SWIGINTERN PyObject
*_wrap_GridBagSizer_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49845 PyObject
*resultobj
= 0;
49846 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
49847 PyObject
*arg2
= (PyObject
*) 0 ;
49848 wxGBPosition
*arg3
= 0 ;
49849 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
49850 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
49851 int arg5
= (int) 0 ;
49852 int arg6
= (int) 0 ;
49853 PyObject
*arg7
= (PyObject
*) NULL
;
49854 wxGBSizerItem
*result
= 0 ;
49857 wxGBPosition temp3
;
49863 PyObject
* obj0
= 0 ;
49864 PyObject
* obj1
= 0 ;
49865 PyObject
* obj2
= 0 ;
49866 PyObject
* obj3
= 0 ;
49867 PyObject
* obj4
= 0 ;
49868 PyObject
* obj5
= 0 ;
49869 PyObject
* obj6
= 0 ;
49870 char * kwnames
[] = {
49871 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
49874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
49875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
49876 if (!SWIG_IsOK(res1
)) {
49877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_Add" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
49879 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
49883 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
49888 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
49892 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
49893 if (!SWIG_IsOK(ecode5
)) {
49894 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GridBagSizer_Add" "', expected argument " "5"" of type '" "int""'");
49896 arg5
= static_cast< int >(val5
);
49899 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
49900 if (!SWIG_IsOK(ecode6
)) {
49901 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GridBagSizer_Add" "', expected argument " "6"" of type '" "int""'");
49903 arg6
= static_cast< int >(val6
);
49909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49910 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
49911 wxPyEndAllowThreads(__tstate
);
49912 if (PyErr_Occurred()) SWIG_fail
;
49914 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
49921 SWIGINTERN PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49922 PyObject
*resultobj
= 0;
49923 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
49924 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
49925 wxGBSizerItem
*result
= 0 ;
49929 PyObject
* obj0
= 0 ;
49930 PyObject
* obj1
= 0 ;
49931 char * kwnames
[] = {
49932 (char *) "self",(char *) "item", NULL
49935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
49937 if (!SWIG_IsOK(res1
)) {
49938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_AddItem" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
49940 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
49941 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_DISOWN
| 0 );
49942 if (!SWIG_IsOK(res2
)) {
49943 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_AddItem" "', expected argument " "2"" of type '" "wxGBSizerItem *""'");
49946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49947 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
49948 wxPyEndAllowThreads(__tstate
);
49949 if (PyErr_Occurred()) SWIG_fail
;
49951 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
49958 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49959 PyObject
*resultobj
= 0;
49960 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
49970 PyObject
* obj0
= 0 ;
49971 PyObject
* obj1
= 0 ;
49972 PyObject
* obj2
= 0 ;
49973 char * kwnames
[] = {
49974 (char *) "self",(char *) "row",(char *) "col", NULL
49977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
49978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
49979 if (!SWIG_IsOK(res1
)) {
49980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetCellSize" "', expected argument " "1"" of type '" "wxGridBagSizer const *""'");
49982 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
49983 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49984 if (!SWIG_IsOK(ecode2
)) {
49985 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridBagSizer_GetCellSize" "', expected argument " "2"" of type '" "int""'");
49987 arg2
= static_cast< int >(val2
);
49988 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
49989 if (!SWIG_IsOK(ecode3
)) {
49990 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridBagSizer_GetCellSize" "', expected argument " "3"" of type '" "int""'");
49992 arg3
= static_cast< int >(val3
);
49994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49995 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
49996 wxPyEndAllowThreads(__tstate
);
49997 if (PyErr_Occurred()) SWIG_fail
;
49999 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
50006 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50007 PyObject
*resultobj
= 0;
50008 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50012 PyObject
*swig_obj
[1] ;
50014 if (!args
) SWIG_fail
;
50015 swig_obj
[0] = args
;
50016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50017 if (!SWIG_IsOK(res1
)) {
50018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetEmptyCellSize" "', expected argument " "1"" of type '" "wxGridBagSizer const *""'");
50020 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50023 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
50024 wxPyEndAllowThreads(__tstate
);
50025 if (PyErr_Occurred()) SWIG_fail
;
50027 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
50034 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50035 PyObject
*resultobj
= 0;
50036 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50041 PyObject
* obj0
= 0 ;
50042 PyObject
* obj1
= 0 ;
50043 char * kwnames
[] = {
50044 (char *) "self",(char *) "sz", NULL
50047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50049 if (!SWIG_IsOK(res1
)) {
50050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetEmptyCellSize" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50052 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50055 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
50058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50059 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
50060 wxPyEndAllowThreads(__tstate
);
50061 if (PyErr_Occurred()) SWIG_fail
;
50063 resultobj
= SWIG_Py_Void();
50070 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50071 PyObject
*resultobj
= 0;
50072 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50073 wxWindow
*arg2
= (wxWindow
*) 0 ;
50074 wxGBPosition result
;
50080 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
50081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50082 if (!SWIG_IsOK(res1
)) {
50083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50085 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50086 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
50087 if (!SWIG_IsOK(res2
)) {
50088 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "2"" of type '" "wxWindow *""'");
50090 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
50092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50093 result
= (arg1
)->GetItemPosition(arg2
);
50094 wxPyEndAllowThreads(__tstate
);
50095 if (PyErr_Occurred()) SWIG_fail
;
50097 resultobj
= SWIG_NewPointerObj((new wxGBPosition(static_cast< const wxGBPosition
& >(result
))), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_OWN
| 0 );
50104 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50105 PyObject
*resultobj
= 0;
50106 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50107 wxSizer
*arg2
= (wxSizer
*) 0 ;
50108 wxGBPosition result
;
50114 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
50115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50116 if (!SWIG_IsOK(res1
)) {
50117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50119 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50120 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50121 if (!SWIG_IsOK(res2
)) {
50122 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "2"" of type '" "wxSizer *""'");
50124 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
50126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50127 result
= (arg1
)->GetItemPosition(arg2
);
50128 wxPyEndAllowThreads(__tstate
);
50129 if (PyErr_Occurred()) SWIG_fail
;
50131 resultobj
= SWIG_NewPointerObj((new wxGBPosition(static_cast< const wxGBPosition
& >(result
))), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_OWN
| 0 );
50138 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50139 PyObject
*resultobj
= 0;
50140 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50142 wxGBPosition result
;
50148 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
50149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50150 if (!SWIG_IsOK(res1
)) {
50151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50153 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50154 ecode2
= SWIG_AsVal_size_t(swig_obj
[1], &val2
);
50155 if (!SWIG_IsOK(ecode2
)) {
50156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "2"" of type '" "size_t""'");
50158 arg2
= static_cast< size_t >(val2
);
50160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50161 result
= (arg1
)->GetItemPosition(arg2
);
50162 wxPyEndAllowThreads(__tstate
);
50163 if (PyErr_Occurred()) SWIG_fail
;
50165 resultobj
= SWIG_NewPointerObj((new wxGBPosition(static_cast< const wxGBPosition
& >(result
))), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_OWN
| 0 );
50172 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
50176 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GridBagSizer_GetItemPosition",0,2,argv
))) SWIG_fail
;
50182 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxWindow
, 0);
50183 _v
= SWIG_CheckState(res
);
50185 if (!_v
) goto check_1
;
50186 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
, argc
, argv
);
50194 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxSizer
, 0);
50195 _v
= SWIG_CheckState(res
);
50197 if (!_v
) goto check_2
;
50198 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
, argc
, argv
);
50203 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
, argc
, argv
);
50207 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
50212 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50213 PyObject
*resultobj
= 0;
50214 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50215 wxWindow
*arg2
= (wxWindow
*) 0 ;
50216 wxGBPosition
*arg3
= 0 ;
50222 wxGBPosition temp3
;
50224 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
50225 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50226 if (!SWIG_IsOK(res1
)) {
50227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50229 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50230 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
50231 if (!SWIG_IsOK(res2
)) {
50232 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "2"" of type '" "wxWindow *""'");
50234 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
50237 if ( ! wxGBPosition_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
50240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50241 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
50242 wxPyEndAllowThreads(__tstate
);
50243 if (PyErr_Occurred()) SWIG_fail
;
50246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50254 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50255 PyObject
*resultobj
= 0;
50256 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50257 wxSizer
*arg2
= (wxSizer
*) 0 ;
50258 wxGBPosition
*arg3
= 0 ;
50264 wxGBPosition temp3
;
50266 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
50267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50268 if (!SWIG_IsOK(res1
)) {
50269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50271 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50272 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50273 if (!SWIG_IsOK(res2
)) {
50274 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "2"" of type '" "wxSizer *""'");
50276 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
50279 if ( ! wxGBPosition_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
50282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50283 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
50284 wxPyEndAllowThreads(__tstate
);
50285 if (PyErr_Occurred()) SWIG_fail
;
50288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50296 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50297 PyObject
*resultobj
= 0;
50298 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50300 wxGBPosition
*arg3
= 0 ;
50306 wxGBPosition temp3
;
50308 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
50309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50310 if (!SWIG_IsOK(res1
)) {
50311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50313 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50314 ecode2
= SWIG_AsVal_size_t(swig_obj
[1], &val2
);
50315 if (!SWIG_IsOK(ecode2
)) {
50316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "2"" of type '" "size_t""'");
50318 arg2
= static_cast< size_t >(val2
);
50321 if ( ! wxGBPosition_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
50324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50325 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
50326 wxPyEndAllowThreads(__tstate
);
50327 if (PyErr_Occurred()) SWIG_fail
;
50330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50338 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
50342 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GridBagSizer_SetItemPosition",0,3,argv
))) SWIG_fail
;
50348 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxWindow
, 0);
50349 _v
= SWIG_CheckState(res
);
50351 if (!_v
) goto check_1
;
50352 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
, argc
, argv
);
50360 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxSizer
, 0);
50361 _v
= SWIG_CheckState(res
);
50363 if (!_v
) goto check_2
;
50364 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
, argc
, argv
);
50369 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
, argc
, argv
);
50373 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
50378 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50379 PyObject
*resultobj
= 0;
50380 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50381 wxWindow
*arg2
= (wxWindow
*) 0 ;
50388 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
50389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50390 if (!SWIG_IsOK(res1
)) {
50391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50393 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50394 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
50395 if (!SWIG_IsOK(res2
)) {
50396 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "2"" of type '" "wxWindow *""'");
50398 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
50400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50401 result
= (arg1
)->GetItemSpan(arg2
);
50402 wxPyEndAllowThreads(__tstate
);
50403 if (PyErr_Occurred()) SWIG_fail
;
50405 resultobj
= SWIG_NewPointerObj((new wxGBSpan(static_cast< const wxGBSpan
& >(result
))), SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_OWN
| 0 );
50412 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50413 PyObject
*resultobj
= 0;
50414 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50415 wxSizer
*arg2
= (wxSizer
*) 0 ;
50422 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
50423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50424 if (!SWIG_IsOK(res1
)) {
50425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50427 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50428 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50429 if (!SWIG_IsOK(res2
)) {
50430 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "2"" of type '" "wxSizer *""'");
50432 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
50434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50435 result
= (arg1
)->GetItemSpan(arg2
);
50436 wxPyEndAllowThreads(__tstate
);
50437 if (PyErr_Occurred()) SWIG_fail
;
50439 resultobj
= SWIG_NewPointerObj((new wxGBSpan(static_cast< const wxGBSpan
& >(result
))), SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_OWN
| 0 );
50446 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50447 PyObject
*resultobj
= 0;
50448 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50456 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
50457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50458 if (!SWIG_IsOK(res1
)) {
50459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50461 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50462 ecode2
= SWIG_AsVal_size_t(swig_obj
[1], &val2
);
50463 if (!SWIG_IsOK(ecode2
)) {
50464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "2"" of type '" "size_t""'");
50466 arg2
= static_cast< size_t >(val2
);
50468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50469 result
= (arg1
)->GetItemSpan(arg2
);
50470 wxPyEndAllowThreads(__tstate
);
50471 if (PyErr_Occurred()) SWIG_fail
;
50473 resultobj
= SWIG_NewPointerObj((new wxGBSpan(static_cast< const wxGBSpan
& >(result
))), SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_OWN
| 0 );
50480 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
50484 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GridBagSizer_GetItemSpan",0,2,argv
))) SWIG_fail
;
50490 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxWindow
, 0);
50491 _v
= SWIG_CheckState(res
);
50493 if (!_v
) goto check_1
;
50494 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
, argc
, argv
);
50502 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxSizer
, 0);
50503 _v
= SWIG_CheckState(res
);
50505 if (!_v
) goto check_2
;
50506 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
, argc
, argv
);
50511 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
, argc
, argv
);
50515 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
50520 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50521 PyObject
*resultobj
= 0;
50522 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50523 wxWindow
*arg2
= (wxWindow
*) 0 ;
50524 wxGBSpan
*arg3
= 0 ;
50532 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
50533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50534 if (!SWIG_IsOK(res1
)) {
50535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50537 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50538 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
50539 if (!SWIG_IsOK(res2
)) {
50540 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "2"" of type '" "wxWindow *""'");
50542 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
50545 if ( ! wxGBSpan_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
50548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50549 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
50550 wxPyEndAllowThreads(__tstate
);
50551 if (PyErr_Occurred()) SWIG_fail
;
50554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50562 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50563 PyObject
*resultobj
= 0;
50564 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50565 wxSizer
*arg2
= (wxSizer
*) 0 ;
50566 wxGBSpan
*arg3
= 0 ;
50574 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
50575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50576 if (!SWIG_IsOK(res1
)) {
50577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50579 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50580 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50581 if (!SWIG_IsOK(res2
)) {
50582 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "2"" of type '" "wxSizer *""'");
50584 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
50587 if ( ! wxGBSpan_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
50590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50591 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
50592 wxPyEndAllowThreads(__tstate
);
50593 if (PyErr_Occurred()) SWIG_fail
;
50596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50604 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50605 PyObject
*resultobj
= 0;
50606 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50608 wxGBSpan
*arg3
= 0 ;
50616 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
50617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50618 if (!SWIG_IsOK(res1
)) {
50619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50621 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50622 ecode2
= SWIG_AsVal_size_t(swig_obj
[1], &val2
);
50623 if (!SWIG_IsOK(ecode2
)) {
50624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "2"" of type '" "size_t""'");
50626 arg2
= static_cast< size_t >(val2
);
50629 if ( ! wxGBSpan_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
50632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50633 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
50634 wxPyEndAllowThreads(__tstate
);
50635 if (PyErr_Occurred()) SWIG_fail
;
50638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50646 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
50650 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GridBagSizer_SetItemSpan",0,3,argv
))) SWIG_fail
;
50656 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxWindow
, 0);
50657 _v
= SWIG_CheckState(res
);
50659 if (!_v
) goto check_1
;
50660 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
, argc
, argv
);
50668 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxSizer
, 0);
50669 _v
= SWIG_CheckState(res
);
50671 if (!_v
) goto check_2
;
50672 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
, argc
, argv
);
50677 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
, argc
, argv
);
50681 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
50686 SWIGINTERN PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50687 PyObject
*resultobj
= 0;
50688 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50689 wxWindow
*arg2
= (wxWindow
*) 0 ;
50690 wxGBSizerItem
*result
= 0 ;
50696 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
50697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50698 if (!SWIG_IsOK(res1
)) {
50699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_FindItem" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50701 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50702 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
50703 if (!SWIG_IsOK(res2
)) {
50704 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_FindItem" "', expected argument " "2"" of type '" "wxWindow *""'");
50706 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
50708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50709 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
50710 wxPyEndAllowThreads(__tstate
);
50711 if (PyErr_Occurred()) SWIG_fail
;
50713 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
50720 SWIGINTERN PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50721 PyObject
*resultobj
= 0;
50722 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50723 wxSizer
*arg2
= (wxSizer
*) 0 ;
50724 wxGBSizerItem
*result
= 0 ;
50730 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
50731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50732 if (!SWIG_IsOK(res1
)) {
50733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_FindItem" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50735 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50736 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50737 if (!SWIG_IsOK(res2
)) {
50738 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_FindItem" "', expected argument " "2"" of type '" "wxSizer *""'");
50740 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
50742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50743 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
50744 wxPyEndAllowThreads(__tstate
);
50745 if (PyErr_Occurred()) SWIG_fail
;
50747 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
50754 SWIGINTERN PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
50758 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GridBagSizer_FindItem",0,2,argv
))) SWIG_fail
;
50764 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxWindow
, 0);
50765 _v
= SWIG_CheckState(res
);
50767 if (!_v
) goto check_1
;
50768 return _wrap_GridBagSizer_FindItem__SWIG_0(self
, argc
, argv
);
50773 return _wrap_GridBagSizer_FindItem__SWIG_1(self
, argc
, argv
);
50777 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
50782 SWIGINTERN PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50783 PyObject
*resultobj
= 0;
50784 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50785 wxGBPosition
*arg2
= 0 ;
50786 wxGBSizerItem
*result
= 0 ;
50789 wxGBPosition temp2
;
50790 PyObject
* obj0
= 0 ;
50791 PyObject
* obj1
= 0 ;
50792 char * kwnames
[] = {
50793 (char *) "self",(char *) "pos", NULL
50796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50798 if (!SWIG_IsOK(res1
)) {
50799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_FindItemAtPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50801 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50804 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
50807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50808 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
50809 wxPyEndAllowThreads(__tstate
);
50810 if (PyErr_Occurred()) SWIG_fail
;
50812 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
50819 SWIGINTERN PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50820 PyObject
*resultobj
= 0;
50821 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50822 wxPoint
*arg2
= 0 ;
50823 wxGBSizerItem
*result
= 0 ;
50827 PyObject
* obj0
= 0 ;
50828 PyObject
* obj1
= 0 ;
50829 char * kwnames
[] = {
50830 (char *) "self",(char *) "pt", NULL
50833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50835 if (!SWIG_IsOK(res1
)) {
50836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_FindItemAtPoint" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50838 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50841 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
50844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50845 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
50846 wxPyEndAllowThreads(__tstate
);
50847 if (PyErr_Occurred()) SWIG_fail
;
50849 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
50856 SWIGINTERN PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50857 PyObject
*resultobj
= 0;
50858 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50859 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
50860 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
50868 PyObject
* obj0
= 0 ;
50869 PyObject
* obj1
= 0 ;
50870 PyObject
* obj2
= 0 ;
50871 char * kwnames
[] = {
50872 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
50875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
50876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50877 if (!SWIG_IsOK(res1
)) {
50878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_CheckForIntersection" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50880 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50881 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
50882 if (!SWIG_IsOK(res2
)) {
50883 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_CheckForIntersection" "', expected argument " "2"" of type '" "wxGBSizerItem *""'");
50885 arg2
= reinterpret_cast< wxGBSizerItem
* >(argp2
);
50887 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
50888 if (!SWIG_IsOK(res3
)) {
50889 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "GridBagSizer_CheckForIntersection" "', expected argument " "3"" of type '" "wxGBSizerItem *""'");
50891 arg3
= reinterpret_cast< wxGBSizerItem
* >(argp3
);
50894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50895 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
50896 wxPyEndAllowThreads(__tstate
);
50897 if (PyErr_Occurred()) SWIG_fail
;
50900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50908 SWIGINTERN PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50909 PyObject
*resultobj
= 0;
50910 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50911 wxGBPosition
*arg2
= 0 ;
50912 wxGBSpan
*arg3
= 0 ;
50913 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
50917 wxGBPosition temp2
;
50921 PyObject
* obj0
= 0 ;
50922 PyObject
* obj1
= 0 ;
50923 PyObject
* obj2
= 0 ;
50924 PyObject
* obj3
= 0 ;
50925 char * kwnames
[] = {
50926 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
50929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
50930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50931 if (!SWIG_IsOK(res1
)) {
50932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_CheckForIntersectionPos" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50934 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50937 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
50941 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
50944 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
50945 if (!SWIG_IsOK(res4
)) {
50946 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GridBagSizer_CheckForIntersectionPos" "', expected argument " "4"" of type '" "wxGBSizerItem *""'");
50948 arg4
= reinterpret_cast< wxGBSizerItem
* >(argp4
);
50951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50952 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
50953 wxPyEndAllowThreads(__tstate
);
50954 if (PyErr_Occurred()) SWIG_fail
;
50957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50965 SWIGINTERN PyObject
*GridBagSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50967 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
50968 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridBagSizer
, SWIG_NewClientData(obj
));
50969 return SWIG_Py_Void();
50972 SWIGINTERN PyObject
*GridBagSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50973 return SWIG_Python_InitShadowInstance(args
);
50976 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50977 PyObject
*resultobj
= 0;
50978 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
50979 wxRelationship arg2
;
50980 wxWindow
*arg3
= (wxWindow
*) 0 ;
50982 int arg5
= (int) 0 ;
50983 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
50996 PyObject
* obj0
= 0 ;
50997 PyObject
* obj1
= 0 ;
50998 PyObject
* obj2
= 0 ;
50999 PyObject
* obj3
= 0 ;
51000 PyObject
* obj4
= 0 ;
51001 PyObject
* obj5
= 0 ;
51002 char * kwnames
[] = {
51003 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
51006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
51007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51008 if (!SWIG_IsOK(res1
)) {
51009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51011 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51012 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51013 if (!SWIG_IsOK(ecode2
)) {
51014 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "2"" of type '" "wxRelationship""'");
51016 arg2
= static_cast< wxRelationship
>(val2
);
51017 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51018 if (!SWIG_IsOK(res3
)) {
51019 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "3"" of type '" "wxWindow *""'");
51021 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
51022 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
51023 if (!SWIG_IsOK(ecode4
)) {
51024 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "4"" of type '" "wxEdge""'");
51026 arg4
= static_cast< wxEdge
>(val4
);
51028 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
51029 if (!SWIG_IsOK(ecode5
)) {
51030 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "5"" of type '" "int""'");
51032 arg5
= static_cast< int >(val5
);
51035 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
51036 if (!SWIG_IsOK(ecode6
)) {
51037 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "6"" of type '" "int""'");
51039 arg6
= static_cast< int >(val6
);
51042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51043 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
);
51044 wxPyEndAllowThreads(__tstate
);
51045 if (PyErr_Occurred()) SWIG_fail
;
51047 resultobj
= SWIG_Py_Void();
51054 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51055 PyObject
*resultobj
= 0;
51056 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51057 wxWindow
*arg2
= (wxWindow
*) 0 ;
51058 int arg3
= (int) 0 ;
51065 PyObject
* obj0
= 0 ;
51066 PyObject
* obj1
= 0 ;
51067 PyObject
* obj2
= 0 ;
51068 char * kwnames
[] = {
51069 (char *) "self",(char *) "sibling",(char *) "marg", NULL
51072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
51073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51074 if (!SWIG_IsOK(res1
)) {
51075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_LeftOf" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51077 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51078 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51079 if (!SWIG_IsOK(res2
)) {
51080 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_LeftOf" "', expected argument " "2"" of type '" "wxWindow *""'");
51082 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
51084 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
51085 if (!SWIG_IsOK(ecode3
)) {
51086 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_LeftOf" "', expected argument " "3"" of type '" "int""'");
51088 arg3
= static_cast< int >(val3
);
51091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51092 (arg1
)->LeftOf(arg2
,arg3
);
51093 wxPyEndAllowThreads(__tstate
);
51094 if (PyErr_Occurred()) SWIG_fail
;
51096 resultobj
= SWIG_Py_Void();
51103 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51104 PyObject
*resultobj
= 0;
51105 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51106 wxWindow
*arg2
= (wxWindow
*) 0 ;
51107 int arg3
= (int) 0 ;
51114 PyObject
* obj0
= 0 ;
51115 PyObject
* obj1
= 0 ;
51116 PyObject
* obj2
= 0 ;
51117 char * kwnames
[] = {
51118 (char *) "self",(char *) "sibling",(char *) "marg", NULL
51121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
51122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51123 if (!SWIG_IsOK(res1
)) {
51124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_RightOf" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51126 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51127 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51128 if (!SWIG_IsOK(res2
)) {
51129 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_RightOf" "', expected argument " "2"" of type '" "wxWindow *""'");
51131 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
51133 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
51134 if (!SWIG_IsOK(ecode3
)) {
51135 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_RightOf" "', expected argument " "3"" of type '" "int""'");
51137 arg3
= static_cast< int >(val3
);
51140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51141 (arg1
)->RightOf(arg2
,arg3
);
51142 wxPyEndAllowThreads(__tstate
);
51143 if (PyErr_Occurred()) SWIG_fail
;
51145 resultobj
= SWIG_Py_Void();
51152 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51153 PyObject
*resultobj
= 0;
51154 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51155 wxWindow
*arg2
= (wxWindow
*) 0 ;
51156 int arg3
= (int) 0 ;
51163 PyObject
* obj0
= 0 ;
51164 PyObject
* obj1
= 0 ;
51165 PyObject
* obj2
= 0 ;
51166 char * kwnames
[] = {
51167 (char *) "self",(char *) "sibling",(char *) "marg", NULL
51170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
51171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51172 if (!SWIG_IsOK(res1
)) {
51173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_Above" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51175 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51176 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51177 if (!SWIG_IsOK(res2
)) {
51178 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_Above" "', expected argument " "2"" of type '" "wxWindow *""'");
51180 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
51182 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
51183 if (!SWIG_IsOK(ecode3
)) {
51184 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_Above" "', expected argument " "3"" of type '" "int""'");
51186 arg3
= static_cast< int >(val3
);
51189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51190 (arg1
)->Above(arg2
,arg3
);
51191 wxPyEndAllowThreads(__tstate
);
51192 if (PyErr_Occurred()) SWIG_fail
;
51194 resultobj
= SWIG_Py_Void();
51201 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51202 PyObject
*resultobj
= 0;
51203 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51204 wxWindow
*arg2
= (wxWindow
*) 0 ;
51205 int arg3
= (int) 0 ;
51212 PyObject
* obj0
= 0 ;
51213 PyObject
* obj1
= 0 ;
51214 PyObject
* obj2
= 0 ;
51215 char * kwnames
[] = {
51216 (char *) "self",(char *) "sibling",(char *) "marg", NULL
51219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
51220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51221 if (!SWIG_IsOK(res1
)) {
51222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_Below" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51224 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51225 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51226 if (!SWIG_IsOK(res2
)) {
51227 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_Below" "', expected argument " "2"" of type '" "wxWindow *""'");
51229 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
51231 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
51232 if (!SWIG_IsOK(ecode3
)) {
51233 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_Below" "', expected argument " "3"" of type '" "int""'");
51235 arg3
= static_cast< int >(val3
);
51238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51239 (arg1
)->Below(arg2
,arg3
);
51240 wxPyEndAllowThreads(__tstate
);
51241 if (PyErr_Occurred()) SWIG_fail
;
51243 resultobj
= SWIG_Py_Void();
51250 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51251 PyObject
*resultobj
= 0;
51252 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51253 wxWindow
*arg2
= (wxWindow
*) 0 ;
51255 int arg4
= (int) 0 ;
51264 PyObject
* obj0
= 0 ;
51265 PyObject
* obj1
= 0 ;
51266 PyObject
* obj2
= 0 ;
51267 PyObject
* obj3
= 0 ;
51268 char * kwnames
[] = {
51269 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
51272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
51273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51274 if (!SWIG_IsOK(res1
)) {
51275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SameAs" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51277 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51278 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51279 if (!SWIG_IsOK(res2
)) {
51280 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_SameAs" "', expected argument " "2"" of type '" "wxWindow *""'");
51282 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
51283 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
51284 if (!SWIG_IsOK(ecode3
)) {
51285 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_SameAs" "', expected argument " "3"" of type '" "wxEdge""'");
51287 arg3
= static_cast< wxEdge
>(val3
);
51289 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
51290 if (!SWIG_IsOK(ecode4
)) {
51291 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "IndividualLayoutConstraint_SameAs" "', expected argument " "4"" of type '" "int""'");
51293 arg4
= static_cast< int >(val4
);
51296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51297 (arg1
)->SameAs(arg2
,arg3
,arg4
);
51298 wxPyEndAllowThreads(__tstate
);
51299 if (PyErr_Occurred()) SWIG_fail
;
51301 resultobj
= SWIG_Py_Void();
51308 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51309 PyObject
*resultobj
= 0;
51310 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51311 wxWindow
*arg2
= (wxWindow
*) 0 ;
51322 PyObject
* obj0
= 0 ;
51323 PyObject
* obj1
= 0 ;
51324 PyObject
* obj2
= 0 ;
51325 PyObject
* obj3
= 0 ;
51326 char * kwnames
[] = {
51327 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
51330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
51331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51332 if (!SWIG_IsOK(res1
)) {
51333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_PercentOf" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51335 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51336 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51337 if (!SWIG_IsOK(res2
)) {
51338 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_PercentOf" "', expected argument " "2"" of type '" "wxWindow *""'");
51340 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
51341 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
51342 if (!SWIG_IsOK(ecode3
)) {
51343 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_PercentOf" "', expected argument " "3"" of type '" "wxEdge""'");
51345 arg3
= static_cast< wxEdge
>(val3
);
51346 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
51347 if (!SWIG_IsOK(ecode4
)) {
51348 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "IndividualLayoutConstraint_PercentOf" "', expected argument " "4"" of type '" "int""'");
51350 arg4
= static_cast< int >(val4
);
51352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51353 (arg1
)->PercentOf(arg2
,arg3
,arg4
);
51354 wxPyEndAllowThreads(__tstate
);
51355 if (PyErr_Occurred()) SWIG_fail
;
51357 resultobj
= SWIG_Py_Void();
51364 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51365 PyObject
*resultobj
= 0;
51366 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51372 PyObject
* obj0
= 0 ;
51373 PyObject
* obj1
= 0 ;
51374 char * kwnames
[] = {
51375 (char *) "self",(char *) "val", NULL
51378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51380 if (!SWIG_IsOK(res1
)) {
51381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_Absolute" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51383 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51384 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51385 if (!SWIG_IsOK(ecode2
)) {
51386 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_Absolute" "', expected argument " "2"" of type '" "int""'");
51388 arg2
= static_cast< int >(val2
);
51390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51391 (arg1
)->Absolute(arg2
);
51392 wxPyEndAllowThreads(__tstate
);
51393 if (PyErr_Occurred()) SWIG_fail
;
51395 resultobj
= SWIG_Py_Void();
51402 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51403 PyObject
*resultobj
= 0;
51404 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51407 PyObject
*swig_obj
[1] ;
51409 if (!args
) SWIG_fail
;
51410 swig_obj
[0] = args
;
51411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51412 if (!SWIG_IsOK(res1
)) {
51413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_Unconstrained" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51415 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51418 (arg1
)->Unconstrained();
51419 wxPyEndAllowThreads(__tstate
);
51420 if (PyErr_Occurred()) SWIG_fail
;
51422 resultobj
= SWIG_Py_Void();
51429 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51430 PyObject
*resultobj
= 0;
51431 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51434 PyObject
*swig_obj
[1] ;
51436 if (!args
) SWIG_fail
;
51437 swig_obj
[0] = args
;
51438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51439 if (!SWIG_IsOK(res1
)) {
51440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_AsIs" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51442 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51446 wxPyEndAllowThreads(__tstate
);
51447 if (PyErr_Occurred()) SWIG_fail
;
51449 resultobj
= SWIG_Py_Void();
51456 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51457 PyObject
*resultobj
= 0;
51458 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51459 wxWindow
*result
= 0 ;
51462 PyObject
*swig_obj
[1] ;
51464 if (!args
) SWIG_fail
;
51465 swig_obj
[0] = args
;
51466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51467 if (!SWIG_IsOK(res1
)) {
51468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetOtherWindow" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51470 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51473 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
51474 wxPyEndAllowThreads(__tstate
);
51475 if (PyErr_Occurred()) SWIG_fail
;
51478 resultobj
= wxPyMake_wxObject(result
, 0);
51486 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51487 PyObject
*resultobj
= 0;
51488 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51492 PyObject
*swig_obj
[1] ;
51494 if (!args
) SWIG_fail
;
51495 swig_obj
[0] = args
;
51496 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51497 if (!SWIG_IsOK(res1
)) {
51498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetMyEdge" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
51500 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51503 result
= (wxEdge
)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
51504 wxPyEndAllowThreads(__tstate
);
51505 if (PyErr_Occurred()) SWIG_fail
;
51507 resultobj
= SWIG_From_int(static_cast< int >(result
));
51514 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51515 PyObject
*resultobj
= 0;
51516 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51522 PyObject
* obj0
= 0 ;
51523 PyObject
* obj1
= 0 ;
51524 char * kwnames
[] = {
51525 (char *) "self",(char *) "which", NULL
51528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51530 if (!SWIG_IsOK(res1
)) {
51531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SetEdge" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51533 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51534 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51535 if (!SWIG_IsOK(ecode2
)) {
51536 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_SetEdge" "', expected argument " "2"" of type '" "wxEdge""'");
51538 arg2
= static_cast< wxEdge
>(val2
);
51540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51541 (arg1
)->SetEdge(arg2
);
51542 wxPyEndAllowThreads(__tstate
);
51543 if (PyErr_Occurred()) SWIG_fail
;
51545 resultobj
= SWIG_Py_Void();
51552 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51553 PyObject
*resultobj
= 0;
51554 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51560 PyObject
* obj0
= 0 ;
51561 PyObject
* obj1
= 0 ;
51562 char * kwnames
[] = {
51563 (char *) "self",(char *) "v", NULL
51566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51568 if (!SWIG_IsOK(res1
)) {
51569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SetValue" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51571 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51572 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51573 if (!SWIG_IsOK(ecode2
)) {
51574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_SetValue" "', expected argument " "2"" of type '" "int""'");
51576 arg2
= static_cast< int >(val2
);
51578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51579 (arg1
)->SetValue(arg2
);
51580 wxPyEndAllowThreads(__tstate
);
51581 if (PyErr_Occurred()) SWIG_fail
;
51583 resultobj
= SWIG_Py_Void();
51590 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51591 PyObject
*resultobj
= 0;
51592 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51596 PyObject
*swig_obj
[1] ;
51598 if (!args
) SWIG_fail
;
51599 swig_obj
[0] = args
;
51600 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51601 if (!SWIG_IsOK(res1
)) {
51602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetMargin" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51604 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51607 result
= (int)(arg1
)->GetMargin();
51608 wxPyEndAllowThreads(__tstate
);
51609 if (PyErr_Occurred()) SWIG_fail
;
51611 resultobj
= SWIG_From_int(static_cast< int >(result
));
51618 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51619 PyObject
*resultobj
= 0;
51620 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51626 PyObject
* obj0
= 0 ;
51627 PyObject
* obj1
= 0 ;
51628 char * kwnames
[] = {
51629 (char *) "self",(char *) "m", NULL
51632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51634 if (!SWIG_IsOK(res1
)) {
51635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SetMargin" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51637 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51638 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51639 if (!SWIG_IsOK(ecode2
)) {
51640 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_SetMargin" "', expected argument " "2"" of type '" "int""'");
51642 arg2
= static_cast< int >(val2
);
51644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51645 (arg1
)->SetMargin(arg2
);
51646 wxPyEndAllowThreads(__tstate
);
51647 if (PyErr_Occurred()) SWIG_fail
;
51649 resultobj
= SWIG_Py_Void();
51656 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51657 PyObject
*resultobj
= 0;
51658 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51662 PyObject
*swig_obj
[1] ;
51664 if (!args
) SWIG_fail
;
51665 swig_obj
[0] = args
;
51666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51667 if (!SWIG_IsOK(res1
)) {
51668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetValue" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
51670 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51673 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
51674 wxPyEndAllowThreads(__tstate
);
51675 if (PyErr_Occurred()) SWIG_fail
;
51677 resultobj
= SWIG_From_int(static_cast< int >(result
));
51684 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51685 PyObject
*resultobj
= 0;
51686 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51690 PyObject
*swig_obj
[1] ;
51692 if (!args
) SWIG_fail
;
51693 swig_obj
[0] = args
;
51694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51695 if (!SWIG_IsOK(res1
)) {
51696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetPercent" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
51698 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51701 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
51702 wxPyEndAllowThreads(__tstate
);
51703 if (PyErr_Occurred()) SWIG_fail
;
51705 resultobj
= SWIG_From_int(static_cast< int >(result
));
51712 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51713 PyObject
*resultobj
= 0;
51714 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51718 PyObject
*swig_obj
[1] ;
51720 if (!args
) SWIG_fail
;
51721 swig_obj
[0] = args
;
51722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51723 if (!SWIG_IsOK(res1
)) {
51724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetOtherEdge" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
51726 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51729 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
51730 wxPyEndAllowThreads(__tstate
);
51731 if (PyErr_Occurred()) SWIG_fail
;
51733 resultobj
= SWIG_From_int(static_cast< int >(result
));
51740 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51741 PyObject
*resultobj
= 0;
51742 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51746 PyObject
*swig_obj
[1] ;
51748 if (!args
) SWIG_fail
;
51749 swig_obj
[0] = args
;
51750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51751 if (!SWIG_IsOK(res1
)) {
51752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetDone" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
51754 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51757 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
51758 wxPyEndAllowThreads(__tstate
);
51759 if (PyErr_Occurred()) SWIG_fail
;
51762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
51770 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51771 PyObject
*resultobj
= 0;
51772 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51778 PyObject
* obj0
= 0 ;
51779 PyObject
* obj1
= 0 ;
51780 char * kwnames
[] = {
51781 (char *) "self",(char *) "d", NULL
51784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51786 if (!SWIG_IsOK(res1
)) {
51787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SetDone" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51789 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51790 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
51791 if (!SWIG_IsOK(ecode2
)) {
51792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_SetDone" "', expected argument " "2"" of type '" "bool""'");
51794 arg2
= static_cast< bool >(val2
);
51796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51797 (arg1
)->SetDone(arg2
);
51798 wxPyEndAllowThreads(__tstate
);
51799 if (PyErr_Occurred()) SWIG_fail
;
51801 resultobj
= SWIG_Py_Void();
51808 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51809 PyObject
*resultobj
= 0;
51810 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51811 wxRelationship result
;
51814 PyObject
*swig_obj
[1] ;
51816 if (!args
) SWIG_fail
;
51817 swig_obj
[0] = args
;
51818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51819 if (!SWIG_IsOK(res1
)) {
51820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetRelationship" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51822 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51825 result
= (wxRelationship
)(arg1
)->GetRelationship();
51826 wxPyEndAllowThreads(__tstate
);
51827 if (PyErr_Occurred()) SWIG_fail
;
51829 resultobj
= SWIG_From_int(static_cast< int >(result
));
51836 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51837 PyObject
*resultobj
= 0;
51838 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51839 wxRelationship arg2
;
51844 PyObject
* obj0
= 0 ;
51845 PyObject
* obj1
= 0 ;
51846 char * kwnames
[] = {
51847 (char *) "self",(char *) "r", NULL
51850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51852 if (!SWIG_IsOK(res1
)) {
51853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SetRelationship" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51855 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51856 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51857 if (!SWIG_IsOK(ecode2
)) {
51858 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_SetRelationship" "', expected argument " "2"" of type '" "wxRelationship""'");
51860 arg2
= static_cast< wxRelationship
>(val2
);
51862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51863 (arg1
)->SetRelationship(arg2
);
51864 wxPyEndAllowThreads(__tstate
);
51865 if (PyErr_Occurred()) SWIG_fail
;
51867 resultobj
= SWIG_Py_Void();
51874 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51875 PyObject
*resultobj
= 0;
51876 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51877 wxWindow
*arg2
= (wxWindow
*) 0 ;
51883 PyObject
* obj0
= 0 ;
51884 PyObject
* obj1
= 0 ;
51885 char * kwnames
[] = {
51886 (char *) "self",(char *) "otherW", NULL
51889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51891 if (!SWIG_IsOK(res1
)) {
51892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_ResetIfWin" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51894 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51895 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51896 if (!SWIG_IsOK(res2
)) {
51897 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_ResetIfWin" "', expected argument " "2"" of type '" "wxWindow *""'");
51899 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
51901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51902 result
= (bool)(arg1
)->ResetIfWin(arg2
);
51903 wxPyEndAllowThreads(__tstate
);
51904 if (PyErr_Occurred()) SWIG_fail
;
51907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
51915 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51916 PyObject
*resultobj
= 0;
51917 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51918 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
51919 wxWindow
*arg3
= (wxWindow
*) 0 ;
51927 PyObject
* obj0
= 0 ;
51928 PyObject
* obj1
= 0 ;
51929 PyObject
* obj2
= 0 ;
51930 char * kwnames
[] = {
51931 (char *) "self",(char *) "constraints",(char *) "win", NULL
51934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
51935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51936 if (!SWIG_IsOK(res1
)) {
51937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SatisfyConstraint" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51939 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51940 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
51941 if (!SWIG_IsOK(res2
)) {
51942 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_SatisfyConstraint" "', expected argument " "2"" of type '" "wxLayoutConstraints *""'");
51944 arg2
= reinterpret_cast< wxLayoutConstraints
* >(argp2
);
51945 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51946 if (!SWIG_IsOK(res3
)) {
51947 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "IndividualLayoutConstraint_SatisfyConstraint" "', expected argument " "3"" of type '" "wxWindow *""'");
51949 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
51951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51952 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
51953 wxPyEndAllowThreads(__tstate
);
51954 if (PyErr_Occurred()) SWIG_fail
;
51957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
51965 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51966 PyObject
*resultobj
= 0;
51967 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51969 wxWindow
*arg3
= (wxWindow
*) 0 ;
51970 wxWindow
*arg4
= (wxWindow
*) 0 ;
51980 PyObject
* obj0
= 0 ;
51981 PyObject
* obj1
= 0 ;
51982 PyObject
* obj2
= 0 ;
51983 PyObject
* obj3
= 0 ;
51984 char * kwnames
[] = {
51985 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
51988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
51989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51990 if (!SWIG_IsOK(res1
)) {
51991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetEdge" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
51993 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51994 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51995 if (!SWIG_IsOK(ecode2
)) {
51996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_GetEdge" "', expected argument " "2"" of type '" "wxEdge""'");
51998 arg2
= static_cast< wxEdge
>(val2
);
51999 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
52000 if (!SWIG_IsOK(res3
)) {
52001 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "IndividualLayoutConstraint_GetEdge" "', expected argument " "3"" of type '" "wxWindow *""'");
52003 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
52004 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
52005 if (!SWIG_IsOK(res4
)) {
52006 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "IndividualLayoutConstraint_GetEdge" "', expected argument " "4"" of type '" "wxWindow *""'");
52008 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
52010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52011 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge(arg2
,arg3
,arg4
);
52012 wxPyEndAllowThreads(__tstate
);
52013 if (PyErr_Occurred()) SWIG_fail
;
52015 resultobj
= SWIG_From_int(static_cast< int >(result
));
52022 SWIGINTERN PyObject
*IndividualLayoutConstraint_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52024 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
52025 SWIG_TypeNewClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_NewClientData(obj
));
52026 return SWIG_Py_Void();
52029 SWIGINTERN PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52030 PyObject
*resultobj
= 0;
52031 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52032 wxIndividualLayoutConstraint
*result
= 0 ;
52035 PyObject
*swig_obj
[1] ;
52037 if (!args
) SWIG_fail
;
52038 swig_obj
[0] = args
;
52039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52040 if (!SWIG_IsOK(res1
)) {
52041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_left_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52043 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52044 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
52045 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52052 SWIGINTERN PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52053 PyObject
*resultobj
= 0;
52054 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52055 wxIndividualLayoutConstraint
*result
= 0 ;
52058 PyObject
*swig_obj
[1] ;
52060 if (!args
) SWIG_fail
;
52061 swig_obj
[0] = args
;
52062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52063 if (!SWIG_IsOK(res1
)) {
52064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_top_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52066 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52067 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
52068 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52075 SWIGINTERN PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52076 PyObject
*resultobj
= 0;
52077 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52078 wxIndividualLayoutConstraint
*result
= 0 ;
52081 PyObject
*swig_obj
[1] ;
52083 if (!args
) SWIG_fail
;
52084 swig_obj
[0] = args
;
52085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52086 if (!SWIG_IsOK(res1
)) {
52087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_right_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52089 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52090 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
52091 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52098 SWIGINTERN PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52099 PyObject
*resultobj
= 0;
52100 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52101 wxIndividualLayoutConstraint
*result
= 0 ;
52104 PyObject
*swig_obj
[1] ;
52106 if (!args
) SWIG_fail
;
52107 swig_obj
[0] = args
;
52108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52109 if (!SWIG_IsOK(res1
)) {
52110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_bottom_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52112 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52113 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
52114 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52121 SWIGINTERN PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52122 PyObject
*resultobj
= 0;
52123 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52124 wxIndividualLayoutConstraint
*result
= 0 ;
52127 PyObject
*swig_obj
[1] ;
52129 if (!args
) SWIG_fail
;
52130 swig_obj
[0] = args
;
52131 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52132 if (!SWIG_IsOK(res1
)) {
52133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_width_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52135 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52136 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
52137 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52144 SWIGINTERN PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52145 PyObject
*resultobj
= 0;
52146 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52147 wxIndividualLayoutConstraint
*result
= 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_wxLayoutConstraints
, 0 | 0 );
52155 if (!SWIG_IsOK(res1
)) {
52156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_height_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52158 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52159 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
52160 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52167 SWIGINTERN PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52168 PyObject
*resultobj
= 0;
52169 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52170 wxIndividualLayoutConstraint
*result
= 0 ;
52173 PyObject
*swig_obj
[1] ;
52175 if (!args
) SWIG_fail
;
52176 swig_obj
[0] = args
;
52177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52178 if (!SWIG_IsOK(res1
)) {
52179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_centreX_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52181 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52182 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
52183 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52190 SWIGINTERN PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52191 PyObject
*resultobj
= 0;
52192 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52193 wxIndividualLayoutConstraint
*result
= 0 ;
52196 PyObject
*swig_obj
[1] ;
52198 if (!args
) SWIG_fail
;
52199 swig_obj
[0] = args
;
52200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52201 if (!SWIG_IsOK(res1
)) {
52202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_centreY_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52204 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52205 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
52206 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52213 SWIGINTERN PyObject
*_wrap_new_LayoutConstraints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52214 PyObject
*resultobj
= 0;
52215 wxLayoutConstraints
*result
= 0 ;
52217 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutConstraints",0,0,0)) SWIG_fail
;
52219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52220 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
52221 wxPyEndAllowThreads(__tstate
);
52222 if (PyErr_Occurred()) SWIG_fail
;
52224 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_NEW
| 0 );
52231 SWIGINTERN PyObject
*_wrap_delete_LayoutConstraints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52232 PyObject
*resultobj
= 0;
52233 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52236 PyObject
*swig_obj
[1] ;
52238 if (!args
) SWIG_fail
;
52239 swig_obj
[0] = args
;
52240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_DISOWN
| 0 );
52241 if (!SWIG_IsOK(res1
)) {
52242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutConstraints" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52244 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52249 wxPyEndAllowThreads(__tstate
);
52250 if (PyErr_Occurred()) SWIG_fail
;
52252 resultobj
= SWIG_Py_Void();
52259 SWIGINTERN PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52260 PyObject
*resultobj
= 0;
52261 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52262 wxWindow
*arg2
= (wxWindow
*) 0 ;
52263 int *arg3
= (int *) 0 ;
52270 int res3
= SWIG_TMPOBJ
;
52271 PyObject
* obj0
= 0 ;
52272 PyObject
* obj1
= 0 ;
52273 char * kwnames
[] = {
52274 (char *) "self",(char *) "win", NULL
52278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
52279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52280 if (!SWIG_IsOK(res1
)) {
52281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_SatisfyConstraints" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52283 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52284 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
52285 if (!SWIG_IsOK(res2
)) {
52286 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutConstraints_SatisfyConstraints" "', expected argument " "2"" of type '" "wxWindow *""'");
52288 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
52290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52291 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
52292 wxPyEndAllowThreads(__tstate
);
52293 if (PyErr_Occurred()) SWIG_fail
;
52296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
52298 if (SWIG_IsTmpObj(res3
)) {
52299 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
52301 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
52302 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
52310 SWIGINTERN PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52311 PyObject
*resultobj
= 0;
52312 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52316 PyObject
*swig_obj
[1] ;
52318 if (!args
) SWIG_fail
;
52319 swig_obj
[0] = args
;
52320 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52321 if (!SWIG_IsOK(res1
)) {
52322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_AreSatisfied" "', expected argument " "1"" of type '" "wxLayoutConstraints const *""'");
52324 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52327 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
52328 wxPyEndAllowThreads(__tstate
);
52329 if (PyErr_Occurred()) SWIG_fail
;
52332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
52340 SWIGINTERN PyObject
*LayoutConstraints_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52342 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
52343 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutConstraints
, SWIG_NewClientData(obj
));
52344 return SWIG_Py_Void();
52347 SWIGINTERN PyObject
*LayoutConstraints_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52348 return SWIG_Python_InitShadowInstance(args
);
52351 static PyMethodDef SwigMethods
[] = {
52352 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
52353 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
52354 { (char *)"Object_GetClassName", (PyCFunction
)_wrap_Object_GetClassName
, METH_O
, NULL
},
52355 { (char *)"Object_Destroy", (PyCFunction
)_wrap_Object_Destroy
, METH_O
, NULL
},
52356 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
52357 { (char *)"Size_width_set", _wrap_Size_width_set
, METH_VARARGS
, NULL
},
52358 { (char *)"Size_width_get", (PyCFunction
)_wrap_Size_width_get
, METH_O
, NULL
},
52359 { (char *)"Size_height_set", _wrap_Size_height_set
, METH_VARARGS
, NULL
},
52360 { (char *)"Size_height_get", (PyCFunction
)_wrap_Size_height_get
, METH_O
, NULL
},
52361 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52362 { (char *)"delete_Size", (PyCFunction
)_wrap_delete_Size
, METH_O
, NULL
},
52363 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52364 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52365 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52366 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52367 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52368 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52369 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52370 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52371 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52372 { (char *)"Size_GetWidth", (PyCFunction
)_wrap_Size_GetWidth
, METH_O
, NULL
},
52373 { (char *)"Size_GetHeight", (PyCFunction
)_wrap_Size_GetHeight
, METH_O
, NULL
},
52374 { (char *)"Size_IsFullySpecified", (PyCFunction
)_wrap_Size_IsFullySpecified
, METH_O
, NULL
},
52375 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52376 { (char *)"Size_Get", (PyCFunction
)_wrap_Size_Get
, METH_O
, NULL
},
52377 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
52378 { (char *)"Size_swiginit", Size_swiginit
, METH_VARARGS
, NULL
},
52379 { (char *)"RealPoint_x_set", _wrap_RealPoint_x_set
, METH_VARARGS
, NULL
},
52380 { (char *)"RealPoint_x_get", (PyCFunction
)_wrap_RealPoint_x_get
, METH_O
, NULL
},
52381 { (char *)"RealPoint_y_set", _wrap_RealPoint_y_set
, METH_VARARGS
, NULL
},
52382 { (char *)"RealPoint_y_get", (PyCFunction
)_wrap_RealPoint_y_get
, METH_O
, NULL
},
52383 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52384 { (char *)"delete_RealPoint", (PyCFunction
)_wrap_delete_RealPoint
, METH_O
, NULL
},
52385 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52386 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52387 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52388 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52389 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52390 { (char *)"RealPoint_Get", (PyCFunction
)_wrap_RealPoint_Get
, METH_O
, NULL
},
52391 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
52392 { (char *)"RealPoint_swiginit", RealPoint_swiginit
, METH_VARARGS
, NULL
},
52393 { (char *)"Point_x_set", _wrap_Point_x_set
, METH_VARARGS
, NULL
},
52394 { (char *)"Point_x_get", (PyCFunction
)_wrap_Point_x_get
, METH_O
, NULL
},
52395 { (char *)"Point_y_set", _wrap_Point_y_set
, METH_VARARGS
, NULL
},
52396 { (char *)"Point_y_get", (PyCFunction
)_wrap_Point_y_get
, METH_O
, NULL
},
52397 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52398 { (char *)"delete_Point", (PyCFunction
)_wrap_delete_Point
, METH_O
, NULL
},
52399 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52400 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52401 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52402 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52403 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52404 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52405 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52406 { (char *)"Point_Get", (PyCFunction
)_wrap_Point_Get
, METH_O
, NULL
},
52407 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
52408 { (char *)"Point_swiginit", Point_swiginit
, METH_VARARGS
, NULL
},
52409 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52410 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52411 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52412 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52413 { (char *)"delete_Rect", (PyCFunction
)_wrap_delete_Rect
, METH_O
, NULL
},
52414 { (char *)"Rect_GetX", (PyCFunction
)_wrap_Rect_GetX
, METH_O
, NULL
},
52415 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52416 { (char *)"Rect_GetY", (PyCFunction
)_wrap_Rect_GetY
, METH_O
, NULL
},
52417 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52418 { (char *)"Rect_GetWidth", (PyCFunction
)_wrap_Rect_GetWidth
, METH_O
, NULL
},
52419 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52420 { (char *)"Rect_GetHeight", (PyCFunction
)_wrap_Rect_GetHeight
, METH_O
, NULL
},
52421 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52422 { (char *)"Rect_GetPosition", (PyCFunction
)_wrap_Rect_GetPosition
, METH_O
, NULL
},
52423 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52424 { (char *)"Rect_GetSize", (PyCFunction
)_wrap_Rect_GetSize
, METH_O
, NULL
},
52425 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52426 { (char *)"Rect_IsEmpty", (PyCFunction
)_wrap_Rect_IsEmpty
, METH_O
, NULL
},
52427 { (char *)"Rect_GetTopLeft", (PyCFunction
)_wrap_Rect_GetTopLeft
, METH_O
, NULL
},
52428 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52429 { (char *)"Rect_GetBottomRight", (PyCFunction
)_wrap_Rect_GetBottomRight
, METH_O
, NULL
},
52430 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52431 { (char *)"Rect_GetLeft", (PyCFunction
)_wrap_Rect_GetLeft
, METH_O
, NULL
},
52432 { (char *)"Rect_GetTop", (PyCFunction
)_wrap_Rect_GetTop
, METH_O
, NULL
},
52433 { (char *)"Rect_GetBottom", (PyCFunction
)_wrap_Rect_GetBottom
, METH_O
, NULL
},
52434 { (char *)"Rect_GetRight", (PyCFunction
)_wrap_Rect_GetRight
, METH_O
, NULL
},
52435 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52436 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52437 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52438 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52439 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52440 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52441 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52442 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52443 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52444 { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52445 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52446 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52447 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52448 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52449 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52450 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52451 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52452 { (char *)"Rect_CenterIn", (PyCFunction
) _wrap_Rect_CenterIn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52453 { (char *)"Rect_x_set", _wrap_Rect_x_set
, METH_VARARGS
, NULL
},
52454 { (char *)"Rect_x_get", (PyCFunction
)_wrap_Rect_x_get
, METH_O
, NULL
},
52455 { (char *)"Rect_y_set", _wrap_Rect_y_set
, METH_VARARGS
, NULL
},
52456 { (char *)"Rect_y_get", (PyCFunction
)_wrap_Rect_y_get
, METH_O
, NULL
},
52457 { (char *)"Rect_width_set", _wrap_Rect_width_set
, METH_VARARGS
, NULL
},
52458 { (char *)"Rect_width_get", (PyCFunction
)_wrap_Rect_width_get
, METH_O
, NULL
},
52459 { (char *)"Rect_height_set", _wrap_Rect_height_set
, METH_VARARGS
, NULL
},
52460 { (char *)"Rect_height_get", (PyCFunction
)_wrap_Rect_height_get
, METH_O
, NULL
},
52461 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52462 { (char *)"Rect_Get", (PyCFunction
)_wrap_Rect_Get
, METH_O
, NULL
},
52463 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
52464 { (char *)"Rect_swiginit", Rect_swiginit
, METH_VARARGS
, NULL
},
52465 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52466 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52467 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52468 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52469 { (char *)"Point2D_GetFloor", (PyCFunction
)_wrap_Point2D_GetFloor
, METH_O
, NULL
},
52470 { (char *)"Point2D_GetRounded", (PyCFunction
)_wrap_Point2D_GetRounded
, METH_O
, NULL
},
52471 { (char *)"Point2D_GetVectorLength", (PyCFunction
)_wrap_Point2D_GetVectorLength
, METH_O
, NULL
},
52472 { (char *)"Point2D_GetVectorAngle", (PyCFunction
)_wrap_Point2D_GetVectorAngle
, METH_O
, NULL
},
52473 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52474 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52475 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52476 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52477 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52478 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52479 { (char *)"Point2D___neg__", (PyCFunction
)_wrap_Point2D___neg__
, METH_O
, NULL
},
52480 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52481 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52482 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52483 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52484 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52485 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52486 { (char *)"Point2D_x_set", _wrap_Point2D_x_set
, METH_VARARGS
, NULL
},
52487 { (char *)"Point2D_x_get", (PyCFunction
)_wrap_Point2D_x_get
, METH_O
, NULL
},
52488 { (char *)"Point2D_y_set", _wrap_Point2D_y_set
, METH_VARARGS
, NULL
},
52489 { (char *)"Point2D_y_get", (PyCFunction
)_wrap_Point2D_y_get
, METH_O
, NULL
},
52490 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52491 { (char *)"Point2D_Get", (PyCFunction
)_wrap_Point2D_Get
, METH_O
, NULL
},
52492 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
52493 { (char *)"Point2D_swiginit", Point2D_swiginit
, METH_VARARGS
, NULL
},
52494 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52495 { (char *)"delete_InputStream", (PyCFunction
)_wrap_delete_InputStream
, METH_O
, NULL
},
52496 { (char *)"InputStream_close", (PyCFunction
)_wrap_InputStream_close
, METH_O
, NULL
},
52497 { (char *)"InputStream_flush", (PyCFunction
)_wrap_InputStream_flush
, METH_O
, NULL
},
52498 { (char *)"InputStream_eof", (PyCFunction
)_wrap_InputStream_eof
, METH_O
, NULL
},
52499 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52500 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52501 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52502 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52503 { (char *)"InputStream_tell", (PyCFunction
)_wrap_InputStream_tell
, METH_O
, NULL
},
52504 { (char *)"InputStream_Peek", (PyCFunction
)_wrap_InputStream_Peek
, METH_O
, NULL
},
52505 { (char *)"InputStream_GetC", (PyCFunction
)_wrap_InputStream_GetC
, METH_O
, NULL
},
52506 { (char *)"InputStream_LastRead", (PyCFunction
)_wrap_InputStream_LastRead
, METH_O
, NULL
},
52507 { (char *)"InputStream_CanRead", (PyCFunction
)_wrap_InputStream_CanRead
, METH_O
, NULL
},
52508 { (char *)"InputStream_Eof", (PyCFunction
)_wrap_InputStream_Eof
, METH_O
, NULL
},
52509 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52510 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52511 { (char *)"InputStream_TellI", (PyCFunction
)_wrap_InputStream_TellI
, METH_O
, NULL
},
52512 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
52513 { (char *)"InputStream_swiginit", InputStream_swiginit
, METH_VARARGS
, NULL
},
52514 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52515 { (char *)"OutputStream_LastWrite", (PyCFunction
)_wrap_OutputStream_LastWrite
, METH_O
, NULL
},
52516 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
52517 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52518 { (char *)"delete_FSFile", (PyCFunction
)_wrap_delete_FSFile
, METH_O
, NULL
},
52519 { (char *)"FSFile_GetStream", (PyCFunction
)_wrap_FSFile_GetStream
, METH_O
, NULL
},
52520 { (char *)"FSFile_GetMimeType", (PyCFunction
)_wrap_FSFile_GetMimeType
, METH_O
, NULL
},
52521 { (char *)"FSFile_GetLocation", (PyCFunction
)_wrap_FSFile_GetLocation
, METH_O
, NULL
},
52522 { (char *)"FSFile_GetAnchor", (PyCFunction
)_wrap_FSFile_GetAnchor
, METH_O
, NULL
},
52523 { (char *)"FSFile_GetModificationTime", (PyCFunction
)_wrap_FSFile_GetModificationTime
, METH_O
, NULL
},
52524 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
52525 { (char *)"FSFile_swiginit", FSFile_swiginit
, METH_VARARGS
, NULL
},
52526 { (char *)"delete_CPPFileSystemHandler", (PyCFunction
)_wrap_delete_CPPFileSystemHandler
, METH_O
, NULL
},
52527 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
52528 { (char *)"new_FileSystemHandler", (PyCFunction
)_wrap_new_FileSystemHandler
, METH_NOARGS
, NULL
},
52529 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52530 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52531 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52532 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52533 { (char *)"FileSystemHandler_FindNext", (PyCFunction
)_wrap_FileSystemHandler_FindNext
, METH_O
, NULL
},
52534 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52535 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52536 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52537 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52538 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52539 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
52540 { (char *)"FileSystemHandler_swiginit", FileSystemHandler_swiginit
, METH_VARARGS
, NULL
},
52541 { (char *)"new_FileSystem", (PyCFunction
)_wrap_new_FileSystem
, METH_NOARGS
, NULL
},
52542 { (char *)"delete_FileSystem", (PyCFunction
)_wrap_delete_FileSystem
, METH_O
, NULL
},
52543 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52544 { (char *)"FileSystem_GetPath", (PyCFunction
)_wrap_FileSystem_GetPath
, METH_O
, NULL
},
52545 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52546 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52547 { (char *)"FileSystem_FindNext", (PyCFunction
)_wrap_FileSystem_FindNext
, METH_O
, NULL
},
52548 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52549 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
)_wrap_FileSystem_CleanUpHandlers
, METH_NOARGS
, NULL
},
52550 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52551 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52552 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
52553 { (char *)"FileSystem_swiginit", FileSystem_swiginit
, METH_VARARGS
, NULL
},
52554 { (char *)"new_InternetFSHandler", (PyCFunction
)_wrap_new_InternetFSHandler
, METH_NOARGS
, NULL
},
52555 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52556 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52557 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
52558 { (char *)"InternetFSHandler_swiginit", InternetFSHandler_swiginit
, METH_VARARGS
, NULL
},
52559 { (char *)"new_ZipFSHandler", (PyCFunction
)_wrap_new_ZipFSHandler
, METH_NOARGS
, NULL
},
52560 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52561 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52562 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52563 { (char *)"ZipFSHandler_FindNext", (PyCFunction
)_wrap_ZipFSHandler_FindNext
, METH_O
, NULL
},
52564 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
52565 { (char *)"ZipFSHandler_swiginit", ZipFSHandler_swiginit
, METH_VARARGS
, NULL
},
52566 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52567 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52568 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52569 { (char *)"new_MemoryFSHandler", (PyCFunction
)_wrap_new_MemoryFSHandler
, METH_NOARGS
, NULL
},
52570 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52571 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52572 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52573 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52574 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
)_wrap_MemoryFSHandler_FindNext
, METH_O
, NULL
},
52575 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
52576 { (char *)"MemoryFSHandler_swiginit", MemoryFSHandler_swiginit
, METH_VARARGS
, NULL
},
52577 { (char *)"ImageHandler_GetName", (PyCFunction
)_wrap_ImageHandler_GetName
, METH_O
, NULL
},
52578 { (char *)"ImageHandler_GetExtension", (PyCFunction
)_wrap_ImageHandler_GetExtension
, METH_O
, NULL
},
52579 { (char *)"ImageHandler_GetType", (PyCFunction
)_wrap_ImageHandler_GetType
, METH_O
, NULL
},
52580 { (char *)"ImageHandler_GetMimeType", (PyCFunction
)_wrap_ImageHandler_GetMimeType
, METH_O
, NULL
},
52581 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52582 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52583 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52584 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52585 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52586 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
52587 { (char *)"new_PyImageHandler", (PyCFunction
)_wrap_new_PyImageHandler
, METH_NOARGS
, NULL
},
52588 { (char *)"PyImageHandler__SetSelf", (PyCFunction
) _wrap_PyImageHandler__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52589 { (char *)"PyImageHandler_swigregister", PyImageHandler_swigregister
, METH_VARARGS
, NULL
},
52590 { (char *)"PyImageHandler_swiginit", PyImageHandler_swiginit
, METH_VARARGS
, NULL
},
52591 { (char *)"new_ImageHistogram", (PyCFunction
)_wrap_new_ImageHistogram
, METH_NOARGS
, NULL
},
52592 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52593 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52594 { (char *)"ImageHistogram_GetCount", (PyCFunction
) _wrap_ImageHistogram_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52595 { (char *)"ImageHistogram_GetCountRGB", (PyCFunction
) _wrap_ImageHistogram_GetCountRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52596 { (char *)"ImageHistogram_GetCountColour", (PyCFunction
) _wrap_ImageHistogram_GetCountColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52597 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
52598 { (char *)"ImageHistogram_swiginit", ImageHistogram_swiginit
, METH_VARARGS
, NULL
},
52599 { (char *)"new_Image_RGBValue", (PyCFunction
) _wrap_new_Image_RGBValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52600 { (char *)"Image_RGBValue_red_set", _wrap_Image_RGBValue_red_set
, METH_VARARGS
, NULL
},
52601 { (char *)"Image_RGBValue_red_get", (PyCFunction
)_wrap_Image_RGBValue_red_get
, METH_O
, NULL
},
52602 { (char *)"Image_RGBValue_green_set", _wrap_Image_RGBValue_green_set
, METH_VARARGS
, NULL
},
52603 { (char *)"Image_RGBValue_green_get", (PyCFunction
)_wrap_Image_RGBValue_green_get
, METH_O
, NULL
},
52604 { (char *)"Image_RGBValue_blue_set", _wrap_Image_RGBValue_blue_set
, METH_VARARGS
, NULL
},
52605 { (char *)"Image_RGBValue_blue_get", (PyCFunction
)_wrap_Image_RGBValue_blue_get
, METH_O
, NULL
},
52606 { (char *)"Image_RGBValue_swigregister", Image_RGBValue_swigregister
, METH_VARARGS
, NULL
},
52607 { (char *)"Image_RGBValue_swiginit", Image_RGBValue_swiginit
, METH_VARARGS
, NULL
},
52608 { (char *)"new_Image_HSVValue", (PyCFunction
) _wrap_new_Image_HSVValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52609 { (char *)"Image_HSVValue_hue_set", _wrap_Image_HSVValue_hue_set
, METH_VARARGS
, NULL
},
52610 { (char *)"Image_HSVValue_hue_get", (PyCFunction
)_wrap_Image_HSVValue_hue_get
, METH_O
, NULL
},
52611 { (char *)"Image_HSVValue_saturation_set", _wrap_Image_HSVValue_saturation_set
, METH_VARARGS
, NULL
},
52612 { (char *)"Image_HSVValue_saturation_get", (PyCFunction
)_wrap_Image_HSVValue_saturation_get
, METH_O
, NULL
},
52613 { (char *)"Image_HSVValue_value_set", _wrap_Image_HSVValue_value_set
, METH_VARARGS
, NULL
},
52614 { (char *)"Image_HSVValue_value_get", (PyCFunction
)_wrap_Image_HSVValue_value_get
, METH_O
, NULL
},
52615 { (char *)"Image_HSVValue_swigregister", Image_HSVValue_swigregister
, METH_VARARGS
, NULL
},
52616 { (char *)"Image_HSVValue_swiginit", Image_HSVValue_swiginit
, METH_VARARGS
, NULL
},
52617 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52618 { (char *)"delete_Image", (PyCFunction
)_wrap_delete_Image
, METH_O
, NULL
},
52619 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52620 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52621 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52622 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52623 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52624 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52625 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52626 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52627 { (char *)"Image_Destroy", (PyCFunction
)_wrap_Image_Destroy
, METH_O
, NULL
},
52628 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52629 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52630 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52631 { (char *)"Image_Resize", (PyCFunction
) _wrap_Image_Resize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52632 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52633 { (char *)"Image_SetRGBRect", (PyCFunction
) _wrap_Image_SetRGBRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52634 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52635 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52636 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52637 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52638 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52639 { (char *)"Image_HasAlpha", (PyCFunction
)_wrap_Image_HasAlpha
, METH_O
, NULL
},
52640 { (char *)"Image_InitAlpha", (PyCFunction
)_wrap_Image_InitAlpha
, METH_O
, NULL
},
52641 { (char *)"Image_IsTransparent", (PyCFunction
) _wrap_Image_IsTransparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52642 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52643 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52644 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52645 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52646 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52647 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52648 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52649 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52650 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52651 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52652 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52653 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52654 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52655 { (char *)"Image_Ok", (PyCFunction
)_wrap_Image_Ok
, METH_O
, NULL
},
52656 { (char *)"Image_GetWidth", (PyCFunction
)_wrap_Image_GetWidth
, METH_O
, NULL
},
52657 { (char *)"Image_GetHeight", (PyCFunction
)_wrap_Image_GetHeight
, METH_O
, NULL
},
52658 { (char *)"Image_GetSize", (PyCFunction
)_wrap_Image_GetSize
, METH_O
, NULL
},
52659 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52660 { (char *)"Image_Size", (PyCFunction
) _wrap_Image_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52661 { (char *)"Image_Copy", (PyCFunction
)_wrap_Image_Copy
, METH_O
, NULL
},
52662 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52663 { (char *)"Image_GetData", (PyCFunction
)_wrap_Image_GetData
, METH_O
, NULL
},
52664 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52665 { (char *)"Image_GetDataBuffer", (PyCFunction
)_wrap_Image_GetDataBuffer
, METH_O
, NULL
},
52666 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52667 { (char *)"Image_GetAlphaData", (PyCFunction
)_wrap_Image_GetAlphaData
, METH_O
, NULL
},
52668 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52669 { (char *)"Image_GetAlphaBuffer", (PyCFunction
)_wrap_Image_GetAlphaBuffer
, METH_O
, NULL
},
52670 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52671 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52672 { (char *)"Image_GetOrFindMaskColour", (PyCFunction
)_wrap_Image_GetOrFindMaskColour
, METH_O
, NULL
},
52673 { (char *)"Image_GetMaskRed", (PyCFunction
)_wrap_Image_GetMaskRed
, METH_O
, NULL
},
52674 { (char *)"Image_GetMaskGreen", (PyCFunction
)_wrap_Image_GetMaskGreen
, METH_O
, NULL
},
52675 { (char *)"Image_GetMaskBlue", (PyCFunction
)_wrap_Image_GetMaskBlue
, METH_O
, NULL
},
52676 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52677 { (char *)"Image_HasMask", (PyCFunction
)_wrap_Image_HasMask
, METH_O
, NULL
},
52678 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52679 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52680 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52681 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52682 { (char *)"Image_ConvertToGreyscale", (PyCFunction
) _wrap_Image_ConvertToGreyscale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52683 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52684 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52685 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52686 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52687 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52688 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52689 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52690 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52691 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52692 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52693 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52694 { (char *)"Image_GetHandlers", (PyCFunction
)_wrap_Image_GetHandlers
, METH_NOARGS
, NULL
},
52695 { (char *)"Image_GetImageExtWildcard", (PyCFunction
)_wrap_Image_GetImageExtWildcard
, METH_NOARGS
, NULL
},
52696 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52697 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52698 { (char *)"Image_RotateHue", (PyCFunction
) _wrap_Image_RotateHue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52699 { (char *)"Image_RGBtoHSV", (PyCFunction
) _wrap_Image_RGBtoHSV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52700 { (char *)"Image_HSVtoRGB", (PyCFunction
) _wrap_Image_HSVtoRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52701 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
52702 { (char *)"Image_swiginit", Image_swiginit
, METH_VARARGS
, NULL
},
52703 { (char *)"new_BMPHandler", (PyCFunction
)_wrap_new_BMPHandler
, METH_NOARGS
, NULL
},
52704 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
52705 { (char *)"BMPHandler_swiginit", BMPHandler_swiginit
, METH_VARARGS
, NULL
},
52706 { (char *)"new_ICOHandler", (PyCFunction
)_wrap_new_ICOHandler
, METH_NOARGS
, NULL
},
52707 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
52708 { (char *)"ICOHandler_swiginit", ICOHandler_swiginit
, METH_VARARGS
, NULL
},
52709 { (char *)"new_CURHandler", (PyCFunction
)_wrap_new_CURHandler
, METH_NOARGS
, NULL
},
52710 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
52711 { (char *)"CURHandler_swiginit", CURHandler_swiginit
, METH_VARARGS
, NULL
},
52712 { (char *)"new_ANIHandler", (PyCFunction
)_wrap_new_ANIHandler
, METH_NOARGS
, NULL
},
52713 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
52714 { (char *)"ANIHandler_swiginit", ANIHandler_swiginit
, METH_VARARGS
, NULL
},
52715 { (char *)"new_PNGHandler", (PyCFunction
)_wrap_new_PNGHandler
, METH_NOARGS
, NULL
},
52716 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
52717 { (char *)"PNGHandler_swiginit", PNGHandler_swiginit
, METH_VARARGS
, NULL
},
52718 { (char *)"new_GIFHandler", (PyCFunction
)_wrap_new_GIFHandler
, METH_NOARGS
, NULL
},
52719 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
52720 { (char *)"GIFHandler_swiginit", GIFHandler_swiginit
, METH_VARARGS
, NULL
},
52721 { (char *)"new_PCXHandler", (PyCFunction
)_wrap_new_PCXHandler
, METH_NOARGS
, NULL
},
52722 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
52723 { (char *)"PCXHandler_swiginit", PCXHandler_swiginit
, METH_VARARGS
, NULL
},
52724 { (char *)"new_JPEGHandler", (PyCFunction
)_wrap_new_JPEGHandler
, METH_NOARGS
, NULL
},
52725 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
52726 { (char *)"JPEGHandler_swiginit", JPEGHandler_swiginit
, METH_VARARGS
, NULL
},
52727 { (char *)"new_PNMHandler", (PyCFunction
)_wrap_new_PNMHandler
, METH_NOARGS
, NULL
},
52728 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
52729 { (char *)"PNMHandler_swiginit", PNMHandler_swiginit
, METH_VARARGS
, NULL
},
52730 { (char *)"new_XPMHandler", (PyCFunction
)_wrap_new_XPMHandler
, METH_NOARGS
, NULL
},
52731 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
52732 { (char *)"XPMHandler_swiginit", XPMHandler_swiginit
, METH_VARARGS
, NULL
},
52733 { (char *)"new_TIFFHandler", (PyCFunction
)_wrap_new_TIFFHandler
, METH_NOARGS
, NULL
},
52734 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
52735 { (char *)"TIFFHandler_swiginit", TIFFHandler_swiginit
, METH_VARARGS
, NULL
},
52736 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52737 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
52738 { (char *)"new_EvtHandler", (PyCFunction
)_wrap_new_EvtHandler
, METH_NOARGS
, NULL
},
52739 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
)_wrap_EvtHandler_GetNextHandler
, METH_O
, NULL
},
52740 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
)_wrap_EvtHandler_GetPreviousHandler
, METH_O
, NULL
},
52741 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52742 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52743 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
)_wrap_EvtHandler_GetEvtHandlerEnabled
, METH_O
, NULL
},
52744 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52745 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52746 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52747 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
)_wrap_EvtHandler_ProcessPendingEvents
, METH_O
, NULL
},
52748 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52749 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52750 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52751 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
52752 { (char *)"EvtHandler_swiginit", EvtHandler_swiginit
, METH_VARARGS
, NULL
},
52753 { (char *)"NewEventType", (PyCFunction
)_wrap_NewEventType
, METH_NOARGS
, NULL
},
52754 { (char *)"delete_Event", (PyCFunction
)_wrap_delete_Event
, METH_O
, NULL
},
52755 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52756 { (char *)"Event_GetEventType", (PyCFunction
)_wrap_Event_GetEventType
, METH_O
, NULL
},
52757 { (char *)"Event_GetEventObject", (PyCFunction
)_wrap_Event_GetEventObject
, METH_O
, NULL
},
52758 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52759 { (char *)"Event_GetTimestamp", (PyCFunction
)_wrap_Event_GetTimestamp
, METH_O
, NULL
},
52760 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52761 { (char *)"Event_GetId", (PyCFunction
)_wrap_Event_GetId
, METH_O
, NULL
},
52762 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52763 { (char *)"Event_IsCommandEvent", (PyCFunction
)_wrap_Event_IsCommandEvent
, METH_O
, NULL
},
52764 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52765 { (char *)"Event_GetSkipped", (PyCFunction
)_wrap_Event_GetSkipped
, METH_O
, NULL
},
52766 { (char *)"Event_ShouldPropagate", (PyCFunction
)_wrap_Event_ShouldPropagate
, METH_O
, NULL
},
52767 { (char *)"Event_StopPropagation", (PyCFunction
)_wrap_Event_StopPropagation
, METH_O
, NULL
},
52768 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52769 { (char *)"Event_Clone", (PyCFunction
)_wrap_Event_Clone
, METH_O
, NULL
},
52770 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
52771 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52772 { (char *)"delete_PropagationDisabler", (PyCFunction
)_wrap_delete_PropagationDisabler
, METH_O
, NULL
},
52773 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
52774 { (char *)"PropagationDisabler_swiginit", PropagationDisabler_swiginit
, METH_VARARGS
, NULL
},
52775 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52776 { (char *)"delete_PropagateOnce", (PyCFunction
)_wrap_delete_PropagateOnce
, METH_O
, NULL
},
52777 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
52778 { (char *)"PropagateOnce_swiginit", PropagateOnce_swiginit
, METH_VARARGS
, NULL
},
52779 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52780 { (char *)"CommandEvent_GetSelection", (PyCFunction
)_wrap_CommandEvent_GetSelection
, METH_O
, NULL
},
52781 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52782 { (char *)"CommandEvent_GetString", (PyCFunction
)_wrap_CommandEvent_GetString
, METH_O
, NULL
},
52783 { (char *)"CommandEvent_IsChecked", (PyCFunction
)_wrap_CommandEvent_IsChecked
, METH_O
, NULL
},
52784 { (char *)"CommandEvent_IsSelection", (PyCFunction
)_wrap_CommandEvent_IsSelection
, METH_O
, NULL
},
52785 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52786 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
)_wrap_CommandEvent_GetExtraLong
, METH_O
, NULL
},
52787 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52788 { (char *)"CommandEvent_GetInt", (PyCFunction
)_wrap_CommandEvent_GetInt
, METH_O
, NULL
},
52789 { (char *)"CommandEvent_GetClientData", (PyCFunction
)_wrap_CommandEvent_GetClientData
, METH_O
, NULL
},
52790 { (char *)"CommandEvent_SetClientData", (PyCFunction
) _wrap_CommandEvent_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52791 { (char *)"CommandEvent_Clone", (PyCFunction
)_wrap_CommandEvent_Clone
, METH_O
, NULL
},
52792 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
52793 { (char *)"CommandEvent_swiginit", CommandEvent_swiginit
, METH_VARARGS
, NULL
},
52794 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52795 { (char *)"NotifyEvent_Veto", (PyCFunction
)_wrap_NotifyEvent_Veto
, METH_O
, NULL
},
52796 { (char *)"NotifyEvent_Allow", (PyCFunction
)_wrap_NotifyEvent_Allow
, METH_O
, NULL
},
52797 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
)_wrap_NotifyEvent_IsAllowed
, METH_O
, NULL
},
52798 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
52799 { (char *)"NotifyEvent_swiginit", NotifyEvent_swiginit
, METH_VARARGS
, NULL
},
52800 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52801 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
)_wrap_ScrollEvent_GetOrientation
, METH_O
, NULL
},
52802 { (char *)"ScrollEvent_GetPosition", (PyCFunction
)_wrap_ScrollEvent_GetPosition
, METH_O
, NULL
},
52803 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52804 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52805 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
52806 { (char *)"ScrollEvent_swiginit", ScrollEvent_swiginit
, METH_VARARGS
, NULL
},
52807 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52808 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
)_wrap_ScrollWinEvent_GetOrientation
, METH_O
, NULL
},
52809 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
)_wrap_ScrollWinEvent_GetPosition
, METH_O
, NULL
},
52810 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52811 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52812 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
52813 { (char *)"ScrollWinEvent_swiginit", ScrollWinEvent_swiginit
, METH_VARARGS
, NULL
},
52814 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52815 { (char *)"MouseEvent_IsButton", (PyCFunction
)_wrap_MouseEvent_IsButton
, METH_O
, NULL
},
52816 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52817 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52818 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52819 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52820 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52821 { (char *)"MouseEvent_GetButton", (PyCFunction
)_wrap_MouseEvent_GetButton
, METH_O
, NULL
},
52822 { (char *)"MouseEvent_ControlDown", (PyCFunction
)_wrap_MouseEvent_ControlDown
, METH_O
, NULL
},
52823 { (char *)"MouseEvent_MetaDown", (PyCFunction
)_wrap_MouseEvent_MetaDown
, METH_O
, NULL
},
52824 { (char *)"MouseEvent_AltDown", (PyCFunction
)_wrap_MouseEvent_AltDown
, METH_O
, NULL
},
52825 { (char *)"MouseEvent_ShiftDown", (PyCFunction
)_wrap_MouseEvent_ShiftDown
, METH_O
, NULL
},
52826 { (char *)"MouseEvent_CmdDown", (PyCFunction
)_wrap_MouseEvent_CmdDown
, METH_O
, NULL
},
52827 { (char *)"MouseEvent_LeftDown", (PyCFunction
)_wrap_MouseEvent_LeftDown
, METH_O
, NULL
},
52828 { (char *)"MouseEvent_MiddleDown", (PyCFunction
)_wrap_MouseEvent_MiddleDown
, METH_O
, NULL
},
52829 { (char *)"MouseEvent_RightDown", (PyCFunction
)_wrap_MouseEvent_RightDown
, METH_O
, NULL
},
52830 { (char *)"MouseEvent_LeftUp", (PyCFunction
)_wrap_MouseEvent_LeftUp
, METH_O
, NULL
},
52831 { (char *)"MouseEvent_MiddleUp", (PyCFunction
)_wrap_MouseEvent_MiddleUp
, METH_O
, NULL
},
52832 { (char *)"MouseEvent_RightUp", (PyCFunction
)_wrap_MouseEvent_RightUp
, METH_O
, NULL
},
52833 { (char *)"MouseEvent_LeftDClick", (PyCFunction
)_wrap_MouseEvent_LeftDClick
, METH_O
, NULL
},
52834 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
)_wrap_MouseEvent_MiddleDClick
, METH_O
, NULL
},
52835 { (char *)"MouseEvent_RightDClick", (PyCFunction
)_wrap_MouseEvent_RightDClick
, METH_O
, NULL
},
52836 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
)_wrap_MouseEvent_LeftIsDown
, METH_O
, NULL
},
52837 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
)_wrap_MouseEvent_MiddleIsDown
, METH_O
, NULL
},
52838 { (char *)"MouseEvent_RightIsDown", (PyCFunction
)_wrap_MouseEvent_RightIsDown
, METH_O
, NULL
},
52839 { (char *)"MouseEvent_Dragging", (PyCFunction
)_wrap_MouseEvent_Dragging
, METH_O
, NULL
},
52840 { (char *)"MouseEvent_Moving", (PyCFunction
)_wrap_MouseEvent_Moving
, METH_O
, NULL
},
52841 { (char *)"MouseEvent_Entering", (PyCFunction
)_wrap_MouseEvent_Entering
, METH_O
, NULL
},
52842 { (char *)"MouseEvent_Leaving", (PyCFunction
)_wrap_MouseEvent_Leaving
, METH_O
, NULL
},
52843 { (char *)"MouseEvent_GetPosition", (PyCFunction
)_wrap_MouseEvent_GetPosition
, METH_O
, NULL
},
52844 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
)_wrap_MouseEvent_GetPositionTuple
, METH_O
, NULL
},
52845 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52846 { (char *)"MouseEvent_GetX", (PyCFunction
)_wrap_MouseEvent_GetX
, METH_O
, NULL
},
52847 { (char *)"MouseEvent_GetY", (PyCFunction
)_wrap_MouseEvent_GetY
, METH_O
, NULL
},
52848 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
)_wrap_MouseEvent_GetWheelRotation
, METH_O
, NULL
},
52849 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
)_wrap_MouseEvent_GetWheelDelta
, METH_O
, NULL
},
52850 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
)_wrap_MouseEvent_GetLinesPerAction
, METH_O
, NULL
},
52851 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
)_wrap_MouseEvent_IsPageScroll
, METH_O
, NULL
},
52852 { (char *)"MouseEvent_m_x_set", _wrap_MouseEvent_m_x_set
, METH_VARARGS
, NULL
},
52853 { (char *)"MouseEvent_m_x_get", (PyCFunction
)_wrap_MouseEvent_m_x_get
, METH_O
, NULL
},
52854 { (char *)"MouseEvent_m_y_set", _wrap_MouseEvent_m_y_set
, METH_VARARGS
, NULL
},
52855 { (char *)"MouseEvent_m_y_get", (PyCFunction
)_wrap_MouseEvent_m_y_get
, METH_O
, NULL
},
52856 { (char *)"MouseEvent_m_leftDown_set", _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
, NULL
},
52857 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
)_wrap_MouseEvent_m_leftDown_get
, METH_O
, NULL
},
52858 { (char *)"MouseEvent_m_middleDown_set", _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
, NULL
},
52859 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
)_wrap_MouseEvent_m_middleDown_get
, METH_O
, NULL
},
52860 { (char *)"MouseEvent_m_rightDown_set", _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
, NULL
},
52861 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
)_wrap_MouseEvent_m_rightDown_get
, METH_O
, NULL
},
52862 { (char *)"MouseEvent_m_controlDown_set", _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
, NULL
},
52863 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
)_wrap_MouseEvent_m_controlDown_get
, METH_O
, NULL
},
52864 { (char *)"MouseEvent_m_shiftDown_set", _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
, NULL
},
52865 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
)_wrap_MouseEvent_m_shiftDown_get
, METH_O
, NULL
},
52866 { (char *)"MouseEvent_m_altDown_set", _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
, NULL
},
52867 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
)_wrap_MouseEvent_m_altDown_get
, METH_O
, NULL
},
52868 { (char *)"MouseEvent_m_metaDown_set", _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
, NULL
},
52869 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
)_wrap_MouseEvent_m_metaDown_get
, METH_O
, NULL
},
52870 { (char *)"MouseEvent_m_wheelRotation_set", _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
, NULL
},
52871 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
)_wrap_MouseEvent_m_wheelRotation_get
, METH_O
, NULL
},
52872 { (char *)"MouseEvent_m_wheelDelta_set", _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
, NULL
},
52873 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
)_wrap_MouseEvent_m_wheelDelta_get
, METH_O
, NULL
},
52874 { (char *)"MouseEvent_m_linesPerAction_set", _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
, NULL
},
52875 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
)_wrap_MouseEvent_m_linesPerAction_get
, METH_O
, NULL
},
52876 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
52877 { (char *)"MouseEvent_swiginit", MouseEvent_swiginit
, METH_VARARGS
, NULL
},
52878 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52879 { (char *)"SetCursorEvent_GetX", (PyCFunction
)_wrap_SetCursorEvent_GetX
, METH_O
, NULL
},
52880 { (char *)"SetCursorEvent_GetY", (PyCFunction
)_wrap_SetCursorEvent_GetY
, METH_O
, NULL
},
52881 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52882 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
)_wrap_SetCursorEvent_GetCursor
, METH_O
, NULL
},
52883 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
)_wrap_SetCursorEvent_HasCursor
, METH_O
, NULL
},
52884 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
52885 { (char *)"SetCursorEvent_swiginit", SetCursorEvent_swiginit
, METH_VARARGS
, NULL
},
52886 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52887 { (char *)"KeyEvent_GetModifiers", (PyCFunction
)_wrap_KeyEvent_GetModifiers
, METH_O
, NULL
},
52888 { (char *)"KeyEvent_ControlDown", (PyCFunction
)_wrap_KeyEvent_ControlDown
, METH_O
, NULL
},
52889 { (char *)"KeyEvent_MetaDown", (PyCFunction
)_wrap_KeyEvent_MetaDown
, METH_O
, NULL
},
52890 { (char *)"KeyEvent_AltDown", (PyCFunction
)_wrap_KeyEvent_AltDown
, METH_O
, NULL
},
52891 { (char *)"KeyEvent_ShiftDown", (PyCFunction
)_wrap_KeyEvent_ShiftDown
, METH_O
, NULL
},
52892 { (char *)"KeyEvent_CmdDown", (PyCFunction
)_wrap_KeyEvent_CmdDown
, METH_O
, NULL
},
52893 { (char *)"KeyEvent_HasModifiers", (PyCFunction
)_wrap_KeyEvent_HasModifiers
, METH_O
, NULL
},
52894 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
)_wrap_KeyEvent_GetKeyCode
, METH_O
, NULL
},
52895 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
)_wrap_KeyEvent_GetUnicodeKey
, METH_O
, NULL
},
52896 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
)_wrap_KeyEvent_GetRawKeyCode
, METH_O
, NULL
},
52897 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
)_wrap_KeyEvent_GetRawKeyFlags
, METH_O
, NULL
},
52898 { (char *)"KeyEvent_GetPosition", (PyCFunction
)_wrap_KeyEvent_GetPosition
, METH_O
, NULL
},
52899 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
)_wrap_KeyEvent_GetPositionTuple
, METH_O
, NULL
},
52900 { (char *)"KeyEvent_GetX", (PyCFunction
)_wrap_KeyEvent_GetX
, METH_O
, NULL
},
52901 { (char *)"KeyEvent_GetY", (PyCFunction
)_wrap_KeyEvent_GetY
, METH_O
, NULL
},
52902 { (char *)"KeyEvent_m_x_set", _wrap_KeyEvent_m_x_set
, METH_VARARGS
, NULL
},
52903 { (char *)"KeyEvent_m_x_get", (PyCFunction
)_wrap_KeyEvent_m_x_get
, METH_O
, NULL
},
52904 { (char *)"KeyEvent_m_y_set", _wrap_KeyEvent_m_y_set
, METH_VARARGS
, NULL
},
52905 { (char *)"KeyEvent_m_y_get", (PyCFunction
)_wrap_KeyEvent_m_y_get
, METH_O
, NULL
},
52906 { (char *)"KeyEvent_m_keyCode_set", _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
, NULL
},
52907 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
)_wrap_KeyEvent_m_keyCode_get
, METH_O
, NULL
},
52908 { (char *)"KeyEvent_m_controlDown_set", _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
, NULL
},
52909 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
)_wrap_KeyEvent_m_controlDown_get
, METH_O
, NULL
},
52910 { (char *)"KeyEvent_m_shiftDown_set", _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
, NULL
},
52911 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
)_wrap_KeyEvent_m_shiftDown_get
, METH_O
, NULL
},
52912 { (char *)"KeyEvent_m_altDown_set", _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
, NULL
},
52913 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
)_wrap_KeyEvent_m_altDown_get
, METH_O
, NULL
},
52914 { (char *)"KeyEvent_m_metaDown_set", _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
, NULL
},
52915 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
)_wrap_KeyEvent_m_metaDown_get
, METH_O
, NULL
},
52916 { (char *)"KeyEvent_m_scanCode_set", _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
, NULL
},
52917 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
)_wrap_KeyEvent_m_scanCode_get
, METH_O
, NULL
},
52918 { (char *)"KeyEvent_m_rawCode_set", _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
, NULL
},
52919 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
)_wrap_KeyEvent_m_rawCode_get
, METH_O
, NULL
},
52920 { (char *)"KeyEvent_m_rawFlags_set", _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
, NULL
},
52921 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
)_wrap_KeyEvent_m_rawFlags_get
, METH_O
, NULL
},
52922 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
52923 { (char *)"KeyEvent_swiginit", KeyEvent_swiginit
, METH_VARARGS
, NULL
},
52924 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52925 { (char *)"SizeEvent_GetSize", (PyCFunction
)_wrap_SizeEvent_GetSize
, METH_O
, NULL
},
52926 { (char *)"SizeEvent_GetRect", (PyCFunction
)_wrap_SizeEvent_GetRect
, METH_O
, NULL
},
52927 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52928 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52929 { (char *)"SizeEvent_m_size_set", _wrap_SizeEvent_m_size_set
, METH_VARARGS
, NULL
},
52930 { (char *)"SizeEvent_m_size_get", (PyCFunction
)_wrap_SizeEvent_m_size_get
, METH_O
, NULL
},
52931 { (char *)"SizeEvent_m_rect_set", _wrap_SizeEvent_m_rect_set
, METH_VARARGS
, NULL
},
52932 { (char *)"SizeEvent_m_rect_get", (PyCFunction
)_wrap_SizeEvent_m_rect_get
, METH_O
, NULL
},
52933 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
52934 { (char *)"SizeEvent_swiginit", SizeEvent_swiginit
, METH_VARARGS
, NULL
},
52935 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52936 { (char *)"MoveEvent_GetPosition", (PyCFunction
)_wrap_MoveEvent_GetPosition
, METH_O
, NULL
},
52937 { (char *)"MoveEvent_GetRect", (PyCFunction
)_wrap_MoveEvent_GetRect
, METH_O
, NULL
},
52938 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52939 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52940 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
52941 { (char *)"MoveEvent_swiginit", MoveEvent_swiginit
, METH_VARARGS
, NULL
},
52942 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52943 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
52944 { (char *)"PaintEvent_swiginit", PaintEvent_swiginit
, METH_VARARGS
, NULL
},
52945 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52946 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
52947 { (char *)"NcPaintEvent_swiginit", NcPaintEvent_swiginit
, METH_VARARGS
, NULL
},
52948 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52949 { (char *)"EraseEvent_GetDC", (PyCFunction
)_wrap_EraseEvent_GetDC
, METH_O
, NULL
},
52950 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
52951 { (char *)"EraseEvent_swiginit", EraseEvent_swiginit
, METH_VARARGS
, NULL
},
52952 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52953 { (char *)"FocusEvent_GetWindow", (PyCFunction
)_wrap_FocusEvent_GetWindow
, METH_O
, NULL
},
52954 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52955 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
52956 { (char *)"FocusEvent_swiginit", FocusEvent_swiginit
, METH_VARARGS
, NULL
},
52957 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52958 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
)_wrap_ChildFocusEvent_GetWindow
, METH_O
, NULL
},
52959 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
52960 { (char *)"ChildFocusEvent_swiginit", ChildFocusEvent_swiginit
, METH_VARARGS
, NULL
},
52961 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52962 { (char *)"ActivateEvent_GetActive", (PyCFunction
)_wrap_ActivateEvent_GetActive
, METH_O
, NULL
},
52963 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
52964 { (char *)"ActivateEvent_swiginit", ActivateEvent_swiginit
, METH_VARARGS
, NULL
},
52965 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52966 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
52967 { (char *)"InitDialogEvent_swiginit", InitDialogEvent_swiginit
, METH_VARARGS
, NULL
},
52968 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52969 { (char *)"MenuEvent_GetMenuId", (PyCFunction
)_wrap_MenuEvent_GetMenuId
, METH_O
, NULL
},
52970 { (char *)"MenuEvent_IsPopup", (PyCFunction
)_wrap_MenuEvent_IsPopup
, METH_O
, NULL
},
52971 { (char *)"MenuEvent_GetMenu", (PyCFunction
)_wrap_MenuEvent_GetMenu
, METH_O
, NULL
},
52972 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
52973 { (char *)"MenuEvent_swiginit", MenuEvent_swiginit
, METH_VARARGS
, NULL
},
52974 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52975 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52976 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
)_wrap_CloseEvent_GetLoggingOff
, METH_O
, NULL
},
52977 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52978 { (char *)"CloseEvent_GetVeto", (PyCFunction
)_wrap_CloseEvent_GetVeto
, METH_O
, NULL
},
52979 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52980 { (char *)"CloseEvent_CanVeto", (PyCFunction
)_wrap_CloseEvent_CanVeto
, METH_O
, NULL
},
52981 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
52982 { (char *)"CloseEvent_swiginit", CloseEvent_swiginit
, METH_VARARGS
, NULL
},
52983 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52984 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52985 { (char *)"ShowEvent_GetShow", (PyCFunction
)_wrap_ShowEvent_GetShow
, METH_O
, NULL
},
52986 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
52987 { (char *)"ShowEvent_swiginit", ShowEvent_swiginit
, METH_VARARGS
, NULL
},
52988 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52989 { (char *)"IconizeEvent_Iconized", (PyCFunction
)_wrap_IconizeEvent_Iconized
, METH_O
, NULL
},
52990 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
52991 { (char *)"IconizeEvent_swiginit", IconizeEvent_swiginit
, METH_VARARGS
, NULL
},
52992 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52993 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
52994 { (char *)"MaximizeEvent_swiginit", MaximizeEvent_swiginit
, METH_VARARGS
, NULL
},
52995 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
)_wrap_DropFilesEvent_GetPosition
, METH_O
, NULL
},
52996 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
)_wrap_DropFilesEvent_GetNumberOfFiles
, METH_O
, NULL
},
52997 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
)_wrap_DropFilesEvent_GetFiles
, METH_O
, NULL
},
52998 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
52999 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53000 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
)_wrap_UpdateUIEvent_GetChecked
, METH_O
, NULL
},
53001 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
)_wrap_UpdateUIEvent_GetEnabled
, METH_O
, NULL
},
53002 { (char *)"UpdateUIEvent_GetShown", (PyCFunction
)_wrap_UpdateUIEvent_GetShown
, METH_O
, NULL
},
53003 { (char *)"UpdateUIEvent_GetText", (PyCFunction
)_wrap_UpdateUIEvent_GetText
, METH_O
, NULL
},
53004 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
)_wrap_UpdateUIEvent_GetSetText
, METH_O
, NULL
},
53005 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
)_wrap_UpdateUIEvent_GetSetChecked
, METH_O
, NULL
},
53006 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
)_wrap_UpdateUIEvent_GetSetEnabled
, METH_O
, NULL
},
53007 { (char *)"UpdateUIEvent_GetSetShown", (PyCFunction
)_wrap_UpdateUIEvent_GetSetShown
, METH_O
, NULL
},
53008 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53009 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53010 { (char *)"UpdateUIEvent_Show", (PyCFunction
) _wrap_UpdateUIEvent_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53011 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53012 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53013 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
)_wrap_UpdateUIEvent_GetUpdateInterval
, METH_NOARGS
, NULL
},
53014 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53015 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
)_wrap_UpdateUIEvent_ResetUpdateTime
, METH_NOARGS
, NULL
},
53016 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53017 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
)_wrap_UpdateUIEvent_GetMode
, METH_NOARGS
, NULL
},
53018 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
53019 { (char *)"UpdateUIEvent_swiginit", UpdateUIEvent_swiginit
, METH_VARARGS
, NULL
},
53020 { (char *)"new_SysColourChangedEvent", (PyCFunction
)_wrap_new_SysColourChangedEvent
, METH_NOARGS
, NULL
},
53021 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
53022 { (char *)"SysColourChangedEvent_swiginit", SysColourChangedEvent_swiginit
, METH_VARARGS
, NULL
},
53023 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53024 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
)_wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_O
, NULL
},
53025 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
53026 { (char *)"MouseCaptureChangedEvent_swiginit", MouseCaptureChangedEvent_swiginit
, METH_VARARGS
, NULL
},
53027 { (char *)"new_DisplayChangedEvent", (PyCFunction
)_wrap_new_DisplayChangedEvent
, METH_NOARGS
, NULL
},
53028 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
53029 { (char *)"DisplayChangedEvent_swiginit", DisplayChangedEvent_swiginit
, METH_VARARGS
, NULL
},
53030 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53031 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53032 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
)_wrap_PaletteChangedEvent_GetChangedWindow
, METH_O
, NULL
},
53033 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
53034 { (char *)"PaletteChangedEvent_swiginit", PaletteChangedEvent_swiginit
, METH_VARARGS
, NULL
},
53035 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53036 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53037 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
)_wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_O
, NULL
},
53038 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
53039 { (char *)"QueryNewPaletteEvent_swiginit", QueryNewPaletteEvent_swiginit
, METH_VARARGS
, NULL
},
53040 { (char *)"new_NavigationKeyEvent", (PyCFunction
)_wrap_new_NavigationKeyEvent
, METH_NOARGS
, NULL
},
53041 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
)_wrap_NavigationKeyEvent_GetDirection
, METH_O
, NULL
},
53042 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53043 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
)_wrap_NavigationKeyEvent_IsWindowChange
, METH_O
, NULL
},
53044 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53045 { (char *)"NavigationKeyEvent_IsFromTab", (PyCFunction
)_wrap_NavigationKeyEvent_IsFromTab
, METH_O
, NULL
},
53046 { (char *)"NavigationKeyEvent_SetFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_SetFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53047 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53048 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
)_wrap_NavigationKeyEvent_GetCurrentFocus
, METH_O
, NULL
},
53049 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53050 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
53051 { (char *)"NavigationKeyEvent_swiginit", NavigationKeyEvent_swiginit
, METH_VARARGS
, NULL
},
53052 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53053 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
)_wrap_WindowCreateEvent_GetWindow
, METH_O
, NULL
},
53054 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
53055 { (char *)"WindowCreateEvent_swiginit", WindowCreateEvent_swiginit
, METH_VARARGS
, NULL
},
53056 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53057 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
)_wrap_WindowDestroyEvent_GetWindow
, METH_O
, NULL
},
53058 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
53059 { (char *)"WindowDestroyEvent_swiginit", WindowDestroyEvent_swiginit
, METH_VARARGS
, NULL
},
53060 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53061 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
)_wrap_ContextMenuEvent_GetPosition
, METH_O
, NULL
},
53062 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53063 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
53064 { (char *)"ContextMenuEvent_swiginit", ContextMenuEvent_swiginit
, METH_VARARGS
, NULL
},
53065 { (char *)"new_IdleEvent", (PyCFunction
)_wrap_new_IdleEvent
, METH_NOARGS
, NULL
},
53066 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53067 { (char *)"IdleEvent_MoreRequested", (PyCFunction
)_wrap_IdleEvent_MoreRequested
, METH_O
, NULL
},
53068 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53069 { (char *)"IdleEvent_GetMode", (PyCFunction
)_wrap_IdleEvent_GetMode
, METH_NOARGS
, NULL
},
53070 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53071 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
53072 { (char *)"IdleEvent_swiginit", IdleEvent_swiginit
, METH_VARARGS
, NULL
},
53073 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53074 { (char *)"delete_PyEvent", (PyCFunction
)_wrap_delete_PyEvent
, METH_O
, NULL
},
53075 { (char *)"PyEvent__SetSelf", (PyCFunction
) _wrap_PyEvent__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53076 { (char *)"PyEvent__GetSelf", (PyCFunction
)_wrap_PyEvent__GetSelf
, METH_O
, NULL
},
53077 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
53078 { (char *)"PyEvent_swiginit", PyEvent_swiginit
, METH_VARARGS
, NULL
},
53079 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53080 { (char *)"delete_PyCommandEvent", (PyCFunction
)_wrap_delete_PyCommandEvent
, METH_O
, NULL
},
53081 { (char *)"PyCommandEvent__SetSelf", (PyCFunction
) _wrap_PyCommandEvent__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53082 { (char *)"PyCommandEvent__GetSelf", (PyCFunction
)_wrap_PyCommandEvent__GetSelf
, METH_O
, NULL
},
53083 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
53084 { (char *)"PyCommandEvent_swiginit", PyCommandEvent_swiginit
, METH_VARARGS
, NULL
},
53085 { (char *)"new_DateEvent", (PyCFunction
) _wrap_new_DateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53086 { (char *)"DateEvent_GetDate", (PyCFunction
)_wrap_DateEvent_GetDate
, METH_O
, NULL
},
53087 { (char *)"DateEvent_SetDate", (PyCFunction
) _wrap_DateEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53088 { (char *)"DateEvent_swigregister", DateEvent_swigregister
, METH_VARARGS
, NULL
},
53089 { (char *)"DateEvent_swiginit", DateEvent_swiginit
, METH_VARARGS
, NULL
},
53090 { (char *)"new_PyApp", (PyCFunction
)_wrap_new_PyApp
, METH_NOARGS
, NULL
},
53091 { (char *)"delete_PyApp", (PyCFunction
)_wrap_delete_PyApp
, METH_O
, NULL
},
53092 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53093 { (char *)"PyApp_GetAppName", (PyCFunction
)_wrap_PyApp_GetAppName
, METH_O
, NULL
},
53094 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53095 { (char *)"PyApp_GetClassName", (PyCFunction
)_wrap_PyApp_GetClassName
, METH_O
, NULL
},
53096 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53097 { (char *)"PyApp_GetVendorName", (PyCFunction
)_wrap_PyApp_GetVendorName
, METH_O
, NULL
},
53098 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53099 { (char *)"PyApp_GetTraits", (PyCFunction
)_wrap_PyApp_GetTraits
, METH_O
, NULL
},
53100 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
)_wrap_PyApp_ProcessPendingEvents
, METH_O
, NULL
},
53101 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53102 { (char *)"PyApp_WakeUpIdle", (PyCFunction
)_wrap_PyApp_WakeUpIdle
, METH_O
, NULL
},
53103 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
)_wrap_PyApp_IsMainLoopRunning
, METH_NOARGS
, NULL
},
53104 { (char *)"PyApp_MainLoop", (PyCFunction
)_wrap_PyApp_MainLoop
, METH_O
, NULL
},
53105 { (char *)"PyApp_Exit", (PyCFunction
)_wrap_PyApp_Exit
, METH_O
, NULL
},
53106 { (char *)"PyApp_ExitMainLoop", (PyCFunction
)_wrap_PyApp_ExitMainLoop
, METH_O
, NULL
},
53107 { (char *)"PyApp_Pending", (PyCFunction
)_wrap_PyApp_Pending
, METH_O
, NULL
},
53108 { (char *)"PyApp_Dispatch", (PyCFunction
)_wrap_PyApp_Dispatch
, METH_O
, NULL
},
53109 { (char *)"PyApp_ProcessIdle", (PyCFunction
)_wrap_PyApp_ProcessIdle
, METH_O
, NULL
},
53110 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53111 { (char *)"PyApp_IsActive", (PyCFunction
)_wrap_PyApp_IsActive
, METH_O
, NULL
},
53112 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53113 { (char *)"PyApp_GetTopWindow", (PyCFunction
)_wrap_PyApp_GetTopWindow
, METH_O
, NULL
},
53114 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53115 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
)_wrap_PyApp_GetExitOnFrameDelete
, METH_O
, NULL
},
53116 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53117 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
)_wrap_PyApp_GetUseBestVisual
, METH_O
, NULL
},
53118 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53119 { (char *)"PyApp_GetPrintMode", (PyCFunction
)_wrap_PyApp_GetPrintMode
, METH_O
, NULL
},
53120 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53121 { (char *)"PyApp_GetAssertMode", (PyCFunction
)_wrap_PyApp_GetAssertMode
, METH_O
, NULL
},
53122 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
)_wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_NOARGS
, NULL
},
53123 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
)_wrap_PyApp_GetMacAboutMenuItemId
, METH_NOARGS
, NULL
},
53124 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
)_wrap_PyApp_GetMacPreferencesMenuItemId
, METH_NOARGS
, NULL
},
53125 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
)_wrap_PyApp_GetMacExitMenuItemId
, METH_NOARGS
, NULL
},
53126 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
)_wrap_PyApp_GetMacHelpMenuTitleName
, METH_NOARGS
, NULL
},
53127 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53128 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53129 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53130 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53131 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53132 { (char *)"PyApp__BootstrapApp", (PyCFunction
)_wrap_PyApp__BootstrapApp
, METH_O
, NULL
},
53133 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
)_wrap_PyApp_GetComCtl32Version
, METH_NOARGS
, NULL
},
53134 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
53135 { (char *)"PyApp_swiginit", PyApp_swiginit
, METH_VARARGS
, NULL
},
53136 { (char *)"Exit", (PyCFunction
)_wrap_Exit
, METH_NOARGS
, NULL
},
53137 { (char *)"Yield", (PyCFunction
)_wrap_Yield
, METH_NOARGS
, NULL
},
53138 { (char *)"YieldIfNeeded", (PyCFunction
)_wrap_YieldIfNeeded
, METH_NOARGS
, NULL
},
53139 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53140 { (char *)"WakeUpIdle", (PyCFunction
)_wrap_WakeUpIdle
, METH_NOARGS
, NULL
},
53141 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53142 { (char *)"App_CleanUp", (PyCFunction
)_wrap_App_CleanUp
, METH_NOARGS
, NULL
},
53143 { (char *)"GetApp", (PyCFunction
)_wrap_GetApp
, METH_NOARGS
, NULL
},
53144 { (char *)"SetDefaultPyEncoding", (PyCFunction
) _wrap_SetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53145 { (char *)"GetDefaultPyEncoding", (PyCFunction
)_wrap_GetDefaultPyEncoding
, METH_NOARGS
, NULL
},
53146 { (char *)"new_EventLoop", (PyCFunction
)_wrap_new_EventLoop
, METH_NOARGS
, NULL
},
53147 { (char *)"delete_EventLoop", (PyCFunction
)_wrap_delete_EventLoop
, METH_O
, NULL
},
53148 { (char *)"EventLoop_Run", (PyCFunction
)_wrap_EventLoop_Run
, METH_O
, NULL
},
53149 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53150 { (char *)"EventLoop_Pending", (PyCFunction
)_wrap_EventLoop_Pending
, METH_O
, NULL
},
53151 { (char *)"EventLoop_Dispatch", (PyCFunction
)_wrap_EventLoop_Dispatch
, METH_O
, NULL
},
53152 { (char *)"EventLoop_IsRunning", (PyCFunction
)_wrap_EventLoop_IsRunning
, METH_O
, NULL
},
53153 { (char *)"EventLoop_GetActive", (PyCFunction
)_wrap_EventLoop_GetActive
, METH_NOARGS
, NULL
},
53154 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53155 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
53156 { (char *)"EventLoop_swiginit", EventLoop_swiginit
, METH_VARARGS
, NULL
},
53157 { (char *)"new_EventLoopActivator", (PyCFunction
) _wrap_new_EventLoopActivator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53158 { (char *)"delete_EventLoopActivator", (PyCFunction
)_wrap_delete_EventLoopActivator
, METH_O
, NULL
},
53159 { (char *)"EventLoopActivator_swigregister", EventLoopActivator_swigregister
, METH_VARARGS
, NULL
},
53160 { (char *)"EventLoopActivator_swiginit", EventLoopActivator_swiginit
, METH_VARARGS
, NULL
},
53161 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53162 { (char *)"delete_AcceleratorEntry", (PyCFunction
)_wrap_delete_AcceleratorEntry
, METH_O
, NULL
},
53163 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53164 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
)_wrap_AcceleratorEntry_GetFlags
, METH_O
, NULL
},
53165 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
)_wrap_AcceleratorEntry_GetKeyCode
, METH_O
, NULL
},
53166 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
)_wrap_AcceleratorEntry_GetCommand
, METH_O
, NULL
},
53167 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
53168 { (char *)"AcceleratorEntry_swiginit", AcceleratorEntry_swiginit
, METH_VARARGS
, NULL
},
53169 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53170 { (char *)"delete_AcceleratorTable", (PyCFunction
)_wrap_delete_AcceleratorTable
, METH_O
, NULL
},
53171 { (char *)"AcceleratorTable_Ok", (PyCFunction
)_wrap_AcceleratorTable_Ok
, METH_O
, NULL
},
53172 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
53173 { (char *)"AcceleratorTable_swiginit", AcceleratorTable_swiginit
, METH_VARARGS
, NULL
},
53174 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53175 { (char *)"new_VisualAttributes", (PyCFunction
)_wrap_new_VisualAttributes
, METH_NOARGS
, NULL
},
53176 { (char *)"delete_VisualAttributes", (PyCFunction
)_wrap_delete_VisualAttributes
, METH_O
, NULL
},
53177 { (char *)"VisualAttributes_font_set", _wrap_VisualAttributes_font_set
, METH_VARARGS
, NULL
},
53178 { (char *)"VisualAttributes_font_get", (PyCFunction
)_wrap_VisualAttributes_font_get
, METH_O
, NULL
},
53179 { (char *)"VisualAttributes_colFg_set", _wrap_VisualAttributes_colFg_set
, METH_VARARGS
, NULL
},
53180 { (char *)"VisualAttributes_colFg_get", (PyCFunction
)_wrap_VisualAttributes_colFg_get
, METH_O
, NULL
},
53181 { (char *)"VisualAttributes_colBg_set", _wrap_VisualAttributes_colBg_set
, METH_VARARGS
, NULL
},
53182 { (char *)"VisualAttributes_colBg_get", (PyCFunction
)_wrap_VisualAttributes_colBg_get
, METH_O
, NULL
},
53183 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
53184 { (char *)"VisualAttributes_swiginit", VisualAttributes_swiginit
, METH_VARARGS
, NULL
},
53185 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53186 { (char *)"new_PreWindow", (PyCFunction
)_wrap_new_PreWindow
, METH_NOARGS
, NULL
},
53187 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53188 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53189 { (char *)"Window_Destroy", (PyCFunction
)_wrap_Window_Destroy
, METH_O
, NULL
},
53190 { (char *)"Window_DestroyChildren", (PyCFunction
)_wrap_Window_DestroyChildren
, METH_O
, NULL
},
53191 { (char *)"Window_IsBeingDeleted", (PyCFunction
)_wrap_Window_IsBeingDeleted
, METH_O
, NULL
},
53192 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53193 { (char *)"Window_GetLabel", (PyCFunction
)_wrap_Window_GetLabel
, METH_O
, NULL
},
53194 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53195 { (char *)"Window_GetName", (PyCFunction
)_wrap_Window_GetName
, METH_O
, NULL
},
53196 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53197 { (char *)"Window_GetWindowVariant", (PyCFunction
)_wrap_Window_GetWindowVariant
, METH_O
, NULL
},
53198 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53199 { (char *)"Window_GetId", (PyCFunction
)_wrap_Window_GetId
, METH_O
, NULL
},
53200 { (char *)"Window_NewControlId", (PyCFunction
)_wrap_Window_NewControlId
, METH_NOARGS
, NULL
},
53201 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53202 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53203 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53204 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53205 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53206 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53207 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53208 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53209 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53210 { (char *)"Window_Raise", (PyCFunction
)_wrap_Window_Raise
, METH_O
, NULL
},
53211 { (char *)"Window_Lower", (PyCFunction
)_wrap_Window_Lower
, METH_O
, NULL
},
53212 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53213 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53214 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53215 { (char *)"Window_GetPosition", (PyCFunction
)_wrap_Window_GetPosition
, METH_O
, NULL
},
53216 { (char *)"Window_GetPositionTuple", (PyCFunction
)_wrap_Window_GetPositionTuple
, METH_O
, NULL
},
53217 { (char *)"Window_GetScreenPosition", (PyCFunction
)_wrap_Window_GetScreenPosition
, METH_O
, NULL
},
53218 { (char *)"Window_GetScreenPositionTuple", (PyCFunction
)_wrap_Window_GetScreenPositionTuple
, METH_O
, NULL
},
53219 { (char *)"Window_GetScreenRect", (PyCFunction
)_wrap_Window_GetScreenRect
, METH_O
, NULL
},
53220 { (char *)"Window_GetSize", (PyCFunction
)_wrap_Window_GetSize
, METH_O
, NULL
},
53221 { (char *)"Window_GetSizeTuple", (PyCFunction
)_wrap_Window_GetSizeTuple
, METH_O
, NULL
},
53222 { (char *)"Window_GetRect", (PyCFunction
)_wrap_Window_GetRect
, METH_O
, NULL
},
53223 { (char *)"Window_GetClientSize", (PyCFunction
)_wrap_Window_GetClientSize
, METH_O
, NULL
},
53224 { (char *)"Window_GetClientSizeTuple", (PyCFunction
)_wrap_Window_GetClientSizeTuple
, METH_O
, NULL
},
53225 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
)_wrap_Window_GetClientAreaOrigin
, METH_O
, NULL
},
53226 { (char *)"Window_GetClientRect", (PyCFunction
)_wrap_Window_GetClientRect
, METH_O
, NULL
},
53227 { (char *)"Window_GetBestSize", (PyCFunction
)_wrap_Window_GetBestSize
, METH_O
, NULL
},
53228 { (char *)"Window_GetBestSizeTuple", (PyCFunction
)_wrap_Window_GetBestSizeTuple
, METH_O
, NULL
},
53229 { (char *)"Window_InvalidateBestSize", (PyCFunction
)_wrap_Window_InvalidateBestSize
, METH_O
, NULL
},
53230 { (char *)"Window_CacheBestSize", (PyCFunction
) _wrap_Window_CacheBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53231 { (char *)"Window_GetBestFittingSize", (PyCFunction
)_wrap_Window_GetBestFittingSize
, METH_O
, NULL
},
53232 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
)_wrap_Window_GetAdjustedBestSize
, METH_O
, NULL
},
53233 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53234 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53235 { (char *)"Window_Fit", (PyCFunction
)_wrap_Window_Fit
, METH_O
, NULL
},
53236 { (char *)"Window_FitInside", (PyCFunction
)_wrap_Window_FitInside
, METH_O
, NULL
},
53237 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53238 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53239 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53240 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53241 { (char *)"Window_GetMaxSize", (PyCFunction
)_wrap_Window_GetMaxSize
, METH_O
, NULL
},
53242 { (char *)"Window_GetMinSize", (PyCFunction
)_wrap_Window_GetMinSize
, METH_O
, NULL
},
53243 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53244 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53245 { (char *)"Window_GetMinWidth", (PyCFunction
)_wrap_Window_GetMinWidth
, METH_O
, NULL
},
53246 { (char *)"Window_GetMinHeight", (PyCFunction
)_wrap_Window_GetMinHeight
, METH_O
, NULL
},
53247 { (char *)"Window_GetMaxWidth", (PyCFunction
)_wrap_Window_GetMaxWidth
, METH_O
, NULL
},
53248 { (char *)"Window_GetMaxHeight", (PyCFunction
)_wrap_Window_GetMaxHeight
, METH_O
, NULL
},
53249 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53250 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53251 { (char *)"Window_GetVirtualSize", (PyCFunction
)_wrap_Window_GetVirtualSize
, METH_O
, NULL
},
53252 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
)_wrap_Window_GetVirtualSizeTuple
, METH_O
, NULL
},
53253 { (char *)"Window_GetBestVirtualSize", (PyCFunction
)_wrap_Window_GetBestVirtualSize
, METH_O
, NULL
},
53254 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53255 { (char *)"Window_Hide", (PyCFunction
)_wrap_Window_Hide
, METH_O
, NULL
},
53256 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53257 { (char *)"Window_Disable", (PyCFunction
)_wrap_Window_Disable
, METH_O
, NULL
},
53258 { (char *)"Window_IsShown", (PyCFunction
)_wrap_Window_IsShown
, METH_O
, NULL
},
53259 { (char *)"Window_IsEnabled", (PyCFunction
)_wrap_Window_IsEnabled
, METH_O
, NULL
},
53260 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53261 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
)_wrap_Window_GetWindowStyleFlag
, METH_O
, NULL
},
53262 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53263 { (char *)"Window_IsRetained", (PyCFunction
)_wrap_Window_IsRetained
, METH_O
, NULL
},
53264 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53265 { (char *)"Window_GetExtraStyle", (PyCFunction
)_wrap_Window_GetExtraStyle
, METH_O
, NULL
},
53266 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53267 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53268 { (char *)"Window_GetThemeEnabled", (PyCFunction
)_wrap_Window_GetThemeEnabled
, METH_O
, NULL
},
53269 { (char *)"Window_SetFocus", (PyCFunction
)_wrap_Window_SetFocus
, METH_O
, NULL
},
53270 { (char *)"Window_SetFocusFromKbd", (PyCFunction
)_wrap_Window_SetFocusFromKbd
, METH_O
, NULL
},
53271 { (char *)"Window_FindFocus", (PyCFunction
)_wrap_Window_FindFocus
, METH_NOARGS
, NULL
},
53272 { (char *)"Window_AcceptsFocus", (PyCFunction
)_wrap_Window_AcceptsFocus
, METH_O
, NULL
},
53273 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
)_wrap_Window_AcceptsFocusFromKeyboard
, METH_O
, NULL
},
53274 { (char *)"Window_GetDefaultItem", (PyCFunction
)_wrap_Window_GetDefaultItem
, METH_O
, NULL
},
53275 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53276 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53277 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53278 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53279 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53280 { (char *)"Window_GetChildren", (PyCFunction
)_wrap_Window_GetChildren
, METH_O
, NULL
},
53281 { (char *)"Window_GetParent", (PyCFunction
)_wrap_Window_GetParent
, METH_O
, NULL
},
53282 { (char *)"Window_GetGrandParent", (PyCFunction
)_wrap_Window_GetGrandParent
, METH_O
, NULL
},
53283 { (char *)"Window_IsTopLevel", (PyCFunction
)_wrap_Window_IsTopLevel
, METH_O
, NULL
},
53284 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53285 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53286 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53287 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53288 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53289 { (char *)"Window_GetEventHandler", (PyCFunction
)_wrap_Window_GetEventHandler
, METH_O
, NULL
},
53290 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53291 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53292 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53293 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53294 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53295 { (char *)"Window_GetValidator", (PyCFunction
)_wrap_Window_GetValidator
, METH_O
, NULL
},
53296 { (char *)"Window_Validate", (PyCFunction
)_wrap_Window_Validate
, METH_O
, NULL
},
53297 { (char *)"Window_TransferDataToWindow", (PyCFunction
)_wrap_Window_TransferDataToWindow
, METH_O
, NULL
},
53298 { (char *)"Window_TransferDataFromWindow", (PyCFunction
)_wrap_Window_TransferDataFromWindow
, METH_O
, NULL
},
53299 { (char *)"Window_InitDialog", (PyCFunction
)_wrap_Window_InitDialog
, METH_O
, NULL
},
53300 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53301 { (char *)"Window_GetAcceleratorTable", (PyCFunction
)_wrap_Window_GetAcceleratorTable
, METH_O
, NULL
},
53302 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53303 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53304 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53305 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53306 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53307 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53308 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53309 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53310 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53311 { (char *)"Window_CaptureMouse", (PyCFunction
)_wrap_Window_CaptureMouse
, METH_O
, NULL
},
53312 { (char *)"Window_ReleaseMouse", (PyCFunction
)_wrap_Window_ReleaseMouse
, METH_O
, NULL
},
53313 { (char *)"Window_GetCapture", (PyCFunction
)_wrap_Window_GetCapture
, METH_NOARGS
, NULL
},
53314 { (char *)"Window_HasCapture", (PyCFunction
)_wrap_Window_HasCapture
, METH_O
, NULL
},
53315 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53316 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53317 { (char *)"Window_Update", (PyCFunction
)_wrap_Window_Update
, METH_O
, NULL
},
53318 { (char *)"Window_ClearBackground", (PyCFunction
)_wrap_Window_ClearBackground
, METH_O
, NULL
},
53319 { (char *)"Window_Freeze", (PyCFunction
)_wrap_Window_Freeze
, METH_O
, NULL
},
53320 { (char *)"Window_Thaw", (PyCFunction
)_wrap_Window_Thaw
, METH_O
, NULL
},
53321 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53322 { (char *)"Window_GetUpdateRegion", (PyCFunction
)_wrap_Window_GetUpdateRegion
, METH_O
, NULL
},
53323 { (char *)"Window_GetUpdateClientRect", (PyCFunction
)_wrap_Window_GetUpdateClientRect
, METH_O
, NULL
},
53324 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53325 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53326 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53327 { (char *)"Window_GetDefaultAttributes", (PyCFunction
)_wrap_Window_GetDefaultAttributes
, METH_O
, NULL
},
53328 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53329 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53330 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53331 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53332 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53333 { (char *)"Window_GetBackgroundColour", (PyCFunction
)_wrap_Window_GetBackgroundColour
, METH_O
, NULL
},
53334 { (char *)"Window_GetForegroundColour", (PyCFunction
)_wrap_Window_GetForegroundColour
, METH_O
, NULL
},
53335 { (char *)"Window_InheritsBackgroundColour", (PyCFunction
)_wrap_Window_InheritsBackgroundColour
, METH_O
, NULL
},
53336 { (char *)"Window_UseBgCol", (PyCFunction
)_wrap_Window_UseBgCol
, METH_O
, NULL
},
53337 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53338 { (char *)"Window_GetBackgroundStyle", (PyCFunction
)_wrap_Window_GetBackgroundStyle
, METH_O
, NULL
},
53339 { (char *)"Window_HasTransparentBackground", (PyCFunction
)_wrap_Window_HasTransparentBackground
, METH_O
, NULL
},
53340 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53341 { (char *)"Window_GetCursor", (PyCFunction
)_wrap_Window_GetCursor
, METH_O
, NULL
},
53342 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53343 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53344 { (char *)"Window_GetFont", (PyCFunction
)_wrap_Window_GetFont
, METH_O
, NULL
},
53345 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53346 { (char *)"Window_GetCaret", (PyCFunction
)_wrap_Window_GetCaret
, METH_O
, NULL
},
53347 { (char *)"Window_GetCharHeight", (PyCFunction
)_wrap_Window_GetCharHeight
, METH_O
, NULL
},
53348 { (char *)"Window_GetCharWidth", (PyCFunction
)_wrap_Window_GetCharWidth
, METH_O
, NULL
},
53349 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53350 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53351 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53352 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53353 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53354 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53355 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53356 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53357 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
53358 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53359 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53360 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53361 { (char *)"Window_GetHandle", (PyCFunction
)_wrap_Window_GetHandle
, METH_O
, NULL
},
53362 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53363 { (char *)"Window_DissociateHandle", (PyCFunction
)_wrap_Window_DissociateHandle
, METH_O
, NULL
},
53364 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53365 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53366 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53367 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53368 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53369 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53370 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53371 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53372 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53373 { (char *)"Window_LineUp", (PyCFunction
)_wrap_Window_LineUp
, METH_O
, NULL
},
53374 { (char *)"Window_LineDown", (PyCFunction
)_wrap_Window_LineDown
, METH_O
, NULL
},
53375 { (char *)"Window_PageUp", (PyCFunction
)_wrap_Window_PageUp
, METH_O
, NULL
},
53376 { (char *)"Window_PageDown", (PyCFunction
)_wrap_Window_PageDown
, METH_O
, NULL
},
53377 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53378 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53379 { (char *)"Window_GetHelpText", (PyCFunction
)_wrap_Window_GetHelpText
, METH_O
, NULL
},
53380 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53381 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53382 { (char *)"Window_GetToolTip", (PyCFunction
)_wrap_Window_GetToolTip
, METH_O
, NULL
},
53383 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53384 { (char *)"Window_GetDropTarget", (PyCFunction
)_wrap_Window_GetDropTarget
, METH_O
, NULL
},
53385 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53386 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53387 { (char *)"Window_GetConstraints", (PyCFunction
)_wrap_Window_GetConstraints
, METH_O
, NULL
},
53388 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53389 { (char *)"Window_GetAutoLayout", (PyCFunction
)_wrap_Window_GetAutoLayout
, METH_O
, NULL
},
53390 { (char *)"Window_Layout", (PyCFunction
)_wrap_Window_Layout
, METH_O
, NULL
},
53391 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53392 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53393 { (char *)"Window_GetSizer", (PyCFunction
)_wrap_Window_GetSizer
, METH_O
, NULL
},
53394 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53395 { (char *)"Window_GetContainingSizer", (PyCFunction
)_wrap_Window_GetContainingSizer
, METH_O
, NULL
},
53396 { (char *)"Window_InheritAttributes", (PyCFunction
)_wrap_Window_InheritAttributes
, METH_O
, NULL
},
53397 { (char *)"Window_ShouldInheritColours", (PyCFunction
)_wrap_Window_ShouldInheritColours
, METH_O
, NULL
},
53398 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
53399 { (char *)"Window_swiginit", Window_swiginit
, METH_VARARGS
, NULL
},
53400 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53401 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53402 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53403 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53404 { (char *)"GetTopLevelWindows", (PyCFunction
)_wrap_GetTopLevelWindows
, METH_NOARGS
, NULL
},
53405 { (char *)"new_Validator", (PyCFunction
)_wrap_new_Validator
, METH_NOARGS
, NULL
},
53406 { (char *)"Validator_Clone", (PyCFunction
)_wrap_Validator_Clone
, METH_O
, NULL
},
53407 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53408 { (char *)"Validator_TransferToWindow", (PyCFunction
)_wrap_Validator_TransferToWindow
, METH_O
, NULL
},
53409 { (char *)"Validator_TransferFromWindow", (PyCFunction
)_wrap_Validator_TransferFromWindow
, METH_O
, NULL
},
53410 { (char *)"Validator_GetWindow", (PyCFunction
)_wrap_Validator_GetWindow
, METH_O
, NULL
},
53411 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53412 { (char *)"Validator_IsSilent", (PyCFunction
)_wrap_Validator_IsSilent
, METH_NOARGS
, NULL
},
53413 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53414 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
53415 { (char *)"Validator_swiginit", Validator_swiginit
, METH_VARARGS
, NULL
},
53416 { (char *)"new_PyValidator", (PyCFunction
)_wrap_new_PyValidator
, METH_NOARGS
, NULL
},
53417 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53418 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
53419 { (char *)"PyValidator_swiginit", PyValidator_swiginit
, METH_VARARGS
, NULL
},
53420 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53421 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53422 { (char *)"Menu_AppendSeparator", (PyCFunction
)_wrap_Menu_AppendSeparator
, METH_O
, NULL
},
53423 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53424 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53425 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53426 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53427 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53428 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53429 { (char *)"Menu_Break", (PyCFunction
)_wrap_Menu_Break
, METH_O
, NULL
},
53430 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53431 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53432 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53433 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53434 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53435 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53436 { (char *)"Menu_PrependSeparator", (PyCFunction
)_wrap_Menu_PrependSeparator
, METH_O
, NULL
},
53437 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53438 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53439 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53440 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53441 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53442 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53443 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53444 { (char *)"Menu_Destroy", (PyCFunction
)_wrap_Menu_Destroy
, METH_O
, NULL
},
53445 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53446 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53447 { (char *)"Menu_GetMenuItemCount", (PyCFunction
)_wrap_Menu_GetMenuItemCount
, METH_O
, NULL
},
53448 { (char *)"Menu_GetMenuItems", (PyCFunction
)_wrap_Menu_GetMenuItems
, METH_O
, NULL
},
53449 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53450 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53451 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53452 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53453 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53454 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53455 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53456 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53457 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53458 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53459 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53460 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53461 { (char *)"Menu_GetTitle", (PyCFunction
)_wrap_Menu_GetTitle
, METH_O
, NULL
},
53462 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53463 { (char *)"Menu_GetEventHandler", (PyCFunction
)_wrap_Menu_GetEventHandler
, METH_O
, NULL
},
53464 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53465 { (char *)"Menu_GetInvokingWindow", (PyCFunction
)_wrap_Menu_GetInvokingWindow
, METH_O
, NULL
},
53466 { (char *)"Menu_GetStyle", (PyCFunction
)_wrap_Menu_GetStyle
, METH_O
, NULL
},
53467 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53468 { (char *)"Menu_GetMenuBar", (PyCFunction
)_wrap_Menu_GetMenuBar
, METH_O
, NULL
},
53469 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53470 { (char *)"Menu_Detach", (PyCFunction
)_wrap_Menu_Detach
, METH_O
, NULL
},
53471 { (char *)"Menu_IsAttached", (PyCFunction
)_wrap_Menu_IsAttached
, METH_O
, NULL
},
53472 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53473 { (char *)"Menu_GetParent", (PyCFunction
)_wrap_Menu_GetParent
, METH_O
, NULL
},
53474 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
53475 { (char *)"Menu_swiginit", Menu_swiginit
, METH_VARARGS
, NULL
},
53476 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53477 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53478 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53479 { (char *)"MenuBar_GetMenuCount", (PyCFunction
)_wrap_MenuBar_GetMenuCount
, METH_O
, NULL
},
53480 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53481 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53482 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53483 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53484 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53485 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53486 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53487 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53488 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53489 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53490 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53491 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53492 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53493 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53494 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53495 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53496 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53497 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53498 { (char *)"MenuBar_GetFrame", (PyCFunction
)_wrap_MenuBar_GetFrame
, METH_O
, NULL
},
53499 { (char *)"MenuBar_IsAttached", (PyCFunction
)_wrap_MenuBar_IsAttached
, METH_O
, NULL
},
53500 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53501 { (char *)"MenuBar_Detach", (PyCFunction
)_wrap_MenuBar_Detach
, METH_O
, NULL
},
53502 { (char *)"MenuBar_SetAutoWindowMenu", (PyCFunction
) _wrap_MenuBar_SetAutoWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53503 { (char *)"MenuBar_GetAutoWindowMenu", (PyCFunction
)_wrap_MenuBar_GetAutoWindowMenu
, METH_NOARGS
, NULL
},
53504 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
53505 { (char *)"MenuBar_swiginit", MenuBar_swiginit
, METH_VARARGS
, NULL
},
53506 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53507 { (char *)"delete_MenuItem", (PyCFunction
)_wrap_delete_MenuItem
, METH_O
, NULL
},
53508 { (char *)"MenuItem_GetMenu", (PyCFunction
)_wrap_MenuItem_GetMenu
, METH_O
, NULL
},
53509 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53510 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53511 { (char *)"MenuItem_GetId", (PyCFunction
)_wrap_MenuItem_GetId
, METH_O
, NULL
},
53512 { (char *)"MenuItem_IsSeparator", (PyCFunction
)_wrap_MenuItem_IsSeparator
, METH_O
, NULL
},
53513 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53514 { (char *)"MenuItem_GetLabel", (PyCFunction
)_wrap_MenuItem_GetLabel
, METH_O
, NULL
},
53515 { (char *)"MenuItem_GetText", (PyCFunction
)_wrap_MenuItem_GetText
, METH_O
, NULL
},
53516 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53517 { (char *)"MenuItem_GetKind", (PyCFunction
)_wrap_MenuItem_GetKind
, METH_O
, NULL
},
53518 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53519 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53520 { (char *)"MenuItem_IsCheckable", (PyCFunction
)_wrap_MenuItem_IsCheckable
, METH_O
, NULL
},
53521 { (char *)"MenuItem_IsSubMenu", (PyCFunction
)_wrap_MenuItem_IsSubMenu
, METH_O
, NULL
},
53522 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53523 { (char *)"MenuItem_GetSubMenu", (PyCFunction
)_wrap_MenuItem_GetSubMenu
, METH_O
, NULL
},
53524 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53525 { (char *)"MenuItem_IsEnabled", (PyCFunction
)_wrap_MenuItem_IsEnabled
, METH_O
, NULL
},
53526 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53527 { (char *)"MenuItem_IsChecked", (PyCFunction
)_wrap_MenuItem_IsChecked
, METH_O
, NULL
},
53528 { (char *)"MenuItem_Toggle", (PyCFunction
)_wrap_MenuItem_Toggle
, METH_O
, NULL
},
53529 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53530 { (char *)"MenuItem_GetHelp", (PyCFunction
)_wrap_MenuItem_GetHelp
, METH_O
, NULL
},
53531 { (char *)"MenuItem_GetAccel", (PyCFunction
)_wrap_MenuItem_GetAccel
, METH_O
, NULL
},
53532 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53533 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53534 { (char *)"MenuItem_GetBitmap", (PyCFunction
)_wrap_MenuItem_GetBitmap
, METH_O
, NULL
},
53535 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53536 { (char *)"MenuItem_GetFont", (PyCFunction
)_wrap_MenuItem_GetFont
, METH_O
, NULL
},
53537 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53538 { (char *)"MenuItem_GetTextColour", (PyCFunction
)_wrap_MenuItem_GetTextColour
, METH_O
, NULL
},
53539 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53540 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
)_wrap_MenuItem_GetBackgroundColour
, METH_O
, NULL
},
53541 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53542 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53543 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
)_wrap_MenuItem_GetDisabledBitmap
, METH_O
, NULL
},
53544 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53545 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
)_wrap_MenuItem_GetMarginWidth
, METH_O
, NULL
},
53546 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
)_wrap_MenuItem_GetDefaultMarginWidth
, METH_NOARGS
, NULL
},
53547 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
)_wrap_MenuItem_IsOwnerDrawn
, METH_O
, NULL
},
53548 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53549 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
)_wrap_MenuItem_ResetOwnerDrawn
, METH_O
, NULL
},
53550 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
53551 { (char *)"MenuItem_swiginit", MenuItem_swiginit
, METH_VARARGS
, NULL
},
53552 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53553 { (char *)"new_PreControl", (PyCFunction
)_wrap_new_PreControl
, METH_NOARGS
, NULL
},
53554 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53555 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53556 { (char *)"Control_GetLabel", (PyCFunction
)_wrap_Control_GetLabel
, METH_O
, NULL
},
53557 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53558 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
53559 { (char *)"Control_swiginit", Control_swiginit
, METH_VARARGS
, NULL
},
53560 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53561 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53562 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53563 { (char *)"ItemContainer_Clear", (PyCFunction
)_wrap_ItemContainer_Clear
, METH_O
, NULL
},
53564 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53565 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53566 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53567 { (char *)"ItemContainer_GetCount", (PyCFunction
)_wrap_ItemContainer_GetCount
, METH_O
, NULL
},
53568 { (char *)"ItemContainer_IsEmpty", (PyCFunction
)_wrap_ItemContainer_IsEmpty
, METH_O
, NULL
},
53569 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53570 { (char *)"ItemContainer_GetStrings", (PyCFunction
)_wrap_ItemContainer_GetStrings
, METH_O
, NULL
},
53571 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53572 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53573 { (char *)"ItemContainer_SetSelection", (PyCFunction
) _wrap_ItemContainer_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53574 { (char *)"ItemContainer_GetSelection", (PyCFunction
)_wrap_ItemContainer_GetSelection
, METH_O
, NULL
},
53575 { (char *)"ItemContainer_SetStringSelection", (PyCFunction
) _wrap_ItemContainer_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53576 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
)_wrap_ItemContainer_GetStringSelection
, METH_O
, NULL
},
53577 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53578 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
53579 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
53580 { (char *)"new_SizerItem", (PyCFunction
)_wrap_new_SizerItem
, METH_NOARGS
, NULL
},
53581 { (char *)"delete_SizerItem", (PyCFunction
)_wrap_delete_SizerItem
, METH_O
, NULL
},
53582 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53583 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53584 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53585 { (char *)"SizerItem_DeleteWindows", (PyCFunction
)_wrap_SizerItem_DeleteWindows
, METH_O
, NULL
},
53586 { (char *)"SizerItem_DetachSizer", (PyCFunction
)_wrap_SizerItem_DetachSizer
, METH_O
, NULL
},
53587 { (char *)"SizerItem_GetSize", (PyCFunction
)_wrap_SizerItem_GetSize
, METH_O
, NULL
},
53588 { (char *)"SizerItem_CalcMin", (PyCFunction
)_wrap_SizerItem_CalcMin
, METH_O
, NULL
},
53589 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53590 { (char *)"SizerItem_GetMinSize", (PyCFunction
)_wrap_SizerItem_GetMinSize
, METH_O
, NULL
},
53591 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
)_wrap_SizerItem_GetMinSizeWithBorder
, METH_O
, NULL
},
53592 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53593 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53594 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53595 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53596 { (char *)"SizerItem_GetRatio", (PyCFunction
)_wrap_SizerItem_GetRatio
, METH_O
, NULL
},
53597 { (char *)"SizerItem_GetRect", (PyCFunction
)_wrap_SizerItem_GetRect
, METH_O
, NULL
},
53598 { (char *)"SizerItem_IsWindow", (PyCFunction
)_wrap_SizerItem_IsWindow
, METH_O
, NULL
},
53599 { (char *)"SizerItem_IsSizer", (PyCFunction
)_wrap_SizerItem_IsSizer
, METH_O
, NULL
},
53600 { (char *)"SizerItem_IsSpacer", (PyCFunction
)_wrap_SizerItem_IsSpacer
, METH_O
, NULL
},
53601 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53602 { (char *)"SizerItem_GetProportion", (PyCFunction
)_wrap_SizerItem_GetProportion
, METH_O
, NULL
},
53603 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53604 { (char *)"SizerItem_GetFlag", (PyCFunction
)_wrap_SizerItem_GetFlag
, METH_O
, NULL
},
53605 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53606 { (char *)"SizerItem_GetBorder", (PyCFunction
)_wrap_SizerItem_GetBorder
, METH_O
, NULL
},
53607 { (char *)"SizerItem_GetWindow", (PyCFunction
)_wrap_SizerItem_GetWindow
, METH_O
, NULL
},
53608 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53609 { (char *)"SizerItem_GetSizer", (PyCFunction
)_wrap_SizerItem_GetSizer
, METH_O
, NULL
},
53610 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53611 { (char *)"SizerItem_GetSpacer", (PyCFunction
)_wrap_SizerItem_GetSpacer
, METH_O
, NULL
},
53612 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53613 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53614 { (char *)"SizerItem_IsShown", (PyCFunction
)_wrap_SizerItem_IsShown
, METH_O
, NULL
},
53615 { (char *)"SizerItem_GetPosition", (PyCFunction
)_wrap_SizerItem_GetPosition
, METH_O
, NULL
},
53616 { (char *)"SizerItem_GetUserData", (PyCFunction
)_wrap_SizerItem_GetUserData
, METH_O
, NULL
},
53617 { (char *)"SizerItem_SetUserData", (PyCFunction
) _wrap_SizerItem_SetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53618 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
53619 { (char *)"SizerItem_swiginit", SizerItem_swiginit
, METH_VARARGS
, NULL
},
53620 { (char *)"delete_Sizer", (PyCFunction
)_wrap_delete_Sizer
, METH_O
, NULL
},
53621 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53622 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53623 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53624 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53625 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53626 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53627 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53628 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53629 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53630 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53631 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53632 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53633 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53634 { (char *)"Sizer_GetSize", (PyCFunction
)_wrap_Sizer_GetSize
, METH_O
, NULL
},
53635 { (char *)"Sizer_GetPosition", (PyCFunction
)_wrap_Sizer_GetPosition
, METH_O
, NULL
},
53636 { (char *)"Sizer_GetMinSize", (PyCFunction
)_wrap_Sizer_GetMinSize
, METH_O
, NULL
},
53637 { (char *)"Sizer_RecalcSizes", (PyCFunction
)_wrap_Sizer_RecalcSizes
, METH_O
, NULL
},
53638 { (char *)"Sizer_CalcMin", (PyCFunction
)_wrap_Sizer_CalcMin
, METH_O
, NULL
},
53639 { (char *)"Sizer_Layout", (PyCFunction
)_wrap_Sizer_Layout
, METH_O
, NULL
},
53640 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53641 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53642 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53643 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53644 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53645 { (char *)"Sizer_DeleteWindows", (PyCFunction
)_wrap_Sizer_DeleteWindows
, METH_O
, NULL
},
53646 { (char *)"Sizer_GetChildren", (PyCFunction
)_wrap_Sizer_GetChildren
, METH_O
, NULL
},
53647 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53648 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53649 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53650 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
53651 { (char *)"new_PySizer", (PyCFunction
)_wrap_new_PySizer
, METH_NOARGS
, NULL
},
53652 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53653 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
53654 { (char *)"PySizer_swiginit", PySizer_swiginit
, METH_VARARGS
, NULL
},
53655 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53656 { (char *)"BoxSizer_GetOrientation", (PyCFunction
)_wrap_BoxSizer_GetOrientation
, METH_O
, NULL
},
53657 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53658 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
53659 { (char *)"BoxSizer_swiginit", BoxSizer_swiginit
, METH_VARARGS
, NULL
},
53660 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53661 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
)_wrap_StaticBoxSizer_GetStaticBox
, METH_O
, NULL
},
53662 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
53663 { (char *)"StaticBoxSizer_swiginit", StaticBoxSizer_swiginit
, METH_VARARGS
, NULL
},
53664 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53665 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53666 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53667 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53668 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53669 { (char *)"GridSizer_GetCols", (PyCFunction
)_wrap_GridSizer_GetCols
, METH_O
, NULL
},
53670 { (char *)"GridSizer_GetRows", (PyCFunction
)_wrap_GridSizer_GetRows
, METH_O
, NULL
},
53671 { (char *)"GridSizer_GetVGap", (PyCFunction
)_wrap_GridSizer_GetVGap
, METH_O
, NULL
},
53672 { (char *)"GridSizer_GetHGap", (PyCFunction
)_wrap_GridSizer_GetHGap
, METH_O
, NULL
},
53673 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
53674 { (char *)"GridSizer_swiginit", GridSizer_swiginit
, METH_VARARGS
, NULL
},
53675 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53676 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53677 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53678 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53679 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53680 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53681 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
)_wrap_FlexGridSizer_GetFlexibleDirection
, METH_O
, NULL
},
53682 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53683 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
)_wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_O
, NULL
},
53684 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
)_wrap_FlexGridSizer_GetRowHeights
, METH_O
, NULL
},
53685 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
)_wrap_FlexGridSizer_GetColWidths
, METH_O
, NULL
},
53686 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
53687 { (char *)"FlexGridSizer_swiginit", FlexGridSizer_swiginit
, METH_VARARGS
, NULL
},
53688 { (char *)"new_StdDialogButtonSizer", (PyCFunction
)_wrap_new_StdDialogButtonSizer
, METH_NOARGS
, NULL
},
53689 { (char *)"StdDialogButtonSizer_AddButton", (PyCFunction
) _wrap_StdDialogButtonSizer_AddButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53690 { (char *)"StdDialogButtonSizer_Realize", (PyCFunction
)_wrap_StdDialogButtonSizer_Realize
, METH_O
, NULL
},
53691 { (char *)"StdDialogButtonSizer_SetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53692 { (char *)"StdDialogButtonSizer_SetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53693 { (char *)"StdDialogButtonSizer_SetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53694 { (char *)"StdDialogButtonSizer_GetAffirmativeButton", (PyCFunction
)_wrap_StdDialogButtonSizer_GetAffirmativeButton
, METH_O
, NULL
},
53695 { (char *)"StdDialogButtonSizer_GetApplyButton", (PyCFunction
)_wrap_StdDialogButtonSizer_GetApplyButton
, METH_O
, NULL
},
53696 { (char *)"StdDialogButtonSizer_GetNegativeButton", (PyCFunction
)_wrap_StdDialogButtonSizer_GetNegativeButton
, METH_O
, NULL
},
53697 { (char *)"StdDialogButtonSizer_GetCancelButton", (PyCFunction
)_wrap_StdDialogButtonSizer_GetCancelButton
, METH_O
, NULL
},
53698 { (char *)"StdDialogButtonSizer_GetHelpButton", (PyCFunction
)_wrap_StdDialogButtonSizer_GetHelpButton
, METH_O
, NULL
},
53699 { (char *)"StdDialogButtonSizer_swigregister", StdDialogButtonSizer_swigregister
, METH_VARARGS
, NULL
},
53700 { (char *)"StdDialogButtonSizer_swiginit", StdDialogButtonSizer_swiginit
, METH_VARARGS
, NULL
},
53701 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53702 { (char *)"delete_GBPosition", (PyCFunction
)_wrap_delete_GBPosition
, METH_O
, NULL
},
53703 { (char *)"GBPosition_GetRow", (PyCFunction
)_wrap_GBPosition_GetRow
, METH_O
, NULL
},
53704 { (char *)"GBPosition_GetCol", (PyCFunction
)_wrap_GBPosition_GetCol
, METH_O
, NULL
},
53705 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53706 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53707 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53708 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53709 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53710 { (char *)"GBPosition_Get", (PyCFunction
)_wrap_GBPosition_Get
, METH_O
, NULL
},
53711 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
53712 { (char *)"GBPosition_swiginit", GBPosition_swiginit
, METH_VARARGS
, NULL
},
53713 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53714 { (char *)"delete_GBSpan", (PyCFunction
)_wrap_delete_GBSpan
, METH_O
, NULL
},
53715 { (char *)"GBSpan_GetRowspan", (PyCFunction
)_wrap_GBSpan_GetRowspan
, METH_O
, NULL
},
53716 { (char *)"GBSpan_GetColspan", (PyCFunction
)_wrap_GBSpan_GetColspan
, METH_O
, NULL
},
53717 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53718 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53719 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53720 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53721 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53722 { (char *)"GBSpan_Get", (PyCFunction
)_wrap_GBSpan_Get
, METH_O
, NULL
},
53723 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
53724 { (char *)"GBSpan_swiginit", GBSpan_swiginit
, METH_VARARGS
, NULL
},
53725 { (char *)"new_GBSizerItem", (PyCFunction
)_wrap_new_GBSizerItem
, METH_NOARGS
, NULL
},
53726 { (char *)"delete_GBSizerItem", (PyCFunction
)_wrap_delete_GBSizerItem
, METH_O
, NULL
},
53727 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53728 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53729 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53730 { (char *)"GBSizerItem_GetPos", (PyCFunction
)_wrap_GBSizerItem_GetPos
, METH_O
, NULL
},
53731 { (char *)"GBSizerItem_GetSpan", (PyCFunction
)_wrap_GBSizerItem_GetSpan
, METH_O
, NULL
},
53732 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53733 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53734 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53735 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53736 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
)_wrap_GBSizerItem_GetEndPos
, METH_O
, NULL
},
53737 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
)_wrap_GBSizerItem_GetGBSizer
, METH_O
, NULL
},
53738 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53739 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
53740 { (char *)"GBSizerItem_swiginit", GBSizerItem_swiginit
, METH_VARARGS
, NULL
},
53741 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53742 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53743 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53744 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53745 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
)_wrap_GridBagSizer_GetEmptyCellSize
, METH_O
, NULL
},
53746 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53747 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
53748 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
53749 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
53750 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
53751 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
53752 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53753 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53754 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53755 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53756 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
53757 { (char *)"GridBagSizer_swiginit", GridBagSizer_swiginit
, METH_VARARGS
, NULL
},
53758 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53759 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53760 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53761 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53762 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53763 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53764 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53765 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53766 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
)_wrap_IndividualLayoutConstraint_Unconstrained
, METH_O
, NULL
},
53767 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
)_wrap_IndividualLayoutConstraint_AsIs
, METH_O
, NULL
},
53768 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_O
, NULL
},
53769 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetMyEdge
, METH_O
, NULL
},
53770 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53771 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53772 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetMargin
, METH_O
, NULL
},
53773 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53774 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetValue
, METH_O
, NULL
},
53775 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetPercent
, METH_O
, NULL
},
53776 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_O
, NULL
},
53777 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetDone
, METH_O
, NULL
},
53778 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53779 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetRelationship
, METH_O
, NULL
},
53780 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53781 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53782 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53783 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53784 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
53785 { (char *)"LayoutConstraints_left_get", (PyCFunction
)_wrap_LayoutConstraints_left_get
, METH_O
, NULL
},
53786 { (char *)"LayoutConstraints_top_get", (PyCFunction
)_wrap_LayoutConstraints_top_get
, METH_O
, NULL
},
53787 { (char *)"LayoutConstraints_right_get", (PyCFunction
)_wrap_LayoutConstraints_right_get
, METH_O
, NULL
},
53788 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
)_wrap_LayoutConstraints_bottom_get
, METH_O
, NULL
},
53789 { (char *)"LayoutConstraints_width_get", (PyCFunction
)_wrap_LayoutConstraints_width_get
, METH_O
, NULL
},
53790 { (char *)"LayoutConstraints_height_get", (PyCFunction
)_wrap_LayoutConstraints_height_get
, METH_O
, NULL
},
53791 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
)_wrap_LayoutConstraints_centreX_get
, METH_O
, NULL
},
53792 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
)_wrap_LayoutConstraints_centreY_get
, METH_O
, NULL
},
53793 { (char *)"new_LayoutConstraints", (PyCFunction
)_wrap_new_LayoutConstraints
, METH_NOARGS
, NULL
},
53794 { (char *)"delete_LayoutConstraints", (PyCFunction
)_wrap_delete_LayoutConstraints
, METH_O
, NULL
},
53795 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53796 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
)_wrap_LayoutConstraints_AreSatisfied
, METH_O
, NULL
},
53797 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
53798 { (char *)"LayoutConstraints_swiginit", LayoutConstraints_swiginit
, METH_VARARGS
, NULL
},
53799 { NULL
, NULL
, 0, NULL
}
53803 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
53805 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
53806 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
53808 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
53809 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
53811 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
53812 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
53814 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
53815 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
53817 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
53818 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
53820 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
53821 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
53823 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
53824 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
53826 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
53827 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
53829 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
53830 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
53832 static void *_p_wxStdDialogButtonSizerTo_p_wxBoxSizer(void *x
) {
53833 return (void *)((wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
53835 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
53836 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
53838 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
53839 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
53841 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
53842 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
53844 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
53845 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
53847 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
53848 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
53850 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
53851 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
53853 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
53854 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
53856 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
53857 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
53859 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
53860 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
53862 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
53863 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
53865 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
53866 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
53868 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
53869 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
53871 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
53872 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
53874 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
53875 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
53877 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
53878 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
53880 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
53881 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
53883 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
53884 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
53886 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
53887 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
53889 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
53890 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
53892 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
53893 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
53895 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
53896 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
53898 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
53899 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
53901 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
53902 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
53904 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
53905 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
53907 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
53908 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
53910 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
53911 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
53913 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
53914 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
53916 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
53917 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
53919 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
53920 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
53922 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
53923 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
53925 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
53926 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
53928 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
53929 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
53931 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
53932 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
53934 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
53935 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
53937 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
53938 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
53940 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
53941 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
53943 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
53944 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
53946 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
53947 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
53949 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
53950 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
53952 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
53953 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
53955 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
53956 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
53958 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
53959 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
53961 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
53962 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
53964 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
53965 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
53967 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
53968 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
53970 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
53971 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
53973 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
53974 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
53976 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
53977 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
53979 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
53980 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
53982 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
53983 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
53985 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
53986 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
53988 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
53989 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
53991 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
53992 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
53994 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
53995 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
53997 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
53998 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
54000 static void *_p_wxPyImageHandlerTo_p_wxImageHandler(void *x
) {
54001 return (void *)((wxImageHandler
*) ((wxPyImageHandler
*) x
));
54003 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
54004 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
54006 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
54007 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
54009 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
54010 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
54012 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
54013 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
54015 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
54016 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
54018 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
54019 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
54021 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
54022 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
54024 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
54025 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
54027 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
54028 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
54030 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
54031 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
54033 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
54034 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
54036 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
54037 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
54039 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
54040 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
54042 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
54043 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
54045 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
54046 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
54048 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
54049 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
54051 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
54052 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
54054 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
54055 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
54057 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
54058 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
54060 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
54061 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
54063 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
54064 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
54066 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
54067 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
54069 static void *_p_wxSizerTo_p_wxObject(void *x
) {
54070 return (void *)((wxObject
*) ((wxSizer
*) x
));
54072 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
54073 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
54075 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
54076 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
54078 static void *_p_wxEventTo_p_wxObject(void *x
) {
54079 return (void *)((wxObject
*) ((wxEvent
*) x
));
54081 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
54082 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
54084 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
54085 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
54087 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
54088 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
54090 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
54091 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
54093 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
54094 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
54096 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
54097 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
54099 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
54100 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
54102 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
54103 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
54105 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
54106 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
54108 static void *_p_wxControlTo_p_wxObject(void *x
) {
54109 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
54111 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
54112 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
54114 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
54115 return (void *)((wxObject
*) ((wxFSFile
*) x
));
54117 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
54118 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
54120 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
54121 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
54123 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
54124 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
54126 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
54127 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
54129 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
54130 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
54132 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
54133 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
54135 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
54136 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
54138 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
54139 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
54141 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
54142 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
54144 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
54145 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
54147 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
54148 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
54150 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
54151 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
54153 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
54154 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
54156 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
54157 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
54159 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
54160 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
54162 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
54163 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
54165 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
54166 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
54168 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
54169 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
54171 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
54172 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
54174 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
54175 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
54177 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
54178 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
54180 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
54181 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
54183 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
54184 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
54186 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
54187 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
54189 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
54190 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
54192 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
54193 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
54195 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
54196 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
54198 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
54199 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
54201 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
54202 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
54204 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
54205 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
54207 static void *_p_wxImageTo_p_wxObject(void *x
) {
54208 return (void *)((wxObject
*) ((wxImage
*) x
));
54210 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
54211 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
54213 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
54214 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
54216 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
54217 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
54219 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
54220 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
54222 static void *_p_wxWindowTo_p_wxObject(void *x
) {
54223 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
54225 static void *_p_wxMenuTo_p_wxObject(void *x
) {
54226 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
54228 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
54229 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
54231 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
54232 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
54234 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
54235 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
54237 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
54238 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
54240 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
54241 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
54243 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
54244 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
54246 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
54247 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
54249 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
54250 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
54252 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
54253 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
54255 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
54256 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
54258 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
54259 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
54261 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
54262 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
54264 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
54265 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
54267 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
54268 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
54270 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
54271 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
54273 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
54274 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
54276 static void *_p_wxControlTo_p_wxWindow(void *x
) {
54277 return (void *)((wxWindow
*) ((wxControl
*) x
));
54279 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
54280 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
54282 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
54283 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
54285 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
54286 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
54288 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
54289 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
54291 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
54292 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
54294 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
54295 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
54297 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
54298 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
54300 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
54301 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
54303 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
54304 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
54306 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
54307 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
54309 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
54310 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
54312 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
54313 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
54315 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
54316 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
54317 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};
54318 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
54319 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
54320 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
54321 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
54322 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
54323 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", "wxANIHandler *", 0, 0, (void*)0, 0};
54324 static swig_type_info _swigt__p_wxAcceleratorEntry
= {"_p_wxAcceleratorEntry", "wxAcceleratorEntry *", 0, 0, (void*)0, 0};
54325 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", "wxAcceleratorTable *", 0, 0, (void*)0, 0};
54326 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", "wxActivateEvent *", 0, 0, (void*)0, 0};
54327 static swig_type_info _swigt__p_wxAppTraits
= {"_p_wxAppTraits", "wxAppTraits *", 0, 0, (void*)0, 0};
54328 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
54329 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", "wxBMPHandler *", 0, 0, (void*)0, 0};
54330 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
54331 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", "wxBoxSizer *", 0, 0, (void*)0, 0};
54332 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
54333 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", "wxCURHandler *", 0, 0, (void*)0, 0};
54334 static swig_type_info _swigt__p_wxCaret
= {"_p_wxCaret", "wxCaret *", 0, 0, (void*)0, 0};
54335 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", "wxChildFocusEvent *", 0, 0, (void*)0, 0};
54336 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", "wxCloseEvent *", 0, 0, (void*)0, 0};
54337 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
54338 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
54339 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", "wxContextMenuEvent *", 0, 0, (void*)0, 0};
54340 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
54341 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
54342 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
54343 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
54344 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", "wxDateEvent *", 0, 0, (void*)0, 0};
54345 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
54346 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", "wxDisplayChangedEvent *", 0, 0, (void*)0, 0};
54347 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", "wxDropFilesEvent *", 0, 0, (void*)0, 0};
54348 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
54349 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", "wxEraseEvent *", 0, 0, (void*)0, 0};
54350 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
54351 static swig_type_info _swigt__p_wxEventLoop
= {"_p_wxEventLoop", "wxEventLoop *", 0, 0, (void*)0, 0};
54352 static swig_type_info _swigt__p_wxEventLoopActivator
= {"_p_wxEventLoopActivator", "wxEventLoopActivator *", 0, 0, (void*)0, 0};
54353 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
54354 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", "wxFSFile *", 0, 0, (void*)0, 0};
54355 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
54356 static swig_type_info _swigt__p_wxFileSystemHandler
= {"_p_wxFileSystemHandler", "wxFileSystemHandler *", 0, 0, (void*)0, 0};
54357 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", "wxFlexGridSizer *", 0, 0, (void*)0, 0};
54358 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", "wxFocusEvent *", 0, 0, (void*)0, 0};
54359 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
54360 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
54361 static swig_type_info _swigt__p_wxGBPosition
= {"_p_wxGBPosition", "wxGBPosition *", 0, 0, (void*)0, 0};
54362 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", "wxGBSizerItem *", 0, 0, (void*)0, 0};
54363 static swig_type_info _swigt__p_wxGBSpan
= {"_p_wxGBSpan", "wxGBSpan *", 0, 0, (void*)0, 0};
54364 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", "wxGIFHandler *", 0, 0, (void*)0, 0};
54365 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", "wxGridBagSizer *", 0, 0, (void*)0, 0};
54366 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", "wxGridSizer *", 0, 0, (void*)0, 0};
54367 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", "wxICOHandler *", 0, 0, (void*)0, 0};
54368 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", "wxIconizeEvent *", 0, 0, (void*)0, 0};
54369 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", "wxIdleEvent *", 0, 0, (void*)0, 0};
54370 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
54371 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", "wxImageHandler *", 0, 0, (void*)0, 0};
54372 static swig_type_info _swigt__p_wxImageHistogram
= {"_p_wxImageHistogram", "wxImageHistogram *", 0, 0, (void*)0, 0};
54373 static swig_type_info _swigt__p_wxImage_HSVValue
= {"_p_wxImage_HSVValue", "wxImage_HSVValue *", 0, 0, (void*)0, 0};
54374 static swig_type_info _swigt__p_wxImage_RGBValue
= {"_p_wxImage_RGBValue", "wxImage_RGBValue *", 0, 0, (void*)0, 0};
54375 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", "wxIndividualLayoutConstraint *", 0, 0, (void*)0, 0};
54376 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", "wxInitDialogEvent *", 0, 0, (void*)0, 0};
54377 static swig_type_info _swigt__p_wxInputStream
= {"_p_wxInputStream", "wxInputStream *", 0, 0, (void*)0, 0};
54378 static swig_type_info _swigt__p_wxInternetFSHandler
= {"_p_wxInternetFSHandler", "wxInternetFSHandler *", 0, 0, (void*)0, 0};
54379 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
54380 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", "wxJPEGHandler *", 0, 0, (void*)0, 0};
54381 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
54382 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", "wxLayoutConstraints *", 0, 0, (void*)0, 0};
54383 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", "wxMaximizeEvent *", 0, 0, (void*)0, 0};
54384 static swig_type_info _swigt__p_wxMemoryFSHandler
= {"_p_wxMemoryFSHandler", "wxMemoryFSHandler *", 0, 0, (void*)0, 0};
54385 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
54386 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
54387 static swig_type_info _swigt__p_wxMenuBarBase
= {"_p_wxMenuBarBase", "wxMenuBarBase *", 0, 0, (void*)0, 0};
54388 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", "wxMenuEvent *", 0, 0, (void*)0, 0};
54389 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", "wxMenuItem *", 0, 0, (void*)0, 0};
54390 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", "wxMouseCaptureChangedEvent *", 0, 0, (void*)0, 0};
54391 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
54392 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", "wxMoveEvent *", 0, 0, (void*)0, 0};
54393 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", "wxNavigationKeyEvent *", 0, 0, (void*)0, 0};
54394 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", "wxNcPaintEvent *", 0, 0, (void*)0, 0};
54395 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
54396 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
54397 static swig_type_info _swigt__p_wxOutputStream
= {"_p_wxOutputStream", "wxOutputStream *", 0, 0, (void*)0, 0};
54398 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", "wxPCXHandler *", 0, 0, (void*)0, 0};
54399 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", "wxPNGHandler *", 0, 0, (void*)0, 0};
54400 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", "wxPNMHandler *", 0, 0, (void*)0, 0};
54401 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", "wxPaintEvent *", 0, 0, (void*)0, 0};
54402 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", "wxPaletteChangedEvent *", 0, 0, (void*)0, 0};
54403 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
54404 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
54405 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
54406 static swig_type_info _swigt__p_wxPropagateOnce
= {"_p_wxPropagateOnce", "wxPropagateOnce *", 0, 0, (void*)0, 0};
54407 static swig_type_info _swigt__p_wxPropagationDisabler
= {"_p_wxPropagationDisabler", "wxPropagationDisabler *", 0, 0, (void*)0, 0};
54408 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", "wxPyApp *", 0, 0, (void*)0, 0};
54409 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", "wxPyCommandEvent *", 0, 0, (void*)0, 0};
54410 static swig_type_info _swigt__p_wxPyDropTarget
= {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, (void*)0, 0};
54411 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", "wxPyEvent *", 0, 0, (void*)0, 0};
54412 static swig_type_info _swigt__p_wxPyFileSystemHandler
= {"_p_wxPyFileSystemHandler", "wxPyFileSystemHandler *", 0, 0, (void*)0, 0};
54413 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", "wxPyImageHandler *", 0, 0, (void*)0, 0};
54414 static swig_type_info _swigt__p_wxPyInputStream
= {"_p_wxPyInputStream", "wxPyInputStream *", 0, 0, (void*)0, 0};
54415 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", "wxPySizer *", 0, 0, (void*)0, 0};
54416 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", "wxPyValidator *", 0, 0, (void*)0, 0};
54417 static swig_type_info _swigt__p_wxQuantize
= {"_p_wxQuantize", "wxQuantize *", 0, 0, (void*)0, 0};
54418 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", "wxQueryNewPaletteEvent *", 0, 0, (void*)0, 0};
54419 static swig_type_info _swigt__p_wxRealPoint
= {"_p_wxRealPoint", "wxRealPoint *", 0, 0, (void*)0, 0};
54420 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
54421 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
54422 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", "wxScrollEvent *", 0, 0, (void*)0, 0};
54423 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
54424 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", "wxSetCursorEvent *", 0, 0, (void*)0, 0};
54425 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", "wxShowEvent *", 0, 0, (void*)0, 0};
54426 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
54427 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", "wxSizeEvent *", 0, 0, (void*)0, 0};
54428 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", "wxSizer *", 0, 0, (void*)0, 0};
54429 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", "wxSizerItem *", 0, 0, (void*)0, 0};
54430 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
54431 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", "wxStaticBoxSizer *", 0, 0, (void*)0, 0};
54432 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
54433 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", "wxSysColourChangedEvent *", 0, 0, (void*)0, 0};
54434 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", "wxTIFFHandler *", 0, 0, (void*)0, 0};
54435 static swig_type_info _swigt__p_wxToolTip
= {"_p_wxToolTip", "wxToolTip *", 0, 0, (void*)0, 0};
54436 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", "wxUpdateUIEvent *", 0, 0, (void*)0, 0};
54437 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
54438 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
54439 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
54440 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", "wxWindowCreateEvent *", 0, 0, (void*)0, 0};
54441 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", "wxWindowDestroyEvent *", 0, 0, (void*)0, 0};
54442 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", "wxXPMHandler *", 0, 0, (void*)0, 0};
54443 static swig_type_info _swigt__p_wxZipFSHandler
= {"_p_wxZipFSHandler", "wxZipFSHandler *", 0, 0, (void*)0, 0};
54445 static swig_type_info
*swig_type_initial
[] = {
54448 &_swigt__p_form_ops_t
,
54451 &_swigt__p_unsigned_char
,
54452 &_swigt__p_unsigned_int
,
54453 &_swigt__p_unsigned_long
,
54454 &_swigt__p_wxANIHandler
,
54455 &_swigt__p_wxAcceleratorEntry
,
54456 &_swigt__p_wxAcceleratorTable
,
54457 &_swigt__p_wxActivateEvent
,
54458 &_swigt__p_wxAppTraits
,
54459 &_swigt__p_wxArrayString
,
54460 &_swigt__p_wxBMPHandler
,
54461 &_swigt__p_wxBitmap
,
54462 &_swigt__p_wxBoxSizer
,
54463 &_swigt__p_wxButton
,
54464 &_swigt__p_wxCURHandler
,
54465 &_swigt__p_wxCaret
,
54466 &_swigt__p_wxChildFocusEvent
,
54467 &_swigt__p_wxCloseEvent
,
54468 &_swigt__p_wxColour
,
54469 &_swigt__p_wxCommandEvent
,
54470 &_swigt__p_wxContextMenuEvent
,
54471 &_swigt__p_wxControl
,
54472 &_swigt__p_wxControlWithItems
,
54473 &_swigt__p_wxCursor
,
54475 &_swigt__p_wxDateEvent
,
54476 &_swigt__p_wxDateTime
,
54477 &_swigt__p_wxDisplayChangedEvent
,
54478 &_swigt__p_wxDropFilesEvent
,
54479 &_swigt__p_wxDuplexMode
,
54480 &_swigt__p_wxEraseEvent
,
54481 &_swigt__p_wxEvent
,
54482 &_swigt__p_wxEventLoop
,
54483 &_swigt__p_wxEventLoopActivator
,
54484 &_swigt__p_wxEvtHandler
,
54485 &_swigt__p_wxFSFile
,
54486 &_swigt__p_wxFileSystem
,
54487 &_swigt__p_wxFileSystemHandler
,
54488 &_swigt__p_wxFlexGridSizer
,
54489 &_swigt__p_wxFocusEvent
,
54491 &_swigt__p_wxFrame
,
54492 &_swigt__p_wxGBPosition
,
54493 &_swigt__p_wxGBSizerItem
,
54494 &_swigt__p_wxGBSpan
,
54495 &_swigt__p_wxGIFHandler
,
54496 &_swigt__p_wxGridBagSizer
,
54497 &_swigt__p_wxGridSizer
,
54498 &_swigt__p_wxICOHandler
,
54499 &_swigt__p_wxIconizeEvent
,
54500 &_swigt__p_wxIdleEvent
,
54501 &_swigt__p_wxImage
,
54502 &_swigt__p_wxImageHandler
,
54503 &_swigt__p_wxImageHistogram
,
54504 &_swigt__p_wxImage_HSVValue
,
54505 &_swigt__p_wxImage_RGBValue
,
54506 &_swigt__p_wxIndividualLayoutConstraint
,
54507 &_swigt__p_wxInitDialogEvent
,
54508 &_swigt__p_wxInputStream
,
54509 &_swigt__p_wxInternetFSHandler
,
54510 &_swigt__p_wxItemContainer
,
54511 &_swigt__p_wxJPEGHandler
,
54512 &_swigt__p_wxKeyEvent
,
54513 &_swigt__p_wxLayoutConstraints
,
54514 &_swigt__p_wxMaximizeEvent
,
54515 &_swigt__p_wxMemoryFSHandler
,
54517 &_swigt__p_wxMenuBar
,
54518 &_swigt__p_wxMenuBarBase
,
54519 &_swigt__p_wxMenuEvent
,
54520 &_swigt__p_wxMenuItem
,
54521 &_swigt__p_wxMouseCaptureChangedEvent
,
54522 &_swigt__p_wxMouseEvent
,
54523 &_swigt__p_wxMoveEvent
,
54524 &_swigt__p_wxNavigationKeyEvent
,
54525 &_swigt__p_wxNcPaintEvent
,
54526 &_swigt__p_wxNotifyEvent
,
54527 &_swigt__p_wxObject
,
54528 &_swigt__p_wxOutputStream
,
54529 &_swigt__p_wxPCXHandler
,
54530 &_swigt__p_wxPNGHandler
,
54531 &_swigt__p_wxPNMHandler
,
54532 &_swigt__p_wxPaintEvent
,
54533 &_swigt__p_wxPaletteChangedEvent
,
54534 &_swigt__p_wxPaperSize
,
54535 &_swigt__p_wxPoint
,
54536 &_swigt__p_wxPoint2D
,
54537 &_swigt__p_wxPropagateOnce
,
54538 &_swigt__p_wxPropagationDisabler
,
54539 &_swigt__p_wxPyApp
,
54540 &_swigt__p_wxPyCommandEvent
,
54541 &_swigt__p_wxPyDropTarget
,
54542 &_swigt__p_wxPyEvent
,
54543 &_swigt__p_wxPyFileSystemHandler
,
54544 &_swigt__p_wxPyImageHandler
,
54545 &_swigt__p_wxPyInputStream
,
54546 &_swigt__p_wxPySizer
,
54547 &_swigt__p_wxPyValidator
,
54548 &_swigt__p_wxQuantize
,
54549 &_swigt__p_wxQueryNewPaletteEvent
,
54550 &_swigt__p_wxRealPoint
,
54552 &_swigt__p_wxRegion
,
54553 &_swigt__p_wxScrollEvent
,
54554 &_swigt__p_wxScrollWinEvent
,
54555 &_swigt__p_wxSetCursorEvent
,
54556 &_swigt__p_wxShowEvent
,
54558 &_swigt__p_wxSizeEvent
,
54559 &_swigt__p_wxSizer
,
54560 &_swigt__p_wxSizerItem
,
54561 &_swigt__p_wxStaticBox
,
54562 &_swigt__p_wxStaticBoxSizer
,
54563 &_swigt__p_wxStdDialogButtonSizer
,
54564 &_swigt__p_wxSysColourChangedEvent
,
54565 &_swigt__p_wxTIFFHandler
,
54566 &_swigt__p_wxToolTip
,
54567 &_swigt__p_wxUpdateUIEvent
,
54568 &_swigt__p_wxValidator
,
54569 &_swigt__p_wxVisualAttributes
,
54570 &_swigt__p_wxWindow
,
54571 &_swigt__p_wxWindowCreateEvent
,
54572 &_swigt__p_wxWindowDestroyEvent
,
54573 &_swigt__p_wxXPMHandler
,
54574 &_swigt__p_wxZipFSHandler
,
54577 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
54578 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
54579 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
54580 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
54581 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
54582 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
54583 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
54584 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
54585 static swig_cast_info _swigc__p_wxANIHandler
[] = { {&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
54586 static swig_cast_info _swigc__p_wxAcceleratorEntry
[] = { {&_swigt__p_wxAcceleratorEntry
, 0, 0, 0},{0, 0, 0, 0}};
54587 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = { {&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
54588 static swig_cast_info _swigc__p_wxActivateEvent
[] = { {&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
54589 static swig_cast_info _swigc__p_wxAppTraits
[] = { {&_swigt__p_wxAppTraits
, 0, 0, 0},{0, 0, 0, 0}};
54590 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
54591 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}};
54592 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
54593 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}};
54594 static swig_cast_info _swigc__p_wxButton
[] = { {&_swigt__p_wxButton
, 0, 0, 0},{0, 0, 0, 0}};
54595 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}};
54596 static swig_cast_info _swigc__p_wxCaret
[] = { {&_swigt__p_wxCaret
, 0, 0, 0},{0, 0, 0, 0}};
54597 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = { {&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
54598 static swig_cast_info _swigc__p_wxCloseEvent
[] = { {&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
54599 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
54600 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, 0, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}};
54601 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = { {&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
54602 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}};
54603 static swig_cast_info _swigc__p_wxControlWithItems
[] = { {&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
54604 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
54605 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
54606 static swig_cast_info _swigc__p_wxDateEvent
[] = { {&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
54607 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
54608 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = { {&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
54609 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = { {&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
54610 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
54611 static swig_cast_info _swigc__p_wxEraseEvent
[] = { {&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
54612 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
54613 static swig_cast_info _swigc__p_wxEventLoop
[] = { {&_swigt__p_wxEventLoop
, 0, 0, 0},{0, 0, 0, 0}};
54614 static swig_cast_info _swigc__p_wxEventLoopActivator
[] = { {&_swigt__p_wxEventLoopActivator
, 0, 0, 0},{0, 0, 0, 0}};
54615 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
54616 static swig_cast_info _swigc__p_wxFSFile
[] = { {&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
54617 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
54618 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}};
54619 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}};
54620 static swig_cast_info _swigc__p_wxFocusEvent
[] = { {&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
54621 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
54622 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
54623 static swig_cast_info _swigc__p_wxGBPosition
[] = { {&_swigt__p_wxGBPosition
, 0, 0, 0},{0, 0, 0, 0}};
54624 static swig_cast_info _swigc__p_wxGBSizerItem
[] = { {&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
54625 static swig_cast_info _swigc__p_wxGBSpan
[] = { {&_swigt__p_wxGBSpan
, 0, 0, 0},{0, 0, 0, 0}};
54626 static swig_cast_info _swigc__p_wxGIFHandler
[] = { {&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
54627 static swig_cast_info _swigc__p_wxGridBagSizer
[] = { {&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
54628 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}};
54629 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}};
54630 static swig_cast_info _swigc__p_wxIconizeEvent
[] = { {&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
54631 static swig_cast_info _swigc__p_wxIdleEvent
[] = { {&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
54632 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
54633 static swig_cast_info _swigc__p_wxImageHandler
[] = { {&_swigt__p_wxImageHandler
, 0, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxImageHandler
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxImageHandler
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxImageHandler
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxImageHandler
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxImageHandler
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxImageHandler
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxImageHandler
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxImageHandler
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxImageHandler
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxImageHandler
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxImageHandler
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxImageHandler
, 0, 0},{0, 0, 0, 0}};
54634 static swig_cast_info _swigc__p_wxImageHistogram
[] = { {&_swigt__p_wxImageHistogram
, 0, 0, 0},{0, 0, 0, 0}};
54635 static swig_cast_info _swigc__p_wxImage_HSVValue
[] = { {&_swigt__p_wxImage_HSVValue
, 0, 0, 0},{0, 0, 0, 0}};
54636 static swig_cast_info _swigc__p_wxImage_RGBValue
[] = { {&_swigt__p_wxImage_RGBValue
, 0, 0, 0},{0, 0, 0, 0}};
54637 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = { {&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
54638 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = { {&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
54639 static swig_cast_info _swigc__p_wxInputStream
[] = { {&_swigt__p_wxInputStream
, 0, 0, 0},{0, 0, 0, 0}};
54640 static swig_cast_info _swigc__p_wxInternetFSHandler
[] = { {&_swigt__p_wxInternetFSHandler
, 0, 0, 0},{0, 0, 0, 0}};
54641 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}};
54642 static swig_cast_info _swigc__p_wxJPEGHandler
[] = { {&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
54643 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
54644 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = { {&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
54645 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = { {&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
54646 static swig_cast_info _swigc__p_wxMemoryFSHandler
[] = { {&_swigt__p_wxMemoryFSHandler
, 0, 0, 0},{0, 0, 0, 0}};
54647 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
54648 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
54649 static swig_cast_info _swigc__p_wxMenuBarBase
[] = { {&_swigt__p_wxMenuBarBase
, 0, 0, 0},{0, 0, 0, 0}};
54650 static swig_cast_info _swigc__p_wxMenuEvent
[] = { {&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
54651 static swig_cast_info _swigc__p_wxMenuItem
[] = { {&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
54652 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = { {&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
54653 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
54654 static swig_cast_info _swigc__p_wxMoveEvent
[] = { {&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
54655 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = { {&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
54656 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = { {&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
54657 static swig_cast_info _swigc__p_wxNotifyEvent
[] = { {&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
54658 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
54659 static swig_cast_info _swigc__p_wxOutputStream
[] = { {&_swigt__p_wxOutputStream
, 0, 0, 0},{0, 0, 0, 0}};
54660 static swig_cast_info _swigc__p_wxPCXHandler
[] = { {&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
54661 static swig_cast_info _swigc__p_wxPNGHandler
[] = { {&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
54662 static swig_cast_info _swigc__p_wxPNMHandler
[] = { {&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
54663 static swig_cast_info _swigc__p_wxPaintEvent
[] = { {&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
54664 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = { {&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
54665 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
54666 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
54667 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
54668 static swig_cast_info _swigc__p_wxPropagateOnce
[] = { {&_swigt__p_wxPropagateOnce
, 0, 0, 0},{0, 0, 0, 0}};
54669 static swig_cast_info _swigc__p_wxPropagationDisabler
[] = { {&_swigt__p_wxPropagationDisabler
, 0, 0, 0},{0, 0, 0, 0}};
54670 static swig_cast_info _swigc__p_wxPyApp
[] = { {&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
54671 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = { {&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
54672 static swig_cast_info _swigc__p_wxPyDropTarget
[] = { {&_swigt__p_wxPyDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
54673 static swig_cast_info _swigc__p_wxPyEvent
[] = { {&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
54674 static swig_cast_info _swigc__p_wxPyFileSystemHandler
[] = { {&_swigt__p_wxPyFileSystemHandler
, 0, 0, 0},{0, 0, 0, 0}};
54675 static swig_cast_info _swigc__p_wxPyImageHandler
[] = { {&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
54676 static swig_cast_info _swigc__p_wxPyInputStream
[] = { {&_swigt__p_wxPyInputStream
, 0, 0, 0},{0, 0, 0, 0}};
54677 static swig_cast_info _swigc__p_wxPySizer
[] = { {&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
54678 static swig_cast_info _swigc__p_wxPyValidator
[] = { {&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
54679 static swig_cast_info _swigc__p_wxQuantize
[] = { {&_swigt__p_wxQuantize
, 0, 0, 0},{0, 0, 0, 0}};
54680 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = { {&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
54681 static swig_cast_info _swigc__p_wxRealPoint
[] = { {&_swigt__p_wxRealPoint
, 0, 0, 0},{0, 0, 0, 0}};
54682 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
54683 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
54684 static swig_cast_info _swigc__p_wxScrollEvent
[] = { {&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
54685 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
54686 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = { {&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
54687 static swig_cast_info _swigc__p_wxShowEvent
[] = { {&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
54688 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
54689 static swig_cast_info _swigc__p_wxSizeEvent
[] = { {&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
54690 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}};
54691 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}};
54692 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
54693 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = { {&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
54694 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
54695 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = { {&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
54696 static swig_cast_info _swigc__p_wxTIFFHandler
[] = { {&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
54697 static swig_cast_info _swigc__p_wxToolTip
[] = { {&_swigt__p_wxToolTip
, 0, 0, 0},{0, 0, 0, 0}};
54698 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = { {&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
54699 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}};
54700 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
54701 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}};
54702 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = { {&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
54703 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = { {&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
54704 static swig_cast_info _swigc__p_wxXPMHandler
[] = { {&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
54705 static swig_cast_info _swigc__p_wxZipFSHandler
[] = { {&_swigt__p_wxZipFSHandler
, 0, 0, 0},{0, 0, 0, 0}};
54707 static swig_cast_info
*swig_cast_initial
[] = {
54710 _swigc__p_form_ops_t
,
54713 _swigc__p_unsigned_char
,
54714 _swigc__p_unsigned_int
,
54715 _swigc__p_unsigned_long
,
54716 _swigc__p_wxANIHandler
,
54717 _swigc__p_wxAcceleratorEntry
,
54718 _swigc__p_wxAcceleratorTable
,
54719 _swigc__p_wxActivateEvent
,
54720 _swigc__p_wxAppTraits
,
54721 _swigc__p_wxArrayString
,
54722 _swigc__p_wxBMPHandler
,
54723 _swigc__p_wxBitmap
,
54724 _swigc__p_wxBoxSizer
,
54725 _swigc__p_wxButton
,
54726 _swigc__p_wxCURHandler
,
54728 _swigc__p_wxChildFocusEvent
,
54729 _swigc__p_wxCloseEvent
,
54730 _swigc__p_wxColour
,
54731 _swigc__p_wxCommandEvent
,
54732 _swigc__p_wxContextMenuEvent
,
54733 _swigc__p_wxControl
,
54734 _swigc__p_wxControlWithItems
,
54735 _swigc__p_wxCursor
,
54737 _swigc__p_wxDateEvent
,
54738 _swigc__p_wxDateTime
,
54739 _swigc__p_wxDisplayChangedEvent
,
54740 _swigc__p_wxDropFilesEvent
,
54741 _swigc__p_wxDuplexMode
,
54742 _swigc__p_wxEraseEvent
,
54744 _swigc__p_wxEventLoop
,
54745 _swigc__p_wxEventLoopActivator
,
54746 _swigc__p_wxEvtHandler
,
54747 _swigc__p_wxFSFile
,
54748 _swigc__p_wxFileSystem
,
54749 _swigc__p_wxFileSystemHandler
,
54750 _swigc__p_wxFlexGridSizer
,
54751 _swigc__p_wxFocusEvent
,
54754 _swigc__p_wxGBPosition
,
54755 _swigc__p_wxGBSizerItem
,
54756 _swigc__p_wxGBSpan
,
54757 _swigc__p_wxGIFHandler
,
54758 _swigc__p_wxGridBagSizer
,
54759 _swigc__p_wxGridSizer
,
54760 _swigc__p_wxICOHandler
,
54761 _swigc__p_wxIconizeEvent
,
54762 _swigc__p_wxIdleEvent
,
54764 _swigc__p_wxImageHandler
,
54765 _swigc__p_wxImageHistogram
,
54766 _swigc__p_wxImage_HSVValue
,
54767 _swigc__p_wxImage_RGBValue
,
54768 _swigc__p_wxIndividualLayoutConstraint
,
54769 _swigc__p_wxInitDialogEvent
,
54770 _swigc__p_wxInputStream
,
54771 _swigc__p_wxInternetFSHandler
,
54772 _swigc__p_wxItemContainer
,
54773 _swigc__p_wxJPEGHandler
,
54774 _swigc__p_wxKeyEvent
,
54775 _swigc__p_wxLayoutConstraints
,
54776 _swigc__p_wxMaximizeEvent
,
54777 _swigc__p_wxMemoryFSHandler
,
54779 _swigc__p_wxMenuBar
,
54780 _swigc__p_wxMenuBarBase
,
54781 _swigc__p_wxMenuEvent
,
54782 _swigc__p_wxMenuItem
,
54783 _swigc__p_wxMouseCaptureChangedEvent
,
54784 _swigc__p_wxMouseEvent
,
54785 _swigc__p_wxMoveEvent
,
54786 _swigc__p_wxNavigationKeyEvent
,
54787 _swigc__p_wxNcPaintEvent
,
54788 _swigc__p_wxNotifyEvent
,
54789 _swigc__p_wxObject
,
54790 _swigc__p_wxOutputStream
,
54791 _swigc__p_wxPCXHandler
,
54792 _swigc__p_wxPNGHandler
,
54793 _swigc__p_wxPNMHandler
,
54794 _swigc__p_wxPaintEvent
,
54795 _swigc__p_wxPaletteChangedEvent
,
54796 _swigc__p_wxPaperSize
,
54798 _swigc__p_wxPoint2D
,
54799 _swigc__p_wxPropagateOnce
,
54800 _swigc__p_wxPropagationDisabler
,
54802 _swigc__p_wxPyCommandEvent
,
54803 _swigc__p_wxPyDropTarget
,
54804 _swigc__p_wxPyEvent
,
54805 _swigc__p_wxPyFileSystemHandler
,
54806 _swigc__p_wxPyImageHandler
,
54807 _swigc__p_wxPyInputStream
,
54808 _swigc__p_wxPySizer
,
54809 _swigc__p_wxPyValidator
,
54810 _swigc__p_wxQuantize
,
54811 _swigc__p_wxQueryNewPaletteEvent
,
54812 _swigc__p_wxRealPoint
,
54814 _swigc__p_wxRegion
,
54815 _swigc__p_wxScrollEvent
,
54816 _swigc__p_wxScrollWinEvent
,
54817 _swigc__p_wxSetCursorEvent
,
54818 _swigc__p_wxShowEvent
,
54820 _swigc__p_wxSizeEvent
,
54822 _swigc__p_wxSizerItem
,
54823 _swigc__p_wxStaticBox
,
54824 _swigc__p_wxStaticBoxSizer
,
54825 _swigc__p_wxStdDialogButtonSizer
,
54826 _swigc__p_wxSysColourChangedEvent
,
54827 _swigc__p_wxTIFFHandler
,
54828 _swigc__p_wxToolTip
,
54829 _swigc__p_wxUpdateUIEvent
,
54830 _swigc__p_wxValidator
,
54831 _swigc__p_wxVisualAttributes
,
54832 _swigc__p_wxWindow
,
54833 _swigc__p_wxWindowCreateEvent
,
54834 _swigc__p_wxWindowDestroyEvent
,
54835 _swigc__p_wxXPMHandler
,
54836 _swigc__p_wxZipFSHandler
,
54840 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
54842 static swig_const_info swig_const_table
[] = {
54843 {0, 0, 0, 0.0, 0, 0}};
54848 /* -----------------------------------------------------------------------------
54849 * Type initialization:
54850 * This problem is tough by the requirement that no dynamic
54851 * memory is used. Also, since swig_type_info structures store pointers to
54852 * swig_cast_info structures and swig_cast_info structures store pointers back
54853 * to swig_type_info structures, we need some lookup code at initialization.
54854 * The idea is that swig generates all the structures that are needed.
54855 * The runtime then collects these partially filled structures.
54856 * The SWIG_InitializeModule function takes these initial arrays out of
54857 * swig_module, and does all the lookup, filling in the swig_module.types
54858 * array with the correct data and linking the correct swig_cast_info
54859 * structures together.
54861 * The generated swig_type_info structures are assigned staticly to an initial
54862 * array. We just loop though that array, and handle each type individually.
54863 * First we lookup if this type has been already loaded, and if so, use the
54864 * loaded structure instead of the generated one. Then we have to fill in the
54865 * cast linked list. The cast data is initially stored in something like a
54866 * two-dimensional array. Each row corresponds to a type (there are the same
54867 * number of rows as there are in the swig_type_initial array). Each entry in
54868 * a column is one of the swig_cast_info structures for that type.
54869 * The cast_initial array is actually an array of arrays, because each row has
54870 * a variable number of columns. So to actually build the cast linked list,
54871 * we find the array of casts associated with the type, and loop through it
54872 * adding the casts to the list. The one last trick we need to do is making
54873 * sure the type pointer in the swig_cast_info struct is correct.
54875 * First off, we lookup the cast->type name to see if it is already loaded.
54876 * There are three cases to handle:
54877 * 1) If the cast->type has already been loaded AND the type we are adding
54878 * casting info to has not been loaded (it is in this module), THEN we
54879 * replace the cast->type pointer with the type pointer that has already
54881 * 2) If BOTH types (the one we are adding casting info to, and the
54882 * cast->type) are loaded, THEN the cast info has already been loaded by
54883 * the previous module so we just ignore it.
54884 * 3) Finally, if cast->type has not already been loaded, then we add that
54885 * swig_cast_info to the linked list (because the cast->type) pointer will
54887 * ----------------------------------------------------------------------------- */
54897 #define SWIGRUNTIME_DEBUG
54901 SWIG_InitializeModule(void *clientdata
) {
54903 swig_module_info
*module_head
;
54904 static int init_run
= 0;
54906 clientdata
= clientdata
;
54908 if (init_run
) return;
54911 /* Initialize the swig_module */
54912 swig_module
.type_initial
= swig_type_initial
;
54913 swig_module
.cast_initial
= swig_cast_initial
;
54915 /* Try and load any already created modules */
54916 module_head
= SWIG_GetModule(clientdata
);
54918 swig_module
.next
= module_head
->next
;
54919 module_head
->next
= &swig_module
;
54921 /* This is the first module loaded */
54922 swig_module
.next
= &swig_module
;
54923 SWIG_SetModule(clientdata
, &swig_module
);
54926 /* Now work on filling in swig_module.types */
54927 #ifdef SWIGRUNTIME_DEBUG
54928 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
54930 for (i
= 0; i
< swig_module
.size
; ++i
) {
54931 swig_type_info
*type
= 0;
54932 swig_type_info
*ret
;
54933 swig_cast_info
*cast
;
54935 #ifdef SWIGRUNTIME_DEBUG
54936 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
54939 /* if there is another module already loaded */
54940 if (swig_module
.next
!= &swig_module
) {
54941 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
54944 /* Overwrite clientdata field */
54945 #ifdef SWIGRUNTIME_DEBUG
54946 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
54948 if (swig_module
.type_initial
[i
]->clientdata
) {
54949 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
54950 #ifdef SWIGRUNTIME_DEBUG
54951 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
54955 type
= swig_module
.type_initial
[i
];
54958 /* Insert casting types */
54959 cast
= swig_module
.cast_initial
[i
];
54960 while (cast
->type
) {
54961 /* Don't need to add information already in the list */
54963 #ifdef SWIGRUNTIME_DEBUG
54964 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
54966 if (swig_module
.next
!= &swig_module
) {
54967 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
54968 #ifdef SWIGRUNTIME_DEBUG
54969 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
54973 if (type
== swig_module
.type_initial
[i
]) {
54974 #ifdef SWIGRUNTIME_DEBUG
54975 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
54980 /* Check for casting already in the list */
54981 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
54982 #ifdef SWIGRUNTIME_DEBUG
54983 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
54985 if (!ocast
) ret
= 0;
54990 #ifdef SWIGRUNTIME_DEBUG
54991 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
54994 type
->cast
->prev
= cast
;
54995 cast
->next
= type
->cast
;
55001 /* Set entry in modules->types array equal to the type */
55002 swig_module
.types
[i
] = type
;
55004 swig_module
.types
[i
] = 0;
55006 #ifdef SWIGRUNTIME_DEBUG
55007 printf("**** SWIG_InitializeModule: Cast List ******\n");
55008 for (i
= 0; i
< swig_module
.size
; ++i
) {
55010 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
55011 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
55012 while (cast
->type
) {
55013 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
55017 printf("---- Total casts: %d\n",j
);
55019 printf("**** SWIG_InitializeModule: Cast List ******\n");
55023 /* This function will propagate the clientdata field of type to
55024 * any new swig_type_info structures that have been added into the list
55025 * of equivalent types. It is like calling
55026 * SWIG_TypeClientData(type, clientdata) a second time.
55029 SWIG_PropagateClientData(void) {
55031 swig_cast_info
*equiv
;
55032 static int init_run
= 0;
55034 if (init_run
) return;
55037 for (i
= 0; i
< swig_module
.size
; i
++) {
55038 if (swig_module
.types
[i
]->clientdata
) {
55039 equiv
= swig_module
.types
[i
]->cast
;
55041 if (!equiv
->converter
) {
55042 if (equiv
->type
&& !equiv
->type
->clientdata
)
55043 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
55045 equiv
= equiv
->next
;
55065 /* Python-specific SWIG API */
55066 #define SWIG_newvarlink() SWIG_Python_newvarlink()
55067 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
55068 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
55070 /* -----------------------------------------------------------------------------
55071 * global variable support code.
55072 * ----------------------------------------------------------------------------- */
55074 typedef struct swig_globalvar
{
55075 char *name
; /* Name of global variable */
55076 PyObject
*(*get_attr
)(void); /* Return the current value */
55077 int (*set_attr
)(PyObject
*); /* Set the value */
55078 struct swig_globalvar
*next
;
55081 typedef struct swig_varlinkobject
{
55083 swig_globalvar
*vars
;
55084 } swig_varlinkobject
;
55086 SWIGINTERN PyObject
*
55087 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
55088 return PyString_FromString("<Swig global variables>");
55091 SWIGINTERN PyObject
*
55092 swig_varlink_str(swig_varlinkobject
*v
) {
55093 PyObject
*str
= PyString_FromString("(");
55094 swig_globalvar
*var
;
55095 for (var
= v
->vars
; var
; var
=var
->next
) {
55096 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
55097 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
55099 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
55104 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
55105 PyObject
*str
= swig_varlink_str(v
);
55106 fprintf(fp
,"Swig global variables ");
55107 fprintf(fp
,"%s\n", PyString_AsString(str
));
55113 swig_varlink_dealloc(swig_varlinkobject
*v
) {
55114 swig_globalvar
*var
= v
->vars
;
55116 swig_globalvar
*n
= var
->next
;
55123 SWIGINTERN PyObject
*
55124 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
55125 PyObject
*res
= NULL
;
55126 swig_globalvar
*var
= v
->vars
;
55128 if (strcmp(var
->name
,n
) == 0) {
55129 res
= (*var
->get_attr
)();
55134 if (res
== NULL
&& !PyErr_Occurred()) {
55135 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
55141 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
55143 swig_globalvar
*var
= v
->vars
;
55145 if (strcmp(var
->name
,n
) == 0) {
55146 res
= (*var
->set_attr
)(p
);
55151 if (res
== 1 && !PyErr_Occurred()) {
55152 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
55157 SWIGINTERN PyTypeObject
*
55158 swig_varlink_type(void) {
55159 static char varlink__doc__
[] = "Swig var link object";
55160 static PyTypeObject varlink_type
;
55161 static int type_init
= 0;
55163 const PyTypeObject tmp
55165 PyObject_HEAD_INIT(NULL
)
55166 0, /* Number of items in variable part (ob_size) */
55167 (char *)"swigvarlink", /* Type name (tp_name) */
55168 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
55169 0, /* Itemsize (tp_itemsize) */
55170 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
55171 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
55172 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
55173 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
55174 0, /* tp_compare */
55175 (reprfunc
) swig_varlink_repr
, /* tp_repr */
55176 0, /* tp_as_number */
55177 0, /* tp_as_sequence */
55178 0, /* tp_as_mapping */
55181 (reprfunc
)swig_varlink_str
, /* tp_str */
55182 0, /* tp_getattro */
55183 0, /* tp_setattro */
55184 0, /* tp_as_buffer */
55186 varlink__doc__
, /* tp_doc */
55187 0, /* tp_traverse */
55189 0, /* tp_richcompare */
55190 0, /* tp_weaklistoffset */
55191 #if PY_VERSION_HEX >= 0x02020000
55192 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
55194 #if PY_VERSION_HEX >= 0x02030000
55197 #ifdef COUNT_ALLOCS
55198 0,0,0,0 /* tp_alloc -> tp_next */
55201 varlink_type
= tmp
;
55202 varlink_type
.ob_type
= &PyType_Type
;
55205 return &varlink_type
;
55208 /* Create a variable linking object for use later */
55209 SWIGINTERN PyObject
*
55210 SWIG_Python_newvarlink(void) {
55211 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
55215 return ((PyObject
*) result
);
55219 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
55220 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
55221 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
55223 size_t size
= strlen(name
)+1;
55224 gv
->name
= (char *)malloc(size
);
55226 strncpy(gv
->name
,name
,size
);
55227 gv
->get_attr
= get_attr
;
55228 gv
->set_attr
= set_attr
;
55229 gv
->next
= v
->vars
;
55235 SWIGINTERN PyObject
*
55237 static PyObject
*_SWIG_globals
= 0;
55238 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
55239 return _SWIG_globals
;
55242 /* -----------------------------------------------------------------------------
55243 * constants/methods manipulation
55244 * ----------------------------------------------------------------------------- */
55246 /* Install Constants */
55248 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
55251 for (i
= 0; constants
[i
].type
; ++i
) {
55252 switch(constants
[i
].type
) {
55253 case SWIG_PY_POINTER
:
55254 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
55256 case SWIG_PY_BINARY
:
55257 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
55264 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
55270 /* -----------------------------------------------------------------------------*/
55271 /* Fix SwigMethods to carry the callback ptrs when needed */
55272 /* -----------------------------------------------------------------------------*/
55275 SWIG_Python_FixMethods(PyMethodDef
*methods
,
55276 swig_const_info
*const_table
,
55277 swig_type_info
**types
,
55278 swig_type_info
**types_initial
) {
55280 for (i
= 0; methods
[i
].ml_name
; ++i
) {
55281 char *c
= methods
[i
].ml_doc
;
55282 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
55284 swig_const_info
*ci
= 0;
55285 char *name
= c
+ 10;
55286 for (j
= 0; const_table
[j
].type
; ++j
) {
55287 if (strncmp(const_table
[j
].name
, name
,
55288 strlen(const_table
[j
].name
)) == 0) {
55289 ci
= &(const_table
[j
]);
55294 size_t shift
= (ci
->ptype
) - types
;
55295 swig_type_info
*ty
= types_initial
[shift
];
55296 size_t ldoc
= (c
- methods
[i
].ml_doc
);
55297 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
55298 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
55301 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
55303 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
55305 strncpy(buff
, "swig_ptr: ", 10);
55307 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
55308 methods
[i
].ml_doc
= ndoc
;
55320 /* -----------------------------------------------------------------------------*
55321 * Partial Init method
55322 * -----------------------------------------------------------------------------*/
55327 SWIGEXPORT
void SWIG_init(void) {
55330 /* Fix SwigMethods to carry the callback ptrs when needed */
55331 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
55333 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
55334 d
= PyModule_GetDict(m
);
55336 SWIG_InitializeModule(0);
55337 SWIG_InstallConstants(d
,swig_const_table
);
55341 #ifndef wxPyUSE_EXPORT
55342 // Make our API structure a CObject so other modules can import it
55343 // from this module.
55344 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
55345 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
55349 SWIG_Python_SetConstant(d
, "NOT_FOUND",SWIG_From_int(static_cast< int >(wxNOT_FOUND
)));
55350 SWIG_Python_SetConstant(d
, "VSCROLL",SWIG_From_int(static_cast< int >(wxVSCROLL
)));
55351 SWIG_Python_SetConstant(d
, "HSCROLL",SWIG_From_int(static_cast< int >(wxHSCROLL
)));
55352 SWIG_Python_SetConstant(d
, "CAPTION",SWIG_From_int(static_cast< int >(wxCAPTION
)));
55353 SWIG_Python_SetConstant(d
, "DOUBLE_BORDER",SWIG_From_int(static_cast< int >(wxDOUBLE_BORDER
)));
55354 SWIG_Python_SetConstant(d
, "SUNKEN_BORDER",SWIG_From_int(static_cast< int >(wxSUNKEN_BORDER
)));
55355 SWIG_Python_SetConstant(d
, "RAISED_BORDER",SWIG_From_int(static_cast< int >(wxRAISED_BORDER
)));
55356 SWIG_Python_SetConstant(d
, "BORDER",SWIG_From_int(static_cast< int >(wxBORDER
)));
55357 SWIG_Python_SetConstant(d
, "SIMPLE_BORDER",SWIG_From_int(static_cast< int >(wxSIMPLE_BORDER
)));
55358 SWIG_Python_SetConstant(d
, "STATIC_BORDER",SWIG_From_int(static_cast< int >(wxSTATIC_BORDER
)));
55359 SWIG_Python_SetConstant(d
, "TRANSPARENT_WINDOW",SWIG_From_int(static_cast< int >(wxTRANSPARENT_WINDOW
)));
55360 SWIG_Python_SetConstant(d
, "NO_BORDER",SWIG_From_int(static_cast< int >(wxNO_BORDER
)));
55361 SWIG_Python_SetConstant(d
, "DEFAULT_CONTROL_BORDER",SWIG_From_int(static_cast< int >(wxDEFAULT_CONTROL_BORDER
)));
55362 SWIG_Python_SetConstant(d
, "DEFAULT_STATUSBAR_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_STATUSBAR_STYLE
)));
55363 SWIG_Python_SetConstant(d
, "TAB_TRAVERSAL",SWIG_From_int(static_cast< int >(wxTAB_TRAVERSAL
)));
55364 SWIG_Python_SetConstant(d
, "WANTS_CHARS",SWIG_From_int(static_cast< int >(wxWANTS_CHARS
)));
55365 SWIG_Python_SetConstant(d
, "POPUP_WINDOW",SWIG_From_int(static_cast< int >(wxPOPUP_WINDOW
)));
55366 SWIG_Python_SetConstant(d
, "CENTER_FRAME",SWIG_From_int(static_cast< int >(wxCENTER_FRAME
)));
55367 SWIG_Python_SetConstant(d
, "CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxCENTRE_ON_SCREEN
)));
55368 SWIG_Python_SetConstant(d
, "CENTER_ON_SCREEN",SWIG_From_int(static_cast< int >(wxCENTER_ON_SCREEN
)));
55369 SWIG_Python_SetConstant(d
, "CLIP_CHILDREN",SWIG_From_int(static_cast< int >(wxCLIP_CHILDREN
)));
55370 SWIG_Python_SetConstant(d
, "CLIP_SIBLINGS",SWIG_From_int(static_cast< int >(wxCLIP_SIBLINGS
)));
55371 SWIG_Python_SetConstant(d
, "ALWAYS_SHOW_SB",SWIG_From_int(static_cast< int >(wxALWAYS_SHOW_SB
)));
55372 SWIG_Python_SetConstant(d
, "RETAINED",SWIG_From_int(static_cast< int >(wxRETAINED
)));
55373 SWIG_Python_SetConstant(d
, "BACKINGSTORE",SWIG_From_int(static_cast< int >(wxBACKINGSTORE
)));
55374 SWIG_Python_SetConstant(d
, "COLOURED",SWIG_From_int(static_cast< int >(wxCOLOURED
)));
55375 SWIG_Python_SetConstant(d
, "FIXED_LENGTH",SWIG_From_int(static_cast< int >(wxFIXED_LENGTH
)));
55376 SWIG_Python_SetConstant(d
, "LB_NEEDED_SB",SWIG_From_int(static_cast< int >(wxLB_NEEDED_SB
)));
55377 SWIG_Python_SetConstant(d
, "LB_ALWAYS_SB",SWIG_From_int(static_cast< int >(wxLB_ALWAYS_SB
)));
55378 SWIG_Python_SetConstant(d
, "LB_SORT",SWIG_From_int(static_cast< int >(wxLB_SORT
)));
55379 SWIG_Python_SetConstant(d
, "LB_SINGLE",SWIG_From_int(static_cast< int >(wxLB_SINGLE
)));
55380 SWIG_Python_SetConstant(d
, "LB_MULTIPLE",SWIG_From_int(static_cast< int >(wxLB_MULTIPLE
)));
55381 SWIG_Python_SetConstant(d
, "LB_EXTENDED",SWIG_From_int(static_cast< int >(wxLB_EXTENDED
)));
55382 SWIG_Python_SetConstant(d
, "LB_OWNERDRAW",SWIG_From_int(static_cast< int >(wxLB_OWNERDRAW
)));
55383 SWIG_Python_SetConstant(d
, "LB_HSCROLL",SWIG_From_int(static_cast< int >(wxLB_HSCROLL
)));
55384 SWIG_Python_SetConstant(d
, "PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxPROCESS_ENTER
)));
55385 SWIG_Python_SetConstant(d
, "PASSWORD",SWIG_From_int(static_cast< int >(wxPASSWORD
)));
55386 SWIG_Python_SetConstant(d
, "CB_SIMPLE",SWIG_From_int(static_cast< int >(wxCB_SIMPLE
)));
55387 SWIG_Python_SetConstant(d
, "CB_DROPDOWN",SWIG_From_int(static_cast< int >(wxCB_DROPDOWN
)));
55388 SWIG_Python_SetConstant(d
, "CB_SORT",SWIG_From_int(static_cast< int >(wxCB_SORT
)));
55389 SWIG_Python_SetConstant(d
, "CB_READONLY",SWIG_From_int(static_cast< int >(wxCB_READONLY
)));
55390 SWIG_Python_SetConstant(d
, "RA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxRA_HORIZONTAL
)));
55391 SWIG_Python_SetConstant(d
, "RA_VERTICAL",SWIG_From_int(static_cast< int >(wxRA_VERTICAL
)));
55392 SWIG_Python_SetConstant(d
, "RA_SPECIFY_ROWS",SWIG_From_int(static_cast< int >(wxRA_SPECIFY_ROWS
)));
55393 SWIG_Python_SetConstant(d
, "RA_SPECIFY_COLS",SWIG_From_int(static_cast< int >(wxRA_SPECIFY_COLS
)));
55394 SWIG_Python_SetConstant(d
, "RA_USE_CHECKBOX",SWIG_From_int(static_cast< int >(wxRA_USE_CHECKBOX
)));
55395 SWIG_Python_SetConstant(d
, "RB_GROUP",SWIG_From_int(static_cast< int >(wxRB_GROUP
)));
55396 SWIG_Python_SetConstant(d
, "RB_SINGLE",SWIG_From_int(static_cast< int >(wxRB_SINGLE
)));
55397 SWIG_Python_SetConstant(d
, "SB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSB_HORIZONTAL
)));
55398 SWIG_Python_SetConstant(d
, "SB_VERTICAL",SWIG_From_int(static_cast< int >(wxSB_VERTICAL
)));
55399 SWIG_Python_SetConstant(d
, "RB_USE_CHECKBOX",SWIG_From_int(static_cast< int >(wxRB_USE_CHECKBOX
)));
55400 SWIG_Python_SetConstant(d
, "ST_SIZEGRIP",SWIG_From_int(static_cast< int >(wxST_SIZEGRIP
)));
55401 SWIG_Python_SetConstant(d
, "ST_NO_AUTORESIZE",SWIG_From_int(static_cast< int >(wxST_NO_AUTORESIZE
)));
55402 SWIG_Python_SetConstant(d
, "FLOOD_SURFACE",SWIG_From_int(static_cast< int >(wxFLOOD_SURFACE
)));
55403 SWIG_Python_SetConstant(d
, "FLOOD_BORDER",SWIG_From_int(static_cast< int >(wxFLOOD_BORDER
)));
55404 SWIG_Python_SetConstant(d
, "ODDEVEN_RULE",SWIG_From_int(static_cast< int >(wxODDEVEN_RULE
)));
55405 SWIG_Python_SetConstant(d
, "WINDING_RULE",SWIG_From_int(static_cast< int >(wxWINDING_RULE
)));
55406 SWIG_Python_SetConstant(d
, "TOOL_TOP",SWIG_From_int(static_cast< int >(wxTOOL_TOP
)));
55407 SWIG_Python_SetConstant(d
, "TOOL_BOTTOM",SWIG_From_int(static_cast< int >(wxTOOL_BOTTOM
)));
55408 SWIG_Python_SetConstant(d
, "TOOL_LEFT",SWIG_From_int(static_cast< int >(wxTOOL_LEFT
)));
55409 SWIG_Python_SetConstant(d
, "TOOL_RIGHT",SWIG_From_int(static_cast< int >(wxTOOL_RIGHT
)));
55410 SWIG_Python_SetConstant(d
, "OK",SWIG_From_int(static_cast< int >(wxOK
)));
55411 SWIG_Python_SetConstant(d
, "YES_NO",SWIG_From_int(static_cast< int >(wxYES_NO
)));
55412 SWIG_Python_SetConstant(d
, "CANCEL",SWIG_From_int(static_cast< int >(wxCANCEL
)));
55413 SWIG_Python_SetConstant(d
, "YES",SWIG_From_int(static_cast< int >(wxYES
)));
55414 SWIG_Python_SetConstant(d
, "NO",SWIG_From_int(static_cast< int >(wxNO
)));
55415 SWIG_Python_SetConstant(d
, "NO_DEFAULT",SWIG_From_int(static_cast< int >(wxNO_DEFAULT
)));
55416 SWIG_Python_SetConstant(d
, "YES_DEFAULT",SWIG_From_int(static_cast< int >(wxYES_DEFAULT
)));
55417 SWIG_Python_SetConstant(d
, "ICON_EXCLAMATION",SWIG_From_int(static_cast< int >(wxICON_EXCLAMATION
)));
55418 SWIG_Python_SetConstant(d
, "ICON_HAND",SWIG_From_int(static_cast< int >(wxICON_HAND
)));
55419 SWIG_Python_SetConstant(d
, "ICON_QUESTION",SWIG_From_int(static_cast< int >(wxICON_QUESTION
)));
55420 SWIG_Python_SetConstant(d
, "ICON_INFORMATION",SWIG_From_int(static_cast< int >(wxICON_INFORMATION
)));
55421 SWIG_Python_SetConstant(d
, "ICON_STOP",SWIG_From_int(static_cast< int >(wxICON_STOP
)));
55422 SWIG_Python_SetConstant(d
, "ICON_ASTERISK",SWIG_From_int(static_cast< int >(wxICON_ASTERISK
)));
55423 SWIG_Python_SetConstant(d
, "ICON_MASK",SWIG_From_int(static_cast< int >(wxICON_MASK
)));
55424 SWIG_Python_SetConstant(d
, "ICON_WARNING",SWIG_From_int(static_cast< int >(wxICON_WARNING
)));
55425 SWIG_Python_SetConstant(d
, "ICON_ERROR",SWIG_From_int(static_cast< int >(wxICON_ERROR
)));
55426 SWIG_Python_SetConstant(d
, "FORWARD",SWIG_From_int(static_cast< int >(wxFORWARD
)));
55427 SWIG_Python_SetConstant(d
, "BACKWARD",SWIG_From_int(static_cast< int >(wxBACKWARD
)));
55428 SWIG_Python_SetConstant(d
, "RESET",SWIG_From_int(static_cast< int >(wxRESET
)));
55429 SWIG_Python_SetConstant(d
, "HELP",SWIG_From_int(static_cast< int >(wxHELP
)));
55430 SWIG_Python_SetConstant(d
, "MORE",SWIG_From_int(static_cast< int >(wxMORE
)));
55431 SWIG_Python_SetConstant(d
, "SETUP",SWIG_From_int(static_cast< int >(wxSETUP
)));
55432 SWIG_Python_SetConstant(d
, "SIZE_AUTO_WIDTH",SWIG_From_int(static_cast< int >(wxSIZE_AUTO_WIDTH
)));
55433 SWIG_Python_SetConstant(d
, "SIZE_AUTO_HEIGHT",SWIG_From_int(static_cast< int >(wxSIZE_AUTO_HEIGHT
)));
55434 SWIG_Python_SetConstant(d
, "SIZE_AUTO",SWIG_From_int(static_cast< int >(wxSIZE_AUTO
)));
55435 SWIG_Python_SetConstant(d
, "SIZE_USE_EXISTING",SWIG_From_int(static_cast< int >(wxSIZE_USE_EXISTING
)));
55436 SWIG_Python_SetConstant(d
, "SIZE_ALLOW_MINUS_ONE",SWIG_From_int(static_cast< int >(wxSIZE_ALLOW_MINUS_ONE
)));
55437 SWIG_Python_SetConstant(d
, "SIZE_FORCE",SWIG_From_int(static_cast< int >(wxSIZE_FORCE
)));
55438 SWIG_Python_SetConstant(d
, "PORTRAIT",SWIG_From_int(static_cast< int >(wxPORTRAIT
)));
55439 SWIG_Python_SetConstant(d
, "LANDSCAPE",SWIG_From_int(static_cast< int >(wxLANDSCAPE
)));
55440 SWIG_Python_SetConstant(d
, "PRINT_QUALITY_HIGH",SWIG_From_int(static_cast< int >(wxPRINT_QUALITY_HIGH
)));
55441 SWIG_Python_SetConstant(d
, "PRINT_QUALITY_MEDIUM",SWIG_From_int(static_cast< int >(wxPRINT_QUALITY_MEDIUM
)));
55442 SWIG_Python_SetConstant(d
, "PRINT_QUALITY_LOW",SWIG_From_int(static_cast< int >(wxPRINT_QUALITY_LOW
)));
55443 SWIG_Python_SetConstant(d
, "PRINT_QUALITY_DRAFT",SWIG_From_int(static_cast< int >(wxPRINT_QUALITY_DRAFT
)));
55444 SWIG_Python_SetConstant(d
, "ID_ANY",SWIG_From_int(static_cast< int >(wxID_ANY
)));
55445 SWIG_Python_SetConstant(d
, "ID_SEPARATOR",SWIG_From_int(static_cast< int >(wxID_SEPARATOR
)));
55446 SWIG_Python_SetConstant(d
, "ID_NONE",SWIG_From_int(static_cast< int >(wxID_NONE
)));
55447 SWIG_Python_SetConstant(d
, "ID_LOWEST",SWIG_From_int(static_cast< int >(wxID_LOWEST
)));
55448 SWIG_Python_SetConstant(d
, "ID_OPEN",SWIG_From_int(static_cast< int >(wxID_OPEN
)));
55449 SWIG_Python_SetConstant(d
, "ID_CLOSE",SWIG_From_int(static_cast< int >(wxID_CLOSE
)));
55450 SWIG_Python_SetConstant(d
, "ID_NEW",SWIG_From_int(static_cast< int >(wxID_NEW
)));
55451 SWIG_Python_SetConstant(d
, "ID_SAVE",SWIG_From_int(static_cast< int >(wxID_SAVE
)));
55452 SWIG_Python_SetConstant(d
, "ID_SAVEAS",SWIG_From_int(static_cast< int >(wxID_SAVEAS
)));
55453 SWIG_Python_SetConstant(d
, "ID_REVERT",SWIG_From_int(static_cast< int >(wxID_REVERT
)));
55454 SWIG_Python_SetConstant(d
, "ID_EXIT",SWIG_From_int(static_cast< int >(wxID_EXIT
)));
55455 SWIG_Python_SetConstant(d
, "ID_UNDO",SWIG_From_int(static_cast< int >(wxID_UNDO
)));
55456 SWIG_Python_SetConstant(d
, "ID_REDO",SWIG_From_int(static_cast< int >(wxID_REDO
)));
55457 SWIG_Python_SetConstant(d
, "ID_HELP",SWIG_From_int(static_cast< int >(wxID_HELP
)));
55458 SWIG_Python_SetConstant(d
, "ID_PRINT",SWIG_From_int(static_cast< int >(wxID_PRINT
)));
55459 SWIG_Python_SetConstant(d
, "ID_PRINT_SETUP",SWIG_From_int(static_cast< int >(wxID_PRINT_SETUP
)));
55460 SWIG_Python_SetConstant(d
, "ID_PREVIEW",SWIG_From_int(static_cast< int >(wxID_PREVIEW
)));
55461 SWIG_Python_SetConstant(d
, "ID_ABOUT",SWIG_From_int(static_cast< int >(wxID_ABOUT
)));
55462 SWIG_Python_SetConstant(d
, "ID_HELP_CONTENTS",SWIG_From_int(static_cast< int >(wxID_HELP_CONTENTS
)));
55463 SWIG_Python_SetConstant(d
, "ID_HELP_COMMANDS",SWIG_From_int(static_cast< int >(wxID_HELP_COMMANDS
)));
55464 SWIG_Python_SetConstant(d
, "ID_HELP_PROCEDURES",SWIG_From_int(static_cast< int >(wxID_HELP_PROCEDURES
)));
55465 SWIG_Python_SetConstant(d
, "ID_HELP_CONTEXT",SWIG_From_int(static_cast< int >(wxID_HELP_CONTEXT
)));
55466 SWIG_Python_SetConstant(d
, "ID_CLOSE_ALL",SWIG_From_int(static_cast< int >(wxID_CLOSE_ALL
)));
55467 SWIG_Python_SetConstant(d
, "ID_PREFERENCES",SWIG_From_int(static_cast< int >(wxID_PREFERENCES
)));
55468 SWIG_Python_SetConstant(d
, "ID_CUT",SWIG_From_int(static_cast< int >(wxID_CUT
)));
55469 SWIG_Python_SetConstant(d
, "ID_COPY",SWIG_From_int(static_cast< int >(wxID_COPY
)));
55470 SWIG_Python_SetConstant(d
, "ID_PASTE",SWIG_From_int(static_cast< int >(wxID_PASTE
)));
55471 SWIG_Python_SetConstant(d
, "ID_CLEAR",SWIG_From_int(static_cast< int >(wxID_CLEAR
)));
55472 SWIG_Python_SetConstant(d
, "ID_FIND",SWIG_From_int(static_cast< int >(wxID_FIND
)));
55473 SWIG_Python_SetConstant(d
, "ID_DUPLICATE",SWIG_From_int(static_cast< int >(wxID_DUPLICATE
)));
55474 SWIG_Python_SetConstant(d
, "ID_SELECTALL",SWIG_From_int(static_cast< int >(wxID_SELECTALL
)));
55475 SWIG_Python_SetConstant(d
, "ID_DELETE",SWIG_From_int(static_cast< int >(wxID_DELETE
)));
55476 SWIG_Python_SetConstant(d
, "ID_REPLACE",SWIG_From_int(static_cast< int >(wxID_REPLACE
)));
55477 SWIG_Python_SetConstant(d
, "ID_REPLACE_ALL",SWIG_From_int(static_cast< int >(wxID_REPLACE_ALL
)));
55478 SWIG_Python_SetConstant(d
, "ID_PROPERTIES",SWIG_From_int(static_cast< int >(wxID_PROPERTIES
)));
55479 SWIG_Python_SetConstant(d
, "ID_VIEW_DETAILS",SWIG_From_int(static_cast< int >(wxID_VIEW_DETAILS
)));
55480 SWIG_Python_SetConstant(d
, "ID_VIEW_LARGEICONS",SWIG_From_int(static_cast< int >(wxID_VIEW_LARGEICONS
)));
55481 SWIG_Python_SetConstant(d
, "ID_VIEW_SMALLICONS",SWIG_From_int(static_cast< int >(wxID_VIEW_SMALLICONS
)));
55482 SWIG_Python_SetConstant(d
, "ID_VIEW_LIST",SWIG_From_int(static_cast< int >(wxID_VIEW_LIST
)));
55483 SWIG_Python_SetConstant(d
, "ID_VIEW_SORTDATE",SWIG_From_int(static_cast< int >(wxID_VIEW_SORTDATE
)));
55484 SWIG_Python_SetConstant(d
, "ID_VIEW_SORTNAME",SWIG_From_int(static_cast< int >(wxID_VIEW_SORTNAME
)));
55485 SWIG_Python_SetConstant(d
, "ID_VIEW_SORTSIZE",SWIG_From_int(static_cast< int >(wxID_VIEW_SORTSIZE
)));
55486 SWIG_Python_SetConstant(d
, "ID_VIEW_SORTTYPE",SWIG_From_int(static_cast< int >(wxID_VIEW_SORTTYPE
)));
55487 SWIG_Python_SetConstant(d
, "ID_FILE1",SWIG_From_int(static_cast< int >(wxID_FILE1
)));
55488 SWIG_Python_SetConstant(d
, "ID_FILE2",SWIG_From_int(static_cast< int >(wxID_FILE2
)));
55489 SWIG_Python_SetConstant(d
, "ID_FILE3",SWIG_From_int(static_cast< int >(wxID_FILE3
)));
55490 SWIG_Python_SetConstant(d
, "ID_FILE4",SWIG_From_int(static_cast< int >(wxID_FILE4
)));
55491 SWIG_Python_SetConstant(d
, "ID_FILE5",SWIG_From_int(static_cast< int >(wxID_FILE5
)));
55492 SWIG_Python_SetConstant(d
, "ID_FILE6",SWIG_From_int(static_cast< int >(wxID_FILE6
)));
55493 SWIG_Python_SetConstant(d
, "ID_FILE7",SWIG_From_int(static_cast< int >(wxID_FILE7
)));
55494 SWIG_Python_SetConstant(d
, "ID_FILE8",SWIG_From_int(static_cast< int >(wxID_FILE8
)));
55495 SWIG_Python_SetConstant(d
, "ID_FILE9",SWIG_From_int(static_cast< int >(wxID_FILE9
)));
55496 SWIG_Python_SetConstant(d
, "ID_OK",SWIG_From_int(static_cast< int >(wxID_OK
)));
55497 SWIG_Python_SetConstant(d
, "ID_CANCEL",SWIG_From_int(static_cast< int >(wxID_CANCEL
)));
55498 SWIG_Python_SetConstant(d
, "ID_APPLY",SWIG_From_int(static_cast< int >(wxID_APPLY
)));
55499 SWIG_Python_SetConstant(d
, "ID_YES",SWIG_From_int(static_cast< int >(wxID_YES
)));
55500 SWIG_Python_SetConstant(d
, "ID_NO",SWIG_From_int(static_cast< int >(wxID_NO
)));
55501 SWIG_Python_SetConstant(d
, "ID_STATIC",SWIG_From_int(static_cast< int >(wxID_STATIC
)));
55502 SWIG_Python_SetConstant(d
, "ID_FORWARD",SWIG_From_int(static_cast< int >(wxID_FORWARD
)));
55503 SWIG_Python_SetConstant(d
, "ID_BACKWARD",SWIG_From_int(static_cast< int >(wxID_BACKWARD
)));
55504 SWIG_Python_SetConstant(d
, "ID_DEFAULT",SWIG_From_int(static_cast< int >(wxID_DEFAULT
)));
55505 SWIG_Python_SetConstant(d
, "ID_MORE",SWIG_From_int(static_cast< int >(wxID_MORE
)));
55506 SWIG_Python_SetConstant(d
, "ID_SETUP",SWIG_From_int(static_cast< int >(wxID_SETUP
)));
55507 SWIG_Python_SetConstant(d
, "ID_RESET",SWIG_From_int(static_cast< int >(wxID_RESET
)));
55508 SWIG_Python_SetConstant(d
, "ID_CONTEXT_HELP",SWIG_From_int(static_cast< int >(wxID_CONTEXT_HELP
)));
55509 SWIG_Python_SetConstant(d
, "ID_YESTOALL",SWIG_From_int(static_cast< int >(wxID_YESTOALL
)));
55510 SWIG_Python_SetConstant(d
, "ID_NOTOALL",SWIG_From_int(static_cast< int >(wxID_NOTOALL
)));
55511 SWIG_Python_SetConstant(d
, "ID_ABORT",SWIG_From_int(static_cast< int >(wxID_ABORT
)));
55512 SWIG_Python_SetConstant(d
, "ID_RETRY",SWIG_From_int(static_cast< int >(wxID_RETRY
)));
55513 SWIG_Python_SetConstant(d
, "ID_IGNORE",SWIG_From_int(static_cast< int >(wxID_IGNORE
)));
55514 SWIG_Python_SetConstant(d
, "ID_ADD",SWIG_From_int(static_cast< int >(wxID_ADD
)));
55515 SWIG_Python_SetConstant(d
, "ID_REMOVE",SWIG_From_int(static_cast< int >(wxID_REMOVE
)));
55516 SWIG_Python_SetConstant(d
, "ID_UP",SWIG_From_int(static_cast< int >(wxID_UP
)));
55517 SWIG_Python_SetConstant(d
, "ID_DOWN",SWIG_From_int(static_cast< int >(wxID_DOWN
)));
55518 SWIG_Python_SetConstant(d
, "ID_HOME",SWIG_From_int(static_cast< int >(wxID_HOME
)));
55519 SWIG_Python_SetConstant(d
, "ID_REFRESH",SWIG_From_int(static_cast< int >(wxID_REFRESH
)));
55520 SWIG_Python_SetConstant(d
, "ID_STOP",SWIG_From_int(static_cast< int >(wxID_STOP
)));
55521 SWIG_Python_SetConstant(d
, "ID_INDEX",SWIG_From_int(static_cast< int >(wxID_INDEX
)));
55522 SWIG_Python_SetConstant(d
, "ID_BOLD",SWIG_From_int(static_cast< int >(wxID_BOLD
)));
55523 SWIG_Python_SetConstant(d
, "ID_ITALIC",SWIG_From_int(static_cast< int >(wxID_ITALIC
)));
55524 SWIG_Python_SetConstant(d
, "ID_JUSTIFY_CENTER",SWIG_From_int(static_cast< int >(wxID_JUSTIFY_CENTER
)));
55525 SWIG_Python_SetConstant(d
, "ID_JUSTIFY_FILL",SWIG_From_int(static_cast< int >(wxID_JUSTIFY_FILL
)));
55526 SWIG_Python_SetConstant(d
, "ID_JUSTIFY_RIGHT",SWIG_From_int(static_cast< int >(wxID_JUSTIFY_RIGHT
)));
55527 SWIG_Python_SetConstant(d
, "ID_JUSTIFY_LEFT",SWIG_From_int(static_cast< int >(wxID_JUSTIFY_LEFT
)));
55528 SWIG_Python_SetConstant(d
, "ID_UNDERLINE",SWIG_From_int(static_cast< int >(wxID_UNDERLINE
)));
55529 SWIG_Python_SetConstant(d
, "ID_INDENT",SWIG_From_int(static_cast< int >(wxID_INDENT
)));
55530 SWIG_Python_SetConstant(d
, "ID_UNINDENT",SWIG_From_int(static_cast< int >(wxID_UNINDENT
)));
55531 SWIG_Python_SetConstant(d
, "ID_ZOOM_100",SWIG_From_int(static_cast< int >(wxID_ZOOM_100
)));
55532 SWIG_Python_SetConstant(d
, "ID_ZOOM_FIT",SWIG_From_int(static_cast< int >(wxID_ZOOM_FIT
)));
55533 SWIG_Python_SetConstant(d
, "ID_ZOOM_IN",SWIG_From_int(static_cast< int >(wxID_ZOOM_IN
)));
55534 SWIG_Python_SetConstant(d
, "ID_ZOOM_OUT",SWIG_From_int(static_cast< int >(wxID_ZOOM_OUT
)));
55535 SWIG_Python_SetConstant(d
, "ID_UNDELETE",SWIG_From_int(static_cast< int >(wxID_UNDELETE
)));
55536 SWIG_Python_SetConstant(d
, "ID_REVERT_TO_SAVED",SWIG_From_int(static_cast< int >(wxID_REVERT_TO_SAVED
)));
55537 SWIG_Python_SetConstant(d
, "ID_HIGHEST",SWIG_From_int(static_cast< int >(wxID_HIGHEST
)));
55538 SWIG_Python_SetConstant(d
, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN
)));
55539 SWIG_Python_SetConstant(d
, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE
)));
55540 SWIG_Python_SetConstant(d
, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY
)));
55541 SWIG_Python_SetConstant(d
, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT
)));
55542 SWIG_Python_SetConstant(d
, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST
)));
55543 SWIG_Python_SetConstant(d
, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE
)));
55544 SWIG_Python_SetConstant(d
, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR
)));
55545 SWIG_Python_SetConstant(d
, "ACCEL_ALT",SWIG_From_int(static_cast< int >(wxACCEL_ALT
)));
55546 SWIG_Python_SetConstant(d
, "ACCEL_CTRL",SWIG_From_int(static_cast< int >(wxACCEL_CTRL
)));
55547 SWIG_Python_SetConstant(d
, "ACCEL_SHIFT",SWIG_From_int(static_cast< int >(wxACCEL_SHIFT
)));
55548 SWIG_Python_SetConstant(d
, "ACCEL_NORMAL",SWIG_From_int(static_cast< int >(wxACCEL_NORMAL
)));
55549 SWIG_Python_SetConstant(d
, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE
)));
55550 SWIG_Python_SetConstant(d
, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL
)));
55551 SWIG_Python_SetConstant(d
, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT
)));
55552 SWIG_Python_SetConstant(d
, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME
)));
55553 SWIG_Python_SetConstant(d
, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME
)));
55554 SWIG_Python_SetConstant(d
, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME
)));
55555 SWIG_Python_SetConstant(d
, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH
)));
55556 SWIG_Python_SetConstant(d
, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP
)));
55557 SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
)));
55558 SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
)));
55559 SWIG_Python_SetConstant(d
, "MENU_TEAROFF",SWIG_From_int(static_cast< int >(wxMENU_TEAROFF
)));
55560 SWIG_Python_SetConstant(d
, "MB_DOCKABLE",SWIG_From_int(static_cast< int >(wxMB_DOCKABLE
)));
55561 SWIG_Python_SetConstant(d
, "NO_FULL_REPAINT_ON_RESIZE",SWIG_From_int(static_cast< int >(wxNO_FULL_REPAINT_ON_RESIZE
)));
55562 SWIG_Python_SetConstant(d
, "FULL_REPAINT_ON_RESIZE",SWIG_From_int(static_cast< int >(wxFULL_REPAINT_ON_RESIZE
)));
55563 SWIG_Python_SetConstant(d
, "LI_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLI_HORIZONTAL
)));
55564 SWIG_Python_SetConstant(d
, "LI_VERTICAL",SWIG_From_int(static_cast< int >(wxLI_VERTICAL
)));
55565 SWIG_Python_SetConstant(d
, "WS_EX_VALIDATE_RECURSIVELY",SWIG_From_int(static_cast< int >(wxWS_EX_VALIDATE_RECURSIVELY
)));
55566 SWIG_Python_SetConstant(d
, "WS_EX_BLOCK_EVENTS",SWIG_From_int(static_cast< int >(wxWS_EX_BLOCK_EVENTS
)));
55567 SWIG_Python_SetConstant(d
, "WS_EX_TRANSIENT",SWIG_From_int(static_cast< int >(wxWS_EX_TRANSIENT
)));
55568 SWIG_Python_SetConstant(d
, "WS_EX_THEMED_BACKGROUND",SWIG_From_int(static_cast< int >(wxWS_EX_THEMED_BACKGROUND
)));
55569 SWIG_Python_SetConstant(d
, "WS_EX_PROCESS_IDLE",SWIG_From_int(static_cast< int >(wxWS_EX_PROCESS_IDLE
)));
55570 SWIG_Python_SetConstant(d
, "WS_EX_PROCESS_UI_UPDATES",SWIG_From_int(static_cast< int >(wxWS_EX_PROCESS_UI_UPDATES
)));
55571 SWIG_Python_SetConstant(d
, "MM_TEXT",SWIG_From_int(static_cast< int >(wxMM_TEXT
)));
55572 SWIG_Python_SetConstant(d
, "MM_LOMETRIC",SWIG_From_int(static_cast< int >(wxMM_LOMETRIC
)));
55573 SWIG_Python_SetConstant(d
, "MM_HIMETRIC",SWIG_From_int(static_cast< int >(wxMM_HIMETRIC
)));
55574 SWIG_Python_SetConstant(d
, "MM_LOENGLISH",SWIG_From_int(static_cast< int >(wxMM_LOENGLISH
)));
55575 SWIG_Python_SetConstant(d
, "MM_HIENGLISH",SWIG_From_int(static_cast< int >(wxMM_HIENGLISH
)));
55576 SWIG_Python_SetConstant(d
, "MM_TWIPS",SWIG_From_int(static_cast< int >(wxMM_TWIPS
)));
55577 SWIG_Python_SetConstant(d
, "MM_ISOTROPIC",SWIG_From_int(static_cast< int >(wxMM_ISOTROPIC
)));
55578 SWIG_Python_SetConstant(d
, "MM_ANISOTROPIC",SWIG_From_int(static_cast< int >(wxMM_ANISOTROPIC
)));
55579 SWIG_Python_SetConstant(d
, "MM_POINTS",SWIG_From_int(static_cast< int >(wxMM_POINTS
)));
55580 SWIG_Python_SetConstant(d
, "MM_METRIC",SWIG_From_int(static_cast< int >(wxMM_METRIC
)));
55581 SWIG_Python_SetConstant(d
, "CENTRE",SWIG_From_int(static_cast< int >(wxCENTRE
)));
55582 SWIG_Python_SetConstant(d
, "CENTER",SWIG_From_int(static_cast< int >(wxCENTER
)));
55583 SWIG_Python_SetConstant(d
, "HORIZONTAL",SWIG_From_int(static_cast< int >(wxHORIZONTAL
)));
55584 SWIG_Python_SetConstant(d
, "VERTICAL",SWIG_From_int(static_cast< int >(wxVERTICAL
)));
55585 SWIG_Python_SetConstant(d
, "BOTH",SWIG_From_int(static_cast< int >(wxBOTH
)));
55586 SWIG_Python_SetConstant(d
, "LEFT",SWIG_From_int(static_cast< int >(wxLEFT
)));
55587 SWIG_Python_SetConstant(d
, "RIGHT",SWIG_From_int(static_cast< int >(wxRIGHT
)));
55588 SWIG_Python_SetConstant(d
, "UP",SWIG_From_int(static_cast< int >(wxUP
)));
55589 SWIG_Python_SetConstant(d
, "DOWN",SWIG_From_int(static_cast< int >(wxDOWN
)));
55590 SWIG_Python_SetConstant(d
, "TOP",SWIG_From_int(static_cast< int >(wxTOP
)));
55591 SWIG_Python_SetConstant(d
, "BOTTOM",SWIG_From_int(static_cast< int >(wxBOTTOM
)));
55592 SWIG_Python_SetConstant(d
, "NORTH",SWIG_From_int(static_cast< int >(wxNORTH
)));
55593 SWIG_Python_SetConstant(d
, "SOUTH",SWIG_From_int(static_cast< int >(wxSOUTH
)));
55594 SWIG_Python_SetConstant(d
, "WEST",SWIG_From_int(static_cast< int >(wxWEST
)));
55595 SWIG_Python_SetConstant(d
, "EAST",SWIG_From_int(static_cast< int >(wxEAST
)));
55596 SWIG_Python_SetConstant(d
, "ALL",SWIG_From_int(static_cast< int >(wxALL
)));
55597 SWIG_Python_SetConstant(d
, "ALIGN_NOT",SWIG_From_int(static_cast< int >(wxALIGN_NOT
)));
55598 SWIG_Python_SetConstant(d
, "ALIGN_CENTER_HORIZONTAL",SWIG_From_int(static_cast< int >(wxALIGN_CENTER_HORIZONTAL
)));
55599 SWIG_Python_SetConstant(d
, "ALIGN_CENTRE_HORIZONTAL",SWIG_From_int(static_cast< int >(wxALIGN_CENTRE_HORIZONTAL
)));
55600 SWIG_Python_SetConstant(d
, "ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxALIGN_LEFT
)));
55601 SWIG_Python_SetConstant(d
, "ALIGN_TOP",SWIG_From_int(static_cast< int >(wxALIGN_TOP
)));
55602 SWIG_Python_SetConstant(d
, "ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxALIGN_RIGHT
)));
55603 SWIG_Python_SetConstant(d
, "ALIGN_BOTTOM",SWIG_From_int(static_cast< int >(wxALIGN_BOTTOM
)));
55604 SWIG_Python_SetConstant(d
, "ALIGN_CENTER_VERTICAL",SWIG_From_int(static_cast< int >(wxALIGN_CENTER_VERTICAL
)));
55605 SWIG_Python_SetConstant(d
, "ALIGN_CENTRE_VERTICAL",SWIG_From_int(static_cast< int >(wxALIGN_CENTRE_VERTICAL
)));
55606 SWIG_Python_SetConstant(d
, "ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxALIGN_CENTER
)));
55607 SWIG_Python_SetConstant(d
, "ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxALIGN_CENTRE
)));
55608 SWIG_Python_SetConstant(d
, "ALIGN_MASK",SWIG_From_int(static_cast< int >(wxALIGN_MASK
)));
55609 SWIG_Python_SetConstant(d
, "STRETCH_NOT",SWIG_From_int(static_cast< int >(wxSTRETCH_NOT
)));
55610 SWIG_Python_SetConstant(d
, "SHRINK",SWIG_From_int(static_cast< int >(wxSHRINK
)));
55611 SWIG_Python_SetConstant(d
, "GROW",SWIG_From_int(static_cast< int >(wxGROW
)));
55612 SWIG_Python_SetConstant(d
, "EXPAND",SWIG_From_int(static_cast< int >(wxEXPAND
)));
55613 SWIG_Python_SetConstant(d
, "SHAPED",SWIG_From_int(static_cast< int >(wxSHAPED
)));
55614 SWIG_Python_SetConstant(d
, "FIXED_MINSIZE",SWIG_From_int(static_cast< int >(wxFIXED_MINSIZE
)));
55615 SWIG_Python_SetConstant(d
, "TILE",SWIG_From_int(static_cast< int >(wxTILE
)));
55616 SWIG_Python_SetConstant(d
, "ADJUST_MINSIZE",SWIG_From_int(static_cast< int >(wxADJUST_MINSIZE
)));
55617 SWIG_Python_SetConstant(d
, "BORDER_DEFAULT",SWIG_From_int(static_cast< int >(wxBORDER_DEFAULT
)));
55618 SWIG_Python_SetConstant(d
, "BORDER_NONE",SWIG_From_int(static_cast< int >(wxBORDER_NONE
)));
55619 SWIG_Python_SetConstant(d
, "BORDER_STATIC",SWIG_From_int(static_cast< int >(wxBORDER_STATIC
)));
55620 SWIG_Python_SetConstant(d
, "BORDER_SIMPLE",SWIG_From_int(static_cast< int >(wxBORDER_SIMPLE
)));
55621 SWIG_Python_SetConstant(d
, "BORDER_RAISED",SWIG_From_int(static_cast< int >(wxBORDER_RAISED
)));
55622 SWIG_Python_SetConstant(d
, "BORDER_SUNKEN",SWIG_From_int(static_cast< int >(wxBORDER_SUNKEN
)));
55623 SWIG_Python_SetConstant(d
, "BORDER_DOUBLE",SWIG_From_int(static_cast< int >(wxBORDER_DOUBLE
)));
55624 SWIG_Python_SetConstant(d
, "BORDER_MASK",SWIG_From_int(static_cast< int >(wxBORDER_MASK
)));
55625 SWIG_Python_SetConstant(d
, "BG_STYLE_SYSTEM",SWIG_From_int(static_cast< int >(wxBG_STYLE_SYSTEM
)));
55626 SWIG_Python_SetConstant(d
, "BG_STYLE_COLOUR",SWIG_From_int(static_cast< int >(wxBG_STYLE_COLOUR
)));
55627 SWIG_Python_SetConstant(d
, "BG_STYLE_CUSTOM",SWIG_From_int(static_cast< int >(wxBG_STYLE_CUSTOM
)));
55628 SWIG_Python_SetConstant(d
, "DEFAULT",SWIG_From_int(static_cast< int >(wxDEFAULT
)));
55629 SWIG_Python_SetConstant(d
, "DECORATIVE",SWIG_From_int(static_cast< int >(wxDECORATIVE
)));
55630 SWIG_Python_SetConstant(d
, "ROMAN",SWIG_From_int(static_cast< int >(wxROMAN
)));
55631 SWIG_Python_SetConstant(d
, "SCRIPT",SWIG_From_int(static_cast< int >(wxSCRIPT
)));
55632 SWIG_Python_SetConstant(d
, "SWISS",SWIG_From_int(static_cast< int >(wxSWISS
)));
55633 SWIG_Python_SetConstant(d
, "MODERN",SWIG_From_int(static_cast< int >(wxMODERN
)));
55634 SWIG_Python_SetConstant(d
, "TELETYPE",SWIG_From_int(static_cast< int >(wxTELETYPE
)));
55635 SWIG_Python_SetConstant(d
, "VARIABLE",SWIG_From_int(static_cast< int >(wxVARIABLE
)));
55636 SWIG_Python_SetConstant(d
, "FIXED",SWIG_From_int(static_cast< int >(wxFIXED
)));
55637 SWIG_Python_SetConstant(d
, "NORMAL",SWIG_From_int(static_cast< int >(wxNORMAL
)));
55638 SWIG_Python_SetConstant(d
, "LIGHT",SWIG_From_int(static_cast< int >(wxLIGHT
)));
55639 SWIG_Python_SetConstant(d
, "BOLD",SWIG_From_int(static_cast< int >(wxBOLD
)));
55640 SWIG_Python_SetConstant(d
, "ITALIC",SWIG_From_int(static_cast< int >(wxITALIC
)));
55641 SWIG_Python_SetConstant(d
, "SLANT",SWIG_From_int(static_cast< int >(wxSLANT
)));
55642 SWIG_Python_SetConstant(d
, "SOLID",SWIG_From_int(static_cast< int >(wxSOLID
)));
55643 SWIG_Python_SetConstant(d
, "DOT",SWIG_From_int(static_cast< int >(wxDOT
)));
55644 SWIG_Python_SetConstant(d
, "LONG_DASH",SWIG_From_int(static_cast< int >(wxLONG_DASH
)));
55645 SWIG_Python_SetConstant(d
, "SHORT_DASH",SWIG_From_int(static_cast< int >(wxSHORT_DASH
)));
55646 SWIG_Python_SetConstant(d
, "DOT_DASH",SWIG_From_int(static_cast< int >(wxDOT_DASH
)));
55647 SWIG_Python_SetConstant(d
, "USER_DASH",SWIG_From_int(static_cast< int >(wxUSER_DASH
)));
55648 SWIG_Python_SetConstant(d
, "TRANSPARENT",SWIG_From_int(static_cast< int >(wxTRANSPARENT
)));
55649 SWIG_Python_SetConstant(d
, "STIPPLE",SWIG_From_int(static_cast< int >(wxSTIPPLE
)));
55650 SWIG_Python_SetConstant(d
, "STIPPLE_MASK",SWIG_From_int(static_cast< int >(wxSTIPPLE_MASK
)));
55651 SWIG_Python_SetConstant(d
, "STIPPLE_MASK_OPAQUE",SWIG_From_int(static_cast< int >(wxSTIPPLE_MASK_OPAQUE
)));
55652 SWIG_Python_SetConstant(d
, "BDIAGONAL_HATCH",SWIG_From_int(static_cast< int >(wxBDIAGONAL_HATCH
)));
55653 SWIG_Python_SetConstant(d
, "CROSSDIAG_HATCH",SWIG_From_int(static_cast< int >(wxCROSSDIAG_HATCH
)));
55654 SWIG_Python_SetConstant(d
, "FDIAGONAL_HATCH",SWIG_From_int(static_cast< int >(wxFDIAGONAL_HATCH
)));
55655 SWIG_Python_SetConstant(d
, "CROSS_HATCH",SWIG_From_int(static_cast< int >(wxCROSS_HATCH
)));
55656 SWIG_Python_SetConstant(d
, "HORIZONTAL_HATCH",SWIG_From_int(static_cast< int >(wxHORIZONTAL_HATCH
)));
55657 SWIG_Python_SetConstant(d
, "VERTICAL_HATCH",SWIG_From_int(static_cast< int >(wxVERTICAL_HATCH
)));
55658 SWIG_Python_SetConstant(d
, "JOIN_BEVEL",SWIG_From_int(static_cast< int >(wxJOIN_BEVEL
)));
55659 SWIG_Python_SetConstant(d
, "JOIN_MITER",SWIG_From_int(static_cast< int >(wxJOIN_MITER
)));
55660 SWIG_Python_SetConstant(d
, "JOIN_ROUND",SWIG_From_int(static_cast< int >(wxJOIN_ROUND
)));
55661 SWIG_Python_SetConstant(d
, "CAP_ROUND",SWIG_From_int(static_cast< int >(wxCAP_ROUND
)));
55662 SWIG_Python_SetConstant(d
, "CAP_PROJECTING",SWIG_From_int(static_cast< int >(wxCAP_PROJECTING
)));
55663 SWIG_Python_SetConstant(d
, "CAP_BUTT",SWIG_From_int(static_cast< int >(wxCAP_BUTT
)));
55664 SWIG_Python_SetConstant(d
, "CLEAR",SWIG_From_int(static_cast< int >(wxCLEAR
)));
55665 SWIG_Python_SetConstant(d
, "XOR",SWIG_From_int(static_cast< int >(wxXOR
)));
55666 SWIG_Python_SetConstant(d
, "INVERT",SWIG_From_int(static_cast< int >(wxINVERT
)));
55667 SWIG_Python_SetConstant(d
, "OR_REVERSE",SWIG_From_int(static_cast< int >(wxOR_REVERSE
)));
55668 SWIG_Python_SetConstant(d
, "AND_REVERSE",SWIG_From_int(static_cast< int >(wxAND_REVERSE
)));
55669 SWIG_Python_SetConstant(d
, "COPY",SWIG_From_int(static_cast< int >(wxCOPY
)));
55670 SWIG_Python_SetConstant(d
, "AND",SWIG_From_int(static_cast< int >(wxAND
)));
55671 SWIG_Python_SetConstant(d
, "AND_INVERT",SWIG_From_int(static_cast< int >(wxAND_INVERT
)));
55672 SWIG_Python_SetConstant(d
, "NO_OP",SWIG_From_int(static_cast< int >(wxNO_OP
)));
55673 SWIG_Python_SetConstant(d
, "NOR",SWIG_From_int(static_cast< int >(wxNOR
)));
55674 SWIG_Python_SetConstant(d
, "EQUIV",SWIG_From_int(static_cast< int >(wxEQUIV
)));
55675 SWIG_Python_SetConstant(d
, "SRC_INVERT",SWIG_From_int(static_cast< int >(wxSRC_INVERT
)));
55676 SWIG_Python_SetConstant(d
, "OR_INVERT",SWIG_From_int(static_cast< int >(wxOR_INVERT
)));
55677 SWIG_Python_SetConstant(d
, "NAND",SWIG_From_int(static_cast< int >(wxNAND
)));
55678 SWIG_Python_SetConstant(d
, "OR",SWIG_From_int(static_cast< int >(wxOR
)));
55679 SWIG_Python_SetConstant(d
, "SET",SWIG_From_int(static_cast< int >(wxSET
)));
55680 SWIG_Python_SetConstant(d
, "WXK_BACK",SWIG_From_int(static_cast< int >(WXK_BACK
)));
55681 SWIG_Python_SetConstant(d
, "WXK_TAB",SWIG_From_int(static_cast< int >(WXK_TAB
)));
55682 SWIG_Python_SetConstant(d
, "WXK_RETURN",SWIG_From_int(static_cast< int >(WXK_RETURN
)));
55683 SWIG_Python_SetConstant(d
, "WXK_ESCAPE",SWIG_From_int(static_cast< int >(WXK_ESCAPE
)));
55684 SWIG_Python_SetConstant(d
, "WXK_SPACE",SWIG_From_int(static_cast< int >(WXK_SPACE
)));
55685 SWIG_Python_SetConstant(d
, "WXK_DELETE",SWIG_From_int(static_cast< int >(WXK_DELETE
)));
55686 SWIG_Python_SetConstant(d
, "WXK_START",SWIG_From_int(static_cast< int >(WXK_START
)));
55687 SWIG_Python_SetConstant(d
, "WXK_LBUTTON",SWIG_From_int(static_cast< int >(WXK_LBUTTON
)));
55688 SWIG_Python_SetConstant(d
, "WXK_RBUTTON",SWIG_From_int(static_cast< int >(WXK_RBUTTON
)));
55689 SWIG_Python_SetConstant(d
, "WXK_CANCEL",SWIG_From_int(static_cast< int >(WXK_CANCEL
)));
55690 SWIG_Python_SetConstant(d
, "WXK_MBUTTON",SWIG_From_int(static_cast< int >(WXK_MBUTTON
)));
55691 SWIG_Python_SetConstant(d
, "WXK_CLEAR",SWIG_From_int(static_cast< int >(WXK_CLEAR
)));
55692 SWIG_Python_SetConstant(d
, "WXK_SHIFT",SWIG_From_int(static_cast< int >(WXK_SHIFT
)));
55693 SWIG_Python_SetConstant(d
, "WXK_ALT",SWIG_From_int(static_cast< int >(WXK_ALT
)));
55694 SWIG_Python_SetConstant(d
, "WXK_CONTROL",SWIG_From_int(static_cast< int >(WXK_CONTROL
)));
55695 SWIG_Python_SetConstant(d
, "WXK_MENU",SWIG_From_int(static_cast< int >(WXK_MENU
)));
55696 SWIG_Python_SetConstant(d
, "WXK_PAUSE",SWIG_From_int(static_cast< int >(WXK_PAUSE
)));
55697 SWIG_Python_SetConstant(d
, "WXK_CAPITAL",SWIG_From_int(static_cast< int >(WXK_CAPITAL
)));
55698 SWIG_Python_SetConstant(d
, "WXK_PRIOR",SWIG_From_int(static_cast< int >(WXK_PRIOR
)));
55699 SWIG_Python_SetConstant(d
, "WXK_NEXT",SWIG_From_int(static_cast< int >(WXK_NEXT
)));
55700 SWIG_Python_SetConstant(d
, "WXK_END",SWIG_From_int(static_cast< int >(WXK_END
)));
55701 SWIG_Python_SetConstant(d
, "WXK_HOME",SWIG_From_int(static_cast< int >(WXK_HOME
)));
55702 SWIG_Python_SetConstant(d
, "WXK_LEFT",SWIG_From_int(static_cast< int >(WXK_LEFT
)));
55703 SWIG_Python_SetConstant(d
, "WXK_UP",SWIG_From_int(static_cast< int >(WXK_UP
)));
55704 SWIG_Python_SetConstant(d
, "WXK_RIGHT",SWIG_From_int(static_cast< int >(WXK_RIGHT
)));
55705 SWIG_Python_SetConstant(d
, "WXK_DOWN",SWIG_From_int(static_cast< int >(WXK_DOWN
)));
55706 SWIG_Python_SetConstant(d
, "WXK_SELECT",SWIG_From_int(static_cast< int >(WXK_SELECT
)));
55707 SWIG_Python_SetConstant(d
, "WXK_PRINT",SWIG_From_int(static_cast< int >(WXK_PRINT
)));
55708 SWIG_Python_SetConstant(d
, "WXK_EXECUTE",SWIG_From_int(static_cast< int >(WXK_EXECUTE
)));
55709 SWIG_Python_SetConstant(d
, "WXK_SNAPSHOT",SWIG_From_int(static_cast< int >(WXK_SNAPSHOT
)));
55710 SWIG_Python_SetConstant(d
, "WXK_INSERT",SWIG_From_int(static_cast< int >(WXK_INSERT
)));
55711 SWIG_Python_SetConstant(d
, "WXK_HELP",SWIG_From_int(static_cast< int >(WXK_HELP
)));
55712 SWIG_Python_SetConstant(d
, "WXK_NUMPAD0",SWIG_From_int(static_cast< int >(WXK_NUMPAD0
)));
55713 SWIG_Python_SetConstant(d
, "WXK_NUMPAD1",SWIG_From_int(static_cast< int >(WXK_NUMPAD1
)));
55714 SWIG_Python_SetConstant(d
, "WXK_NUMPAD2",SWIG_From_int(static_cast< int >(WXK_NUMPAD2
)));
55715 SWIG_Python_SetConstant(d
, "WXK_NUMPAD3",SWIG_From_int(static_cast< int >(WXK_NUMPAD3
)));
55716 SWIG_Python_SetConstant(d
, "WXK_NUMPAD4",SWIG_From_int(static_cast< int >(WXK_NUMPAD4
)));
55717 SWIG_Python_SetConstant(d
, "WXK_NUMPAD5",SWIG_From_int(static_cast< int >(WXK_NUMPAD5
)));
55718 SWIG_Python_SetConstant(d
, "WXK_NUMPAD6",SWIG_From_int(static_cast< int >(WXK_NUMPAD6
)));
55719 SWIG_Python_SetConstant(d
, "WXK_NUMPAD7",SWIG_From_int(static_cast< int >(WXK_NUMPAD7
)));
55720 SWIG_Python_SetConstant(d
, "WXK_NUMPAD8",SWIG_From_int(static_cast< int >(WXK_NUMPAD8
)));
55721 SWIG_Python_SetConstant(d
, "WXK_NUMPAD9",SWIG_From_int(static_cast< int >(WXK_NUMPAD9
)));
55722 SWIG_Python_SetConstant(d
, "WXK_MULTIPLY",SWIG_From_int(static_cast< int >(WXK_MULTIPLY
)));
55723 SWIG_Python_SetConstant(d
, "WXK_ADD",SWIG_From_int(static_cast< int >(WXK_ADD
)));
55724 SWIG_Python_SetConstant(d
, "WXK_SEPARATOR",SWIG_From_int(static_cast< int >(WXK_SEPARATOR
)));
55725 SWIG_Python_SetConstant(d
, "WXK_SUBTRACT",SWIG_From_int(static_cast< int >(WXK_SUBTRACT
)));
55726 SWIG_Python_SetConstant(d
, "WXK_DECIMAL",SWIG_From_int(static_cast< int >(WXK_DECIMAL
)));
55727 SWIG_Python_SetConstant(d
, "WXK_DIVIDE",SWIG_From_int(static_cast< int >(WXK_DIVIDE
)));
55728 SWIG_Python_SetConstant(d
, "WXK_F1",SWIG_From_int(static_cast< int >(WXK_F1
)));
55729 SWIG_Python_SetConstant(d
, "WXK_F2",SWIG_From_int(static_cast< int >(WXK_F2
)));
55730 SWIG_Python_SetConstant(d
, "WXK_F3",SWIG_From_int(static_cast< int >(WXK_F3
)));
55731 SWIG_Python_SetConstant(d
, "WXK_F4",SWIG_From_int(static_cast< int >(WXK_F4
)));
55732 SWIG_Python_SetConstant(d
, "WXK_F5",SWIG_From_int(static_cast< int >(WXK_F5
)));
55733 SWIG_Python_SetConstant(d
, "WXK_F6",SWIG_From_int(static_cast< int >(WXK_F6
)));
55734 SWIG_Python_SetConstant(d
, "WXK_F7",SWIG_From_int(static_cast< int >(WXK_F7
)));
55735 SWIG_Python_SetConstant(d
, "WXK_F8",SWIG_From_int(static_cast< int >(WXK_F8
)));
55736 SWIG_Python_SetConstant(d
, "WXK_F9",SWIG_From_int(static_cast< int >(WXK_F9
)));
55737 SWIG_Python_SetConstant(d
, "WXK_F10",SWIG_From_int(static_cast< int >(WXK_F10
)));
55738 SWIG_Python_SetConstant(d
, "WXK_F11",SWIG_From_int(static_cast< int >(WXK_F11
)));
55739 SWIG_Python_SetConstant(d
, "WXK_F12",SWIG_From_int(static_cast< int >(WXK_F12
)));
55740 SWIG_Python_SetConstant(d
, "WXK_F13",SWIG_From_int(static_cast< int >(WXK_F13
)));
55741 SWIG_Python_SetConstant(d
, "WXK_F14",SWIG_From_int(static_cast< int >(WXK_F14
)));
55742 SWIG_Python_SetConstant(d
, "WXK_F15",SWIG_From_int(static_cast< int >(WXK_F15
)));
55743 SWIG_Python_SetConstant(d
, "WXK_F16",SWIG_From_int(static_cast< int >(WXK_F16
)));
55744 SWIG_Python_SetConstant(d
, "WXK_F17",SWIG_From_int(static_cast< int >(WXK_F17
)));
55745 SWIG_Python_SetConstant(d
, "WXK_F18",SWIG_From_int(static_cast< int >(WXK_F18
)));
55746 SWIG_Python_SetConstant(d
, "WXK_F19",SWIG_From_int(static_cast< int >(WXK_F19
)));
55747 SWIG_Python_SetConstant(d
, "WXK_F20",SWIG_From_int(static_cast< int >(WXK_F20
)));
55748 SWIG_Python_SetConstant(d
, "WXK_F21",SWIG_From_int(static_cast< int >(WXK_F21
)));
55749 SWIG_Python_SetConstant(d
, "WXK_F22",SWIG_From_int(static_cast< int >(WXK_F22
)));
55750 SWIG_Python_SetConstant(d
, "WXK_F23",SWIG_From_int(static_cast< int >(WXK_F23
)));
55751 SWIG_Python_SetConstant(d
, "WXK_F24",SWIG_From_int(static_cast< int >(WXK_F24
)));
55752 SWIG_Python_SetConstant(d
, "WXK_NUMLOCK",SWIG_From_int(static_cast< int >(WXK_NUMLOCK
)));
55753 SWIG_Python_SetConstant(d
, "WXK_SCROLL",SWIG_From_int(static_cast< int >(WXK_SCROLL
)));
55754 SWIG_Python_SetConstant(d
, "WXK_PAGEUP",SWIG_From_int(static_cast< int >(WXK_PAGEUP
)));
55755 SWIG_Python_SetConstant(d
, "WXK_PAGEDOWN",SWIG_From_int(static_cast< int >(WXK_PAGEDOWN
)));
55756 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_SPACE",SWIG_From_int(static_cast< int >(WXK_NUMPAD_SPACE
)));
55757 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_TAB",SWIG_From_int(static_cast< int >(WXK_NUMPAD_TAB
)));
55758 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_ENTER",SWIG_From_int(static_cast< int >(WXK_NUMPAD_ENTER
)));
55759 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_F1",SWIG_From_int(static_cast< int >(WXK_NUMPAD_F1
)));
55760 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_F2",SWIG_From_int(static_cast< int >(WXK_NUMPAD_F2
)));
55761 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_F3",SWIG_From_int(static_cast< int >(WXK_NUMPAD_F3
)));
55762 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_F4",SWIG_From_int(static_cast< int >(WXK_NUMPAD_F4
)));
55763 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_HOME",SWIG_From_int(static_cast< int >(WXK_NUMPAD_HOME
)));
55764 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_LEFT",SWIG_From_int(static_cast< int >(WXK_NUMPAD_LEFT
)));
55765 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_UP",SWIG_From_int(static_cast< int >(WXK_NUMPAD_UP
)));
55766 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_RIGHT",SWIG_From_int(static_cast< int >(WXK_NUMPAD_RIGHT
)));
55767 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_DOWN",SWIG_From_int(static_cast< int >(WXK_NUMPAD_DOWN
)));
55768 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_PRIOR",SWIG_From_int(static_cast< int >(WXK_NUMPAD_PRIOR
)));
55769 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_PAGEUP",SWIG_From_int(static_cast< int >(WXK_NUMPAD_PAGEUP
)));
55770 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_NEXT",SWIG_From_int(static_cast< int >(WXK_NUMPAD_NEXT
)));
55771 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_PAGEDOWN",SWIG_From_int(static_cast< int >(WXK_NUMPAD_PAGEDOWN
)));
55772 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_END",SWIG_From_int(static_cast< int >(WXK_NUMPAD_END
)));
55773 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_BEGIN",SWIG_From_int(static_cast< int >(WXK_NUMPAD_BEGIN
)));
55774 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_INSERT",SWIG_From_int(static_cast< int >(WXK_NUMPAD_INSERT
)));
55775 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_DELETE",SWIG_From_int(static_cast< int >(WXK_NUMPAD_DELETE
)));
55776 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_EQUAL",SWIG_From_int(static_cast< int >(WXK_NUMPAD_EQUAL
)));
55777 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_MULTIPLY",SWIG_From_int(static_cast< int >(WXK_NUMPAD_MULTIPLY
)));
55778 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_ADD",SWIG_From_int(static_cast< int >(WXK_NUMPAD_ADD
)));
55779 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_SEPARATOR",SWIG_From_int(static_cast< int >(WXK_NUMPAD_SEPARATOR
)));
55780 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_SUBTRACT",SWIG_From_int(static_cast< int >(WXK_NUMPAD_SUBTRACT
)));
55781 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_DECIMAL",SWIG_From_int(static_cast< int >(WXK_NUMPAD_DECIMAL
)));
55782 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_DIVIDE",SWIG_From_int(static_cast< int >(WXK_NUMPAD_DIVIDE
)));
55783 SWIG_Python_SetConstant(d
, "WXK_WINDOWS_LEFT",SWIG_From_int(static_cast< int >(WXK_WINDOWS_LEFT
)));
55784 SWIG_Python_SetConstant(d
, "WXK_WINDOWS_RIGHT",SWIG_From_int(static_cast< int >(WXK_WINDOWS_RIGHT
)));
55785 SWIG_Python_SetConstant(d
, "WXK_WINDOWS_MENU",SWIG_From_int(static_cast< int >(WXK_WINDOWS_MENU
)));
55786 SWIG_Python_SetConstant(d
, "WXK_COMMAND",SWIG_From_int(static_cast< int >(WXK_COMMAND
)));
55787 SWIG_Python_SetConstant(d
, "WXK_SPECIAL1",SWIG_From_int(static_cast< int >(WXK_SPECIAL1
)));
55788 SWIG_Python_SetConstant(d
, "WXK_SPECIAL2",SWIG_From_int(static_cast< int >(WXK_SPECIAL2
)));
55789 SWIG_Python_SetConstant(d
, "WXK_SPECIAL3",SWIG_From_int(static_cast< int >(WXK_SPECIAL3
)));
55790 SWIG_Python_SetConstant(d
, "WXK_SPECIAL4",SWIG_From_int(static_cast< int >(WXK_SPECIAL4
)));
55791 SWIG_Python_SetConstant(d
, "WXK_SPECIAL5",SWIG_From_int(static_cast< int >(WXK_SPECIAL5
)));
55792 SWIG_Python_SetConstant(d
, "WXK_SPECIAL6",SWIG_From_int(static_cast< int >(WXK_SPECIAL6
)));
55793 SWIG_Python_SetConstant(d
, "WXK_SPECIAL7",SWIG_From_int(static_cast< int >(WXK_SPECIAL7
)));
55794 SWIG_Python_SetConstant(d
, "WXK_SPECIAL8",SWIG_From_int(static_cast< int >(WXK_SPECIAL8
)));
55795 SWIG_Python_SetConstant(d
, "WXK_SPECIAL9",SWIG_From_int(static_cast< int >(WXK_SPECIAL9
)));
55796 SWIG_Python_SetConstant(d
, "WXK_SPECIAL10",SWIG_From_int(static_cast< int >(WXK_SPECIAL10
)));
55797 SWIG_Python_SetConstant(d
, "WXK_SPECIAL11",SWIG_From_int(static_cast< int >(WXK_SPECIAL11
)));
55798 SWIG_Python_SetConstant(d
, "WXK_SPECIAL12",SWIG_From_int(static_cast< int >(WXK_SPECIAL12
)));
55799 SWIG_Python_SetConstant(d
, "WXK_SPECIAL13",SWIG_From_int(static_cast< int >(WXK_SPECIAL13
)));
55800 SWIG_Python_SetConstant(d
, "WXK_SPECIAL14",SWIG_From_int(static_cast< int >(WXK_SPECIAL14
)));
55801 SWIG_Python_SetConstant(d
, "WXK_SPECIAL15",SWIG_From_int(static_cast< int >(WXK_SPECIAL15
)));
55802 SWIG_Python_SetConstant(d
, "WXK_SPECIAL16",SWIG_From_int(static_cast< int >(WXK_SPECIAL16
)));
55803 SWIG_Python_SetConstant(d
, "WXK_SPECIAL17",SWIG_From_int(static_cast< int >(WXK_SPECIAL17
)));
55804 SWIG_Python_SetConstant(d
, "WXK_SPECIAL18",SWIG_From_int(static_cast< int >(WXK_SPECIAL18
)));
55805 SWIG_Python_SetConstant(d
, "WXK_SPECIAL19",SWIG_From_int(static_cast< int >(WXK_SPECIAL19
)));
55806 SWIG_Python_SetConstant(d
, "WXK_SPECIAL20",SWIG_From_int(static_cast< int >(WXK_SPECIAL20
)));
55807 SWIG_Python_SetConstant(d
, "PAPER_NONE",SWIG_From_int(static_cast< int >(wxPAPER_NONE
)));
55808 SWIG_Python_SetConstant(d
, "PAPER_LETTER",SWIG_From_int(static_cast< int >(wxPAPER_LETTER
)));
55809 SWIG_Python_SetConstant(d
, "PAPER_LEGAL",SWIG_From_int(static_cast< int >(wxPAPER_LEGAL
)));
55810 SWIG_Python_SetConstant(d
, "PAPER_A4",SWIG_From_int(static_cast< int >(wxPAPER_A4
)));
55811 SWIG_Python_SetConstant(d
, "PAPER_CSHEET",SWIG_From_int(static_cast< int >(wxPAPER_CSHEET
)));
55812 SWIG_Python_SetConstant(d
, "PAPER_DSHEET",SWIG_From_int(static_cast< int >(wxPAPER_DSHEET
)));
55813 SWIG_Python_SetConstant(d
, "PAPER_ESHEET",SWIG_From_int(static_cast< int >(wxPAPER_ESHEET
)));
55814 SWIG_Python_SetConstant(d
, "PAPER_LETTERSMALL",SWIG_From_int(static_cast< int >(wxPAPER_LETTERSMALL
)));
55815 SWIG_Python_SetConstant(d
, "PAPER_TABLOID",SWIG_From_int(static_cast< int >(wxPAPER_TABLOID
)));
55816 SWIG_Python_SetConstant(d
, "PAPER_LEDGER",SWIG_From_int(static_cast< int >(wxPAPER_LEDGER
)));
55817 SWIG_Python_SetConstant(d
, "PAPER_STATEMENT",SWIG_From_int(static_cast< int >(wxPAPER_STATEMENT
)));
55818 SWIG_Python_SetConstant(d
, "PAPER_EXECUTIVE",SWIG_From_int(static_cast< int >(wxPAPER_EXECUTIVE
)));
55819 SWIG_Python_SetConstant(d
, "PAPER_A3",SWIG_From_int(static_cast< int >(wxPAPER_A3
)));
55820 SWIG_Python_SetConstant(d
, "PAPER_A4SMALL",SWIG_From_int(static_cast< int >(wxPAPER_A4SMALL
)));
55821 SWIG_Python_SetConstant(d
, "PAPER_A5",SWIG_From_int(static_cast< int >(wxPAPER_A5
)));
55822 SWIG_Python_SetConstant(d
, "PAPER_B4",SWIG_From_int(static_cast< int >(wxPAPER_B4
)));
55823 SWIG_Python_SetConstant(d
, "PAPER_B5",SWIG_From_int(static_cast< int >(wxPAPER_B5
)));
55824 SWIG_Python_SetConstant(d
, "PAPER_FOLIO",SWIG_From_int(static_cast< int >(wxPAPER_FOLIO
)));
55825 SWIG_Python_SetConstant(d
, "PAPER_QUARTO",SWIG_From_int(static_cast< int >(wxPAPER_QUARTO
)));
55826 SWIG_Python_SetConstant(d
, "PAPER_10X14",SWIG_From_int(static_cast< int >(wxPAPER_10X14
)));
55827 SWIG_Python_SetConstant(d
, "PAPER_11X17",SWIG_From_int(static_cast< int >(wxPAPER_11X17
)));
55828 SWIG_Python_SetConstant(d
, "PAPER_NOTE",SWIG_From_int(static_cast< int >(wxPAPER_NOTE
)));
55829 SWIG_Python_SetConstant(d
, "PAPER_ENV_9",SWIG_From_int(static_cast< int >(wxPAPER_ENV_9
)));
55830 SWIG_Python_SetConstant(d
, "PAPER_ENV_10",SWIG_From_int(static_cast< int >(wxPAPER_ENV_10
)));
55831 SWIG_Python_SetConstant(d
, "PAPER_ENV_11",SWIG_From_int(static_cast< int >(wxPAPER_ENV_11
)));
55832 SWIG_Python_SetConstant(d
, "PAPER_ENV_12",SWIG_From_int(static_cast< int >(wxPAPER_ENV_12
)));
55833 SWIG_Python_SetConstant(d
, "PAPER_ENV_14",SWIG_From_int(static_cast< int >(wxPAPER_ENV_14
)));
55834 SWIG_Python_SetConstant(d
, "PAPER_ENV_DL",SWIG_From_int(static_cast< int >(wxPAPER_ENV_DL
)));
55835 SWIG_Python_SetConstant(d
, "PAPER_ENV_C5",SWIG_From_int(static_cast< int >(wxPAPER_ENV_C5
)));
55836 SWIG_Python_SetConstant(d
, "PAPER_ENV_C3",SWIG_From_int(static_cast< int >(wxPAPER_ENV_C3
)));
55837 SWIG_Python_SetConstant(d
, "PAPER_ENV_C4",SWIG_From_int(static_cast< int >(wxPAPER_ENV_C4
)));
55838 SWIG_Python_SetConstant(d
, "PAPER_ENV_C6",SWIG_From_int(static_cast< int >(wxPAPER_ENV_C6
)));
55839 SWIG_Python_SetConstant(d
, "PAPER_ENV_C65",SWIG_From_int(static_cast< int >(wxPAPER_ENV_C65
)));
55840 SWIG_Python_SetConstant(d
, "PAPER_ENV_B4",SWIG_From_int(static_cast< int >(wxPAPER_ENV_B4
)));
55841 SWIG_Python_SetConstant(d
, "PAPER_ENV_B5",SWIG_From_int(static_cast< int >(wxPAPER_ENV_B5
)));
55842 SWIG_Python_SetConstant(d
, "PAPER_ENV_B6",SWIG_From_int(static_cast< int >(wxPAPER_ENV_B6
)));
55843 SWIG_Python_SetConstant(d
, "PAPER_ENV_ITALY",SWIG_From_int(static_cast< int >(wxPAPER_ENV_ITALY
)));
55844 SWIG_Python_SetConstant(d
, "PAPER_ENV_MONARCH",SWIG_From_int(static_cast< int >(wxPAPER_ENV_MONARCH
)));
55845 SWIG_Python_SetConstant(d
, "PAPER_ENV_PERSONAL",SWIG_From_int(static_cast< int >(wxPAPER_ENV_PERSONAL
)));
55846 SWIG_Python_SetConstant(d
, "PAPER_FANFOLD_US",SWIG_From_int(static_cast< int >(wxPAPER_FANFOLD_US
)));
55847 SWIG_Python_SetConstant(d
, "PAPER_FANFOLD_STD_GERMAN",SWIG_From_int(static_cast< int >(wxPAPER_FANFOLD_STD_GERMAN
)));
55848 SWIG_Python_SetConstant(d
, "PAPER_FANFOLD_LGL_GERMAN",SWIG_From_int(static_cast< int >(wxPAPER_FANFOLD_LGL_GERMAN
)));
55849 SWIG_Python_SetConstant(d
, "PAPER_ISO_B4",SWIG_From_int(static_cast< int >(wxPAPER_ISO_B4
)));
55850 SWIG_Python_SetConstant(d
, "PAPER_JAPANESE_POSTCARD",SWIG_From_int(static_cast< int >(wxPAPER_JAPANESE_POSTCARD
)));
55851 SWIG_Python_SetConstant(d
, "PAPER_9X11",SWIG_From_int(static_cast< int >(wxPAPER_9X11
)));
55852 SWIG_Python_SetConstant(d
, "PAPER_10X11",SWIG_From_int(static_cast< int >(wxPAPER_10X11
)));
55853 SWIG_Python_SetConstant(d
, "PAPER_15X11",SWIG_From_int(static_cast< int >(wxPAPER_15X11
)));
55854 SWIG_Python_SetConstant(d
, "PAPER_ENV_INVITE",SWIG_From_int(static_cast< int >(wxPAPER_ENV_INVITE
)));
55855 SWIG_Python_SetConstant(d
, "PAPER_LETTER_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_LETTER_EXTRA
)));
55856 SWIG_Python_SetConstant(d
, "PAPER_LEGAL_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_LEGAL_EXTRA
)));
55857 SWIG_Python_SetConstant(d
, "PAPER_TABLOID_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_TABLOID_EXTRA
)));
55858 SWIG_Python_SetConstant(d
, "PAPER_A4_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_A4_EXTRA
)));
55859 SWIG_Python_SetConstant(d
, "PAPER_LETTER_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_LETTER_TRANSVERSE
)));
55860 SWIG_Python_SetConstant(d
, "PAPER_A4_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_A4_TRANSVERSE
)));
55861 SWIG_Python_SetConstant(d
, "PAPER_LETTER_EXTRA_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_LETTER_EXTRA_TRANSVERSE
)));
55862 SWIG_Python_SetConstant(d
, "PAPER_A_PLUS",SWIG_From_int(static_cast< int >(wxPAPER_A_PLUS
)));
55863 SWIG_Python_SetConstant(d
, "PAPER_B_PLUS",SWIG_From_int(static_cast< int >(wxPAPER_B_PLUS
)));
55864 SWIG_Python_SetConstant(d
, "PAPER_LETTER_PLUS",SWIG_From_int(static_cast< int >(wxPAPER_LETTER_PLUS
)));
55865 SWIG_Python_SetConstant(d
, "PAPER_A4_PLUS",SWIG_From_int(static_cast< int >(wxPAPER_A4_PLUS
)));
55866 SWIG_Python_SetConstant(d
, "PAPER_A5_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_A5_TRANSVERSE
)));
55867 SWIG_Python_SetConstant(d
, "PAPER_B5_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_B5_TRANSVERSE
)));
55868 SWIG_Python_SetConstant(d
, "PAPER_A3_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_A3_EXTRA
)));
55869 SWIG_Python_SetConstant(d
, "PAPER_A5_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_A5_EXTRA
)));
55870 SWIG_Python_SetConstant(d
, "PAPER_B5_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_B5_EXTRA
)));
55871 SWIG_Python_SetConstant(d
, "PAPER_A2",SWIG_From_int(static_cast< int >(wxPAPER_A2
)));
55872 SWIG_Python_SetConstant(d
, "PAPER_A3_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_A3_TRANSVERSE
)));
55873 SWIG_Python_SetConstant(d
, "PAPER_A3_EXTRA_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_A3_EXTRA_TRANSVERSE
)));
55874 SWIG_Python_SetConstant(d
, "PAPER_DBL_JAPANESE_POSTCARD",SWIG_From_int(static_cast< int >(wxPAPER_DBL_JAPANESE_POSTCARD
)));
55875 SWIG_Python_SetConstant(d
, "PAPER_A6",SWIG_From_int(static_cast< int >(wxPAPER_A6
)));
55876 SWIG_Python_SetConstant(d
, "PAPER_JENV_KAKU2",SWIG_From_int(static_cast< int >(wxPAPER_JENV_KAKU2
)));
55877 SWIG_Python_SetConstant(d
, "PAPER_JENV_KAKU3",SWIG_From_int(static_cast< int >(wxPAPER_JENV_KAKU3
)));
55878 SWIG_Python_SetConstant(d
, "PAPER_JENV_CHOU3",SWIG_From_int(static_cast< int >(wxPAPER_JENV_CHOU3
)));
55879 SWIG_Python_SetConstant(d
, "PAPER_JENV_CHOU4",SWIG_From_int(static_cast< int >(wxPAPER_JENV_CHOU4
)));
55880 SWIG_Python_SetConstant(d
, "PAPER_LETTER_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_LETTER_ROTATED
)));
55881 SWIG_Python_SetConstant(d
, "PAPER_A3_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_A3_ROTATED
)));
55882 SWIG_Python_SetConstant(d
, "PAPER_A4_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_A4_ROTATED
)));
55883 SWIG_Python_SetConstant(d
, "PAPER_A5_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_A5_ROTATED
)));
55884 SWIG_Python_SetConstant(d
, "PAPER_B4_JIS_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_B4_JIS_ROTATED
)));
55885 SWIG_Python_SetConstant(d
, "PAPER_B5_JIS_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_B5_JIS_ROTATED
)));
55886 SWIG_Python_SetConstant(d
, "PAPER_JAPANESE_POSTCARD_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JAPANESE_POSTCARD_ROTATED
)));
55887 SWIG_Python_SetConstant(d
, "PAPER_DBL_JAPANESE_POSTCARD_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_DBL_JAPANESE_POSTCARD_ROTATED
)));
55888 SWIG_Python_SetConstant(d
, "PAPER_A6_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_A6_ROTATED
)));
55889 SWIG_Python_SetConstant(d
, "PAPER_JENV_KAKU2_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JENV_KAKU2_ROTATED
)));
55890 SWIG_Python_SetConstant(d
, "PAPER_JENV_KAKU3_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JENV_KAKU3_ROTATED
)));
55891 SWIG_Python_SetConstant(d
, "PAPER_JENV_CHOU3_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JENV_CHOU3_ROTATED
)));
55892 SWIG_Python_SetConstant(d
, "PAPER_JENV_CHOU4_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JENV_CHOU4_ROTATED
)));
55893 SWIG_Python_SetConstant(d
, "PAPER_B6_JIS",SWIG_From_int(static_cast< int >(wxPAPER_B6_JIS
)));
55894 SWIG_Python_SetConstant(d
, "PAPER_B6_JIS_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_B6_JIS_ROTATED
)));
55895 SWIG_Python_SetConstant(d
, "PAPER_12X11",SWIG_From_int(static_cast< int >(wxPAPER_12X11
)));
55896 SWIG_Python_SetConstant(d
, "PAPER_JENV_YOU4",SWIG_From_int(static_cast< int >(wxPAPER_JENV_YOU4
)));
55897 SWIG_Python_SetConstant(d
, "PAPER_JENV_YOU4_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JENV_YOU4_ROTATED
)));
55898 SWIG_Python_SetConstant(d
, "PAPER_P16K",SWIG_From_int(static_cast< int >(wxPAPER_P16K
)));
55899 SWIG_Python_SetConstant(d
, "PAPER_P32K",SWIG_From_int(static_cast< int >(wxPAPER_P32K
)));
55900 SWIG_Python_SetConstant(d
, "PAPER_P32KBIG",SWIG_From_int(static_cast< int >(wxPAPER_P32KBIG
)));
55901 SWIG_Python_SetConstant(d
, "PAPER_PENV_1",SWIG_From_int(static_cast< int >(wxPAPER_PENV_1
)));
55902 SWIG_Python_SetConstant(d
, "PAPER_PENV_2",SWIG_From_int(static_cast< int >(wxPAPER_PENV_2
)));
55903 SWIG_Python_SetConstant(d
, "PAPER_PENV_3",SWIG_From_int(static_cast< int >(wxPAPER_PENV_3
)));
55904 SWIG_Python_SetConstant(d
, "PAPER_PENV_4",SWIG_From_int(static_cast< int >(wxPAPER_PENV_4
)));
55905 SWIG_Python_SetConstant(d
, "PAPER_PENV_5",SWIG_From_int(static_cast< int >(wxPAPER_PENV_5
)));
55906 SWIG_Python_SetConstant(d
, "PAPER_PENV_6",SWIG_From_int(static_cast< int >(wxPAPER_PENV_6
)));
55907 SWIG_Python_SetConstant(d
, "PAPER_PENV_7",SWIG_From_int(static_cast< int >(wxPAPER_PENV_7
)));
55908 SWIG_Python_SetConstant(d
, "PAPER_PENV_8",SWIG_From_int(static_cast< int >(wxPAPER_PENV_8
)));
55909 SWIG_Python_SetConstant(d
, "PAPER_PENV_9",SWIG_From_int(static_cast< int >(wxPAPER_PENV_9
)));
55910 SWIG_Python_SetConstant(d
, "PAPER_PENV_10",SWIG_From_int(static_cast< int >(wxPAPER_PENV_10
)));
55911 SWIG_Python_SetConstant(d
, "PAPER_P16K_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_P16K_ROTATED
)));
55912 SWIG_Python_SetConstant(d
, "PAPER_P32K_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_P32K_ROTATED
)));
55913 SWIG_Python_SetConstant(d
, "PAPER_P32KBIG_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_P32KBIG_ROTATED
)));
55914 SWIG_Python_SetConstant(d
, "PAPER_PENV_1_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_1_ROTATED
)));
55915 SWIG_Python_SetConstant(d
, "PAPER_PENV_2_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_2_ROTATED
)));
55916 SWIG_Python_SetConstant(d
, "PAPER_PENV_3_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_3_ROTATED
)));
55917 SWIG_Python_SetConstant(d
, "PAPER_PENV_4_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_4_ROTATED
)));
55918 SWIG_Python_SetConstant(d
, "PAPER_PENV_5_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_5_ROTATED
)));
55919 SWIG_Python_SetConstant(d
, "PAPER_PENV_6_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_6_ROTATED
)));
55920 SWIG_Python_SetConstant(d
, "PAPER_PENV_7_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_7_ROTATED
)));
55921 SWIG_Python_SetConstant(d
, "PAPER_PENV_8_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_8_ROTATED
)));
55922 SWIG_Python_SetConstant(d
, "PAPER_PENV_9_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_9_ROTATED
)));
55923 SWIG_Python_SetConstant(d
, "PAPER_PENV_10_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_10_ROTATED
)));
55924 SWIG_Python_SetConstant(d
, "DUPLEX_SIMPLEX",SWIG_From_int(static_cast< int >(wxDUPLEX_SIMPLEX
)));
55925 SWIG_Python_SetConstant(d
, "DUPLEX_HORIZONTAL",SWIG_From_int(static_cast< int >(wxDUPLEX_HORIZONTAL
)));
55926 SWIG_Python_SetConstant(d
, "DUPLEX_VERTICAL",SWIG_From_int(static_cast< int >(wxDUPLEX_VERTICAL
)));
55927 SWIG_Python_SetConstant(d
, "ITEM_SEPARATOR",SWIG_From_int(static_cast< int >(wxITEM_SEPARATOR
)));
55928 SWIG_Python_SetConstant(d
, "ITEM_NORMAL",SWIG_From_int(static_cast< int >(wxITEM_NORMAL
)));
55929 SWIG_Python_SetConstant(d
, "ITEM_CHECK",SWIG_From_int(static_cast< int >(wxITEM_CHECK
)));
55930 SWIG_Python_SetConstant(d
, "ITEM_RADIO",SWIG_From_int(static_cast< int >(wxITEM_RADIO
)));
55931 SWIG_Python_SetConstant(d
, "ITEM_MAX",SWIG_From_int(static_cast< int >(wxITEM_MAX
)));
55932 SWIG_Python_SetConstant(d
, "HT_NOWHERE",SWIG_From_int(static_cast< int >(wxHT_NOWHERE
)));
55933 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_FIRST",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_FIRST
)));
55934 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_ARROW_LINE_1",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_ARROW_LINE_1
)));
55935 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_ARROW_LINE_2",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_ARROW_LINE_2
)));
55936 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_ARROW_PAGE_1",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_ARROW_PAGE_1
)));
55937 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_ARROW_PAGE_2",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_ARROW_PAGE_2
)));
55938 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_THUMB",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_THUMB
)));
55939 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_BAR_1",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_BAR_1
)));
55940 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_BAR_2",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_BAR_2
)));
55941 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_LAST",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_LAST
)));
55942 SWIG_Python_SetConstant(d
, "HT_WINDOW_OUTSIDE",SWIG_From_int(static_cast< int >(wxHT_WINDOW_OUTSIDE
)));
55943 SWIG_Python_SetConstant(d
, "HT_WINDOW_INSIDE",SWIG_From_int(static_cast< int >(wxHT_WINDOW_INSIDE
)));
55944 SWIG_Python_SetConstant(d
, "HT_WINDOW_VERT_SCROLLBAR",SWIG_From_int(static_cast< int >(wxHT_WINDOW_VERT_SCROLLBAR
)));
55945 SWIG_Python_SetConstant(d
, "HT_WINDOW_HORZ_SCROLLBAR",SWIG_From_int(static_cast< int >(wxHT_WINDOW_HORZ_SCROLLBAR
)));
55946 SWIG_Python_SetConstant(d
, "HT_WINDOW_CORNER",SWIG_From_int(static_cast< int >(wxHT_WINDOW_CORNER
)));
55947 SWIG_Python_SetConstant(d
, "HT_MAX",SWIG_From_int(static_cast< int >(wxHT_MAX
)));
55948 SWIG_Python_SetConstant(d
, "MOD_NONE",SWIG_From_int(static_cast< int >(wxMOD_NONE
)));
55949 SWIG_Python_SetConstant(d
, "MOD_ALT",SWIG_From_int(static_cast< int >(wxMOD_ALT
)));
55950 SWIG_Python_SetConstant(d
, "MOD_CONTROL",SWIG_From_int(static_cast< int >(wxMOD_CONTROL
)));
55951 SWIG_Python_SetConstant(d
, "MOD_ALTGR",SWIG_From_int(static_cast< int >(wxMOD_ALTGR
)));
55952 SWIG_Python_SetConstant(d
, "MOD_SHIFT",SWIG_From_int(static_cast< int >(wxMOD_SHIFT
)));
55953 SWIG_Python_SetConstant(d
, "MOD_META",SWIG_From_int(static_cast< int >(wxMOD_META
)));
55954 SWIG_Python_SetConstant(d
, "MOD_WIN",SWIG_From_int(static_cast< int >(wxMOD_WIN
)));
55955 SWIG_Python_SetConstant(d
, "MOD_CMD",SWIG_From_int(static_cast< int >(wxMOD_CMD
)));
55956 SWIG_Python_SetConstant(d
, "MOD_ALL",SWIG_From_int(static_cast< int >(wxMOD_ALL
)));
55957 SWIG_Python_SetConstant(d
, "UPDATE_UI_NONE",SWIG_From_int(static_cast< int >(wxUPDATE_UI_NONE
)));
55958 SWIG_Python_SetConstant(d
, "UPDATE_UI_RECURSE",SWIG_From_int(static_cast< int >(wxUPDATE_UI_RECURSE
)));
55959 SWIG_Python_SetConstant(d
, "UPDATE_UI_FROMIDLE",SWIG_From_int(static_cast< int >(wxUPDATE_UI_FROMIDLE
)));
55960 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
55961 SWIG_addvarlink(SWIG_globals(),(char*)"EmptyString",EmptyString_get
, EmptyString_set
);
55962 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_INVALID",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_INVALID
)));
55963 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_BMP",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_BMP
)));
55964 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_ICO",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_ICO
)));
55965 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_CUR",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_CUR
)));
55966 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_XBM",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_XBM
)));
55967 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_XBM_DATA",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_XBM_DATA
)));
55968 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_XPM",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_XPM
)));
55969 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_XPM_DATA",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_XPM_DATA
)));
55970 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_TIF",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_TIF
)));
55971 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_GIF",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_GIF
)));
55972 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_PNG",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_PNG
)));
55973 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_JPEG",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_JPEG
)));
55974 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_PNM",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_PNM
)));
55975 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_PCX",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_PCX
)));
55976 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_PICT",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_PICT
)));
55977 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_ICON",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_ICON
)));
55978 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_ANI",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_ANI
)));
55979 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_IFF",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_IFF
)));
55980 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_MACCURSOR",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_MACCURSOR
)));
55981 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_ANY",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_ANY
)));
55982 SWIG_Python_SetConstant(d
, "CURSOR_NONE",SWIG_From_int(static_cast< int >(wxCURSOR_NONE
)));
55983 SWIG_Python_SetConstant(d
, "CURSOR_ARROW",SWIG_From_int(static_cast< int >(wxCURSOR_ARROW
)));
55984 SWIG_Python_SetConstant(d
, "CURSOR_RIGHT_ARROW",SWIG_From_int(static_cast< int >(wxCURSOR_RIGHT_ARROW
)));
55985 SWIG_Python_SetConstant(d
, "CURSOR_BULLSEYE",SWIG_From_int(static_cast< int >(wxCURSOR_BULLSEYE
)));
55986 SWIG_Python_SetConstant(d
, "CURSOR_CHAR",SWIG_From_int(static_cast< int >(wxCURSOR_CHAR
)));
55987 SWIG_Python_SetConstant(d
, "CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxCURSOR_CROSS
)));
55988 SWIG_Python_SetConstant(d
, "CURSOR_HAND",SWIG_From_int(static_cast< int >(wxCURSOR_HAND
)));
55989 SWIG_Python_SetConstant(d
, "CURSOR_IBEAM",SWIG_From_int(static_cast< int >(wxCURSOR_IBEAM
)));
55990 SWIG_Python_SetConstant(d
, "CURSOR_LEFT_BUTTON",SWIG_From_int(static_cast< int >(wxCURSOR_LEFT_BUTTON
)));
55991 SWIG_Python_SetConstant(d
, "CURSOR_MAGNIFIER",SWIG_From_int(static_cast< int >(wxCURSOR_MAGNIFIER
)));
55992 SWIG_Python_SetConstant(d
, "CURSOR_MIDDLE_BUTTON",SWIG_From_int(static_cast< int >(wxCURSOR_MIDDLE_BUTTON
)));
55993 SWIG_Python_SetConstant(d
, "CURSOR_NO_ENTRY",SWIG_From_int(static_cast< int >(wxCURSOR_NO_ENTRY
)));
55994 SWIG_Python_SetConstant(d
, "CURSOR_PAINT_BRUSH",SWIG_From_int(static_cast< int >(wxCURSOR_PAINT_BRUSH
)));
55995 SWIG_Python_SetConstant(d
, "CURSOR_PENCIL",SWIG_From_int(static_cast< int >(wxCURSOR_PENCIL
)));
55996 SWIG_Python_SetConstant(d
, "CURSOR_POINT_LEFT",SWIG_From_int(static_cast< int >(wxCURSOR_POINT_LEFT
)));
55997 SWIG_Python_SetConstant(d
, "CURSOR_POINT_RIGHT",SWIG_From_int(static_cast< int >(wxCURSOR_POINT_RIGHT
)));
55998 SWIG_Python_SetConstant(d
, "CURSOR_QUESTION_ARROW",SWIG_From_int(static_cast< int >(wxCURSOR_QUESTION_ARROW
)));
55999 SWIG_Python_SetConstant(d
, "CURSOR_RIGHT_BUTTON",SWIG_From_int(static_cast< int >(wxCURSOR_RIGHT_BUTTON
)));
56000 SWIG_Python_SetConstant(d
, "CURSOR_SIZENESW",SWIG_From_int(static_cast< int >(wxCURSOR_SIZENESW
)));
56001 SWIG_Python_SetConstant(d
, "CURSOR_SIZENS",SWIG_From_int(static_cast< int >(wxCURSOR_SIZENS
)));
56002 SWIG_Python_SetConstant(d
, "CURSOR_SIZENWSE",SWIG_From_int(static_cast< int >(wxCURSOR_SIZENWSE
)));
56003 SWIG_Python_SetConstant(d
, "CURSOR_SIZEWE",SWIG_From_int(static_cast< int >(wxCURSOR_SIZEWE
)));
56004 SWIG_Python_SetConstant(d
, "CURSOR_SIZING",SWIG_From_int(static_cast< int >(wxCURSOR_SIZING
)));
56005 SWIG_Python_SetConstant(d
, "CURSOR_SPRAYCAN",SWIG_From_int(static_cast< int >(wxCURSOR_SPRAYCAN
)));
56006 SWIG_Python_SetConstant(d
, "CURSOR_WAIT",SWIG_From_int(static_cast< int >(wxCURSOR_WAIT
)));
56007 SWIG_Python_SetConstant(d
, "CURSOR_WATCH",SWIG_From_int(static_cast< int >(wxCURSOR_WATCH
)));
56008 SWIG_Python_SetConstant(d
, "CURSOR_BLANK",SWIG_From_int(static_cast< int >(wxCURSOR_BLANK
)));
56009 SWIG_Python_SetConstant(d
, "CURSOR_DEFAULT",SWIG_From_int(static_cast< int >(wxCURSOR_DEFAULT
)));
56010 SWIG_Python_SetConstant(d
, "CURSOR_COPY_ARROW",SWIG_From_int(static_cast< int >(wxCURSOR_COPY_ARROW
)));
56011 SWIG_Python_SetConstant(d
, "CURSOR_ARROWWAIT",SWIG_From_int(static_cast< int >(wxCURSOR_ARROWWAIT
)));
56012 SWIG_Python_SetConstant(d
, "CURSOR_MAX",SWIG_From_int(static_cast< int >(wxCURSOR_MAX
)));
56013 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultPosition",DefaultPosition_get
, DefaultPosition_set
);
56014 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultSize",DefaultSize_get
, DefaultSize_set
);
56015 SWIG_Python_SetConstant(d
, "FromStart",SWIG_From_int(static_cast< int >(wxFromStart
)));
56016 SWIG_Python_SetConstant(d
, "FromCurrent",SWIG_From_int(static_cast< int >(wxFromCurrent
)));
56017 SWIG_Python_SetConstant(d
, "FromEnd",SWIG_From_int(static_cast< int >(wxFromEnd
)));
56019 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
56022 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
56024 SWIG_Python_SetConstant(d
, "IMAGE_ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGE_ALPHA_TRANSPARENT
)));
56025 SWIG_Python_SetConstant(d
, "IMAGE_ALPHA_THRESHOLD",SWIG_From_int(static_cast< int >(wxIMAGE_ALPHA_THRESHOLD
)));
56026 SWIG_Python_SetConstant(d
, "IMAGE_ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxIMAGE_ALPHA_OPAQUE
)));
56027 SWIG_addvarlink(SWIG_globals(),(char*)"NullImage",NullImage_get
, NullImage_set
);
56028 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_FILENAME",IMAGE_OPTION_FILENAME_get
, IMAGE_OPTION_FILENAME_set
);
56029 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_BMP_FORMAT",IMAGE_OPTION_BMP_FORMAT_get
, IMAGE_OPTION_BMP_FORMAT_set
);
56030 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",IMAGE_OPTION_CUR_HOTSPOT_X_get
, IMAGE_OPTION_CUR_HOTSPOT_X_set
);
56031 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",IMAGE_OPTION_CUR_HOTSPOT_Y_get
, IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
56032 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_RESOLUTION",IMAGE_OPTION_RESOLUTION_get
, IMAGE_OPTION_RESOLUTION_set
);
56033 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_RESOLUTIONX",IMAGE_OPTION_RESOLUTIONX_get
, IMAGE_OPTION_RESOLUTIONX_set
);
56034 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_RESOLUTIONY",IMAGE_OPTION_RESOLUTIONY_get
, IMAGE_OPTION_RESOLUTIONY_set
);
56035 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_RESOLUTIONUNIT",IMAGE_OPTION_RESOLUTIONUNIT_get
, IMAGE_OPTION_RESOLUTIONUNIT_set
);
56036 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_QUALITY",IMAGE_OPTION_QUALITY_get
, IMAGE_OPTION_QUALITY_set
);
56037 SWIG_Python_SetConstant(d
, "IMAGE_RESOLUTION_INCHES",SWIG_From_int(static_cast< int >(wxIMAGE_RESOLUTION_INCHES
)));
56038 SWIG_Python_SetConstant(d
, "IMAGE_RESOLUTION_CM",SWIG_From_int(static_cast< int >(wxIMAGE_RESOLUTION_CM
)));
56039 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_BITSPERSAMPLE",IMAGE_OPTION_BITSPERSAMPLE_get
, IMAGE_OPTION_BITSPERSAMPLE_set
);
56040 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_SAMPLESPERPIXEL",IMAGE_OPTION_SAMPLESPERPIXEL_get
, IMAGE_OPTION_SAMPLESPERPIXEL_set
);
56041 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_COMPRESSION",IMAGE_OPTION_COMPRESSION_get
, IMAGE_OPTION_COMPRESSION_set
);
56042 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_IMAGEDESCRIPTOR",IMAGE_OPTION_IMAGEDESCRIPTOR_get
, IMAGE_OPTION_IMAGEDESCRIPTOR_set
);
56043 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_PNG_FORMAT",IMAGE_OPTION_PNG_FORMAT_get
, IMAGE_OPTION_PNG_FORMAT_set
);
56044 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_PNG_BITDEPTH",IMAGE_OPTION_PNG_BITDEPTH_get
, IMAGE_OPTION_PNG_BITDEPTH_set
);
56045 SWIG_Python_SetConstant(d
, "PNG_TYPE_COLOUR",SWIG_From_int(static_cast< int >(wxPNG_TYPE_COLOUR
)));
56046 SWIG_Python_SetConstant(d
, "PNG_TYPE_GREY",SWIG_From_int(static_cast< int >(wxPNG_TYPE_GREY
)));
56047 SWIG_Python_SetConstant(d
, "PNG_TYPE_GREY_RED",SWIG_From_int(static_cast< int >(wxPNG_TYPE_GREY_RED
)));
56048 SWIG_Python_SetConstant(d
, "BMP_24BPP",SWIG_From_int(static_cast< int >(wxBMP_24BPP
)));
56049 SWIG_Python_SetConstant(d
, "BMP_8BPP",SWIG_From_int(static_cast< int >(wxBMP_8BPP
)));
56050 SWIG_Python_SetConstant(d
, "BMP_8BPP_GREY",SWIG_From_int(static_cast< int >(wxBMP_8BPP_GREY
)));
56051 SWIG_Python_SetConstant(d
, "BMP_8BPP_GRAY",SWIG_From_int(static_cast< int >(wxBMP_8BPP_GRAY
)));
56052 SWIG_Python_SetConstant(d
, "BMP_8BPP_RED",SWIG_From_int(static_cast< int >(wxBMP_8BPP_RED
)));
56053 SWIG_Python_SetConstant(d
, "BMP_8BPP_PALETTE",SWIG_From_int(static_cast< int >(wxBMP_8BPP_PALETTE
)));
56054 SWIG_Python_SetConstant(d
, "BMP_4BPP",SWIG_From_int(static_cast< int >(wxBMP_4BPP
)));
56055 SWIG_Python_SetConstant(d
, "BMP_1BPP",SWIG_From_int(static_cast< int >(wxBMP_1BPP
)));
56056 SWIG_Python_SetConstant(d
, "BMP_1BPP_BW",SWIG_From_int(static_cast< int >(wxBMP_1BPP_BW
)));
56057 SWIG_Python_SetConstant(d
, "QUANTIZE_INCLUDE_WINDOWS_COLOURS",SWIG_From_int(static_cast< int >(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
)));
56058 SWIG_Python_SetConstant(d
, "QUANTIZE_FILL_DESTINATION_IMAGE",SWIG_From_int(static_cast< int >(wxQUANTIZE_FILL_DESTINATION_IMAGE
)));
56059 SWIG_Python_SetConstant(d
, "EVENT_PROPAGATE_NONE",SWIG_From_int(static_cast< int >(wxEVENT_PROPAGATE_NONE
)));
56060 SWIG_Python_SetConstant(d
, "EVENT_PROPAGATE_MAX",SWIG_From_int(static_cast< int >(wxEVENT_PROPAGATE_MAX
)));
56061 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
56062 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
56063 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
56064 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
56065 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
56066 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
56067 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
56068 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
56069 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
56070 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
56071 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
56072 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
56073 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
56074 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
56075 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
56076 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
56077 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
56078 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
56079 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
56080 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
56081 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
56082 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
56083 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
56084 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
56085 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
56086 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
56087 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
56088 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
56089 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
56090 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
56091 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
56092 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
56093 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
56094 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
56095 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
56096 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
56097 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
56098 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
56099 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
56100 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
56101 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
56102 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
56103 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
56104 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
56105 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
56106 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
56107 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
56108 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
56109 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
56110 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
56111 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
56112 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
56113 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
56114 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
56115 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
56116 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
56117 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
56118 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
56119 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
56120 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
56121 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
56122 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
56123 PyDict_SetItemString(d
, "wxEVT_SCROLL_CHANGED", PyInt_FromLong(wxEVT_SCROLL_CHANGED
));
56124 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
56125 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
56126 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
56127 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
56128 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
56129 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
56130 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
56131 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
56132 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
56133 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
56134 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
56135 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
56136 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
56137 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
56138 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
56139 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
56140 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
56141 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
56142 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
56143 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
56144 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
56145 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
56146 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
56147 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
56148 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
56149 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
56150 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
56151 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
56152 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
56153 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
56154 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
56155 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
56156 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
56157 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
56158 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
56159 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
56160 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
56161 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
56162 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
56163 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
56164 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
56165 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
56166 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
56167 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
56168 PyDict_SetItemString(d
, "wxEVT_HIBERNATE", PyInt_FromLong(wxEVT_HIBERNATE
));
56169 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
56170 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
56171 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
56172 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
56173 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
56174 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
56175 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
56176 SWIG_Python_SetConstant(d
, "MOUSE_BTN_ANY",SWIG_From_int(static_cast< int >(wxMOUSE_BTN_ANY
)));
56177 SWIG_Python_SetConstant(d
, "MOUSE_BTN_NONE",SWIG_From_int(static_cast< int >(wxMOUSE_BTN_NONE
)));
56178 SWIG_Python_SetConstant(d
, "MOUSE_BTN_LEFT",SWIG_From_int(static_cast< int >(wxMOUSE_BTN_LEFT
)));
56179 SWIG_Python_SetConstant(d
, "MOUSE_BTN_MIDDLE",SWIG_From_int(static_cast< int >(wxMOUSE_BTN_MIDDLE
)));
56180 SWIG_Python_SetConstant(d
, "MOUSE_BTN_RIGHT",SWIG_From_int(static_cast< int >(wxMOUSE_BTN_RIGHT
)));
56181 SWIG_Python_SetConstant(d
, "UPDATE_UI_PROCESS_ALL",SWIG_From_int(static_cast< int >(wxUPDATE_UI_PROCESS_ALL
)));
56182 SWIG_Python_SetConstant(d
, "UPDATE_UI_PROCESS_SPECIFIED",SWIG_From_int(static_cast< int >(wxUPDATE_UI_PROCESS_SPECIFIED
)));
56183 SWIG_Python_SetConstant(d
, "NavigationKeyEvent_IsBackward",SWIG_From_int(static_cast< int >(wxNavigationKeyEvent::IsBackward
)));
56184 SWIG_Python_SetConstant(d
, "NavigationKeyEvent_IsForward",SWIG_From_int(static_cast< int >(wxNavigationKeyEvent::IsForward
)));
56185 SWIG_Python_SetConstant(d
, "NavigationKeyEvent_WinChange",SWIG_From_int(static_cast< int >(wxNavigationKeyEvent::WinChange
)));
56186 SWIG_Python_SetConstant(d
, "NavigationKeyEvent_FromTab",SWIG_From_int(static_cast< int >(wxNavigationKeyEvent::FromTab
)));
56187 SWIG_Python_SetConstant(d
, "IDLE_PROCESS_ALL",SWIG_From_int(static_cast< int >(wxIDLE_PROCESS_ALL
)));
56188 SWIG_Python_SetConstant(d
, "IDLE_PROCESS_SPECIFIED",SWIG_From_int(static_cast< int >(wxIDLE_PROCESS_SPECIFIED
)));
56189 PyDict_SetItemString(d
, "wxEVT_DATE_CHANGED", PyInt_FromLong(wxEVT_DATE_CHANGED
));
56190 SWIG_Python_SetConstant(d
, "PYAPP_ASSERT_SUPPRESS",SWIG_From_int(static_cast< int >(wxPYAPP_ASSERT_SUPPRESS
)));
56191 SWIG_Python_SetConstant(d
, "PYAPP_ASSERT_EXCEPTION",SWIG_From_int(static_cast< int >(wxPYAPP_ASSERT_EXCEPTION
)));
56192 SWIG_Python_SetConstant(d
, "PYAPP_ASSERT_DIALOG",SWIG_From_int(static_cast< int >(wxPYAPP_ASSERT_DIALOG
)));
56193 SWIG_Python_SetConstant(d
, "PYAPP_ASSERT_LOG",SWIG_From_int(static_cast< int >(wxPYAPP_ASSERT_LOG
)));
56194 SWIG_Python_SetConstant(d
, "PRINT_WINDOWS",SWIG_From_int(static_cast< int >(wxPRINT_WINDOWS
)));
56195 SWIG_Python_SetConstant(d
, "PRINT_POSTSCRIPT",SWIG_From_int(static_cast< int >(wxPRINT_POSTSCRIPT
)));
56196 SWIG_addvarlink(SWIG_globals(),(char*)"NullAcceleratorTable",NullAcceleratorTable_get
, NullAcceleratorTable_set
);
56197 SWIG_addvarlink(SWIG_globals(),(char*)"PanelNameStr",PanelNameStr_get
, PanelNameStr_set
);
56198 SWIG_Python_SetConstant(d
, "WINDOW_VARIANT_NORMAL",SWIG_From_int(static_cast< int >(wxWINDOW_VARIANT_NORMAL
)));
56199 SWIG_Python_SetConstant(d
, "WINDOW_VARIANT_SMALL",SWIG_From_int(static_cast< int >(wxWINDOW_VARIANT_SMALL
)));
56200 SWIG_Python_SetConstant(d
, "WINDOW_VARIANT_MINI",SWIG_From_int(static_cast< int >(wxWINDOW_VARIANT_MINI
)));
56201 SWIG_Python_SetConstant(d
, "WINDOW_VARIANT_LARGE",SWIG_From_int(static_cast< int >(wxWINDOW_VARIANT_LARGE
)));
56202 SWIG_Python_SetConstant(d
, "WINDOW_VARIANT_MAX",SWIG_From_int(static_cast< int >(wxWINDOW_VARIANT_MAX
)));
56203 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultValidator",DefaultValidator_get
, DefaultValidator_set
);
56204 SWIG_addvarlink(SWIG_globals(),(char*)"ControlNameStr",ControlNameStr_get
, ControlNameStr_set
);
56205 SWIG_Python_SetConstant(d
, "FLEX_GROWMODE_NONE",SWIG_From_int(static_cast< int >(wxFLEX_GROWMODE_NONE
)));
56206 SWIG_Python_SetConstant(d
, "FLEX_GROWMODE_SPECIFIED",SWIG_From_int(static_cast< int >(wxFLEX_GROWMODE_SPECIFIED
)));
56207 SWIG_Python_SetConstant(d
, "FLEX_GROWMODE_ALL",SWIG_From_int(static_cast< int >(wxFLEX_GROWMODE_ALL
)));
56208 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultSpan",DefaultSpan_get
, DefaultSpan_set
);
56209 SWIG_Python_SetConstant(d
, "Left",SWIG_From_int(static_cast< int >(wxLeft
)));
56210 SWIG_Python_SetConstant(d
, "Top",SWIG_From_int(static_cast< int >(wxTop
)));
56211 SWIG_Python_SetConstant(d
, "Right",SWIG_From_int(static_cast< int >(wxRight
)));
56212 SWIG_Python_SetConstant(d
, "Bottom",SWIG_From_int(static_cast< int >(wxBottom
)));
56213 SWIG_Python_SetConstant(d
, "Width",SWIG_From_int(static_cast< int >(wxWidth
)));
56214 SWIG_Python_SetConstant(d
, "Height",SWIG_From_int(static_cast< int >(wxHeight
)));
56215 SWIG_Python_SetConstant(d
, "Centre",SWIG_From_int(static_cast< int >(wxCentre
)));
56216 SWIG_Python_SetConstant(d
, "Center",SWIG_From_int(static_cast< int >(wxCenter
)));
56217 SWIG_Python_SetConstant(d
, "CentreX",SWIG_From_int(static_cast< int >(wxCentreX
)));
56218 SWIG_Python_SetConstant(d
, "CentreY",SWIG_From_int(static_cast< int >(wxCentreY
)));
56219 SWIG_Python_SetConstant(d
, "Unconstrained",SWIG_From_int(static_cast< int >(wxUnconstrained
)));
56220 SWIG_Python_SetConstant(d
, "AsIs",SWIG_From_int(static_cast< int >(wxAsIs
)));
56221 SWIG_Python_SetConstant(d
, "PercentOf",SWIG_From_int(static_cast< int >(wxPercentOf
)));
56222 SWIG_Python_SetConstant(d
, "Above",SWIG_From_int(static_cast< int >(wxAbove
)));
56223 SWIG_Python_SetConstant(d
, "Below",SWIG_From_int(static_cast< int >(wxBelow
)));
56224 SWIG_Python_SetConstant(d
, "LeftOf",SWIG_From_int(static_cast< int >(wxLeftOf
)));
56225 SWIG_Python_SetConstant(d
, "RightOf",SWIG_From_int(static_cast< int >(wxRightOf
)));
56226 SWIG_Python_SetConstant(d
, "SameAs",SWIG_From_int(static_cast< int >(wxSameAs
)));
56227 SWIG_Python_SetConstant(d
, "Absolute",SWIG_From_int(static_cast< int >(wxAbsolute
)));
56229 // Initialize threading, some globals and such
56233 // Although these are defined in __version__ they need to be here too so
56234 // that an assert can be done to ensure that the wxPython and the wxWindows
56236 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
56237 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
56238 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));