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_wxClipboardTextEvent swig_types[21]
2484 #define SWIGTYPE_p_wxCloseEvent swig_types[22]
2485 #define SWIGTYPE_p_wxColour swig_types[23]
2486 #define SWIGTYPE_p_wxCommandEvent swig_types[24]
2487 #define SWIGTYPE_p_wxContextMenuEvent swig_types[25]
2488 #define SWIGTYPE_p_wxControl swig_types[26]
2489 #define SWIGTYPE_p_wxControlWithItems swig_types[27]
2490 #define SWIGTYPE_p_wxCursor swig_types[28]
2491 #define SWIGTYPE_p_wxDC swig_types[29]
2492 #define SWIGTYPE_p_wxDateEvent swig_types[30]
2493 #define SWIGTYPE_p_wxDateTime swig_types[31]
2494 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[32]
2495 #define SWIGTYPE_p_wxDropFilesEvent swig_types[33]
2496 #define SWIGTYPE_p_wxDuplexMode swig_types[34]
2497 #define SWIGTYPE_p_wxEraseEvent swig_types[35]
2498 #define SWIGTYPE_p_wxEvent swig_types[36]
2499 #define SWIGTYPE_p_wxEventLoop swig_types[37]
2500 #define SWIGTYPE_p_wxEventLoopActivator swig_types[38]
2501 #define SWIGTYPE_p_wxEvtHandler swig_types[39]
2502 #define SWIGTYPE_p_wxFSFile swig_types[40]
2503 #define SWIGTYPE_p_wxFileSystem swig_types[41]
2504 #define SWIGTYPE_p_wxFileSystemHandler swig_types[42]
2505 #define SWIGTYPE_p_wxFlexGridSizer swig_types[43]
2506 #define SWIGTYPE_p_wxFocusEvent swig_types[44]
2507 #define SWIGTYPE_p_wxFont swig_types[45]
2508 #define SWIGTYPE_p_wxFrame swig_types[46]
2509 #define SWIGTYPE_p_wxGBPosition swig_types[47]
2510 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2511 #define SWIGTYPE_p_wxGBSpan swig_types[49]
2512 #define SWIGTYPE_p_wxGIFHandler swig_types[50]
2513 #define SWIGTYPE_p_wxGridBagSizer swig_types[51]
2514 #define SWIGTYPE_p_wxGridSizer swig_types[52]
2515 #define SWIGTYPE_p_wxHelpEvent__Origin swig_types[53]
2516 #define SWIGTYPE_p_wxICOHandler swig_types[54]
2517 #define SWIGTYPE_p_wxIconizeEvent swig_types[55]
2518 #define SWIGTYPE_p_wxIdleEvent swig_types[56]
2519 #define SWIGTYPE_p_wxImage swig_types[57]
2520 #define SWIGTYPE_p_wxImageHandler swig_types[58]
2521 #define SWIGTYPE_p_wxImageHistogram swig_types[59]
2522 #define SWIGTYPE_p_wxImage_HSVValue swig_types[60]
2523 #define SWIGTYPE_p_wxImage_RGBValue swig_types[61]
2524 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[62]
2525 #define SWIGTYPE_p_wxInitDialogEvent swig_types[63]
2526 #define SWIGTYPE_p_wxInputStream swig_types[64]
2527 #define SWIGTYPE_p_wxInternetFSHandler swig_types[65]
2528 #define SWIGTYPE_p_wxItemContainer swig_types[66]
2529 #define SWIGTYPE_p_wxJPEGHandler swig_types[67]
2530 #define SWIGTYPE_p_wxKeyEvent swig_types[68]
2531 #define SWIGTYPE_p_wxLayoutConstraints swig_types[69]
2532 #define SWIGTYPE_p_wxMaximizeEvent swig_types[70]
2533 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[71]
2534 #define SWIGTYPE_p_wxMenu swig_types[72]
2535 #define SWIGTYPE_p_wxMenuBar swig_types[73]
2536 #define SWIGTYPE_p_wxMenuBarBase swig_types[74]
2537 #define SWIGTYPE_p_wxMenuEvent swig_types[75]
2538 #define SWIGTYPE_p_wxMenuItem swig_types[76]
2539 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[77]
2540 #define SWIGTYPE_p_wxMouseEvent swig_types[78]
2541 #define SWIGTYPE_p_wxMoveEvent swig_types[79]
2542 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[80]
2543 #define SWIGTYPE_p_wxNcPaintEvent swig_types[81]
2544 #define SWIGTYPE_p_wxNotifyEvent swig_types[82]
2545 #define SWIGTYPE_p_wxObject swig_types[83]
2546 #define SWIGTYPE_p_wxOutputStream swig_types[84]
2547 #define SWIGTYPE_p_wxPCXHandler swig_types[85]
2548 #define SWIGTYPE_p_wxPNGHandler swig_types[86]
2549 #define SWIGTYPE_p_wxPNMHandler swig_types[87]
2550 #define SWIGTYPE_p_wxPaintEvent swig_types[88]
2551 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[89]
2552 #define SWIGTYPE_p_wxPaperSize swig_types[90]
2553 #define SWIGTYPE_p_wxPoint swig_types[91]
2554 #define SWIGTYPE_p_wxPoint2D swig_types[92]
2555 #define SWIGTYPE_p_wxPropagateOnce swig_types[93]
2556 #define SWIGTYPE_p_wxPropagationDisabler swig_types[94]
2557 #define SWIGTYPE_p_wxPyApp swig_types[95]
2558 #define SWIGTYPE_p_wxPyCommandEvent swig_types[96]
2559 #define SWIGTYPE_p_wxPyDropTarget swig_types[97]
2560 #define SWIGTYPE_p_wxPyEvent swig_types[98]
2561 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[99]
2562 #define SWIGTYPE_p_wxPyImageHandler swig_types[100]
2563 #define SWIGTYPE_p_wxPyInputStream swig_types[101]
2564 #define SWIGTYPE_p_wxPySizer swig_types[102]
2565 #define SWIGTYPE_p_wxPyValidator swig_types[103]
2566 #define SWIGTYPE_p_wxQuantize swig_types[104]
2567 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[105]
2568 #define SWIGTYPE_p_wxRealPoint swig_types[106]
2569 #define SWIGTYPE_p_wxRect swig_types[107]
2570 #define SWIGTYPE_p_wxRegion swig_types[108]
2571 #define SWIGTYPE_p_wxScrollEvent swig_types[109]
2572 #define SWIGTYPE_p_wxScrollWinEvent swig_types[110]
2573 #define SWIGTYPE_p_wxSetCursorEvent swig_types[111]
2574 #define SWIGTYPE_p_wxShowEvent swig_types[112]
2575 #define SWIGTYPE_p_wxSize swig_types[113]
2576 #define SWIGTYPE_p_wxSizeEvent swig_types[114]
2577 #define SWIGTYPE_p_wxSizer swig_types[115]
2578 #define SWIGTYPE_p_wxSizerItem swig_types[116]
2579 #define SWIGTYPE_p_wxStaticBox swig_types[117]
2580 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[118]
2581 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[119]
2582 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[120]
2583 #define SWIGTYPE_p_wxTIFFHandler swig_types[121]
2584 #define SWIGTYPE_p_wxToolTip swig_types[122]
2585 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[123]
2586 #define SWIGTYPE_p_wxValidator swig_types[124]
2587 #define SWIGTYPE_p_wxVisualAttributes swig_types[125]
2588 #define SWIGTYPE_p_wxWindow swig_types[126]
2589 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[127]
2590 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[128]
2591 #define SWIGTYPE_p_wxXPMHandler swig_types[129]
2592 #define SWIGTYPE_p_wxZipFSHandler swig_types[130]
2593 static swig_type_info
*swig_types
[132];
2594 static swig_module_info swig_module
= {swig_types
, 131, 0, 0, 0, 0};
2595 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2596 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2598 /* -------- TYPES TABLE (END) -------- */
2600 #if (PY_VERSION_HEX <= 0x02000000)
2601 # if !defined(SWIG_PYTHON_CLASSIC)
2602 # error "This python version requires to use swig with the '-classic' option"
2605 #if (PY_VERSION_HEX <= 0x02020000)
2606 # error "This python version requires to use swig with the '-nomodern' option"
2608 #if (PY_VERSION_HEX <= 0x02020000)
2609 # error "This python version requires to use swig with the '-nomodernargs' option"
2612 # error "This python version requires to use swig with the '-nofastunpack' option"
2615 /*-----------------------------------------------
2616 @(target):= _core_.so
2617 ------------------------------------------------*/
2618 #define SWIG_init init_core_
2620 #define SWIG_name "_core_"
2622 #define SWIGVERSION 0x010329
2625 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2626 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2629 #include <stdexcept>
2633 class PyObject_ptr
{
2638 PyObject_ptr() :_obj(0)
2642 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2647 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2649 if (initial_ref
) Py_XINCREF(_obj
);
2652 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2654 Py_XINCREF(item
._obj
);
2665 operator PyObject
*() const
2670 PyObject
*operator->() const
2679 struct PyObject_var
: PyObject_ptr
{
2680 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2682 PyObject_var
& operator = (PyObject
* obj
)
2692 #include "wx/wxPython/wxPython_int.h"
2693 #include "wx/wxPython/pyclasses.h"
2694 #include "wx/wxPython/twoitem.h"
2697 #ifndef wxPyUSE_EXPORT
2698 // Helper functions for dealing with SWIG objects and such. These are
2699 // located here so they know about the SWIG types and functions declared
2700 // in the wrapper code.
2702 #include <wx/hashmap.h>
2703 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
2706 // Maintains a hashmap of className to swig_type_info pointers. Given the
2707 // name of a class either looks up the type info in the cache, or scans the
2708 // SWIG tables for it.
2709 extern PyObject
* wxPyPtrTypeMap
;
2711 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
2713 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
2715 if (typeInfoCache
== NULL
)
2716 typeInfoCache
= new wxPyTypeInfoHashMap
;
2718 wxString
name(className
);
2719 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
2722 // it wasn't in the cache, so look it up from SWIG
2723 name
.Append(wxT(" *"));
2724 swigType
= SWIG_TypeQuery(name
.mb_str());
2726 // if it still wasn't found, try looking for a mapped name
2731 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
2732 (char*)(const char*)name
.mbc_str())) != NULL
) {
2733 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
2734 name
.Append(wxT(" *"));
2735 swigType
= SWIG_TypeQuery(name
.mb_str());
2739 // and add it to the map if found
2740 (*typeInfoCache
)[className
] = swigType
;
2747 // Check if a class name is a type known to SWIG
2748 bool wxPyCheckSwigType(const wxChar
* className
) {
2750 swig_type_info
* swigType
= wxPyFindSwigType(className
);
2751 return swigType
!= NULL
;
2755 // Given a pointer to a C++ object and a class name, construct a Python proxy
2757 PyObject
* wxPyConstructObject(void* ptr
,
2758 const wxChar
* className
,
2761 swig_type_info
* swigType
= wxPyFindSwigType(className
);
2762 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
2764 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
2768 // Extract a pointer to the wrapped C++ object from a Python proxy object.
2769 // Ensures that the proxy object is of the specified (or derived) type. If
2770 // not able to perform the conversion then a Python exception is set and the
2771 // error should be handled properly in the caller. Returns True on success.
2772 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
2773 const wxChar
* className
) {
2775 swig_type_info
* swigType
= wxPyFindSwigType(className
);
2776 wxCHECK_MSG(swigType
!= NULL
, false, wxT("Unknown type in wxPyConvertSwigPtr"));
2778 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
2783 // Make a SWIGified pointer object suitable for a .this attribute
2784 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
2786 PyObject
* robj
= NULL
;
2788 swig_type_info
* swigType
= wxPyFindSwigType(className
);
2789 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyMakeSwigPtr"));
2791 robj
= PySwigObject_New(ptr
, swigType
, 0);
2796 // Python's PyInstance_Check does not return True for instances of new-style
2797 // classes. This should get close enough for both new and old classes but I
2798 // should re-evaluate the need for doing instance checks...
2799 bool wxPyInstance_Check(PyObject
* obj
) {
2800 return PyObject_HasAttrString(obj
, "__class__") != 0;
2804 // This one checks if the object is an instance of a SWIG proxy class (it has
2805 // a .this attribute, and the .this attribute is a PySwigObject.)
2806 bool wxPySwigInstance_Check(PyObject
* obj
) {
2807 static PyObject
* this_str
= NULL
;
2808 if (this_str
== NULL
)
2809 this_str
= PyString_FromString("this");
2811 PyObject
* this_attr
= PyObject_GetAttr(obj
, this_str
);
2813 bool retval
= (PySwigObject_Check(this_attr
) != 0);
2814 Py_DECREF(this_attr
);
2823 // Export a C API in a struct. Other modules will be able to load this from
2824 // the wx._core_ module and will then have safe access to these functions,
2825 // even if they are located in another shared library.
2826 static wxPyCoreAPI API
= {
2829 wxPyConstructObject
,
2833 wxPyBeginAllowThreads
,
2834 wxPyEndAllowThreads
,
2835 wxPyBeginBlockThreads
,
2836 wxPyEndBlockThreads
,
2848 wxPoint_LIST_helper
,
2849 wxBitmap_LIST_helper
,
2850 wxString_LIST_helper
,
2851 wxAcceleratorEntry_LIST_helper
,
2860 wxPySimple_typecheck
,
2863 wxPyCBH_setCallbackInfo
,
2864 wxPyCBH_findCallback
,
2865 wxPyCBH_callCallback
,
2866 wxPyCBH_callCallbackObj
,
2872 wxPy2int_seq_helper
,
2873 wxPy4int_seq_helper
,
2874 wxArrayString2PyList_helper
,
2875 wxArrayInt2PyList_helper
,
2877 wxPyClientData_dtor
,
2879 wxPyOORClientData_dtor
,
2881 wxPyCBInputStream_create
,
2882 wxPyCBInputStream_copy
,
2885 wxPySwigInstance_Check
,
2894 #if !WXWIN_COMPATIBILITY_2_4
2895 #define wxHIDE_READONLY 0
2899 #define SWIG_From_long PyInt_FromLong
2902 SWIGINTERNINLINE PyObject
*
2903 SWIG_From_int (int value
)
2905 return SWIG_From_long (value
);
2908 static const wxString
wxPyEmptyString(wxEmptyString
);
2909 SWIGINTERN wxString
wxObject_GetClassName(wxObject
*self
){
2910 return self
->GetClassInfo()->GetClassName();
2912 SWIGINTERN
void wxObject_Destroy(wxObject
*self
){
2917 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
2923 # define LLONG_MIN LONG_LONG_MIN
2926 # define LLONG_MAX LONG_LONG_MAX
2929 # define ULLONG_MAX ULONG_LONG_MAX
2934 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2936 if (PyNumber_Check(obj
)) {
2937 if (val
) *val
= PyInt_AsLong(obj
);
2940 return SWIG_TypeError
;
2945 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2948 int res
= SWIG_AsVal_long (obj
, &v
);
2949 if (SWIG_IsOK(res
)) {
2950 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2951 return SWIG_OverflowError
;
2953 if (val
) *val
= static_cast< int >(v
);
2959 SWIGINTERN
bool wxSize___eq__(wxSize
*self
,PyObject
*other
){
2960 wxSize temp
, *obj
= &temp
;
2961 if ( other
== Py_None
) return false;
2962 if ( ! wxSize_helper(other
, &obj
) ) {
2966 return self
->operator==(*obj
);
2968 SWIGINTERN
bool wxSize___ne__(wxSize
*self
,PyObject
*other
){
2969 wxSize temp
, *obj
= &temp
;
2970 if ( other
== Py_None
) return true;
2971 if ( ! wxSize_helper(other
, &obj
)) {
2975 return self
->operator!=(*obj
);
2977 SWIGINTERN PyObject
*wxSize_Get(wxSize
*self
){
2978 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
2979 PyObject
* tup
= PyTuple_New(2);
2980 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
2981 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
2982 wxPyEndBlockThreads(blocked
);
2987 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2989 if (PyNumber_Check(obj
)) {
2990 if (val
) *val
= PyFloat_AsDouble(obj
);
2993 return SWIG_TypeError
;
2997 #define SWIG_From_double PyFloat_FromDouble
2999 SWIGINTERN
bool wxRealPoint___eq__(wxRealPoint
*self
,PyObject
*other
){
3000 wxRealPoint temp
, *obj
= &temp
;
3001 if ( other
== Py_None
) return false;
3002 if ( ! wxRealPoint_helper(other
, &obj
) ) {
3006 return self
->operator==(*obj
);
3008 SWIGINTERN
bool wxRealPoint___ne__(wxRealPoint
*self
,PyObject
*other
){
3009 wxRealPoint temp
, *obj
= &temp
;
3010 if ( other
== Py_None
) return true;
3011 if ( ! wxRealPoint_helper(other
, &obj
)) {
3015 return self
->operator!=(*obj
);
3017 SWIGINTERN
void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
3021 SWIGINTERN PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
3022 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3023 PyObject
* tup
= PyTuple_New(2);
3024 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
3025 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
3026 wxPyEndBlockThreads(blocked
);
3029 SWIGINTERN
bool wxPoint___eq__(wxPoint
*self
,PyObject
*other
){
3030 wxPoint temp
, *obj
= &temp
;
3031 if ( other
== Py_None
) return false;
3032 if ( ! wxPoint_helper(other
, &obj
) ) {
3036 return self
->operator==(*obj
);
3038 SWIGINTERN
bool wxPoint___ne__(wxPoint
*self
,PyObject
*other
){
3039 wxPoint temp
, *obj
= &temp
;
3040 if ( other
== Py_None
) return true;
3041 if ( ! wxPoint_helper(other
, &obj
)) {
3045 return self
->operator!=(*obj
);
3047 SWIGINTERN
void wxPoint_Set(wxPoint
*self
,long x
,long y
){
3051 SWIGINTERN PyObject
*wxPoint_Get(wxPoint
*self
){
3052 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3053 PyObject
* tup
= PyTuple_New(2);
3054 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
3055 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
3056 wxPyEndBlockThreads(blocked
);
3059 SWIGINTERN
bool wxRect___eq__(wxRect
*self
,PyObject
*other
){
3060 wxRect temp
, *obj
= &temp
;
3061 if ( other
== Py_None
) return false;
3062 if ( ! wxRect_helper(other
, &obj
) ) {
3066 return self
->operator==(*obj
);
3068 SWIGINTERN
bool wxRect___ne__(wxRect
*self
,PyObject
*other
){
3069 wxRect temp
, *obj
= &temp
;
3070 if ( other
== Py_None
) return true;
3071 if ( ! wxRect_helper(other
, &obj
)) {
3075 return self
->operator!=(*obj
);
3077 SWIGINTERN
void wxRect_Set(wxRect
*self
,int x
=0,int y
=0,int width
=0,int height
=0){
3080 self
->width
= width
;
3081 self
->height
= height
;
3083 SWIGINTERN PyObject
*wxRect_Get(wxRect
*self
){
3084 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3085 PyObject
* tup
= PyTuple_New(4);
3086 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
3087 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
3088 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
3089 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
3090 wxPyEndBlockThreads(blocked
);
3094 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
3097 wxRect
dest(0,0,0,0);
3100 reg1
.Intersect(reg2
);
3101 dest
= reg1
.GetBox();
3103 if (dest
!= wxRect(0,0,0,0)) {
3104 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3105 wxRect
* newRect
= new wxRect(dest
);
3106 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), true);
3107 wxPyEndBlockThreads(blocked
);
3114 SWIGINTERN
bool wxPoint2D___eq__(wxPoint2D
*self
,PyObject
*other
){
3115 wxPoint2D temp
, *obj
= &temp
;
3116 if ( other
== Py_None
) return false;
3117 if ( ! wxPoint2D_helper(other
, &obj
) ) {
3121 return self
->operator==(*obj
);
3123 SWIGINTERN
bool wxPoint2D___ne__(wxPoint2D
*self
,PyObject
*other
){
3124 wxPoint2D temp
, *obj
= &temp
;
3125 if ( other
== Py_None
) return true;
3126 if ( ! wxPoint2D_helper(other
, &obj
)) {
3130 return self
->operator!=(*obj
);
3132 SWIGINTERN
void wxPoint2D_Set(wxPoint2D
*self
,double x
=0,double y
=0){
3136 SWIGINTERN PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
3137 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3138 PyObject
* tup
= PyTuple_New(2);
3139 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
3140 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
3141 wxPyEndBlockThreads(blocked
);
3145 #include "wx/wxPython/pyistream.h"
3147 SWIGINTERN wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
3148 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
3150 return new wxPyInputStream(wxis
);
3155 SWIGINTERN swig_type_info
*
3156 SWIG_pchar_descriptor()
3158 static int init
= 0;
3159 static swig_type_info
* info
= 0;
3161 info
= SWIG_TypeQuery("_p_char");
3168 SWIGINTERNINLINE PyObject
*
3169 SWIG_FromCharPtrAndSize(const char* carray
, size_t size
)
3172 if (size
> INT_MAX
) {
3173 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
3174 return pchar_descriptor
?
3175 SWIG_NewPointerObj(const_cast< char * >(carray
), pchar_descriptor
, 0) : SWIG_Py_Void();
3177 return PyString_FromStringAndSize(carray
, static_cast< int >(size
));
3180 return SWIG_Py_Void();
3185 SWIGINTERNINLINE PyObject
*
3186 SWIG_From_char (char c
)
3188 return SWIG_FromCharPtrAndSize(&c
,1);
3192 SWIGINTERNINLINE PyObject
*
3193 SWIG_From_unsigned_SS_long (unsigned long value
)
3195 return (value
> LONG_MAX
) ?
3196 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
3200 SWIGINTERNINLINE PyObject
*
3201 SWIG_From_size_t (size_t value
)
3203 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3208 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* psize
, int *alloc
)
3210 if (PyString_Check(obj
)) {
3211 char *cstr
; int len
;
3212 PyString_AsStringAndSize(obj
, &cstr
, &len
);
3216 In python the user should not be able to modify the inner
3217 string representation. To warranty that, if you define
3218 SWIG_PYTHON_SAFE_CSTRINGS, a new/copy of the python string
3219 buffer is always returned.
3221 The default behavior is just to return the pointer value,
3224 #if defined(SWIG_PYTHON_SAFE_CSTRINGS)
3225 if (*alloc
!= SWIG_OLDOBJ
)
3227 if (*alloc
== SWIG_NEWOBJ
)
3230 *cptr
= reinterpret_cast< char* >(memcpy((new char[len
+ 1]), cstr
, sizeof(char)*(len
+ 1)));
3231 *alloc
= SWIG_NEWOBJ
;
3235 *alloc
= SWIG_OLDOBJ
;
3238 *cptr
= PyString_AsString(obj
);
3241 if (psize
) *psize
= len
+ 1;
3244 swig_type_info
* pchar_descriptor
= SWIG_pchar_descriptor();
3245 if (pchar_descriptor
) {
3247 if (SWIG_ConvertPtr(obj
, &vptr
, pchar_descriptor
, 0) == SWIG_OK
) {
3248 if (cptr
) *cptr
= (char *) vptr
;
3249 if (psize
) *psize
= vptr
? (strlen((char *)vptr
) + 1) : 0;
3250 if (alloc
) *alloc
= SWIG_OLDOBJ
;
3255 return SWIG_TypeError
;
3260 SWIG_AsCharArray(PyObject
* obj
, char *val
, size_t size
)
3262 char* cptr
= 0; size_t csize
= 0; int alloc
= SWIG_OLDOBJ
;
3263 int res
= SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
, &alloc
);
3264 if (SWIG_IsOK(res
)) {
3265 if ((csize
== size
+ 1) && cptr
&& !(cptr
[csize
-1])) --csize
;
3266 if (csize
<= size
) {
3268 if (csize
) memcpy(val
, cptr
, csize
*sizeof(char));
3269 if (csize
< size
) memset(val
+ csize
, 0, (size
- csize
)*sizeof(char));
3271 if (alloc
== SWIG_NEWOBJ
) {
3273 res
= SWIG_DelNewMask(res
);
3277 if (alloc
== SWIG_NEWOBJ
) delete[] cptr
;
3279 return SWIG_TypeError
;
3284 SWIG_AsVal_char (PyObject
* obj
, char *val
)
3286 int res
= SWIG_AsCharArray(obj
, val
, 1);
3287 if (!SWIG_IsOK(res
)) {
3289 res
= SWIG_AddCast(SWIG_AsVal_long (obj
, &v
));
3290 if (SWIG_IsOK(res
)) {
3291 if ((CHAR_MIN
<= v
) && (v
<= CHAR_MAX
)) {
3292 if (val
) *val
= static_cast< char >(v
);
3294 res
= SWIG_OverflowError
;
3301 SWIGINTERN
void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
3302 // We use only strings for the streams, not unicode
3303 PyObject
* str
= PyObject_Str(obj
);
3305 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
3308 self
->Write(PyString_AS_STRING(str
),
3309 PyString_GET_SIZE(str
));
3313 #include "wx/wxPython/pyistream.h"
3316 class wxPyFileSystemHandler
: public wxFileSystemHandler
3319 wxPyFileSystemHandler() : wxFileSystemHandler() {}
3321 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
3322 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
3323 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
3324 DEC_PYCALLBACK_STRING__pure(FindNext
);
3326 wxString
GetProtocol(const wxString
& location
) {
3327 return wxFileSystemHandler::GetProtocol(location
);
3330 wxString
GetLeftLocation(const wxString
& location
) {
3331 return wxFileSystemHandler::GetLeftLocation(location
);
3334 wxString
GetAnchor(const wxString
& location
) {
3335 return wxFileSystemHandler::GetAnchor(location
);
3338 wxString
GetRightLocation(const wxString
& location
) {
3339 return wxFileSystemHandler::GetRightLocation(location
);
3342 wxString
GetMimeTypeFromExt(const wxString
& location
) {
3343 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
3350 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
3351 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
3352 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
3353 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
3357 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
3359 if (obj
== Py_True
) {
3360 if (val
) *val
= true;
3362 } else if (obj
== Py_False
) {
3363 if (val
) *val
= false;
3367 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
3368 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
3373 SWIGINTERN wxString
wxFileSystem_URLToFileName(wxString
const &url
){
3374 wxFileName fname
= wxFileSystem::URLToFileName(url
);
3375 return fname
.GetFullPath();
3378 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
3381 wxMemoryFSHandler::AddFile(filename
, image
, type
);
3384 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
3385 const wxBitmap
& bitmap
,
3387 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
3390 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
3392 if (! PyString_Check(data
)) {
3393 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3394 "Expected string object"));
3398 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3399 void* ptr
= (void*)PyString_AsString(data
);
3400 size_t size
= PyString_Size(data
);
3401 wxPyEndBlockThreads(blocked
);
3403 wxMemoryFSHandler::AddFile(filename
, ptr
, size
);
3407 #include "wx/wxPython/pyistream.h"
3411 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
3414 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
3415 return SWIG_TypeError
;
3418 *val
= (unsigned long)v
;
3424 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
3427 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
3428 if (SWIG_IsOK(res
)) {
3429 if ((v
> UCHAR_MAX
)) {
3430 return SWIG_OverflowError
;
3432 if (val
) *val
= static_cast< unsigned char >(v
);
3439 SWIGINTERNINLINE PyObject
*
3440 SWIG_From_unsigned_SS_char (unsigned char value
)
3442 return SWIG_From_unsigned_SS_long (value
);
3445 SWIGINTERN
unsigned long wxImageHistogram_GetCount(wxImageHistogram
*self
,unsigned long key
){
3446 wxImageHistogramEntry e
= (*self
)[key
];
3449 SWIGINTERN
unsigned long wxImageHistogram_GetCountRGB(wxImageHistogram
*self
,byte r
,byte g
,byte b
){
3450 unsigned long key
= wxImageHistogram::MakeKey(r
, g
, b
);
3451 wxImageHistogramEntry e
= (*self
)[key
];
3454 SWIGINTERN
unsigned long wxImageHistogram_GetCountColour(wxImageHistogram
*self
,wxColour
const &colour
){
3455 unsigned long key
= wxImageHistogram::MakeKey(colour
.Red(),
3458 wxImageHistogramEntry e
= (*self
)[key
];
3462 typedef unsigned char* buffer
;
3465 // Pull the nested class out to the top level for SWIG's sake
3466 #define wxImage_RGBValue wxImage::RGBValue
3467 #define wxImage_HSVValue wxImage::HSVValue
3469 SWIGINTERN wxImage
*new_wxImage(int width
=0,int height
=0,bool clear
=true){
3470 if (width
> 0 && height
> 0)
3471 return new wxImage(width
, height
, clear
);
3475 SWIGINTERN wxImage
*new_wxImage(wxBitmap
const &bitmap
){
3476 return new wxImage(bitmap
.ConvertToImage());
3478 SWIGINTERN wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
){
3479 if (DATASIZE
!= width
*height
*3) {
3480 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3484 // Copy the source data so the wxImage can clean it up later
3485 buffer copy
= (buffer
)malloc(DATASIZE
);
3487 wxPyBLOCK_THREADS(PyErr_NoMemory());
3490 memcpy(copy
, data
, DATASIZE
);
3491 return new wxImage(width
, height
, copy
, false);
3493 SWIGINTERN wxImage
*new_wxImage(int width
,int height
,buffer data
,int DATASIZE
,buffer alpha
,int ALPHASIZE
){
3494 if (DATASIZE
!= width
*height
*3) {
3495 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3498 if (ALPHASIZE
!= width
*height
) {
3499 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3503 // Copy the source data so the wxImage can clean it up later
3504 buffer dcopy
= (buffer
)malloc(DATASIZE
);
3505 if (dcopy
== NULL
) {
3506 wxPyBLOCK_THREADS(PyErr_NoMemory());
3509 memcpy(dcopy
, data
, DATASIZE
);
3511 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
3512 if (acopy
== NULL
) {
3513 wxPyBLOCK_THREADS(PyErr_NoMemory());
3516 memcpy(acopy
, alpha
, ALPHASIZE
);
3518 return new wxImage(width
, height
, dcopy
, acopy
, false);
3520 SWIGINTERN wxSize
wxImage_GetSize(wxImage
*self
){
3521 wxSize
size(self
->GetWidth(), self
->GetHeight());
3524 SWIGINTERN PyObject
*wxImage_GetData(wxImage
*self
){
3525 buffer data
= self
->GetData();
3526 int len
= self
->GetWidth() * self
->GetHeight() * 3;
3528 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
3531 SWIGINTERN
void wxImage_SetData(wxImage
*self
,buffer data
,int DATASIZE
){
3532 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
3533 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3536 buffer copy
= (buffer
)malloc(DATASIZE
);
3538 wxPyBLOCK_THREADS(PyErr_NoMemory());
3541 memcpy(copy
, data
, DATASIZE
);
3542 self
->SetData(copy
, false);
3543 // wxImage takes ownership of copy...
3545 SWIGINTERN PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
3546 buffer data
= self
->GetData();
3547 int len
= self
->GetWidth() * self
->GetHeight() * 3;
3549 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
3552 SWIGINTERN
void wxImage_SetDataBuffer(wxImage
*self
,buffer data
,int DATASIZE
){
3553 if (DATASIZE
!= self
->GetWidth() * self
->GetHeight() * 3) {
3554 wxPyErr_SetString(PyExc_ValueError
, "Invalid data buffer size.");
3557 self
->SetData(data
, true);
3559 SWIGINTERN PyObject
*wxImage_GetAlphaData(wxImage
*self
){
3560 buffer data
= self
->GetAlpha();
3564 int len
= self
->GetWidth() * self
->GetHeight();
3566 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
3570 SWIGINTERN
void wxImage_SetAlphaData(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
3571 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
3572 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3575 buffer acopy
= (buffer
)malloc(ALPHASIZE
);
3576 if (acopy
== NULL
) {
3577 wxPyBLOCK_THREADS(PyErr_NoMemory());
3580 memcpy(acopy
, alpha
, ALPHASIZE
);
3581 self
->SetAlpha(acopy
, false);
3582 // wxImage takes ownership of acopy...
3584 SWIGINTERN PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
3585 buffer data
= self
->GetAlpha();
3586 int len
= self
->GetWidth() * self
->GetHeight();
3588 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
3591 SWIGINTERN
void wxImage_SetAlphaBuffer(wxImage
*self
,buffer alpha
,int ALPHASIZE
){
3592 if (ALPHASIZE
!= self
->GetWidth() * self
->GetHeight()) {
3593 wxPyErr_SetString(PyExc_ValueError
, "Invalid alpha buffer size.");
3596 self
->SetAlpha(alpha
, true);
3598 SWIGINTERN PyObject
*wxImage_GetHandlers(){
3599 wxList
& list
= wxImage::GetHandlers();
3600 return wxPy_ConvertList(&list
);
3602 SWIGINTERN wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
,int depth
=-1){
3603 wxBitmap
bitmap(*self
, depth
);
3606 SWIGINTERN wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,byte red
,byte green
,byte blue
){
3607 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
3608 wxBitmap
bitmap( mono
, 1 );
3611 static const wxString
wxPyIMAGE_OPTION_FILENAME(wxIMAGE_OPTION_FILENAME
);
3612 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
3613 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
3614 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
3615 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
3616 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONX(wxIMAGE_OPTION_RESOLUTIONX
);
3617 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONY(wxIMAGE_OPTION_RESOLUTIONY
);
3618 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
3619 static const wxString
wxPyIMAGE_OPTION_QUALITY(wxIMAGE_OPTION_QUALITY
);
3620 static const wxString
wxPyIMAGE_OPTION_BITSPERSAMPLE(wxIMAGE_OPTION_BITSPERSAMPLE
);
3621 static const wxString
wxPyIMAGE_OPTION_SAMPLESPERPIXEL(wxIMAGE_OPTION_SAMPLESPERPIXEL
);
3622 static const wxString
wxPyIMAGE_OPTION_COMPRESSION(wxIMAGE_OPTION_COMPRESSION
);
3623 static const wxString
wxPyIMAGE_OPTION_IMAGEDESCRIPTOR(wxIMAGE_OPTION_IMAGEDESCRIPTOR
);
3624 static const wxString
wxPyIMAGE_OPTION_PNG_FORMAT(wxIMAGE_OPTION_PNG_FORMAT
);
3625 static const wxString
wxPyIMAGE_OPTION_PNG_BITDEPTH(wxIMAGE_OPTION_PNG_BITDEPTH
);
3627 #include <wx/quantize.h>
3629 SWIGINTERN
bool wxQuantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
=236,int flags
=wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
){
3630 return wxQuantize::Quantize(src
, dest
,
3633 NULL
, // eightBitData
3636 SWIGINTERN
void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
3637 if (PyCallable_Check(func
)) {
3638 self
->Connect(id
, lastId
, eventType
,
3639 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
3640 new wxPyCallback(func
));
3642 else if (func
== Py_None
) {
3643 self
->Disconnect(id
, lastId
, eventType
,
3644 (wxObjectEventFunction
)
3645 &wxPyCallback::EventThunker
);
3649 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
3652 SWIGINTERN
bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
=-1,wxEventType eventType
=wxEVT_NULL
){
3653 return self
->Disconnect(id
, lastId
, eventType
,
3654 (wxObjectEventFunction
)
3655 &wxPyCallback::EventThunker
);
3657 SWIGINTERN
void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
,bool incref
=true){
3658 if (_self
&& _self
!= Py_None
) {
3659 self
->SetClientObject(new wxPyOORClientData(_self
, incref
));
3662 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
3664 self
->SetClientObject(NULL
); // This will delete it too
3670 #define wxEVT_HOTKEY -9999
3673 SWIGINTERN PyObject
*wxCommandEvent_GetClientData(wxCommandEvent
*self
){
3674 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject();
3676 Py_INCREF(data
->m_obj
);
3683 SWIGINTERN
void wxCommandEvent_SetClientData(wxCommandEvent
*self
,PyObject
*clientData
){
3684 wxPyClientData
* data
= new wxPyClientData(clientData
);
3685 self
->SetClientObject(data
);
3687 SWIGINTERN
int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
3689 return self
->GetUnicodeKey();
3694 SWIGINTERN
void wxKeyEvent_SetUnicodeKey(wxKeyEvent
*self
,int uniChar
){
3696 self
->m_uniChar
= uniChar
;
3700 SWIGINTERNINLINE PyObject
*
3701 SWIG_From_unsigned_SS_int (unsigned int value
)
3703 return SWIG_From_unsigned_SS_long (value
);
3708 SWIG_AsVal_unsigned_SS_int (PyObject
* obj
, unsigned int *val
)
3711 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
3712 if (SWIG_IsOK(res
)) {
3713 if ((v
> UINT_MAX
)) {
3714 return SWIG_OverflowError
;
3716 if (val
) *val
= static_cast< unsigned int >(v
);
3722 SWIGINTERN
void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
3723 self
->m_size
= size
;
3725 SWIGINTERN PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
3726 int count
= self
->GetNumberOfFiles();
3727 wxString
* files
= self
->GetFiles();
3728 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3729 PyObject
* list
= PyList_New(count
);
3732 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
3733 wxPyEndBlockThreads(blocked
);
3737 for (int i
=0; i
<count
; i
++) {
3738 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
3740 wxPyEndBlockThreads(blocked
);
3745 SWIGINTERN wxPyApp
*new_wxPyApp(){
3746 wxPythonApp
= new wxPyApp();
3749 SWIGINTERN
int wxPyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
3751 void wxApp_CleanUp() {
3756 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
3762 SWIGINTERNINLINE PyObject
*
3763 SWIG_FromCharPtr(const char *cptr
)
3765 return SWIG_FromCharPtrAndSize(cptr
, (cptr
? strlen(cptr
) : 0));
3769 #if 0 // #ifdef __WXMAC__
3771 // A dummy class that raises an exception if used...
3775 wxEventLoop() { wxPyRaiseNotImplemented(); }
3776 int Run() { return 0; }
3777 void Exit(int rc
= 0) {}
3778 bool Pending() const { return false; }
3779 bool Dispatch() { return false; }
3780 bool IsRunning() const { return false; }
3781 static wxEventLoop
*GetActive() { wxPyRaiseNotImplemented(); return NULL
; }
3782 static void SetActive(wxEventLoop
* loop
) { wxPyRaiseNotImplemented(); }
3787 #include <wx/evtloop.h>
3793 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
3794 SWIGINTERN wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
3795 SWIGINTERN
void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
3796 SWIGINTERN PyObject
*wxWindow_GetChildren(wxWindow
*self
){
3797 wxWindowList
& list
= self
->GetChildren();
3798 return wxPy_ConvertList(&list
);
3800 SWIGINTERN
bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
3802 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
3807 SWIGINTERN
bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
3814 SWIGINTERN
long wxWindow_GetHandle(wxWindow
*self
){
3815 return wxPyGetWinHandle(self
);
3817 SWIGINTERN
void wxWindow_AssociateHandle(wxWindow
*self
,long handle
){
3818 self
->AssociateHandle((WXWidget
)handle
);
3820 SWIGINTERN
void wxWindow_DragAcceptFiles(wxWindow
*self
,bool accept
){}
3822 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
3823 return wxWindow::FindWindowById(id
, parent
);
3826 wxWindow
* wxFindWindowByName( const wxString
& name
,
3827 const wxWindow
*parent
= NULL
) {
3828 return wxWindow::FindWindowByName(name
, parent
);
3831 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
3832 const wxWindow
*parent
= NULL
) {
3833 return wxWindow::FindWindowByLabel(label
, parent
);
3838 #include <wx/msw/private.h> // to get wxGetWindowId
3842 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
3844 WXHWND hWnd
= (WXHWND
)_hWnd
;
3845 long id
= wxGetWindowId(hWnd
);
3846 wxWindow
* win
= new wxWindow
;
3848 parent
->AddChild(win
);
3849 win
->SetEventHandler(win
);
3852 win
->SubclassWin(hWnd
);
3853 win
->AdoptAttributesFromHWND();
3854 win
->SetupColours();
3857 wxPyRaiseNotImplemented();
3863 PyObject
* GetTopLevelWindows() {
3864 return wxPy_ConvertList(&wxTopLevelWindows
);
3868 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
3869 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
3870 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
3872 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
3875 SWIGINTERNINLINE
int
3876 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
3879 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
3880 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
3884 SWIGINTERN
void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
3885 SWIGINTERN PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
3886 wxMenuItemList
& list
= self
->GetMenuItems();
3887 return wxPy_ConvertList(&list
);
3889 SWIGINTERN
void wxMenuBar_SetAutoWindowMenu(bool enable
){}
3890 SWIGINTERN
bool wxMenuBar_GetAutoWindowMenu(){ return false; }
3891 SWIGINTERN
void wxMenuItem_SetFont(wxMenuItem
*self
,wxFont
const &font
){}
3892 SWIGINTERN wxFont
wxMenuItem_GetFont(wxMenuItem
*self
){ return wxNullFont
; }
3893 SWIGINTERN
void wxMenuItem_SetTextColour(wxMenuItem
*self
,wxColour
const &colText
){}
3894 SWIGINTERN wxColour
wxMenuItem_GetTextColour(wxMenuItem
*self
){ return wxNullColour
; }
3895 SWIGINTERN
void wxMenuItem_SetBackgroundColour(wxMenuItem
*self
,wxColour
const &colBack
){}
3896 SWIGINTERN wxColour
wxMenuItem_GetBackgroundColour(wxMenuItem
*self
){ return wxNullColour
; }
3897 SWIGINTERN
void wxMenuItem_SetBitmaps(wxMenuItem
*self
,wxBitmap
const &bmpChecked
,wxBitmap
const &bmpUnchecked
=wxNullBitmap
){ self
->SetBitmap( bmpChecked
); }
3898 SWIGINTERN
void wxMenuItem_SetDisabledBitmap(wxMenuItem
*self
,wxBitmap
const &bmpDisabled
){}
3899 SWIGINTERN wxBitmap
const &wxMenuItem_GetDisabledBitmap(wxMenuItem
const *self
){ return wxNullBitmap
; }
3900 SWIGINTERN
void wxMenuItem_SetMarginWidth(wxMenuItem
*self
,int nWidth
){}
3901 SWIGINTERN
int wxMenuItem_GetMarginWidth(wxMenuItem
*self
){ return 0; }
3902 SWIGINTERN
int wxMenuItem_GetDefaultMarginWidth(){ return 0; }
3903 SWIGINTERN
bool wxMenuItem_IsOwnerDrawn(wxMenuItem
*self
){ return false; }
3904 SWIGINTERN
void wxMenuItem_SetOwnerDrawn(wxMenuItem
*self
,bool ownerDrawn
=true){}
3905 SWIGINTERN
void wxMenuItem_ResetOwnerDrawn(wxMenuItem
*self
){}
3906 static const wxString
wxPyControlNameStr(wxControlNameStr
);
3907 SWIGINTERN
int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
=NULL
){
3909 wxPyClientData
* data
= new wxPyClientData(clientData
);
3910 return self
->Append(item
, data
);
3912 return self
->Append(item
);
3914 SWIGINTERN
int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,unsigned int pos
,PyObject
*clientData
=NULL
){
3916 wxPyClientData
* data
= new wxPyClientData(clientData
);
3917 return self
->Insert(item
, pos
, data
);
3919 return self
->Insert(item
, pos
);
3921 SWIGINTERN PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,unsigned int n
){
3922 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
3924 Py_INCREF(data
->m_obj
);
3931 SWIGINTERN
void wxItemContainer_SetClientData(wxItemContainer
*self
,unsigned int n
,PyObject
*clientData
){
3932 wxPyClientData
* data
= new wxPyClientData(clientData
);
3933 self
->SetClientObject(n
, data
);
3937 SWIGINTERN wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
3938 wxPyUserData
* data
= NULL
;
3940 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3941 data
= new wxPyUserData(userData
);
3942 wxPyEndBlockThreads(blocked
);
3944 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
3946 SWIGINTERN wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
3947 wxPyUserData
* data
= NULL
;
3949 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3950 data
= new wxPyUserData(userData
);
3951 wxPyEndBlockThreads(blocked
);
3953 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
3955 SWIGINTERN wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
=NULL
){
3956 wxPyUserData
* data
= NULL
;
3958 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3959 data
= new wxPyUserData(userData
);
3960 wxPyEndBlockThreads(blocked
);
3962 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
3969 SWIG_AsVal_float (PyObject
* obj
, float *val
)
3972 int res
= SWIG_AsVal_double (obj
, &v
);
3973 if (SWIG_IsOK(res
)) {
3974 if ((v
< -FLT_MAX
|| v
> FLT_MAX
)) {
3975 return SWIG_OverflowError
;
3977 if (val
) *val
= static_cast< float >(v
);
3984 SWIGINTERNINLINE PyObject
*
3985 SWIG_From_float (float value
)
3987 return SWIG_From_double (value
);
3990 SWIGINTERN PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
3991 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
3993 Py_INCREF(data
->m_obj
);
4000 SWIGINTERN
void wxSizerItem_SetUserData(wxSizerItem
*self
,PyObject
*userData
){
4001 wxPyUserData
* data
= NULL
;
4003 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4004 data
= new wxPyUserData(userData
);
4005 wxPyEndBlockThreads(blocked
);
4007 self
->SetUserData(data
);
4010 // Figure out the type of the sizer item
4012 struct wxPySizerItemInfo
{
4014 : window(NULL
), sizer(NULL
), gotSize(false),
4015 size(wxDefaultSize
), gotPos(false), pos(-1)
4026 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
4028 wxPySizerItemInfo info
;
4030 wxSize
* sizePtr
= &size
;
4032 // Find out what the type of the item is
4034 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
4039 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
4043 // try wxSize or (w,h)
4044 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
4045 info
.size
= *sizePtr
;
4046 info
.gotSize
= true;
4050 if (checkIdx
&& PyInt_Check(item
)) {
4051 info
.pos
= PyInt_AsLong(item
);
4057 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
4058 // no expected type, figure out what kind of error message to generate
4059 if ( !checkSize
&& !checkIdx
)
4060 PyErr_SetString(PyExc_TypeError
, "wx.Window or wx.Sizer expected for item");
4061 else if ( checkSize
&& !checkIdx
)
4062 PyErr_SetString(PyExc_TypeError
, "wx.Window, wx.Sizer, wx.Size, or (w,h) expected for item");
4063 else if ( !checkSize
&& checkIdx
)
4064 PyErr_SetString(PyExc_TypeError
, "wx.Window, wx.Sizer or int (position) expected for item");
4066 // can this one happen?
4067 PyErr_SetString(PyExc_TypeError
, "wx.Window, wx.Sizer, wx.Size, or (w,h) or int (position) expected for item");
4073 SWIGINTERN
void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
4074 if (!self
->GetClientObject())
4075 self
->SetClientObject(new wxPyOORClientData(_self
));
4077 SWIGINTERN wxSizerItem
*wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
4079 wxPyUserData
* data
= NULL
;
4080 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4081 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
4082 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
4083 data
= new wxPyUserData(userData
);
4085 PyObject_SetAttrString(item
,"thisown",Py_False
);
4086 wxPyEndBlockThreads(blocked
);
4088 // Now call the real Add method if a valid item type was found
4090 return self
->Add(info
.window
, proportion
, flag
, border
, data
);
4091 else if ( info
.sizer
)
4092 return self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
4093 else if (info
.gotSize
)
4094 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
4095 proportion
, flag
, border
, data
);
4099 SWIGINTERN wxSizerItem
*wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
4101 wxPyUserData
* data
= NULL
;
4102 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4103 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
4104 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
4105 data
= new wxPyUserData(userData
);
4107 PyObject_SetAttrString(item
,"thisown",Py_False
);
4108 wxPyEndBlockThreads(blocked
);
4110 // Now call the real Insert method if a valid item type was found
4112 return self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
4113 else if ( info
.sizer
)
4114 return self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
4115 else if (info
.gotSize
)
4116 return self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
4117 proportion
, flag
, border
, data
);
4121 SWIGINTERN wxSizerItem
*wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
=0,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
4123 wxPyUserData
* data
= NULL
;
4124 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4125 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
4126 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
4127 data
= new wxPyUserData(userData
);
4129 PyObject_SetAttrString(item
,"thisown",Py_False
);
4130 wxPyEndBlockThreads(blocked
);
4132 // Now call the real Prepend method if a valid item type was found
4134 return self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
4135 else if ( info
.sizer
)
4136 return self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
4137 else if (info
.gotSize
)
4138 return self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
4139 proportion
, flag
, border
, data
);
4143 SWIGINTERN
bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
4144 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4145 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
4146 wxPyEndBlockThreads(blocked
);
4148 return self
->Remove(info
.window
);
4149 else if ( info
.sizer
)
4150 return self
->Remove(info
.sizer
);
4151 else if ( info
.gotPos
)
4152 return self
->Remove(info
.pos
);
4156 SWIGINTERN
bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
4157 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4158 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
4159 wxPyEndBlockThreads(blocked
);
4161 return self
->Detach(info
.window
);
4162 else if ( info
.sizer
)
4163 return self
->Detach(info
.sizer
);
4164 else if ( info
.gotPos
)
4165 return self
->Detach(info
.pos
);
4169 SWIGINTERN wxSizerItem
*wxSizer_GetItem(wxSizer
*self
,PyObject
*item
){
4170 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4171 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
4172 wxPyEndBlockThreads(blocked
);
4174 return self
->GetItem(info
.window
);
4175 else if ( info
.sizer
)
4176 return self
->GetItem(info
.sizer
);
4177 else if ( info
.gotPos
)
4178 return self
->GetItem(info
.pos
);
4182 SWIGINTERN
void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
4183 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4184 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
4185 wxPyEndBlockThreads(blocked
);
4187 self
->SetItemMinSize(info
.window
, size
);
4188 else if ( info
.sizer
)
4189 self
->SetItemMinSize(info
.sizer
, size
);
4190 else if ( info
.gotPos
)
4191 self
->SetItemMinSize(info
.pos
, size
);
4193 SWIGINTERN PyObject
*wxSizer_GetChildren(wxSizer
*self
){
4194 wxSizerItemList
& list
= self
->GetChildren();
4195 return wxPy_ConvertList(&list
);
4197 SWIGINTERN
bool wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
=true,bool recursive
=false){
4198 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4199 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
4200 wxPyEndBlockThreads(blocked
);
4202 return self
->Show(info
.window
, show
, recursive
);
4203 else if ( info
.sizer
)
4204 return self
->Show(info
.sizer
, show
, recursive
);
4205 else if ( info
.gotPos
)
4206 return self
->Show(info
.pos
, show
);
4210 SWIGINTERN
bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
4211 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4212 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
4213 wxPyEndBlockThreads(blocked
);
4215 return self
->IsShown(info
.window
);
4216 else if ( info
.sizer
)
4217 return self
->IsShown(info
.sizer
);
4218 else if ( info
.gotPos
)
4219 return self
->IsShown(info
.pos
);
4225 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
4226 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
4227 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
4232 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
4234 if (source
== Py_None
) {
4235 **obj
= wxGBPosition(-1,-1);
4238 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
4241 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
4243 if (source
== Py_None
) {
4244 **obj
= wxGBSpan(-1,-1);
4247 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
4251 SWIGINTERN
bool wxGBPosition___eq__(wxGBPosition
*self
,PyObject
*other
){
4252 wxGBPosition temp
, *obj
= &temp
;
4253 if ( other
== Py_None
) return false;
4254 if ( ! wxGBPosition_helper(other
, &obj
) ) {
4258 return self
->operator==(*obj
);
4260 SWIGINTERN
bool wxGBPosition___ne__(wxGBPosition
*self
,PyObject
*other
){
4261 wxGBPosition temp
, *obj
= &temp
;
4262 if ( other
== Py_None
) return true;
4263 if ( ! wxGBPosition_helper(other
, &obj
)) {
4267 return self
->operator!=(*obj
);
4269 SWIGINTERN
void wxGBPosition_Set(wxGBPosition
*self
,int row
=0,int col
=0){
4273 SWIGINTERN PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
4274 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4275 PyObject
* tup
= PyTuple_New(2);
4276 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
4277 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
4278 wxPyEndBlockThreads(blocked
);
4281 SWIGINTERN
bool wxGBSpan___eq__(wxGBSpan
*self
,PyObject
*other
){
4282 wxGBSpan temp
, *obj
= &temp
;
4283 if ( other
== Py_None
) return false;
4284 if ( ! wxGBSpan_helper(other
, &obj
) ) {
4288 return self
->operator==(*obj
);
4290 SWIGINTERN
bool wxGBSpan___ne__(wxGBSpan
*self
,PyObject
*other
){
4291 wxGBSpan temp
, *obj
= &temp
;
4292 if ( other
== Py_None
) return true;
4293 if ( ! wxGBSpan_helper(other
, &obj
)) {
4297 return self
->operator!=(*obj
);
4299 SWIGINTERN
void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
=1,int colspan
=1){
4300 self
->SetRowspan(rowspan
);
4301 self
->SetColspan(colspan
);
4303 SWIGINTERN PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
4304 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4305 PyObject
* tup
= PyTuple_New(2);
4306 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
4307 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
4308 wxPyEndBlockThreads(blocked
);
4311 SWIGINTERN wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
4312 wxPyUserData
* data
= NULL
;
4314 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4315 data
= new wxPyUserData(userData
);
4316 wxPyEndBlockThreads(blocked
);
4318 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
4320 SWIGINTERN wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
4321 wxPyUserData
* data
= NULL
;
4323 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4324 data
= new wxPyUserData(userData
);
4325 wxPyEndBlockThreads(blocked
);
4327 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
4329 SWIGINTERN wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
=NULL
){
4330 wxPyUserData
* data
= NULL
;
4332 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4333 data
= new wxPyUserData(userData
);
4334 wxPyEndBlockThreads(blocked
);
4336 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
4338 SWIGINTERN wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
4340 self
->GetEndPos(row
, col
);
4341 return wxGBPosition(row
, col
);
4343 SWIGINTERN wxGBSizerItem
*wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
=wxDefaultSpan
,int flag
=0,int border
=0,PyObject
*userData
=NULL
){
4345 wxPyUserData
* data
= NULL
;
4346 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
4347 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
4348 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
4349 data
= new wxPyUserData(userData
);
4351 PyObject_SetAttrString(item
,"thisown",Py_False
);
4352 wxPyEndBlockThreads(blocked
);
4354 // Now call the real Add method if a valid item type was found
4356 return (wxGBSizerItem
*)self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
4357 else if ( info
.sizer
)
4358 return (wxGBSizerItem
*)self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
4359 else if (info
.gotSize
)
4360 return (wxGBSizerItem
*)self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
4361 pos
, span
, flag
, border
, data
);
4369 SWIGINTERN
int EmptyString_set(PyObject
*) {
4370 SWIG_Error(SWIG_AttributeError
,"Variable EmptyString is read-only.");
4375 SWIGINTERN PyObject
*EmptyString_get(void) {
4376 PyObject
*pyobj
= 0;
4380 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
4382 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
4389 SWIGINTERN PyObject
*_wrap_Object_GetClassName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4390 PyObject
*resultobj
= 0;
4391 wxObject
*arg1
= (wxObject
*) 0 ;
4395 PyObject
*swig_obj
[1] ;
4397 if (!args
) SWIG_fail
;
4399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
4400 if (!SWIG_IsOK(res1
)) {
4401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Object_GetClassName" "', expected argument " "1"" of type '" "wxObject *""'");
4403 arg1
= reinterpret_cast< wxObject
* >(argp1
);
4405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4406 result
= wxObject_GetClassName(arg1
);
4407 wxPyEndAllowThreads(__tstate
);
4408 if (PyErr_Occurred()) SWIG_fail
;
4412 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4414 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4423 SWIGINTERN PyObject
*_wrap_Object_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4424 PyObject
*resultobj
= 0;
4425 wxObject
*arg1
= (wxObject
*) 0 ;
4428 PyObject
*swig_obj
[1] ;
4430 if (!args
) SWIG_fail
;
4432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxObject
, 0 | 0 );
4433 if (!SWIG_IsOK(res1
)) {
4434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Object_Destroy" "', expected argument " "1"" of type '" "wxObject *""'");
4436 arg1
= reinterpret_cast< wxObject
* >(argp1
);
4438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4439 wxObject_Destroy(arg1
);
4440 wxPyEndAllowThreads(__tstate
);
4441 if (PyErr_Occurred()) SWIG_fail
;
4443 resultobj
= SWIG_Py_Void();
4450 SWIGINTERN PyObject
*Object_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4452 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4453 SWIG_TypeNewClientData(SWIGTYPE_p_wxObject
, SWIG_NewClientData(obj
));
4454 return SWIG_Py_Void();
4457 SWIGINTERN PyObject
*_wrap_Size_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4458 PyObject
*resultobj
= 0;
4459 wxSize
*arg1
= (wxSize
*) 0 ;
4465 PyObject
*swig_obj
[2] ;
4467 if (!SWIG_Python_UnpackTuple(args
,"Size_width_set",2,2,swig_obj
)) SWIG_fail
;
4468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4469 if (!SWIG_IsOK(res1
)) {
4470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_width_set" "', expected argument " "1"" of type '" "wxSize *""'");
4472 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4473 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4474 if (!SWIG_IsOK(ecode2
)) {
4475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_width_set" "', expected argument " "2"" of type '" "int""'");
4477 arg2
= static_cast< int >(val2
);
4478 if (arg1
) (arg1
)->x
= arg2
;
4480 resultobj
= SWIG_Py_Void();
4487 SWIGINTERN PyObject
*_wrap_Size_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4488 PyObject
*resultobj
= 0;
4489 wxSize
*arg1
= (wxSize
*) 0 ;
4493 PyObject
*swig_obj
[1] ;
4495 if (!args
) SWIG_fail
;
4497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4498 if (!SWIG_IsOK(res1
)) {
4499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_width_get" "', expected argument " "1"" of type '" "wxSize *""'");
4501 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4502 result
= (int) ((arg1
)->x
);
4503 resultobj
= SWIG_From_int(static_cast< int >(result
));
4510 SWIGINTERN PyObject
*_wrap_Size_height_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4511 PyObject
*resultobj
= 0;
4512 wxSize
*arg1
= (wxSize
*) 0 ;
4518 PyObject
*swig_obj
[2] ;
4520 if (!SWIG_Python_UnpackTuple(args
,"Size_height_set",2,2,swig_obj
)) SWIG_fail
;
4521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4522 if (!SWIG_IsOK(res1
)) {
4523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_height_set" "', expected argument " "1"" of type '" "wxSize *""'");
4525 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4526 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4527 if (!SWIG_IsOK(ecode2
)) {
4528 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_height_set" "', expected argument " "2"" of type '" "int""'");
4530 arg2
= static_cast< int >(val2
);
4531 if (arg1
) (arg1
)->y
= arg2
;
4533 resultobj
= SWIG_Py_Void();
4540 SWIGINTERN PyObject
*_wrap_Size_height_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4541 PyObject
*resultobj
= 0;
4542 wxSize
*arg1
= (wxSize
*) 0 ;
4546 PyObject
*swig_obj
[1] ;
4548 if (!args
) SWIG_fail
;
4550 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4551 if (!SWIG_IsOK(res1
)) {
4552 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_height_get" "', expected argument " "1"" of type '" "wxSize *""'");
4554 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4555 result
= (int) ((arg1
)->y
);
4556 resultobj
= SWIG_From_int(static_cast< int >(result
));
4563 SWIGINTERN PyObject
*_wrap_new_Size(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4564 PyObject
*resultobj
= 0;
4565 int arg1
= (int) 0 ;
4566 int arg2
= (int) 0 ;
4567 wxSize
*result
= 0 ;
4572 PyObject
* obj0
= 0 ;
4573 PyObject
* obj1
= 0 ;
4574 char * kwnames
[] = {
4575 (char *) "w",(char *) "h", NULL
4578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4580 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4581 if (!SWIG_IsOK(ecode1
)) {
4582 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Size" "', expected argument " "1"" of type '" "int""'");
4584 arg1
= static_cast< int >(val1
);
4587 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4588 if (!SWIG_IsOK(ecode2
)) {
4589 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Size" "', expected argument " "2"" of type '" "int""'");
4591 arg2
= static_cast< int >(val2
);
4594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4595 result
= (wxSize
*)new wxSize(arg1
,arg2
);
4596 wxPyEndAllowThreads(__tstate
);
4597 if (PyErr_Occurred()) SWIG_fail
;
4599 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, SWIG_POINTER_NEW
| 0 );
4606 SWIGINTERN PyObject
*_wrap_delete_Size(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4607 PyObject
*resultobj
= 0;
4608 wxSize
*arg1
= (wxSize
*) 0 ;
4611 PyObject
*swig_obj
[1] ;
4613 if (!args
) SWIG_fail
;
4615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, SWIG_POINTER_DISOWN
| 0 );
4616 if (!SWIG_IsOK(res1
)) {
4617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Size" "', expected argument " "1"" of type '" "wxSize *""'");
4619 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4624 wxPyEndAllowThreads(__tstate
);
4625 if (PyErr_Occurred()) SWIG_fail
;
4627 resultobj
= SWIG_Py_Void();
4634 SWIGINTERN PyObject
*_wrap_Size___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4635 PyObject
*resultobj
= 0;
4636 wxSize
*arg1
= (wxSize
*) 0 ;
4637 PyObject
*arg2
= (PyObject
*) 0 ;
4641 PyObject
* obj0
= 0 ;
4642 PyObject
* obj1
= 0 ;
4643 char * kwnames
[] = {
4644 (char *) "self",(char *) "other", NULL
4647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4649 if (!SWIG_IsOK(res1
)) {
4650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size___eq__" "', expected argument " "1"" of type '" "wxSize *""'");
4652 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4655 result
= (bool)wxSize___eq__(arg1
,arg2
);
4656 if (PyErr_Occurred()) SWIG_fail
;
4659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4667 SWIGINTERN PyObject
*_wrap_Size___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4668 PyObject
*resultobj
= 0;
4669 wxSize
*arg1
= (wxSize
*) 0 ;
4670 PyObject
*arg2
= (PyObject
*) 0 ;
4674 PyObject
* obj0
= 0 ;
4675 PyObject
* obj1
= 0 ;
4676 char * kwnames
[] = {
4677 (char *) "self",(char *) "other", NULL
4680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4682 if (!SWIG_IsOK(res1
)) {
4683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size___ne__" "', expected argument " "1"" of type '" "wxSize *""'");
4685 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4688 result
= (bool)wxSize___ne__(arg1
,arg2
);
4689 if (PyErr_Occurred()) SWIG_fail
;
4692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4700 SWIGINTERN PyObject
*_wrap_Size___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4701 PyObject
*resultobj
= 0;
4702 wxSize
*arg1
= (wxSize
*) 0 ;
4708 PyObject
* obj0
= 0 ;
4709 PyObject
* obj1
= 0 ;
4710 char * kwnames
[] = {
4711 (char *) "self",(char *) "sz", NULL
4714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4716 if (!SWIG_IsOK(res1
)) {
4717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size___add__" "', expected argument " "1"" of type '" "wxSize *""'");
4719 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4722 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4726 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
4727 wxPyEndAllowThreads(__tstate
);
4728 if (PyErr_Occurred()) SWIG_fail
;
4730 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
4737 SWIGINTERN PyObject
*_wrap_Size___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4738 PyObject
*resultobj
= 0;
4739 wxSize
*arg1
= (wxSize
*) 0 ;
4745 PyObject
* obj0
= 0 ;
4746 PyObject
* obj1
= 0 ;
4747 char * kwnames
[] = {
4748 (char *) "self",(char *) "sz", NULL
4751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4753 if (!SWIG_IsOK(res1
)) {
4754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size___sub__" "', expected argument " "1"" of type '" "wxSize *""'");
4756 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4759 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4763 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
4764 wxPyEndAllowThreads(__tstate
);
4765 if (PyErr_Occurred()) SWIG_fail
;
4767 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
4774 SWIGINTERN PyObject
*_wrap_Size_IncTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4775 PyObject
*resultobj
= 0;
4776 wxSize
*arg1
= (wxSize
*) 0 ;
4781 PyObject
* obj0
= 0 ;
4782 PyObject
* obj1
= 0 ;
4783 char * kwnames
[] = {
4784 (char *) "self",(char *) "sz", NULL
4787 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4788 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4789 if (!SWIG_IsOK(res1
)) {
4790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_IncTo" "', expected argument " "1"" of type '" "wxSize *""'");
4792 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4795 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4799 (arg1
)->IncTo((wxSize
const &)*arg2
);
4800 wxPyEndAllowThreads(__tstate
);
4801 if (PyErr_Occurred()) SWIG_fail
;
4803 resultobj
= SWIG_Py_Void();
4810 SWIGINTERN PyObject
*_wrap_Size_DecTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4811 PyObject
*resultobj
= 0;
4812 wxSize
*arg1
= (wxSize
*) 0 ;
4817 PyObject
* obj0
= 0 ;
4818 PyObject
* obj1
= 0 ;
4819 char * kwnames
[] = {
4820 (char *) "self",(char *) "sz", NULL
4823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4825 if (!SWIG_IsOK(res1
)) {
4826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_DecTo" "', expected argument " "1"" of type '" "wxSize *""'");
4828 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4831 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4835 (arg1
)->DecTo((wxSize
const &)*arg2
);
4836 wxPyEndAllowThreads(__tstate
);
4837 if (PyErr_Occurred()) SWIG_fail
;
4839 resultobj
= SWIG_Py_Void();
4846 SWIGINTERN PyObject
*_wrap_Size_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4847 PyObject
*resultobj
= 0;
4848 wxSize
*arg1
= (wxSize
*) 0 ;
4857 PyObject
* obj0
= 0 ;
4858 PyObject
* obj1
= 0 ;
4859 PyObject
* obj2
= 0 ;
4860 char * kwnames
[] = {
4861 (char *) "self",(char *) "w",(char *) "h", NULL
4864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4866 if (!SWIG_IsOK(res1
)) {
4867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_Set" "', expected argument " "1"" of type '" "wxSize *""'");
4869 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4870 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4871 if (!SWIG_IsOK(ecode2
)) {
4872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_Set" "', expected argument " "2"" of type '" "int""'");
4874 arg2
= static_cast< int >(val2
);
4875 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4876 if (!SWIG_IsOK(ecode3
)) {
4877 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Size_Set" "', expected argument " "3"" of type '" "int""'");
4879 arg3
= static_cast< int >(val3
);
4881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4882 (arg1
)->Set(arg2
,arg3
);
4883 wxPyEndAllowThreads(__tstate
);
4884 if (PyErr_Occurred()) SWIG_fail
;
4886 resultobj
= SWIG_Py_Void();
4893 SWIGINTERN PyObject
*_wrap_Size_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4894 PyObject
*resultobj
= 0;
4895 wxSize
*arg1
= (wxSize
*) 0 ;
4901 PyObject
* obj0
= 0 ;
4902 PyObject
* obj1
= 0 ;
4903 char * kwnames
[] = {
4904 (char *) "self",(char *) "w", NULL
4907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4909 if (!SWIG_IsOK(res1
)) {
4910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_SetWidth" "', expected argument " "1"" of type '" "wxSize *""'");
4912 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4913 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4914 if (!SWIG_IsOK(ecode2
)) {
4915 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_SetWidth" "', expected argument " "2"" of type '" "int""'");
4917 arg2
= static_cast< int >(val2
);
4919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4920 (arg1
)->SetWidth(arg2
);
4921 wxPyEndAllowThreads(__tstate
);
4922 if (PyErr_Occurred()) SWIG_fail
;
4924 resultobj
= SWIG_Py_Void();
4931 SWIGINTERN PyObject
*_wrap_Size_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4932 PyObject
*resultobj
= 0;
4933 wxSize
*arg1
= (wxSize
*) 0 ;
4939 PyObject
* obj0
= 0 ;
4940 PyObject
* obj1
= 0 ;
4941 char * kwnames
[] = {
4942 (char *) "self",(char *) "h", NULL
4945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4947 if (!SWIG_IsOK(res1
)) {
4948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_SetHeight" "', expected argument " "1"" of type '" "wxSize *""'");
4950 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4951 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4952 if (!SWIG_IsOK(ecode2
)) {
4953 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Size_SetHeight" "', expected argument " "2"" of type '" "int""'");
4955 arg2
= static_cast< int >(val2
);
4957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4958 (arg1
)->SetHeight(arg2
);
4959 wxPyEndAllowThreads(__tstate
);
4960 if (PyErr_Occurred()) SWIG_fail
;
4962 resultobj
= SWIG_Py_Void();
4969 SWIGINTERN PyObject
*_wrap_Size_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4970 PyObject
*resultobj
= 0;
4971 wxSize
*arg1
= (wxSize
*) 0 ;
4975 PyObject
*swig_obj
[1] ;
4977 if (!args
) SWIG_fail
;
4979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
4980 if (!SWIG_IsOK(res1
)) {
4981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_GetWidth" "', expected argument " "1"" of type '" "wxSize const *""'");
4983 arg1
= reinterpret_cast< wxSize
* >(argp1
);
4985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4986 result
= (int)((wxSize
const *)arg1
)->GetWidth();
4987 wxPyEndAllowThreads(__tstate
);
4988 if (PyErr_Occurred()) SWIG_fail
;
4990 resultobj
= SWIG_From_int(static_cast< int >(result
));
4997 SWIGINTERN PyObject
*_wrap_Size_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4998 PyObject
*resultobj
= 0;
4999 wxSize
*arg1
= (wxSize
*) 0 ;
5003 PyObject
*swig_obj
[1] ;
5005 if (!args
) SWIG_fail
;
5007 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
5008 if (!SWIG_IsOK(res1
)) {
5009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_GetHeight" "', expected argument " "1"" of type '" "wxSize const *""'");
5011 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5014 result
= (int)((wxSize
const *)arg1
)->GetHeight();
5015 wxPyEndAllowThreads(__tstate
);
5016 if (PyErr_Occurred()) SWIG_fail
;
5018 resultobj
= SWIG_From_int(static_cast< int >(result
));
5025 SWIGINTERN PyObject
*_wrap_Size_IsFullySpecified(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5026 PyObject
*resultobj
= 0;
5027 wxSize
*arg1
= (wxSize
*) 0 ;
5031 PyObject
*swig_obj
[1] ;
5033 if (!args
) SWIG_fail
;
5035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
5036 if (!SWIG_IsOK(res1
)) {
5037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_IsFullySpecified" "', expected argument " "1"" of type '" "wxSize const *""'");
5039 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5042 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
5043 wxPyEndAllowThreads(__tstate
);
5044 if (PyErr_Occurred()) SWIG_fail
;
5047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5055 SWIGINTERN PyObject
*_wrap_Size_SetDefaults(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5056 PyObject
*resultobj
= 0;
5057 wxSize
*arg1
= (wxSize
*) 0 ;
5062 PyObject
* obj0
= 0 ;
5063 PyObject
* obj1
= 0 ;
5064 char * kwnames
[] = {
5065 (char *) "self",(char *) "size", NULL
5068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
5070 if (!SWIG_IsOK(res1
)) {
5071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_SetDefaults" "', expected argument " "1"" of type '" "wxSize *""'");
5073 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5076 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5080 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
5081 wxPyEndAllowThreads(__tstate
);
5082 if (PyErr_Occurred()) SWIG_fail
;
5084 resultobj
= SWIG_Py_Void();
5091 SWIGINTERN PyObject
*_wrap_Size_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5092 PyObject
*resultobj
= 0;
5093 wxSize
*arg1
= (wxSize
*) 0 ;
5094 PyObject
*result
= 0 ;
5097 PyObject
*swig_obj
[1] ;
5099 if (!args
) SWIG_fail
;
5101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSize
, 0 | 0 );
5102 if (!SWIG_IsOK(res1
)) {
5103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Size_Get" "', expected argument " "1"" of type '" "wxSize *""'");
5105 arg1
= reinterpret_cast< wxSize
* >(argp1
);
5107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5108 result
= (PyObject
*)wxSize_Get(arg1
);
5109 wxPyEndAllowThreads(__tstate
);
5110 if (PyErr_Occurred()) SWIG_fail
;
5119 SWIGINTERN PyObject
*Size_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5121 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5122 SWIG_TypeNewClientData(SWIGTYPE_p_wxSize
, SWIG_NewClientData(obj
));
5123 return SWIG_Py_Void();
5126 SWIGINTERN PyObject
*Size_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5127 return SWIG_Python_InitShadowInstance(args
);
5130 SWIGINTERN PyObject
*_wrap_RealPoint_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5131 PyObject
*resultobj
= 0;
5132 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5138 PyObject
*swig_obj
[2] ;
5140 if (!SWIG_Python_UnpackTuple(args
,"RealPoint_x_set",2,2,swig_obj
)) SWIG_fail
;
5141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5142 if (!SWIG_IsOK(res1
)) {
5143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_x_set" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5145 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5146 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
5147 if (!SWIG_IsOK(ecode2
)) {
5148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RealPoint_x_set" "', expected argument " "2"" of type '" "double""'");
5150 arg2
= static_cast< double >(val2
);
5151 if (arg1
) (arg1
)->x
= arg2
;
5153 resultobj
= SWIG_Py_Void();
5160 SWIGINTERN PyObject
*_wrap_RealPoint_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5161 PyObject
*resultobj
= 0;
5162 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5166 PyObject
*swig_obj
[1] ;
5168 if (!args
) SWIG_fail
;
5170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5171 if (!SWIG_IsOK(res1
)) {
5172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_x_get" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5174 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5175 result
= (double) ((arg1
)->x
);
5176 resultobj
= SWIG_From_double(static_cast< double >(result
));
5183 SWIGINTERN PyObject
*_wrap_RealPoint_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5184 PyObject
*resultobj
= 0;
5185 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5191 PyObject
*swig_obj
[2] ;
5193 if (!SWIG_Python_UnpackTuple(args
,"RealPoint_y_set",2,2,swig_obj
)) SWIG_fail
;
5194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5195 if (!SWIG_IsOK(res1
)) {
5196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_y_set" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5198 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5199 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
5200 if (!SWIG_IsOK(ecode2
)) {
5201 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RealPoint_y_set" "', expected argument " "2"" of type '" "double""'");
5203 arg2
= static_cast< double >(val2
);
5204 if (arg1
) (arg1
)->y
= arg2
;
5206 resultobj
= SWIG_Py_Void();
5213 SWIGINTERN PyObject
*_wrap_RealPoint_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5214 PyObject
*resultobj
= 0;
5215 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5219 PyObject
*swig_obj
[1] ;
5221 if (!args
) SWIG_fail
;
5223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5224 if (!SWIG_IsOK(res1
)) {
5225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_y_get" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5227 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5228 result
= (double) ((arg1
)->y
);
5229 resultobj
= SWIG_From_double(static_cast< double >(result
));
5236 SWIGINTERN PyObject
*_wrap_new_RealPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5237 PyObject
*resultobj
= 0;
5238 double arg1
= (double) 0.0 ;
5239 double arg2
= (double) 0.0 ;
5240 wxRealPoint
*result
= 0 ;
5245 PyObject
* obj0
= 0 ;
5246 PyObject
* obj1
= 0 ;
5247 char * kwnames
[] = {
5248 (char *) "x",(char *) "y", NULL
5251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5253 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
5254 if (!SWIG_IsOK(ecode1
)) {
5255 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_RealPoint" "', expected argument " "1"" of type '" "double""'");
5257 arg1
= static_cast< double >(val1
);
5260 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
5261 if (!SWIG_IsOK(ecode2
)) {
5262 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_RealPoint" "', expected argument " "2"" of type '" "double""'");
5264 arg2
= static_cast< double >(val2
);
5267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5268 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
5269 wxPyEndAllowThreads(__tstate
);
5270 if (PyErr_Occurred()) SWIG_fail
;
5272 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_NEW
| 0 );
5279 SWIGINTERN PyObject
*_wrap_delete_RealPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5280 PyObject
*resultobj
= 0;
5281 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5284 PyObject
*swig_obj
[1] ;
5286 if (!args
) SWIG_fail
;
5288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_DISOWN
| 0 );
5289 if (!SWIG_IsOK(res1
)) {
5290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_RealPoint" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5292 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5297 wxPyEndAllowThreads(__tstate
);
5298 if (PyErr_Occurred()) SWIG_fail
;
5300 resultobj
= SWIG_Py_Void();
5307 SWIGINTERN PyObject
*_wrap_RealPoint___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5308 PyObject
*resultobj
= 0;
5309 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5310 PyObject
*arg2
= (PyObject
*) 0 ;
5314 PyObject
* obj0
= 0 ;
5315 PyObject
* obj1
= 0 ;
5316 char * kwnames
[] = {
5317 (char *) "self",(char *) "other", NULL
5320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5322 if (!SWIG_IsOK(res1
)) {
5323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint___eq__" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5325 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5328 result
= (bool)wxRealPoint___eq__(arg1
,arg2
);
5329 if (PyErr_Occurred()) SWIG_fail
;
5332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5340 SWIGINTERN PyObject
*_wrap_RealPoint___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5341 PyObject
*resultobj
= 0;
5342 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5343 PyObject
*arg2
= (PyObject
*) 0 ;
5347 PyObject
* obj0
= 0 ;
5348 PyObject
* obj1
= 0 ;
5349 char * kwnames
[] = {
5350 (char *) "self",(char *) "other", NULL
5353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) 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___ne__" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5358 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5361 result
= (bool)wxRealPoint___ne__(arg1
,arg2
);
5362 if (PyErr_Occurred()) SWIG_fail
;
5365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5373 SWIGINTERN PyObject
*_wrap_RealPoint___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5374 PyObject
*resultobj
= 0;
5375 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5376 wxRealPoint
*arg2
= 0 ;
5381 PyObject
* obj0
= 0 ;
5382 PyObject
* obj1
= 0 ;
5383 char * kwnames
[] = {
5384 (char *) "self",(char *) "pt", NULL
5387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5389 if (!SWIG_IsOK(res1
)) {
5390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint___add__" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5392 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5395 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5399 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
5400 wxPyEndAllowThreads(__tstate
);
5401 if (PyErr_Occurred()) SWIG_fail
;
5403 resultobj
= SWIG_NewPointerObj((new wxRealPoint(static_cast< const wxRealPoint
& >(result
))), SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_OWN
| 0 );
5410 SWIGINTERN PyObject
*_wrap_RealPoint___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5411 PyObject
*resultobj
= 0;
5412 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5413 wxRealPoint
*arg2
= 0 ;
5418 PyObject
* obj0
= 0 ;
5419 PyObject
* obj1
= 0 ;
5420 char * kwnames
[] = {
5421 (char *) "self",(char *) "pt", NULL
5424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5426 if (!SWIG_IsOK(res1
)) {
5427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint___sub__" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5429 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5432 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5436 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
5437 wxPyEndAllowThreads(__tstate
);
5438 if (PyErr_Occurred()) SWIG_fail
;
5440 resultobj
= SWIG_NewPointerObj((new wxRealPoint(static_cast< const wxRealPoint
& >(result
))), SWIGTYPE_p_wxRealPoint
, SWIG_POINTER_OWN
| 0 );
5447 SWIGINTERN PyObject
*_wrap_RealPoint_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5448 PyObject
*resultobj
= 0;
5449 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5458 PyObject
* obj0
= 0 ;
5459 PyObject
* obj1
= 0 ;
5460 PyObject
* obj2
= 0 ;
5461 char * kwnames
[] = {
5462 (char *) "self",(char *) "x",(char *) "y", NULL
5465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5467 if (!SWIG_IsOK(res1
)) {
5468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_Set" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5470 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5471 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
5472 if (!SWIG_IsOK(ecode2
)) {
5473 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "RealPoint_Set" "', expected argument " "2"" of type '" "double""'");
5475 arg2
= static_cast< double >(val2
);
5476 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
5477 if (!SWIG_IsOK(ecode3
)) {
5478 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "RealPoint_Set" "', expected argument " "3"" of type '" "double""'");
5480 arg3
= static_cast< double >(val3
);
5482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5483 wxRealPoint_Set(arg1
,arg2
,arg3
);
5484 wxPyEndAllowThreads(__tstate
);
5485 if (PyErr_Occurred()) SWIG_fail
;
5487 resultobj
= SWIG_Py_Void();
5494 SWIGINTERN PyObject
*_wrap_RealPoint_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5495 PyObject
*resultobj
= 0;
5496 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
5497 PyObject
*result
= 0 ;
5500 PyObject
*swig_obj
[1] ;
5502 if (!args
) SWIG_fail
;
5504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRealPoint
, 0 | 0 );
5505 if (!SWIG_IsOK(res1
)) {
5506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "RealPoint_Get" "', expected argument " "1"" of type '" "wxRealPoint *""'");
5508 arg1
= reinterpret_cast< wxRealPoint
* >(argp1
);
5510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5511 result
= (PyObject
*)wxRealPoint_Get(arg1
);
5512 wxPyEndAllowThreads(__tstate
);
5513 if (PyErr_Occurred()) SWIG_fail
;
5522 SWIGINTERN PyObject
*RealPoint_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5524 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5525 SWIG_TypeNewClientData(SWIGTYPE_p_wxRealPoint
, SWIG_NewClientData(obj
));
5526 return SWIG_Py_Void();
5529 SWIGINTERN PyObject
*RealPoint_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5530 return SWIG_Python_InitShadowInstance(args
);
5533 SWIGINTERN PyObject
*_wrap_Point_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5534 PyObject
*resultobj
= 0;
5535 wxPoint
*arg1
= (wxPoint
*) 0 ;
5541 PyObject
*swig_obj
[2] ;
5543 if (!SWIG_Python_UnpackTuple(args
,"Point_x_set",2,2,swig_obj
)) SWIG_fail
;
5544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5545 if (!SWIG_IsOK(res1
)) {
5546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_x_set" "', expected argument " "1"" of type '" "wxPoint *""'");
5548 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5549 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
5550 if (!SWIG_IsOK(ecode2
)) {
5551 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point_x_set" "', expected argument " "2"" of type '" "int""'");
5553 arg2
= static_cast< int >(val2
);
5554 if (arg1
) (arg1
)->x
= arg2
;
5556 resultobj
= SWIG_Py_Void();
5563 SWIGINTERN PyObject
*_wrap_Point_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5564 PyObject
*resultobj
= 0;
5565 wxPoint
*arg1
= (wxPoint
*) 0 ;
5569 PyObject
*swig_obj
[1] ;
5571 if (!args
) SWIG_fail
;
5573 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5574 if (!SWIG_IsOK(res1
)) {
5575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_x_get" "', expected argument " "1"" of type '" "wxPoint *""'");
5577 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5578 result
= (int) ((arg1
)->x
);
5579 resultobj
= SWIG_From_int(static_cast< int >(result
));
5586 SWIGINTERN PyObject
*_wrap_Point_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5587 PyObject
*resultobj
= 0;
5588 wxPoint
*arg1
= (wxPoint
*) 0 ;
5594 PyObject
*swig_obj
[2] ;
5596 if (!SWIG_Python_UnpackTuple(args
,"Point_y_set",2,2,swig_obj
)) SWIG_fail
;
5597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5598 if (!SWIG_IsOK(res1
)) {
5599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_y_set" "', expected argument " "1"" of type '" "wxPoint *""'");
5601 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5602 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
5603 if (!SWIG_IsOK(ecode2
)) {
5604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point_y_set" "', expected argument " "2"" of type '" "int""'");
5606 arg2
= static_cast< int >(val2
);
5607 if (arg1
) (arg1
)->y
= arg2
;
5609 resultobj
= SWIG_Py_Void();
5616 SWIGINTERN PyObject
*_wrap_Point_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5617 PyObject
*resultobj
= 0;
5618 wxPoint
*arg1
= (wxPoint
*) 0 ;
5622 PyObject
*swig_obj
[1] ;
5624 if (!args
) SWIG_fail
;
5626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5627 if (!SWIG_IsOK(res1
)) {
5628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_y_get" "', expected argument " "1"" of type '" "wxPoint *""'");
5630 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5631 result
= (int) ((arg1
)->y
);
5632 resultobj
= SWIG_From_int(static_cast< int >(result
));
5639 SWIGINTERN PyObject
*_wrap_new_Point(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5640 PyObject
*resultobj
= 0;
5641 int arg1
= (int) 0 ;
5642 int arg2
= (int) 0 ;
5643 wxPoint
*result
= 0 ;
5648 PyObject
* obj0
= 0 ;
5649 PyObject
* obj1
= 0 ;
5650 char * kwnames
[] = {
5651 (char *) "x",(char *) "y", NULL
5654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5656 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5657 if (!SWIG_IsOK(ecode1
)) {
5658 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Point" "', expected argument " "1"" of type '" "int""'");
5660 arg1
= static_cast< int >(val1
);
5663 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5664 if (!SWIG_IsOK(ecode2
)) {
5665 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Point" "', expected argument " "2"" of type '" "int""'");
5667 arg2
= static_cast< int >(val2
);
5670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5671 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
5672 wxPyEndAllowThreads(__tstate
);
5673 if (PyErr_Occurred()) SWIG_fail
;
5675 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, SWIG_POINTER_NEW
| 0 );
5682 SWIGINTERN PyObject
*_wrap_delete_Point(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5683 PyObject
*resultobj
= 0;
5684 wxPoint
*arg1
= (wxPoint
*) 0 ;
5687 PyObject
*swig_obj
[1] ;
5689 if (!args
) SWIG_fail
;
5691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, SWIG_POINTER_DISOWN
| 0 );
5692 if (!SWIG_IsOK(res1
)) {
5693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Point" "', expected argument " "1"" of type '" "wxPoint *""'");
5695 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5700 wxPyEndAllowThreads(__tstate
);
5701 if (PyErr_Occurred()) SWIG_fail
;
5703 resultobj
= SWIG_Py_Void();
5710 SWIGINTERN PyObject
*_wrap_Point___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5711 PyObject
*resultobj
= 0;
5712 wxPoint
*arg1
= (wxPoint
*) 0 ;
5713 PyObject
*arg2
= (PyObject
*) 0 ;
5717 PyObject
* obj0
= 0 ;
5718 PyObject
* obj1
= 0 ;
5719 char * kwnames
[] = {
5720 (char *) "self",(char *) "other", NULL
5723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5725 if (!SWIG_IsOK(res1
)) {
5726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___eq__" "', expected argument " "1"" of type '" "wxPoint *""'");
5728 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5731 result
= (bool)wxPoint___eq__(arg1
,arg2
);
5732 if (PyErr_Occurred()) SWIG_fail
;
5735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5743 SWIGINTERN PyObject
*_wrap_Point___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5744 PyObject
*resultobj
= 0;
5745 wxPoint
*arg1
= (wxPoint
*) 0 ;
5746 PyObject
*arg2
= (PyObject
*) 0 ;
5750 PyObject
* obj0
= 0 ;
5751 PyObject
* obj1
= 0 ;
5752 char * kwnames
[] = {
5753 (char *) "self",(char *) "other", NULL
5756 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5757 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5758 if (!SWIG_IsOK(res1
)) {
5759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___ne__" "', expected argument " "1"" of type '" "wxPoint *""'");
5761 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5764 result
= (bool)wxPoint___ne__(arg1
,arg2
);
5765 if (PyErr_Occurred()) SWIG_fail
;
5768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5776 SWIGINTERN PyObject
*_wrap_Point___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5777 PyObject
*resultobj
= 0;
5778 wxPoint
*arg1
= (wxPoint
*) 0 ;
5784 PyObject
* obj0
= 0 ;
5785 PyObject
* obj1
= 0 ;
5786 char * kwnames
[] = {
5787 (char *) "self",(char *) "pt", NULL
5790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5792 if (!SWIG_IsOK(res1
)) {
5793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___add__" "', expected argument " "1"" of type '" "wxPoint *""'");
5795 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5798 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5802 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
5803 wxPyEndAllowThreads(__tstate
);
5804 if (PyErr_Occurred()) SWIG_fail
;
5806 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
5813 SWIGINTERN PyObject
*_wrap_Point___sub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5814 PyObject
*resultobj
= 0;
5815 wxPoint
*arg1
= (wxPoint
*) 0 ;
5821 PyObject
* obj0
= 0 ;
5822 PyObject
* obj1
= 0 ;
5823 char * kwnames
[] = {
5824 (char *) "self",(char *) "pt", NULL
5827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5829 if (!SWIG_IsOK(res1
)) {
5830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___sub__" "', expected argument " "1"" of type '" "wxPoint *""'");
5832 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5835 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5839 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
5840 wxPyEndAllowThreads(__tstate
);
5841 if (PyErr_Occurred()) SWIG_fail
;
5843 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
5850 SWIGINTERN PyObject
*_wrap_Point___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5851 PyObject
*resultobj
= 0;
5852 wxPoint
*arg1
= (wxPoint
*) 0 ;
5854 wxPoint
*result
= 0 ;
5858 PyObject
* obj0
= 0 ;
5859 PyObject
* obj1
= 0 ;
5860 char * kwnames
[] = {
5861 (char *) "self",(char *) "pt", NULL
5864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, SWIG_POINTER_DISOWN
| 0 );
5866 if (!SWIG_IsOK(res1
)) {
5867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___iadd__" "', expected argument " "1"" of type '" "wxPoint *""'");
5869 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5872 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5877 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
5878 result
= (wxPoint
*) &_result_ref
;
5880 wxPyEndAllowThreads(__tstate
);
5881 if (PyErr_Occurred()) SWIG_fail
;
5883 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
5890 SWIGINTERN PyObject
*_wrap_Point___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5891 PyObject
*resultobj
= 0;
5892 wxPoint
*arg1
= (wxPoint
*) 0 ;
5894 wxPoint
*result
= 0 ;
5898 PyObject
* obj0
= 0 ;
5899 PyObject
* obj1
= 0 ;
5900 char * kwnames
[] = {
5901 (char *) "self",(char *) "pt", NULL
5904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, SWIG_POINTER_DISOWN
| 0 );
5906 if (!SWIG_IsOK(res1
)) {
5907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point___isub__" "', expected argument " "1"" of type '" "wxPoint *""'");
5909 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5912 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5917 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
5918 result
= (wxPoint
*) &_result_ref
;
5920 wxPyEndAllowThreads(__tstate
);
5921 if (PyErr_Occurred()) SWIG_fail
;
5923 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
5930 SWIGINTERN PyObject
*_wrap_Point_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5931 PyObject
*resultobj
= 0;
5932 wxPoint
*arg1
= (wxPoint
*) 0 ;
5941 PyObject
* obj0
= 0 ;
5942 PyObject
* obj1
= 0 ;
5943 PyObject
* obj2
= 0 ;
5944 char * kwnames
[] = {
5945 (char *) "self",(char *) "x",(char *) "y", NULL
5948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5950 if (!SWIG_IsOK(res1
)) {
5951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_Set" "', expected argument " "1"" of type '" "wxPoint *""'");
5953 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5954 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
5955 if (!SWIG_IsOK(ecode2
)) {
5956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point_Set" "', expected argument " "2"" of type '" "long""'");
5958 arg2
= static_cast< long >(val2
);
5959 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5960 if (!SWIG_IsOK(ecode3
)) {
5961 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Point_Set" "', expected argument " "3"" of type '" "long""'");
5963 arg3
= static_cast< long >(val3
);
5965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5966 wxPoint_Set(arg1
,arg2
,arg3
);
5967 wxPyEndAllowThreads(__tstate
);
5968 if (PyErr_Occurred()) SWIG_fail
;
5970 resultobj
= SWIG_Py_Void();
5977 SWIGINTERN PyObject
*_wrap_Point_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5978 PyObject
*resultobj
= 0;
5979 wxPoint
*arg1
= (wxPoint
*) 0 ;
5980 PyObject
*result
= 0 ;
5983 PyObject
*swig_obj
[1] ;
5985 if (!args
) SWIG_fail
;
5987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint
, 0 | 0 );
5988 if (!SWIG_IsOK(res1
)) {
5989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point_Get" "', expected argument " "1"" of type '" "wxPoint *""'");
5991 arg1
= reinterpret_cast< wxPoint
* >(argp1
);
5993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5994 result
= (PyObject
*)wxPoint_Get(arg1
);
5995 wxPyEndAllowThreads(__tstate
);
5996 if (PyErr_Occurred()) SWIG_fail
;
6005 SWIGINTERN PyObject
*Point_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6007 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6008 SWIG_TypeNewClientData(SWIGTYPE_p_wxPoint
, SWIG_NewClientData(obj
));
6009 return SWIG_Py_Void();
6012 SWIGINTERN PyObject
*Point_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6013 return SWIG_Python_InitShadowInstance(args
);
6016 SWIGINTERN PyObject
*_wrap_new_Rect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6017 PyObject
*resultobj
= 0;
6018 int arg1
= (int) 0 ;
6019 int arg2
= (int) 0 ;
6020 int arg3
= (int) 0 ;
6021 int arg4
= (int) 0 ;
6022 wxRect
*result
= 0 ;
6031 PyObject
* obj0
= 0 ;
6032 PyObject
* obj1
= 0 ;
6033 PyObject
* obj2
= 0 ;
6034 PyObject
* obj3
= 0 ;
6035 char * kwnames
[] = {
6036 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
6039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6041 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6042 if (!SWIG_IsOK(ecode1
)) {
6043 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Rect" "', expected argument " "1"" of type '" "int""'");
6045 arg1
= static_cast< int >(val1
);
6048 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6049 if (!SWIG_IsOK(ecode2
)) {
6050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Rect" "', expected argument " "2"" of type '" "int""'");
6052 arg2
= static_cast< int >(val2
);
6055 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6056 if (!SWIG_IsOK(ecode3
)) {
6057 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Rect" "', expected argument " "3"" of type '" "int""'");
6059 arg3
= static_cast< int >(val3
);
6062 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6063 if (!SWIG_IsOK(ecode4
)) {
6064 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_Rect" "', expected argument " "4"" of type '" "int""'");
6066 arg4
= static_cast< int >(val4
);
6069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6070 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
6071 wxPyEndAllowThreads(__tstate
);
6072 if (PyErr_Occurred()) SWIG_fail
;
6074 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, SWIG_POINTER_NEW
| 0 );
6081 SWIGINTERN PyObject
*_wrap_new_RectPP(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6082 PyObject
*resultobj
= 0;
6085 wxRect
*result
= 0 ;
6088 PyObject
* obj0
= 0 ;
6089 PyObject
* obj1
= 0 ;
6090 char * kwnames
[] = {
6091 (char *) "topLeft",(char *) "bottomRight", NULL
6094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6097 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6101 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6105 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
6106 wxPyEndAllowThreads(__tstate
);
6107 if (PyErr_Occurred()) SWIG_fail
;
6109 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
6116 SWIGINTERN PyObject
*_wrap_new_RectPS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6117 PyObject
*resultobj
= 0;
6120 wxRect
*result
= 0 ;
6123 PyObject
* obj0
= 0 ;
6124 PyObject
* obj1
= 0 ;
6125 char * kwnames
[] = {
6126 (char *) "pos",(char *) "size", NULL
6129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6132 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
6136 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6140 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
6141 wxPyEndAllowThreads(__tstate
);
6142 if (PyErr_Occurred()) SWIG_fail
;
6144 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
6151 SWIGINTERN PyObject
*_wrap_new_RectS(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6152 PyObject
*resultobj
= 0;
6154 wxRect
*result
= 0 ;
6156 PyObject
* obj0
= 0 ;
6157 char * kwnames
[] = {
6158 (char *) "size", NULL
6161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_RectS",kwnames
,&obj0
)) SWIG_fail
;
6164 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
6167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6168 result
= (wxRect
*)new wxRect((wxSize
const &)*arg1
);
6169 wxPyEndAllowThreads(__tstate
);
6170 if (PyErr_Occurred()) SWIG_fail
;
6172 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
6179 SWIGINTERN PyObject
*_wrap_delete_Rect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6180 PyObject
*resultobj
= 0;
6181 wxRect
*arg1
= (wxRect
*) 0 ;
6184 PyObject
*swig_obj
[1] ;
6186 if (!args
) SWIG_fail
;
6188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, SWIG_POINTER_DISOWN
| 0 );
6189 if (!SWIG_IsOK(res1
)) {
6190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Rect" "', expected argument " "1"" of type '" "wxRect *""'");
6192 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6197 wxPyEndAllowThreads(__tstate
);
6198 if (PyErr_Occurred()) SWIG_fail
;
6200 resultobj
= SWIG_Py_Void();
6207 SWIGINTERN PyObject
*_wrap_Rect_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6208 PyObject
*resultobj
= 0;
6209 wxRect
*arg1
= (wxRect
*) 0 ;
6213 PyObject
*swig_obj
[1] ;
6215 if (!args
) SWIG_fail
;
6217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6218 if (!SWIG_IsOK(res1
)) {
6219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetX" "', expected argument " "1"" of type '" "wxRect const *""'");
6221 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6224 result
= (int)((wxRect
const *)arg1
)->GetX();
6225 wxPyEndAllowThreads(__tstate
);
6226 if (PyErr_Occurred()) SWIG_fail
;
6228 resultobj
= SWIG_From_int(static_cast< int >(result
));
6235 SWIGINTERN PyObject
*_wrap_Rect_SetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6236 PyObject
*resultobj
= 0;
6237 wxRect
*arg1
= (wxRect
*) 0 ;
6243 PyObject
* obj0
= 0 ;
6244 PyObject
* obj1
= 0 ;
6245 char * kwnames
[] = {
6246 (char *) "self",(char *) "x", NULL
6249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6251 if (!SWIG_IsOK(res1
)) {
6252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetX" "', expected argument " "1"" of type '" "wxRect *""'");
6254 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6255 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6256 if (!SWIG_IsOK(ecode2
)) {
6257 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetX" "', expected argument " "2"" of type '" "int""'");
6259 arg2
= static_cast< int >(val2
);
6261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6263 wxPyEndAllowThreads(__tstate
);
6264 if (PyErr_Occurred()) SWIG_fail
;
6266 resultobj
= SWIG_Py_Void();
6273 SWIGINTERN PyObject
*_wrap_Rect_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6274 PyObject
*resultobj
= 0;
6275 wxRect
*arg1
= (wxRect
*) 0 ;
6279 PyObject
*swig_obj
[1] ;
6281 if (!args
) SWIG_fail
;
6283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6284 if (!SWIG_IsOK(res1
)) {
6285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetY" "', expected argument " "1"" of type '" "wxRect *""'");
6287 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6290 result
= (int)(arg1
)->GetY();
6291 wxPyEndAllowThreads(__tstate
);
6292 if (PyErr_Occurred()) SWIG_fail
;
6294 resultobj
= SWIG_From_int(static_cast< int >(result
));
6301 SWIGINTERN PyObject
*_wrap_Rect_SetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6302 PyObject
*resultobj
= 0;
6303 wxRect
*arg1
= (wxRect
*) 0 ;
6309 PyObject
* obj0
= 0 ;
6310 PyObject
* obj1
= 0 ;
6311 char * kwnames
[] = {
6312 (char *) "self",(char *) "y", NULL
6315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6317 if (!SWIG_IsOK(res1
)) {
6318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetY" "', expected argument " "1"" of type '" "wxRect *""'");
6320 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6321 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6322 if (!SWIG_IsOK(ecode2
)) {
6323 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetY" "', expected argument " "2"" of type '" "int""'");
6325 arg2
= static_cast< int >(val2
);
6327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6329 wxPyEndAllowThreads(__tstate
);
6330 if (PyErr_Occurred()) SWIG_fail
;
6332 resultobj
= SWIG_Py_Void();
6339 SWIGINTERN PyObject
*_wrap_Rect_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6340 PyObject
*resultobj
= 0;
6341 wxRect
*arg1
= (wxRect
*) 0 ;
6345 PyObject
*swig_obj
[1] ;
6347 if (!args
) SWIG_fail
;
6349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6350 if (!SWIG_IsOK(res1
)) {
6351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetWidth" "', expected argument " "1"" of type '" "wxRect const *""'");
6353 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6356 result
= (int)((wxRect
const *)arg1
)->GetWidth();
6357 wxPyEndAllowThreads(__tstate
);
6358 if (PyErr_Occurred()) SWIG_fail
;
6360 resultobj
= SWIG_From_int(static_cast< int >(result
));
6367 SWIGINTERN PyObject
*_wrap_Rect_SetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6368 PyObject
*resultobj
= 0;
6369 wxRect
*arg1
= (wxRect
*) 0 ;
6375 PyObject
* obj0
= 0 ;
6376 PyObject
* obj1
= 0 ;
6377 char * kwnames
[] = {
6378 (char *) "self",(char *) "w", NULL
6381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6383 if (!SWIG_IsOK(res1
)) {
6384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetWidth" "', expected argument " "1"" of type '" "wxRect *""'");
6386 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6387 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6388 if (!SWIG_IsOK(ecode2
)) {
6389 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetWidth" "', expected argument " "2"" of type '" "int""'");
6391 arg2
= static_cast< int >(val2
);
6393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6394 (arg1
)->SetWidth(arg2
);
6395 wxPyEndAllowThreads(__tstate
);
6396 if (PyErr_Occurred()) SWIG_fail
;
6398 resultobj
= SWIG_Py_Void();
6405 SWIGINTERN PyObject
*_wrap_Rect_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6406 PyObject
*resultobj
= 0;
6407 wxRect
*arg1
= (wxRect
*) 0 ;
6411 PyObject
*swig_obj
[1] ;
6413 if (!args
) SWIG_fail
;
6415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6416 if (!SWIG_IsOK(res1
)) {
6417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetHeight" "', expected argument " "1"" of type '" "wxRect const *""'");
6419 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6422 result
= (int)((wxRect
const *)arg1
)->GetHeight();
6423 wxPyEndAllowThreads(__tstate
);
6424 if (PyErr_Occurred()) SWIG_fail
;
6426 resultobj
= SWIG_From_int(static_cast< int >(result
));
6433 SWIGINTERN PyObject
*_wrap_Rect_SetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6434 PyObject
*resultobj
= 0;
6435 wxRect
*arg1
= (wxRect
*) 0 ;
6441 PyObject
* obj0
= 0 ;
6442 PyObject
* obj1
= 0 ;
6443 char * kwnames
[] = {
6444 (char *) "self",(char *) "h", NULL
6447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6449 if (!SWIG_IsOK(res1
)) {
6450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetHeight" "', expected argument " "1"" of type '" "wxRect *""'");
6452 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6453 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6454 if (!SWIG_IsOK(ecode2
)) {
6455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetHeight" "', expected argument " "2"" of type '" "int""'");
6457 arg2
= static_cast< int >(val2
);
6459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6460 (arg1
)->SetHeight(arg2
);
6461 wxPyEndAllowThreads(__tstate
);
6462 if (PyErr_Occurred()) SWIG_fail
;
6464 resultobj
= SWIG_Py_Void();
6471 SWIGINTERN PyObject
*_wrap_Rect_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6472 PyObject
*resultobj
= 0;
6473 wxRect
*arg1
= (wxRect
*) 0 ;
6477 PyObject
*swig_obj
[1] ;
6479 if (!args
) SWIG_fail
;
6481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6482 if (!SWIG_IsOK(res1
)) {
6483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetPosition" "', expected argument " "1"" of type '" "wxRect const *""'");
6485 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6488 result
= ((wxRect
const *)arg1
)->GetPosition();
6489 wxPyEndAllowThreads(__tstate
);
6490 if (PyErr_Occurred()) SWIG_fail
;
6492 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6499 SWIGINTERN PyObject
*_wrap_Rect_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6500 PyObject
*resultobj
= 0;
6501 wxRect
*arg1
= (wxRect
*) 0 ;
6506 PyObject
* obj0
= 0 ;
6507 PyObject
* obj1
= 0 ;
6508 char * kwnames
[] = {
6509 (char *) "self",(char *) "p", NULL
6512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6514 if (!SWIG_IsOK(res1
)) {
6515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetPosition" "', expected argument " "1"" of type '" "wxRect *""'");
6517 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6520 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6524 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
6525 wxPyEndAllowThreads(__tstate
);
6526 if (PyErr_Occurred()) SWIG_fail
;
6528 resultobj
= SWIG_Py_Void();
6535 SWIGINTERN PyObject
*_wrap_Rect_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6536 PyObject
*resultobj
= 0;
6537 wxRect
*arg1
= (wxRect
*) 0 ;
6541 PyObject
*swig_obj
[1] ;
6543 if (!args
) SWIG_fail
;
6545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6546 if (!SWIG_IsOK(res1
)) {
6547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetSize" "', expected argument " "1"" of type '" "wxRect const *""'");
6549 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6552 result
= ((wxRect
const *)arg1
)->GetSize();
6553 wxPyEndAllowThreads(__tstate
);
6554 if (PyErr_Occurred()) SWIG_fail
;
6556 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
6563 SWIGINTERN PyObject
*_wrap_Rect_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6564 PyObject
*resultobj
= 0;
6565 wxRect
*arg1
= (wxRect
*) 0 ;
6570 PyObject
* obj0
= 0 ;
6571 PyObject
* obj1
= 0 ;
6572 char * kwnames
[] = {
6573 (char *) "self",(char *) "s", NULL
6576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6578 if (!SWIG_IsOK(res1
)) {
6579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetSize" "', expected argument " "1"" of type '" "wxRect *""'");
6581 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6584 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
6587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6588 (arg1
)->SetSize((wxSize
const &)*arg2
);
6589 wxPyEndAllowThreads(__tstate
);
6590 if (PyErr_Occurred()) SWIG_fail
;
6592 resultobj
= SWIG_Py_Void();
6599 SWIGINTERN PyObject
*_wrap_Rect_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6600 PyObject
*resultobj
= 0;
6601 wxRect
*arg1
= (wxRect
*) 0 ;
6605 PyObject
*swig_obj
[1] ;
6607 if (!args
) SWIG_fail
;
6609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6610 if (!SWIG_IsOK(res1
)) {
6611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_IsEmpty" "', expected argument " "1"" of type '" "wxRect const *""'");
6613 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6616 result
= (bool)((wxRect
const *)arg1
)->IsEmpty();
6617 wxPyEndAllowThreads(__tstate
);
6618 if (PyErr_Occurred()) SWIG_fail
;
6621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6629 SWIGINTERN PyObject
*_wrap_Rect_GetTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6630 PyObject
*resultobj
= 0;
6631 wxRect
*arg1
= (wxRect
*) 0 ;
6635 PyObject
*swig_obj
[1] ;
6637 if (!args
) SWIG_fail
;
6639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6640 if (!SWIG_IsOK(res1
)) {
6641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetTopLeft" "', expected argument " "1"" of type '" "wxRect const *""'");
6643 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6646 result
= ((wxRect
const *)arg1
)->GetTopLeft();
6647 wxPyEndAllowThreads(__tstate
);
6648 if (PyErr_Occurred()) SWIG_fail
;
6650 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6657 SWIGINTERN PyObject
*_wrap_Rect_SetTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6658 PyObject
*resultobj
= 0;
6659 wxRect
*arg1
= (wxRect
*) 0 ;
6664 PyObject
* obj0
= 0 ;
6665 PyObject
* obj1
= 0 ;
6666 char * kwnames
[] = {
6667 (char *) "self",(char *) "p", NULL
6670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6672 if (!SWIG_IsOK(res1
)) {
6673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetTopLeft" "', expected argument " "1"" of type '" "wxRect *""'");
6675 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6678 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6682 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
6683 wxPyEndAllowThreads(__tstate
);
6684 if (PyErr_Occurred()) SWIG_fail
;
6686 resultobj
= SWIG_Py_Void();
6693 SWIGINTERN PyObject
*_wrap_Rect_GetBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6694 PyObject
*resultobj
= 0;
6695 wxRect
*arg1
= (wxRect
*) 0 ;
6699 PyObject
*swig_obj
[1] ;
6701 if (!args
) SWIG_fail
;
6703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6704 if (!SWIG_IsOK(res1
)) {
6705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetBottomRight" "', expected argument " "1"" of type '" "wxRect const *""'");
6707 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6710 result
= ((wxRect
const *)arg1
)->GetBottomRight();
6711 wxPyEndAllowThreads(__tstate
);
6712 if (PyErr_Occurred()) SWIG_fail
;
6714 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
6721 SWIGINTERN PyObject
*_wrap_Rect_SetBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6722 PyObject
*resultobj
= 0;
6723 wxRect
*arg1
= (wxRect
*) 0 ;
6728 PyObject
* obj0
= 0 ;
6729 PyObject
* obj1
= 0 ;
6730 char * kwnames
[] = {
6731 (char *) "self",(char *) "p", NULL
6734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6736 if (!SWIG_IsOK(res1
)) {
6737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetBottomRight" "', expected argument " "1"" of type '" "wxRect *""'");
6739 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6742 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
6745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6746 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
6747 wxPyEndAllowThreads(__tstate
);
6748 if (PyErr_Occurred()) SWIG_fail
;
6750 resultobj
= SWIG_Py_Void();
6757 SWIGINTERN PyObject
*_wrap_Rect_GetLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6758 PyObject
*resultobj
= 0;
6759 wxRect
*arg1
= (wxRect
*) 0 ;
6763 PyObject
*swig_obj
[1] ;
6765 if (!args
) SWIG_fail
;
6767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6768 if (!SWIG_IsOK(res1
)) {
6769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetLeft" "', expected argument " "1"" of type '" "wxRect const *""'");
6771 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6774 result
= (int)((wxRect
const *)arg1
)->GetLeft();
6775 wxPyEndAllowThreads(__tstate
);
6776 if (PyErr_Occurred()) SWIG_fail
;
6778 resultobj
= SWIG_From_int(static_cast< int >(result
));
6785 SWIGINTERN PyObject
*_wrap_Rect_GetTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6786 PyObject
*resultobj
= 0;
6787 wxRect
*arg1
= (wxRect
*) 0 ;
6791 PyObject
*swig_obj
[1] ;
6793 if (!args
) SWIG_fail
;
6795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6796 if (!SWIG_IsOK(res1
)) {
6797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetTop" "', expected argument " "1"" of type '" "wxRect const *""'");
6799 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6802 result
= (int)((wxRect
const *)arg1
)->GetTop();
6803 wxPyEndAllowThreads(__tstate
);
6804 if (PyErr_Occurred()) SWIG_fail
;
6806 resultobj
= SWIG_From_int(static_cast< int >(result
));
6813 SWIGINTERN PyObject
*_wrap_Rect_GetBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6814 PyObject
*resultobj
= 0;
6815 wxRect
*arg1
= (wxRect
*) 0 ;
6819 PyObject
*swig_obj
[1] ;
6821 if (!args
) SWIG_fail
;
6823 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6824 if (!SWIG_IsOK(res1
)) {
6825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetBottom" "', expected argument " "1"" of type '" "wxRect const *""'");
6827 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6830 result
= (int)((wxRect
const *)arg1
)->GetBottom();
6831 wxPyEndAllowThreads(__tstate
);
6832 if (PyErr_Occurred()) SWIG_fail
;
6834 resultobj
= SWIG_From_int(static_cast< int >(result
));
6841 SWIGINTERN PyObject
*_wrap_Rect_GetRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6842 PyObject
*resultobj
= 0;
6843 wxRect
*arg1
= (wxRect
*) 0 ;
6847 PyObject
*swig_obj
[1] ;
6849 if (!args
) SWIG_fail
;
6851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6852 if (!SWIG_IsOK(res1
)) {
6853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_GetRight" "', expected argument " "1"" of type '" "wxRect const *""'");
6855 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6858 result
= (int)((wxRect
const *)arg1
)->GetRight();
6859 wxPyEndAllowThreads(__tstate
);
6860 if (PyErr_Occurred()) SWIG_fail
;
6862 resultobj
= SWIG_From_int(static_cast< int >(result
));
6869 SWIGINTERN PyObject
*_wrap_Rect_SetLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6870 PyObject
*resultobj
= 0;
6871 wxRect
*arg1
= (wxRect
*) 0 ;
6877 PyObject
* obj0
= 0 ;
6878 PyObject
* obj1
= 0 ;
6879 char * kwnames
[] = {
6880 (char *) "self",(char *) "left", NULL
6883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6885 if (!SWIG_IsOK(res1
)) {
6886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetLeft" "', expected argument " "1"" of type '" "wxRect *""'");
6888 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6889 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6890 if (!SWIG_IsOK(ecode2
)) {
6891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetLeft" "', expected argument " "2"" of type '" "int""'");
6893 arg2
= static_cast< int >(val2
);
6895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6896 (arg1
)->SetLeft(arg2
);
6897 wxPyEndAllowThreads(__tstate
);
6898 if (PyErr_Occurred()) SWIG_fail
;
6900 resultobj
= SWIG_Py_Void();
6907 SWIGINTERN PyObject
*_wrap_Rect_SetRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6908 PyObject
*resultobj
= 0;
6909 wxRect
*arg1
= (wxRect
*) 0 ;
6915 PyObject
* obj0
= 0 ;
6916 PyObject
* obj1
= 0 ;
6917 char * kwnames
[] = {
6918 (char *) "self",(char *) "right", NULL
6921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6923 if (!SWIG_IsOK(res1
)) {
6924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetRight" "', expected argument " "1"" of type '" "wxRect *""'");
6926 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6927 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6928 if (!SWIG_IsOK(ecode2
)) {
6929 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetRight" "', expected argument " "2"" of type '" "int""'");
6931 arg2
= static_cast< int >(val2
);
6933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6934 (arg1
)->SetRight(arg2
);
6935 wxPyEndAllowThreads(__tstate
);
6936 if (PyErr_Occurred()) SWIG_fail
;
6938 resultobj
= SWIG_Py_Void();
6945 SWIGINTERN PyObject
*_wrap_Rect_SetTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6946 PyObject
*resultobj
= 0;
6947 wxRect
*arg1
= (wxRect
*) 0 ;
6953 PyObject
* obj0
= 0 ;
6954 PyObject
* obj1
= 0 ;
6955 char * kwnames
[] = {
6956 (char *) "self",(char *) "top", NULL
6959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6961 if (!SWIG_IsOK(res1
)) {
6962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetTop" "', expected argument " "1"" of type '" "wxRect *""'");
6964 arg1
= reinterpret_cast< wxRect
* >(argp1
);
6965 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6966 if (!SWIG_IsOK(ecode2
)) {
6967 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetTop" "', expected argument " "2"" of type '" "int""'");
6969 arg2
= static_cast< int >(val2
);
6971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6972 (arg1
)->SetTop(arg2
);
6973 wxPyEndAllowThreads(__tstate
);
6974 if (PyErr_Occurred()) SWIG_fail
;
6976 resultobj
= SWIG_Py_Void();
6983 SWIGINTERN PyObject
*_wrap_Rect_SetBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6984 PyObject
*resultobj
= 0;
6985 wxRect
*arg1
= (wxRect
*) 0 ;
6991 PyObject
* obj0
= 0 ;
6992 PyObject
* obj1
= 0 ;
6993 char * kwnames
[] = {
6994 (char *) "self",(char *) "bottom", NULL
6997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
6999 if (!SWIG_IsOK(res1
)) {
7000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_SetBottom" "', expected argument " "1"" of type '" "wxRect *""'");
7002 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7003 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7004 if (!SWIG_IsOK(ecode2
)) {
7005 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_SetBottom" "', expected argument " "2"" of type '" "int""'");
7007 arg2
= static_cast< int >(val2
);
7009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7010 (arg1
)->SetBottom(arg2
);
7011 wxPyEndAllowThreads(__tstate
);
7012 if (PyErr_Occurred()) SWIG_fail
;
7014 resultobj
= SWIG_Py_Void();
7021 SWIGINTERN PyObject
*_wrap_Rect_Inflate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7022 PyObject
*resultobj
= 0;
7023 wxRect
*arg1
= (wxRect
*) 0 ;
7026 wxRect
*result
= 0 ;
7033 PyObject
* obj0
= 0 ;
7034 PyObject
* obj1
= 0 ;
7035 PyObject
* obj2
= 0 ;
7036 char * kwnames
[] = {
7037 (char *) "self",(char *) "dx",(char *) "dy", NULL
7040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7042 if (!SWIG_IsOK(res1
)) {
7043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Inflate" "', expected argument " "1"" of type '" "wxRect *""'");
7045 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7046 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7047 if (!SWIG_IsOK(ecode2
)) {
7048 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_Inflate" "', expected argument " "2"" of type '" "int""'");
7050 arg2
= static_cast< int >(val2
);
7051 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7052 if (!SWIG_IsOK(ecode3
)) {
7053 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_Inflate" "', expected argument " "3"" of type '" "int""'");
7055 arg3
= static_cast< int >(val3
);
7057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7059 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
7060 result
= (wxRect
*) &_result_ref
;
7062 wxPyEndAllowThreads(__tstate
);
7063 if (PyErr_Occurred()) SWIG_fail
;
7065 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, 0 | 0 );
7072 SWIGINTERN PyObject
*_wrap_Rect_Deflate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7073 PyObject
*resultobj
= 0;
7074 wxRect
*arg1
= (wxRect
*) 0 ;
7077 wxRect
*result
= 0 ;
7084 PyObject
* obj0
= 0 ;
7085 PyObject
* obj1
= 0 ;
7086 PyObject
* obj2
= 0 ;
7087 char * kwnames
[] = {
7088 (char *) "self",(char *) "dx",(char *) "dy", NULL
7091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7093 if (!SWIG_IsOK(res1
)) {
7094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Deflate" "', expected argument " "1"" of type '" "wxRect *""'");
7096 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7097 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7098 if (!SWIG_IsOK(ecode2
)) {
7099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_Deflate" "', expected argument " "2"" of type '" "int""'");
7101 arg2
= static_cast< int >(val2
);
7102 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7103 if (!SWIG_IsOK(ecode3
)) {
7104 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_Deflate" "', expected argument " "3"" of type '" "int""'");
7106 arg3
= static_cast< int >(val3
);
7108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7110 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
7111 result
= (wxRect
*) &_result_ref
;
7113 wxPyEndAllowThreads(__tstate
);
7114 if (PyErr_Occurred()) SWIG_fail
;
7116 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, 0 | 0 );
7123 SWIGINTERN PyObject
*_wrap_Rect_OffsetXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7124 PyObject
*resultobj
= 0;
7125 wxRect
*arg1
= (wxRect
*) 0 ;
7134 PyObject
* obj0
= 0 ;
7135 PyObject
* obj1
= 0 ;
7136 PyObject
* obj2
= 0 ;
7137 char * kwnames
[] = {
7138 (char *) "self",(char *) "dx",(char *) "dy", NULL
7141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7143 if (!SWIG_IsOK(res1
)) {
7144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_OffsetXY" "', expected argument " "1"" of type '" "wxRect *""'");
7146 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7147 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7148 if (!SWIG_IsOK(ecode2
)) {
7149 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_OffsetXY" "', expected argument " "2"" of type '" "int""'");
7151 arg2
= static_cast< int >(val2
);
7152 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7153 if (!SWIG_IsOK(ecode3
)) {
7154 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_OffsetXY" "', expected argument " "3"" of type '" "int""'");
7156 arg3
= static_cast< int >(val3
);
7158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7159 (arg1
)->Offset(arg2
,arg3
);
7160 wxPyEndAllowThreads(__tstate
);
7161 if (PyErr_Occurred()) SWIG_fail
;
7163 resultobj
= SWIG_Py_Void();
7170 SWIGINTERN PyObject
*_wrap_Rect_Offset(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7171 PyObject
*resultobj
= 0;
7172 wxRect
*arg1
= (wxRect
*) 0 ;
7177 PyObject
* obj0
= 0 ;
7178 PyObject
* obj1
= 0 ;
7179 char * kwnames
[] = {
7180 (char *) "self",(char *) "pt", NULL
7183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7185 if (!SWIG_IsOK(res1
)) {
7186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Offset" "', expected argument " "1"" of type '" "wxRect *""'");
7188 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7191 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7195 (arg1
)->Offset((wxPoint
const &)*arg2
);
7196 wxPyEndAllowThreads(__tstate
);
7197 if (PyErr_Occurred()) SWIG_fail
;
7199 resultobj
= SWIG_Py_Void();
7206 SWIGINTERN PyObject
*_wrap_Rect_Intersect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7207 PyObject
*resultobj
= 0;
7208 wxRect
*arg1
= (wxRect
*) 0 ;
7214 PyObject
* obj0
= 0 ;
7215 PyObject
* obj1
= 0 ;
7216 char * kwnames
[] = {
7217 (char *) "self",(char *) "rect", NULL
7220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7222 if (!SWIG_IsOK(res1
)) {
7223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Intersect" "', expected argument " "1"" of type '" "wxRect *""'");
7225 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7228 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7232 result
= (arg1
)->Intersect((wxRect
const &)*arg2
);
7233 wxPyEndAllowThreads(__tstate
);
7234 if (PyErr_Occurred()) SWIG_fail
;
7236 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7243 SWIGINTERN PyObject
*_wrap_Rect_Union(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7244 PyObject
*resultobj
= 0;
7245 wxRect
*arg1
= (wxRect
*) 0 ;
7251 PyObject
* obj0
= 0 ;
7252 PyObject
* obj1
= 0 ;
7253 char * kwnames
[] = {
7254 (char *) "self",(char *) "rect", NULL
7257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Union",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7259 if (!SWIG_IsOK(res1
)) {
7260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Union" "', expected argument " "1"" of type '" "wxRect *""'");
7262 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7265 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7269 result
= (arg1
)->Union((wxRect
const &)*arg2
);
7270 wxPyEndAllowThreads(__tstate
);
7271 if (PyErr_Occurred()) SWIG_fail
;
7273 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7280 SWIGINTERN PyObject
*_wrap_Rect___add__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7281 PyObject
*resultobj
= 0;
7282 wxRect
*arg1
= (wxRect
*) 0 ;
7288 PyObject
* obj0
= 0 ;
7289 PyObject
* obj1
= 0 ;
7290 char * kwnames
[] = {
7291 (char *) "self",(char *) "rect", NULL
7294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7296 if (!SWIG_IsOK(res1
)) {
7297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect___add__" "', expected argument " "1"" of type '" "wxRect const *""'");
7299 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7302 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7306 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
7307 wxPyEndAllowThreads(__tstate
);
7308 if (PyErr_Occurred()) SWIG_fail
;
7310 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7317 SWIGINTERN PyObject
*_wrap_Rect___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7318 PyObject
*resultobj
= 0;
7319 wxRect
*arg1
= (wxRect
*) 0 ;
7321 wxRect
*result
= 0 ;
7325 PyObject
* obj0
= 0 ;
7326 PyObject
* obj1
= 0 ;
7327 char * kwnames
[] = {
7328 (char *) "self",(char *) "rect", NULL
7331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, SWIG_POINTER_DISOWN
| 0 );
7333 if (!SWIG_IsOK(res1
)) {
7334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect___iadd__" "', expected argument " "1"" of type '" "wxRect *""'");
7336 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7339 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7344 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
7345 result
= (wxRect
*) &_result_ref
;
7347 wxPyEndAllowThreads(__tstate
);
7348 if (PyErr_Occurred()) SWIG_fail
;
7350 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7357 SWIGINTERN PyObject
*_wrap_Rect___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7358 PyObject
*resultobj
= 0;
7359 wxRect
*arg1
= (wxRect
*) 0 ;
7360 PyObject
*arg2
= (PyObject
*) 0 ;
7364 PyObject
* obj0
= 0 ;
7365 PyObject
* obj1
= 0 ;
7366 char * kwnames
[] = {
7367 (char *) "self",(char *) "other", NULL
7370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7372 if (!SWIG_IsOK(res1
)) {
7373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect___eq__" "', expected argument " "1"" of type '" "wxRect *""'");
7375 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7378 result
= (bool)wxRect___eq__(arg1
,arg2
);
7379 if (PyErr_Occurred()) SWIG_fail
;
7382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7390 SWIGINTERN PyObject
*_wrap_Rect___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7391 PyObject
*resultobj
= 0;
7392 wxRect
*arg1
= (wxRect
*) 0 ;
7393 PyObject
*arg2
= (PyObject
*) 0 ;
7397 PyObject
* obj0
= 0 ;
7398 PyObject
* obj1
= 0 ;
7399 char * kwnames
[] = {
7400 (char *) "self",(char *) "other", NULL
7403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7405 if (!SWIG_IsOK(res1
)) {
7406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect___ne__" "', expected argument " "1"" of type '" "wxRect *""'");
7408 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7411 result
= (bool)wxRect___ne__(arg1
,arg2
);
7412 if (PyErr_Occurred()) SWIG_fail
;
7415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7423 SWIGINTERN PyObject
*_wrap_Rect_InsideXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7424 PyObject
*resultobj
= 0;
7425 wxRect
*arg1
= (wxRect
*) 0 ;
7435 PyObject
* obj0
= 0 ;
7436 PyObject
* obj1
= 0 ;
7437 PyObject
* obj2
= 0 ;
7438 char * kwnames
[] = {
7439 (char *) "self",(char *) "x",(char *) "y", NULL
7442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7444 if (!SWIG_IsOK(res1
)) {
7445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_InsideXY" "', expected argument " "1"" of type '" "wxRect const *""'");
7447 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7448 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7449 if (!SWIG_IsOK(ecode2
)) {
7450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_InsideXY" "', expected argument " "2"" of type '" "int""'");
7452 arg2
= static_cast< int >(val2
);
7453 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7454 if (!SWIG_IsOK(ecode3
)) {
7455 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_InsideXY" "', expected argument " "3"" of type '" "int""'");
7457 arg3
= static_cast< int >(val3
);
7459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7460 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
7461 wxPyEndAllowThreads(__tstate
);
7462 if (PyErr_Occurred()) SWIG_fail
;
7465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7473 SWIGINTERN PyObject
*_wrap_Rect_Inside(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7474 PyObject
*resultobj
= 0;
7475 wxRect
*arg1
= (wxRect
*) 0 ;
7481 PyObject
* obj0
= 0 ;
7482 PyObject
* obj1
= 0 ;
7483 char * kwnames
[] = {
7484 (char *) "self",(char *) "pt", NULL
7487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7489 if (!SWIG_IsOK(res1
)) {
7490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Inside" "', expected argument " "1"" of type '" "wxRect const *""'");
7492 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7495 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7499 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
7500 wxPyEndAllowThreads(__tstate
);
7501 if (PyErr_Occurred()) SWIG_fail
;
7504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7512 SWIGINTERN PyObject
*_wrap_Rect_Intersects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7513 PyObject
*resultobj
= 0;
7514 wxRect
*arg1
= (wxRect
*) 0 ;
7520 PyObject
* obj0
= 0 ;
7521 PyObject
* obj1
= 0 ;
7522 char * kwnames
[] = {
7523 (char *) "self",(char *) "rect", NULL
7526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7528 if (!SWIG_IsOK(res1
)) {
7529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Intersects" "', expected argument " "1"" of type '" "wxRect const *""'");
7531 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7534 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7538 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
7539 wxPyEndAllowThreads(__tstate
);
7540 if (PyErr_Occurred()) SWIG_fail
;
7543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7551 SWIGINTERN PyObject
*_wrap_Rect_CenterIn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7552 PyObject
*resultobj
= 0;
7553 wxRect
*arg1
= (wxRect
*) 0 ;
7555 int arg3
= (int) wxBOTH
;
7562 PyObject
* obj0
= 0 ;
7563 PyObject
* obj1
= 0 ;
7564 PyObject
* obj2
= 0 ;
7565 char * kwnames
[] = {
7566 (char *) "self",(char *) "r",(char *) "dir", NULL
7569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Rect_CenterIn",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7571 if (!SWIG_IsOK(res1
)) {
7572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_CenterIn" "', expected argument " "1"" of type '" "wxRect *""'");
7574 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7577 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
7580 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7581 if (!SWIG_IsOK(ecode3
)) {
7582 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_CenterIn" "', expected argument " "3"" of type '" "int""'");
7584 arg3
= static_cast< int >(val3
);
7587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7588 result
= (arg1
)->CenterIn((wxRect
const &)*arg2
,arg3
);
7589 wxPyEndAllowThreads(__tstate
);
7590 if (PyErr_Occurred()) SWIG_fail
;
7592 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
7599 SWIGINTERN PyObject
*_wrap_Rect_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7600 PyObject
*resultobj
= 0;
7601 wxRect
*arg1
= (wxRect
*) 0 ;
7607 PyObject
*swig_obj
[2] ;
7609 if (!SWIG_Python_UnpackTuple(args
,"Rect_x_set",2,2,swig_obj
)) SWIG_fail
;
7610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7611 if (!SWIG_IsOK(res1
)) {
7612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_x_set" "', expected argument " "1"" of type '" "wxRect *""'");
7614 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7615 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
7616 if (!SWIG_IsOK(ecode2
)) {
7617 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_x_set" "', expected argument " "2"" of type '" "int""'");
7619 arg2
= static_cast< int >(val2
);
7620 if (arg1
) (arg1
)->x
= arg2
;
7622 resultobj
= SWIG_Py_Void();
7629 SWIGINTERN PyObject
*_wrap_Rect_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7630 PyObject
*resultobj
= 0;
7631 wxRect
*arg1
= (wxRect
*) 0 ;
7635 PyObject
*swig_obj
[1] ;
7637 if (!args
) SWIG_fail
;
7639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7640 if (!SWIG_IsOK(res1
)) {
7641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_x_get" "', expected argument " "1"" of type '" "wxRect *""'");
7643 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7644 result
= (int) ((arg1
)->x
);
7645 resultobj
= SWIG_From_int(static_cast< int >(result
));
7652 SWIGINTERN PyObject
*_wrap_Rect_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7653 PyObject
*resultobj
= 0;
7654 wxRect
*arg1
= (wxRect
*) 0 ;
7660 PyObject
*swig_obj
[2] ;
7662 if (!SWIG_Python_UnpackTuple(args
,"Rect_y_set",2,2,swig_obj
)) SWIG_fail
;
7663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7664 if (!SWIG_IsOK(res1
)) {
7665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_y_set" "', expected argument " "1"" of type '" "wxRect *""'");
7667 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7668 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
7669 if (!SWIG_IsOK(ecode2
)) {
7670 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_y_set" "', expected argument " "2"" of type '" "int""'");
7672 arg2
= static_cast< int >(val2
);
7673 if (arg1
) (arg1
)->y
= arg2
;
7675 resultobj
= SWIG_Py_Void();
7682 SWIGINTERN PyObject
*_wrap_Rect_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7683 PyObject
*resultobj
= 0;
7684 wxRect
*arg1
= (wxRect
*) 0 ;
7688 PyObject
*swig_obj
[1] ;
7690 if (!args
) SWIG_fail
;
7692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7693 if (!SWIG_IsOK(res1
)) {
7694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_y_get" "', expected argument " "1"" of type '" "wxRect *""'");
7696 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7697 result
= (int) ((arg1
)->y
);
7698 resultobj
= SWIG_From_int(static_cast< int >(result
));
7705 SWIGINTERN PyObject
*_wrap_Rect_width_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7706 PyObject
*resultobj
= 0;
7707 wxRect
*arg1
= (wxRect
*) 0 ;
7713 PyObject
*swig_obj
[2] ;
7715 if (!SWIG_Python_UnpackTuple(args
,"Rect_width_set",2,2,swig_obj
)) SWIG_fail
;
7716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7717 if (!SWIG_IsOK(res1
)) {
7718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_width_set" "', expected argument " "1"" of type '" "wxRect *""'");
7720 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7721 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
7722 if (!SWIG_IsOK(ecode2
)) {
7723 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_width_set" "', expected argument " "2"" of type '" "int""'");
7725 arg2
= static_cast< int >(val2
);
7726 if (arg1
) (arg1
)->width
= arg2
;
7728 resultobj
= SWIG_Py_Void();
7735 SWIGINTERN PyObject
*_wrap_Rect_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7736 PyObject
*resultobj
= 0;
7737 wxRect
*arg1
= (wxRect
*) 0 ;
7741 PyObject
*swig_obj
[1] ;
7743 if (!args
) SWIG_fail
;
7745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7746 if (!SWIG_IsOK(res1
)) {
7747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_width_get" "', expected argument " "1"" of type '" "wxRect *""'");
7749 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7750 result
= (int) ((arg1
)->width
);
7751 resultobj
= SWIG_From_int(static_cast< int >(result
));
7758 SWIGINTERN PyObject
*_wrap_Rect_height_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7759 PyObject
*resultobj
= 0;
7760 wxRect
*arg1
= (wxRect
*) 0 ;
7766 PyObject
*swig_obj
[2] ;
7768 if (!SWIG_Python_UnpackTuple(args
,"Rect_height_set",2,2,swig_obj
)) SWIG_fail
;
7769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7770 if (!SWIG_IsOK(res1
)) {
7771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_height_set" "', expected argument " "1"" of type '" "wxRect *""'");
7773 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7774 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
7775 if (!SWIG_IsOK(ecode2
)) {
7776 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_height_set" "', expected argument " "2"" of type '" "int""'");
7778 arg2
= static_cast< int >(val2
);
7779 if (arg1
) (arg1
)->height
= arg2
;
7781 resultobj
= SWIG_Py_Void();
7788 SWIGINTERN PyObject
*_wrap_Rect_height_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7789 PyObject
*resultobj
= 0;
7790 wxRect
*arg1
= (wxRect
*) 0 ;
7794 PyObject
*swig_obj
[1] ;
7796 if (!args
) SWIG_fail
;
7798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7799 if (!SWIG_IsOK(res1
)) {
7800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_height_get" "', expected argument " "1"" of type '" "wxRect *""'");
7802 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7803 result
= (int) ((arg1
)->height
);
7804 resultobj
= SWIG_From_int(static_cast< int >(result
));
7811 SWIGINTERN PyObject
*_wrap_Rect_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7812 PyObject
*resultobj
= 0;
7813 wxRect
*arg1
= (wxRect
*) 0 ;
7814 int arg2
= (int) 0 ;
7815 int arg3
= (int) 0 ;
7816 int arg4
= (int) 0 ;
7817 int arg5
= (int) 0 ;
7828 PyObject
* obj0
= 0 ;
7829 PyObject
* obj1
= 0 ;
7830 PyObject
* obj2
= 0 ;
7831 PyObject
* obj3
= 0 ;
7832 PyObject
* obj4
= 0 ;
7833 char * kwnames
[] = {
7834 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
7837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
7838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7839 if (!SWIG_IsOK(res1
)) {
7840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Set" "', expected argument " "1"" of type '" "wxRect *""'");
7842 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7844 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7845 if (!SWIG_IsOK(ecode2
)) {
7846 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Rect_Set" "', expected argument " "2"" of type '" "int""'");
7848 arg2
= static_cast< int >(val2
);
7851 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7852 if (!SWIG_IsOK(ecode3
)) {
7853 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Rect_Set" "', expected argument " "3"" of type '" "int""'");
7855 arg3
= static_cast< int >(val3
);
7858 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7859 if (!SWIG_IsOK(ecode4
)) {
7860 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Rect_Set" "', expected argument " "4"" of type '" "int""'");
7862 arg4
= static_cast< int >(val4
);
7865 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
7866 if (!SWIG_IsOK(ecode5
)) {
7867 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Rect_Set" "', expected argument " "5"" of type '" "int""'");
7869 arg5
= static_cast< int >(val5
);
7872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7873 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
7874 wxPyEndAllowThreads(__tstate
);
7875 if (PyErr_Occurred()) SWIG_fail
;
7877 resultobj
= SWIG_Py_Void();
7884 SWIGINTERN PyObject
*_wrap_Rect_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7885 PyObject
*resultobj
= 0;
7886 wxRect
*arg1
= (wxRect
*) 0 ;
7887 PyObject
*result
= 0 ;
7890 PyObject
*swig_obj
[1] ;
7892 if (!args
) SWIG_fail
;
7894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7895 if (!SWIG_IsOK(res1
)) {
7896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Rect_Get" "', expected argument " "1"" of type '" "wxRect *""'");
7898 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7901 result
= (PyObject
*)wxRect_Get(arg1
);
7902 wxPyEndAllowThreads(__tstate
);
7903 if (PyErr_Occurred()) SWIG_fail
;
7912 SWIGINTERN PyObject
*Rect_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7914 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7915 SWIG_TypeNewClientData(SWIGTYPE_p_wxRect
, SWIG_NewClientData(obj
));
7916 return SWIG_Py_Void();
7919 SWIGINTERN PyObject
*Rect_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7920 return SWIG_Python_InitShadowInstance(args
);
7923 SWIGINTERN PyObject
*_wrap_IntersectRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7924 PyObject
*resultobj
= 0;
7925 wxRect
*arg1
= (wxRect
*) 0 ;
7926 wxRect
*arg2
= (wxRect
*) 0 ;
7927 PyObject
*result
= 0 ;
7932 PyObject
* obj0
= 0 ;
7933 PyObject
* obj1
= 0 ;
7934 char * kwnames
[] = {
7935 (char *) "r1",(char *) "r2", NULL
7938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxRect
, 0 | 0 );
7940 if (!SWIG_IsOK(res1
)) {
7941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IntersectRect" "', expected argument " "1"" of type '" "wxRect *""'");
7943 arg1
= reinterpret_cast< wxRect
* >(argp1
);
7944 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
7945 if (!SWIG_IsOK(res2
)) {
7946 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IntersectRect" "', expected argument " "2"" of type '" "wxRect *""'");
7948 arg2
= reinterpret_cast< wxRect
* >(argp2
);
7950 if (!wxPyCheckForApp()) SWIG_fail
;
7951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7952 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
7953 wxPyEndAllowThreads(__tstate
);
7954 if (PyErr_Occurred()) SWIG_fail
;
7963 SWIGINTERN PyObject
*_wrap_new_Point2D(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7964 PyObject
*resultobj
= 0;
7965 double arg1
= (double) 0.0 ;
7966 double arg2
= (double) 0.0 ;
7967 wxPoint2D
*result
= 0 ;
7972 PyObject
* obj0
= 0 ;
7973 PyObject
* obj1
= 0 ;
7974 char * kwnames
[] = {
7975 (char *) "x",(char *) "y", NULL
7978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7980 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
7981 if (!SWIG_IsOK(ecode1
)) {
7982 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Point2D" "', expected argument " "1"" of type '" "double""'");
7984 arg1
= static_cast< double >(val1
);
7987 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
7988 if (!SWIG_IsOK(ecode2
)) {
7989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Point2D" "', expected argument " "2"" of type '" "double""'");
7991 arg2
= static_cast< double >(val2
);
7994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7995 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
7996 wxPyEndAllowThreads(__tstate
);
7997 if (PyErr_Occurred()) SWIG_fail
;
7999 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_NEW
| 0 );
8006 SWIGINTERN PyObject
*_wrap_new_Point2DCopy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8007 PyObject
*resultobj
= 0;
8008 wxPoint2D
*arg1
= 0 ;
8009 wxPoint2D
*result
= 0 ;
8011 PyObject
* obj0
= 0 ;
8012 char * kwnames
[] = {
8016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) SWIG_fail
;
8019 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
8022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8023 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
8024 wxPyEndAllowThreads(__tstate
);
8025 if (PyErr_Occurred()) SWIG_fail
;
8027 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8034 SWIGINTERN PyObject
*_wrap_new_Point2DFromPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8035 PyObject
*resultobj
= 0;
8037 wxPoint2D
*result
= 0 ;
8039 PyObject
* obj0
= 0 ;
8040 char * kwnames
[] = {
8044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) SWIG_fail
;
8047 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
8050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8051 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
8052 wxPyEndAllowThreads(__tstate
);
8053 if (PyErr_Occurred()) SWIG_fail
;
8055 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8062 SWIGINTERN PyObject
*_wrap_Point2D_GetFloor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8063 PyObject
*resultobj
= 0;
8064 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8065 int *arg2
= (int *) 0 ;
8066 int *arg3
= (int *) 0 ;
8070 int res2
= SWIG_TMPOBJ
;
8072 int res3
= SWIG_TMPOBJ
;
8073 PyObject
*swig_obj
[1] ;
8077 if (!args
) SWIG_fail
;
8079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8080 if (!SWIG_IsOK(res1
)) {
8081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetFloor" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8083 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8086 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
8087 wxPyEndAllowThreads(__tstate
);
8088 if (PyErr_Occurred()) SWIG_fail
;
8090 resultobj
= SWIG_Py_Void();
8091 if (SWIG_IsTmpObj(res2
)) {
8092 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8094 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8095 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8097 if (SWIG_IsTmpObj(res3
)) {
8098 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8100 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8101 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8109 SWIGINTERN PyObject
*_wrap_Point2D_GetRounded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8110 PyObject
*resultobj
= 0;
8111 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8112 int *arg2
= (int *) 0 ;
8113 int *arg3
= (int *) 0 ;
8117 int res2
= SWIG_TMPOBJ
;
8119 int res3
= SWIG_TMPOBJ
;
8120 PyObject
*swig_obj
[1] ;
8124 if (!args
) SWIG_fail
;
8126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8127 if (!SWIG_IsOK(res1
)) {
8128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetRounded" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8130 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8133 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
8134 wxPyEndAllowThreads(__tstate
);
8135 if (PyErr_Occurred()) SWIG_fail
;
8137 resultobj
= SWIG_Py_Void();
8138 if (SWIG_IsTmpObj(res2
)) {
8139 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
8141 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8142 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
8144 if (SWIG_IsTmpObj(res3
)) {
8145 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
8147 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
8148 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
8156 SWIGINTERN PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8157 PyObject
*resultobj
= 0;
8158 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8162 PyObject
*swig_obj
[1] ;
8164 if (!args
) SWIG_fail
;
8166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8167 if (!SWIG_IsOK(res1
)) {
8168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetVectorLength" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8170 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8173 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
8174 wxPyEndAllowThreads(__tstate
);
8175 if (PyErr_Occurred()) SWIG_fail
;
8177 resultobj
= SWIG_From_double(static_cast< double >(result
));
8184 SWIGINTERN PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8185 PyObject
*resultobj
= 0;
8186 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8190 PyObject
*swig_obj
[1] ;
8192 if (!args
) SWIG_fail
;
8194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8195 if (!SWIG_IsOK(res1
)) {
8196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetVectorAngle" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8198 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8201 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
8202 wxPyEndAllowThreads(__tstate
);
8203 if (PyErr_Occurred()) SWIG_fail
;
8205 resultobj
= SWIG_From_double(static_cast< double >(result
));
8212 SWIGINTERN PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8213 PyObject
*resultobj
= 0;
8214 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8220 PyObject
* obj0
= 0 ;
8221 PyObject
* obj1
= 0 ;
8222 char * kwnames
[] = {
8223 (char *) "self",(char *) "length", NULL
8226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8228 if (!SWIG_IsOK(res1
)) {
8229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_SetVectorLength" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8231 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8232 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
8233 if (!SWIG_IsOK(ecode2
)) {
8234 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point2D_SetVectorLength" "', expected argument " "2"" of type '" "double""'");
8236 arg2
= static_cast< double >(val2
);
8238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8239 (arg1
)->SetVectorLength(arg2
);
8240 wxPyEndAllowThreads(__tstate
);
8241 if (PyErr_Occurred()) SWIG_fail
;
8243 resultobj
= SWIG_Py_Void();
8250 SWIGINTERN PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8251 PyObject
*resultobj
= 0;
8252 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8258 PyObject
* obj0
= 0 ;
8259 PyObject
* obj1
= 0 ;
8260 char * kwnames
[] = {
8261 (char *) "self",(char *) "degrees", NULL
8264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8266 if (!SWIG_IsOK(res1
)) {
8267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_SetVectorAngle" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8269 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8270 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
8271 if (!SWIG_IsOK(ecode2
)) {
8272 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point2D_SetVectorAngle" "', expected argument " "2"" of type '" "double""'");
8274 arg2
= static_cast< double >(val2
);
8276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8277 (arg1
)->SetVectorAngle(arg2
);
8278 wxPyEndAllowThreads(__tstate
);
8279 if (PyErr_Occurred()) SWIG_fail
;
8281 resultobj
= SWIG_Py_Void();
8288 SWIGINTERN PyObject
*_wrap_Point2D_GetDistance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8289 PyObject
*resultobj
= 0;
8290 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8291 wxPoint2D
*arg2
= 0 ;
8296 PyObject
* obj0
= 0 ;
8297 PyObject
* obj1
= 0 ;
8298 char * kwnames
[] = {
8299 (char *) "self",(char *) "pt", NULL
8302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8304 if (!SWIG_IsOK(res1
)) {
8305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetDistance" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8307 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8310 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8314 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
8315 wxPyEndAllowThreads(__tstate
);
8316 if (PyErr_Occurred()) SWIG_fail
;
8318 resultobj
= SWIG_From_double(static_cast< double >(result
));
8325 SWIGINTERN PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8326 PyObject
*resultobj
= 0;
8327 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8328 wxPoint2D
*arg2
= 0 ;
8333 PyObject
* obj0
= 0 ;
8334 PyObject
* obj1
= 0 ;
8335 char * kwnames
[] = {
8336 (char *) "self",(char *) "pt", NULL
8339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8341 if (!SWIG_IsOK(res1
)) {
8342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetDistanceSquare" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8344 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8347 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8351 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
8352 wxPyEndAllowThreads(__tstate
);
8353 if (PyErr_Occurred()) SWIG_fail
;
8355 resultobj
= SWIG_From_double(static_cast< double >(result
));
8362 SWIGINTERN PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8363 PyObject
*resultobj
= 0;
8364 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8365 wxPoint2D
*arg2
= 0 ;
8370 PyObject
* obj0
= 0 ;
8371 PyObject
* obj1
= 0 ;
8372 char * kwnames
[] = {
8373 (char *) "self",(char *) "vec", NULL
8376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8378 if (!SWIG_IsOK(res1
)) {
8379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetDotProduct" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8381 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8384 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8388 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
8389 wxPyEndAllowThreads(__tstate
);
8390 if (PyErr_Occurred()) SWIG_fail
;
8392 resultobj
= SWIG_From_double(static_cast< double >(result
));
8399 SWIGINTERN PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8400 PyObject
*resultobj
= 0;
8401 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8402 wxPoint2D
*arg2
= 0 ;
8407 PyObject
* obj0
= 0 ;
8408 PyObject
* obj1
= 0 ;
8409 char * kwnames
[] = {
8410 (char *) "self",(char *) "vec", NULL
8413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8415 if (!SWIG_IsOK(res1
)) {
8416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_GetCrossProduct" "', expected argument " "1"" of type '" "wxPoint2D const *""'");
8418 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8421 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8425 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
8426 wxPyEndAllowThreads(__tstate
);
8427 if (PyErr_Occurred()) SWIG_fail
;
8429 resultobj
= SWIG_From_double(static_cast< double >(result
));
8436 SWIGINTERN PyObject
*_wrap_Point2D___neg__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8437 PyObject
*resultobj
= 0;
8438 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8442 PyObject
*swig_obj
[1] ;
8444 if (!args
) SWIG_fail
;
8446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8447 if (!SWIG_IsOK(res1
)) {
8448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___neg__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8450 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8453 result
= (arg1
)->operator -();
8454 wxPyEndAllowThreads(__tstate
);
8455 if (PyErr_Occurred()) SWIG_fail
;
8457 resultobj
= SWIG_NewPointerObj((new wxPoint2D(static_cast< const wxPoint2D
& >(result
))), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8464 SWIGINTERN PyObject
*_wrap_Point2D___iadd__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8465 PyObject
*resultobj
= 0;
8466 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8467 wxPoint2D
*arg2
= 0 ;
8468 wxPoint2D
*result
= 0 ;
8472 PyObject
* obj0
= 0 ;
8473 PyObject
* obj1
= 0 ;
8474 char * kwnames
[] = {
8475 (char *) "self",(char *) "pt", NULL
8478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_DISOWN
| 0 );
8480 if (!SWIG_IsOK(res1
)) {
8481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___iadd__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8483 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8486 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8491 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
8492 result
= (wxPoint2D
*) &_result_ref
;
8494 wxPyEndAllowThreads(__tstate
);
8495 if (PyErr_Occurred()) SWIG_fail
;
8497 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8504 SWIGINTERN PyObject
*_wrap_Point2D___isub__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8505 PyObject
*resultobj
= 0;
8506 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8507 wxPoint2D
*arg2
= 0 ;
8508 wxPoint2D
*result
= 0 ;
8512 PyObject
* obj0
= 0 ;
8513 PyObject
* obj1
= 0 ;
8514 char * kwnames
[] = {
8515 (char *) "self",(char *) "pt", NULL
8518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_DISOWN
| 0 );
8520 if (!SWIG_IsOK(res1
)) {
8521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___isub__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8523 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8526 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8531 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
8532 result
= (wxPoint2D
*) &_result_ref
;
8534 wxPyEndAllowThreads(__tstate
);
8535 if (PyErr_Occurred()) SWIG_fail
;
8537 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8544 SWIGINTERN PyObject
*_wrap_Point2D___imul__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8545 PyObject
*resultobj
= 0;
8546 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8547 wxPoint2D
*arg2
= 0 ;
8548 wxPoint2D
*result
= 0 ;
8552 PyObject
* obj0
= 0 ;
8553 PyObject
* obj1
= 0 ;
8554 char * kwnames
[] = {
8555 (char *) "self",(char *) "pt", NULL
8558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_DISOWN
| 0 );
8560 if (!SWIG_IsOK(res1
)) {
8561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___imul__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8563 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8566 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8571 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
8572 result
= (wxPoint2D
*) &_result_ref
;
8574 wxPyEndAllowThreads(__tstate
);
8575 if (PyErr_Occurred()) SWIG_fail
;
8577 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8584 SWIGINTERN PyObject
*_wrap_Point2D___idiv__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8585 PyObject
*resultobj
= 0;
8586 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8587 wxPoint2D
*arg2
= 0 ;
8588 wxPoint2D
*result
= 0 ;
8592 PyObject
* obj0
= 0 ;
8593 PyObject
* obj1
= 0 ;
8594 char * kwnames
[] = {
8595 (char *) "self",(char *) "pt", NULL
8598 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8599 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_DISOWN
| 0 );
8600 if (!SWIG_IsOK(res1
)) {
8601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___idiv__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8603 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8606 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
8609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8611 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
8612 result
= (wxPoint2D
*) &_result_ref
;
8614 wxPyEndAllowThreads(__tstate
);
8615 if (PyErr_Occurred()) SWIG_fail
;
8617 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint2D
, SWIG_POINTER_OWN
| 0 );
8624 SWIGINTERN PyObject
*_wrap_Point2D___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8625 PyObject
*resultobj
= 0;
8626 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8627 PyObject
*arg2
= (PyObject
*) 0 ;
8631 PyObject
* obj0
= 0 ;
8632 PyObject
* obj1
= 0 ;
8633 char * kwnames
[] = {
8634 (char *) "self",(char *) "other", NULL
8637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8639 if (!SWIG_IsOK(res1
)) {
8640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___eq__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8642 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8645 result
= (bool)wxPoint2D___eq__(arg1
,arg2
);
8646 if (PyErr_Occurred()) SWIG_fail
;
8649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8657 SWIGINTERN PyObject
*_wrap_Point2D___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8658 PyObject
*resultobj
= 0;
8659 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8660 PyObject
*arg2
= (PyObject
*) 0 ;
8664 PyObject
* obj0
= 0 ;
8665 PyObject
* obj1
= 0 ;
8666 char * kwnames
[] = {
8667 (char *) "self",(char *) "other", NULL
8670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8672 if (!SWIG_IsOK(res1
)) {
8673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D___ne__" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8675 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8678 result
= (bool)wxPoint2D___ne__(arg1
,arg2
);
8679 if (PyErr_Occurred()) SWIG_fail
;
8682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8690 SWIGINTERN PyObject
*_wrap_Point2D_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8691 PyObject
*resultobj
= 0;
8692 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8698 PyObject
*swig_obj
[2] ;
8700 if (!SWIG_Python_UnpackTuple(args
,"Point2D_x_set",2,2,swig_obj
)) SWIG_fail
;
8701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8702 if (!SWIG_IsOK(res1
)) {
8703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_x_set" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8705 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8706 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
8707 if (!SWIG_IsOK(ecode2
)) {
8708 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point2D_x_set" "', expected argument " "2"" of type '" "double""'");
8710 arg2
= static_cast< double >(val2
);
8711 if (arg1
) (arg1
)->m_x
= arg2
;
8713 resultobj
= SWIG_Py_Void();
8720 SWIGINTERN PyObject
*_wrap_Point2D_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8721 PyObject
*resultobj
= 0;
8722 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8726 PyObject
*swig_obj
[1] ;
8728 if (!args
) SWIG_fail
;
8730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8731 if (!SWIG_IsOK(res1
)) {
8732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_x_get" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8734 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8735 result
= (double) ((arg1
)->m_x
);
8736 resultobj
= SWIG_From_double(static_cast< double >(result
));
8743 SWIGINTERN PyObject
*_wrap_Point2D_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8744 PyObject
*resultobj
= 0;
8745 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8751 PyObject
*swig_obj
[2] ;
8753 if (!SWIG_Python_UnpackTuple(args
,"Point2D_y_set",2,2,swig_obj
)) SWIG_fail
;
8754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8755 if (!SWIG_IsOK(res1
)) {
8756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_y_set" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8758 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8759 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
8760 if (!SWIG_IsOK(ecode2
)) {
8761 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point2D_y_set" "', expected argument " "2"" of type '" "double""'");
8763 arg2
= static_cast< double >(val2
);
8764 if (arg1
) (arg1
)->m_y
= arg2
;
8766 resultobj
= SWIG_Py_Void();
8773 SWIGINTERN PyObject
*_wrap_Point2D_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8774 PyObject
*resultobj
= 0;
8775 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8779 PyObject
*swig_obj
[1] ;
8781 if (!args
) SWIG_fail
;
8783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8784 if (!SWIG_IsOK(res1
)) {
8785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_y_get" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8787 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8788 result
= (double) ((arg1
)->m_y
);
8789 resultobj
= SWIG_From_double(static_cast< double >(result
));
8796 SWIGINTERN PyObject
*_wrap_Point2D_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8797 PyObject
*resultobj
= 0;
8798 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8799 double arg2
= (double) 0 ;
8800 double arg3
= (double) 0 ;
8807 PyObject
* obj0
= 0 ;
8808 PyObject
* obj1
= 0 ;
8809 PyObject
* obj2
= 0 ;
8810 char * kwnames
[] = {
8811 (char *) "self",(char *) "x",(char *) "y", NULL
8814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8816 if (!SWIG_IsOK(res1
)) {
8817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_Set" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8819 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8821 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
8822 if (!SWIG_IsOK(ecode2
)) {
8823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Point2D_Set" "', expected argument " "2"" of type '" "double""'");
8825 arg2
= static_cast< double >(val2
);
8828 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
8829 if (!SWIG_IsOK(ecode3
)) {
8830 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Point2D_Set" "', expected argument " "3"" of type '" "double""'");
8832 arg3
= static_cast< double >(val3
);
8835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8836 wxPoint2D_Set(arg1
,arg2
,arg3
);
8837 wxPyEndAllowThreads(__tstate
);
8838 if (PyErr_Occurred()) SWIG_fail
;
8840 resultobj
= SWIG_Py_Void();
8847 SWIGINTERN PyObject
*_wrap_Point2D_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8848 PyObject
*resultobj
= 0;
8849 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
8850 PyObject
*result
= 0 ;
8853 PyObject
*swig_obj
[1] ;
8855 if (!args
) SWIG_fail
;
8857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPoint2D
, 0 | 0 );
8858 if (!SWIG_IsOK(res1
)) {
8859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Point2D_Get" "', expected argument " "1"" of type '" "wxPoint2D *""'");
8861 arg1
= reinterpret_cast< wxPoint2D
* >(argp1
);
8863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8864 result
= (PyObject
*)wxPoint2D_Get(arg1
);
8865 wxPyEndAllowThreads(__tstate
);
8866 if (PyErr_Occurred()) SWIG_fail
;
8875 SWIGINTERN PyObject
*Point2D_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8877 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8878 SWIG_TypeNewClientData(SWIGTYPE_p_wxPoint2D
, SWIG_NewClientData(obj
));
8879 return SWIG_Py_Void();
8882 SWIGINTERN PyObject
*Point2D_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8883 return SWIG_Python_InitShadowInstance(args
);
8886 SWIGINTERN
int DefaultPosition_set(PyObject
*) {
8887 SWIG_Error(SWIG_AttributeError
,"Variable DefaultPosition is read-only.");
8892 SWIGINTERN PyObject
*DefaultPosition_get(void) {
8893 PyObject
*pyobj
= 0;
8895 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0 );
8900 SWIGINTERN
int DefaultSize_set(PyObject
*) {
8901 SWIG_Error(SWIG_AttributeError
,"Variable DefaultSize is read-only.");
8906 SWIGINTERN PyObject
*DefaultSize_get(void) {
8907 PyObject
*pyobj
= 0;
8909 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0 );
8914 SWIGINTERN PyObject
*_wrap_new_InputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8915 PyObject
*resultobj
= 0;
8916 PyObject
*arg1
= (PyObject
*) 0 ;
8917 wxPyInputStream
*result
= 0 ;
8918 PyObject
* obj0
= 0 ;
8919 char * kwnames
[] = {
8923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) SWIG_fail
;
8926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8927 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
8928 wxPyEndAllowThreads(__tstate
);
8929 if (PyErr_Occurred()) SWIG_fail
;
8931 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_NEW
| 0 );
8938 SWIGINTERN PyObject
*_wrap_delete_InputStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8939 PyObject
*resultobj
= 0;
8940 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
8943 PyObject
*swig_obj
[1] ;
8945 if (!args
) SWIG_fail
;
8947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, SWIG_POINTER_DISOWN
| 0 );
8948 if (!SWIG_IsOK(res1
)) {
8949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_InputStream" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
8951 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
8953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8956 wxPyEndAllowThreads(__tstate
);
8957 if (PyErr_Occurred()) SWIG_fail
;
8959 resultobj
= SWIG_Py_Void();
8966 SWIGINTERN PyObject
*_wrap_InputStream_close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8967 PyObject
*resultobj
= 0;
8968 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
8971 PyObject
*swig_obj
[1] ;
8973 if (!args
) SWIG_fail
;
8975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
8976 if (!SWIG_IsOK(res1
)) {
8977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_close" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
8979 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
8981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8983 wxPyEndAllowThreads(__tstate
);
8984 if (PyErr_Occurred()) SWIG_fail
;
8986 resultobj
= SWIG_Py_Void();
8993 SWIGINTERN PyObject
*_wrap_InputStream_flush(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8994 PyObject
*resultobj
= 0;
8995 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
8998 PyObject
*swig_obj
[1] ;
9000 if (!args
) SWIG_fail
;
9002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9003 if (!SWIG_IsOK(res1
)) {
9004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_flush" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9006 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9010 wxPyEndAllowThreads(__tstate
);
9011 if (PyErr_Occurred()) SWIG_fail
;
9013 resultobj
= SWIG_Py_Void();
9020 SWIGINTERN PyObject
*_wrap_InputStream_eof(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9021 PyObject
*resultobj
= 0;
9022 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9026 PyObject
*swig_obj
[1] ;
9028 if (!args
) SWIG_fail
;
9030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9031 if (!SWIG_IsOK(res1
)) {
9032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_eof" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9034 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9037 result
= (bool)(arg1
)->eof();
9038 wxPyEndAllowThreads(__tstate
);
9039 if (PyErr_Occurred()) SWIG_fail
;
9042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9050 SWIGINTERN PyObject
*_wrap_InputStream_read(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9051 PyObject
*resultobj
= 0;
9052 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9053 int arg2
= (int) -1 ;
9054 PyObject
*result
= 0 ;
9059 PyObject
* obj0
= 0 ;
9060 PyObject
* obj1
= 0 ;
9061 char * kwnames
[] = {
9062 (char *) "self",(char *) "size", NULL
9065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9067 if (!SWIG_IsOK(res1
)) {
9068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_read" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9070 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9072 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9073 if (!SWIG_IsOK(ecode2
)) {
9074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_read" "', expected argument " "2"" of type '" "int""'");
9076 arg2
= static_cast< int >(val2
);
9079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9080 result
= (PyObject
*)(arg1
)->read(arg2
);
9081 wxPyEndAllowThreads(__tstate
);
9082 if (PyErr_Occurred()) SWIG_fail
;
9091 SWIGINTERN PyObject
*_wrap_InputStream_readline(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9092 PyObject
*resultobj
= 0;
9093 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9094 int arg2
= (int) -1 ;
9095 PyObject
*result
= 0 ;
9100 PyObject
* obj0
= 0 ;
9101 PyObject
* obj1
= 0 ;
9102 char * kwnames
[] = {
9103 (char *) "self",(char *) "size", NULL
9106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9108 if (!SWIG_IsOK(res1
)) {
9109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_readline" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9111 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9113 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9114 if (!SWIG_IsOK(ecode2
)) {
9115 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_readline" "', expected argument " "2"" of type '" "int""'");
9117 arg2
= static_cast< int >(val2
);
9120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9121 result
= (PyObject
*)(arg1
)->readline(arg2
);
9122 wxPyEndAllowThreads(__tstate
);
9123 if (PyErr_Occurred()) SWIG_fail
;
9132 SWIGINTERN PyObject
*_wrap_InputStream_readlines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9133 PyObject
*resultobj
= 0;
9134 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9135 int arg2
= (int) -1 ;
9136 PyObject
*result
= 0 ;
9141 PyObject
* obj0
= 0 ;
9142 PyObject
* obj1
= 0 ;
9143 char * kwnames
[] = {
9144 (char *) "self",(char *) "sizehint", NULL
9147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9149 if (!SWIG_IsOK(res1
)) {
9150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_readlines" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9152 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9154 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9155 if (!SWIG_IsOK(ecode2
)) {
9156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_readlines" "', expected argument " "2"" of type '" "int""'");
9158 arg2
= static_cast< int >(val2
);
9161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9162 result
= (PyObject
*)(arg1
)->readlines(arg2
);
9163 wxPyEndAllowThreads(__tstate
);
9164 if (PyErr_Occurred()) SWIG_fail
;
9173 SWIGINTERN PyObject
*_wrap_InputStream_seek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9174 PyObject
*resultobj
= 0;
9175 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9177 int arg3
= (int) 0 ;
9184 PyObject
* obj0
= 0 ;
9185 PyObject
* obj1
= 0 ;
9186 PyObject
* obj2
= 0 ;
9187 char * kwnames
[] = {
9188 (char *) "self",(char *) "offset",(char *) "whence", NULL
9191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9193 if (!SWIG_IsOK(res1
)) {
9194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_seek" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9196 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9197 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9198 if (!SWIG_IsOK(ecode2
)) {
9199 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_seek" "', expected argument " "2"" of type '" "int""'");
9201 arg2
= static_cast< int >(val2
);
9203 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9204 if (!SWIG_IsOK(ecode3
)) {
9205 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "InputStream_seek" "', expected argument " "3"" of type '" "int""'");
9207 arg3
= static_cast< int >(val3
);
9210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9211 (arg1
)->seek(arg2
,arg3
);
9212 wxPyEndAllowThreads(__tstate
);
9213 if (PyErr_Occurred()) SWIG_fail
;
9215 resultobj
= SWIG_Py_Void();
9222 SWIGINTERN PyObject
*_wrap_InputStream_tell(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9223 PyObject
*resultobj
= 0;
9224 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9228 PyObject
*swig_obj
[1] ;
9230 if (!args
) SWIG_fail
;
9232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9233 if (!SWIG_IsOK(res1
)) {
9234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_tell" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9236 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9239 result
= (int)(arg1
)->tell();
9240 wxPyEndAllowThreads(__tstate
);
9241 if (PyErr_Occurred()) SWIG_fail
;
9243 resultobj
= SWIG_From_int(static_cast< int >(result
));
9250 SWIGINTERN PyObject
*_wrap_InputStream_Peek(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9251 PyObject
*resultobj
= 0;
9252 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9256 PyObject
*swig_obj
[1] ;
9258 if (!args
) SWIG_fail
;
9260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9261 if (!SWIG_IsOK(res1
)) {
9262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_Peek" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9264 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9267 result
= (char)(arg1
)->Peek();
9268 wxPyEndAllowThreads(__tstate
);
9269 if (PyErr_Occurred()) SWIG_fail
;
9271 resultobj
= SWIG_From_char(static_cast< char >(result
));
9278 SWIGINTERN PyObject
*_wrap_InputStream_GetC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9279 PyObject
*resultobj
= 0;
9280 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9284 PyObject
*swig_obj
[1] ;
9286 if (!args
) SWIG_fail
;
9288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9289 if (!SWIG_IsOK(res1
)) {
9290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_GetC" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9292 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9295 result
= (char)(arg1
)->GetC();
9296 wxPyEndAllowThreads(__tstate
);
9297 if (PyErr_Occurred()) SWIG_fail
;
9299 resultobj
= SWIG_From_char(static_cast< char >(result
));
9306 SWIGINTERN PyObject
*_wrap_InputStream_LastRead(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9307 PyObject
*resultobj
= 0;
9308 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9312 PyObject
*swig_obj
[1] ;
9314 if (!args
) SWIG_fail
;
9316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9317 if (!SWIG_IsOK(res1
)) {
9318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_LastRead" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9320 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9323 result
= (size_t)(arg1
)->LastRead();
9324 wxPyEndAllowThreads(__tstate
);
9325 if (PyErr_Occurred()) SWIG_fail
;
9327 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
9334 SWIGINTERN PyObject
*_wrap_InputStream_CanRead(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9335 PyObject
*resultobj
= 0;
9336 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9340 PyObject
*swig_obj
[1] ;
9342 if (!args
) SWIG_fail
;
9344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9345 if (!SWIG_IsOK(res1
)) {
9346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_CanRead" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9348 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9351 result
= (bool)(arg1
)->CanRead();
9352 wxPyEndAllowThreads(__tstate
);
9353 if (PyErr_Occurred()) SWIG_fail
;
9356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9364 SWIGINTERN PyObject
*_wrap_InputStream_Eof(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9365 PyObject
*resultobj
= 0;
9366 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9370 PyObject
*swig_obj
[1] ;
9372 if (!args
) SWIG_fail
;
9374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9375 if (!SWIG_IsOK(res1
)) {
9376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_Eof" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9378 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9381 result
= (bool)(arg1
)->Eof();
9382 wxPyEndAllowThreads(__tstate
);
9383 if (PyErr_Occurred()) SWIG_fail
;
9386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9394 SWIGINTERN PyObject
*_wrap_InputStream_Ungetch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9395 PyObject
*resultobj
= 0;
9396 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9403 PyObject
* obj0
= 0 ;
9404 PyObject
* obj1
= 0 ;
9405 char * kwnames
[] = {
9406 (char *) "self",(char *) "c", NULL
9409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9411 if (!SWIG_IsOK(res1
)) {
9412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_Ungetch" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9414 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9415 ecode2
= SWIG_AsVal_char(obj1
, &val2
);
9416 if (!SWIG_IsOK(ecode2
)) {
9417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_Ungetch" "', expected argument " "2"" of type '" "char""'");
9419 arg2
= static_cast< char >(val2
);
9421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9422 result
= (bool)(arg1
)->Ungetch(arg2
);
9423 wxPyEndAllowThreads(__tstate
);
9424 if (PyErr_Occurred()) SWIG_fail
;
9427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9435 SWIGINTERN PyObject
*_wrap_InputStream_SeekI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9436 PyObject
*resultobj
= 0;
9437 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9439 wxSeekMode arg3
= (wxSeekMode
) wxFromStart
;
9447 PyObject
* obj0
= 0 ;
9448 PyObject
* obj1
= 0 ;
9449 PyObject
* obj2
= 0 ;
9450 char * kwnames
[] = {
9451 (char *) "self",(char *) "pos",(char *) "mode", NULL
9454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9456 if (!SWIG_IsOK(res1
)) {
9457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_SeekI" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9459 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9460 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
9461 if (!SWIG_IsOK(ecode2
)) {
9462 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "InputStream_SeekI" "', expected argument " "2"" of type '" "long""'");
9464 arg2
= static_cast< long >(val2
);
9466 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9467 if (!SWIG_IsOK(ecode3
)) {
9468 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "InputStream_SeekI" "', expected argument " "3"" of type '" "wxSeekMode""'");
9470 arg3
= static_cast< wxSeekMode
>(val3
);
9473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9474 result
= (long)(arg1
)->SeekI(arg2
,arg3
);
9475 wxPyEndAllowThreads(__tstate
);
9476 if (PyErr_Occurred()) SWIG_fail
;
9478 resultobj
= SWIG_From_long(static_cast< long >(result
));
9485 SWIGINTERN PyObject
*_wrap_InputStream_TellI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9486 PyObject
*resultobj
= 0;
9487 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
9491 PyObject
*swig_obj
[1] ;
9493 if (!args
) SWIG_fail
;
9495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyInputStream
, 0 | 0 );
9496 if (!SWIG_IsOK(res1
)) {
9497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InputStream_TellI" "', expected argument " "1"" of type '" "wxPyInputStream *""'");
9499 arg1
= reinterpret_cast< wxPyInputStream
* >(argp1
);
9501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9502 result
= (long)(arg1
)->TellI();
9503 wxPyEndAllowThreads(__tstate
);
9504 if (PyErr_Occurred()) SWIG_fail
;
9506 resultobj
= SWIG_From_long(static_cast< long >(result
));
9513 SWIGINTERN PyObject
*InputStream_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9515 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9516 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyInputStream
, SWIG_NewClientData(obj
));
9517 return SWIG_Py_Void();
9520 SWIGINTERN PyObject
*InputStream_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9521 return SWIG_Python_InitShadowInstance(args
);
9524 SWIGINTERN PyObject
*_wrap_OutputStream_write(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9525 PyObject
*resultobj
= 0;
9526 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
9527 PyObject
*arg2
= (PyObject
*) 0 ;
9530 PyObject
* obj0
= 0 ;
9531 PyObject
* obj1
= 0 ;
9532 char * kwnames
[] = {
9533 (char *) "self",(char *) "obj", NULL
9536 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9537 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxOutputStream
, 0 | 0 );
9538 if (!SWIG_IsOK(res1
)) {
9539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "OutputStream_write" "', expected argument " "1"" of type '" "wxOutputStream *""'");
9541 arg1
= reinterpret_cast< wxOutputStream
* >(argp1
);
9544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9545 wxOutputStream_write(arg1
,arg2
);
9546 wxPyEndAllowThreads(__tstate
);
9547 if (PyErr_Occurred()) SWIG_fail
;
9549 resultobj
= SWIG_Py_Void();
9556 SWIGINTERN PyObject
*_wrap_OutputStream_LastWrite(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9557 PyObject
*resultobj
= 0;
9558 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
9562 PyObject
*swig_obj
[1] ;
9564 if (!args
) SWIG_fail
;
9566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxOutputStream
, 0 | 0 );
9567 if (!SWIG_IsOK(res1
)) {
9568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "OutputStream_LastWrite" "', expected argument " "1"" of type '" "wxOutputStream const *""'");
9570 arg1
= reinterpret_cast< wxOutputStream
* >(argp1
);
9572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9573 result
= (size_t)((wxOutputStream
const *)arg1
)->LastWrite();
9574 wxPyEndAllowThreads(__tstate
);
9575 if (PyErr_Occurred()) SWIG_fail
;
9577 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
9584 SWIGINTERN PyObject
*OutputStream_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9586 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9587 SWIG_TypeNewClientData(SWIGTYPE_p_wxOutputStream
, SWIG_NewClientData(obj
));
9588 return SWIG_Py_Void();
9591 SWIGINTERN PyObject
*_wrap_new_FSFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9592 PyObject
*resultobj
= 0;
9593 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
9594 wxString
*arg2
= 0 ;
9595 wxString
*arg3
= 0 ;
9596 wxString
*arg4
= 0 ;
9598 wxFSFile
*result
= 0 ;
9599 wxPyInputStream
*temp1
;
9600 bool temp2
= false ;
9601 bool temp3
= false ;
9602 bool temp4
= false ;
9605 PyObject
* obj0
= 0 ;
9606 PyObject
* obj1
= 0 ;
9607 PyObject
* obj2
= 0 ;
9608 PyObject
* obj3
= 0 ;
9609 PyObject
* obj4
= 0 ;
9610 char * kwnames
[] = {
9611 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
9614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
9616 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9617 arg1
= wxPyCBInputStream_copy((wxPyCBInputStream
*)temp1
->m_wxis
);
9619 PyErr_Clear(); // clear the failure of the wxPyConvert above
9620 arg1
= wxPyCBInputStream_create(obj0
, true);
9622 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
9628 arg2
= wxString_in_helper(obj1
);
9629 if (arg2
== NULL
) SWIG_fail
;
9633 arg3
= wxString_in_helper(obj2
);
9634 if (arg3
== NULL
) SWIG_fail
;
9638 arg4
= wxString_in_helper(obj3
);
9639 if (arg4
== NULL
) SWIG_fail
;
9643 res5
= SWIG_ConvertPtr(obj4
, &argp5
, SWIGTYPE_p_wxDateTime
, 0 | 0);
9644 if (!SWIG_IsOK(res5
)) {
9645 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "new_FSFile" "', expected argument " "5"" of type '" "wxDateTime""'");
9648 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FSFile" "', expected argument " "5"" of type '" "wxDateTime""'");
9650 wxDateTime
* temp
= reinterpret_cast< wxDateTime
* >(argp5
);
9652 if (SWIG_IsNewObj(res5
)) delete temp
;
9656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9657 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
9658 wxPyEndAllowThreads(__tstate
);
9659 if (PyErr_Occurred()) SWIG_fail
;
9661 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFSFile
, SWIG_POINTER_NEW
| 0 );
9692 SWIGINTERN PyObject
*_wrap_delete_FSFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9693 PyObject
*resultobj
= 0;
9694 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
9697 PyObject
*swig_obj
[1] ;
9699 if (!args
) SWIG_fail
;
9701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, SWIG_POINTER_DISOWN
| 0 );
9702 if (!SWIG_IsOK(res1
)) {
9703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FSFile" "', expected argument " "1"" of type '" "wxFSFile *""'");
9705 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
9707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9710 wxPyEndAllowThreads(__tstate
);
9711 if (PyErr_Occurred()) SWIG_fail
;
9713 resultobj
= SWIG_Py_Void();
9720 SWIGINTERN PyObject
*_wrap_FSFile_GetStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9721 PyObject
*resultobj
= 0;
9722 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
9723 wxInputStream
*result
= 0 ;
9726 PyObject
*swig_obj
[1] ;
9728 if (!args
) SWIG_fail
;
9730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
9731 if (!SWIG_IsOK(res1
)) {
9732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_GetStream" "', expected argument " "1"" of type '" "wxFSFile *""'");
9734 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
9736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9737 result
= (wxInputStream
*)(arg1
)->GetStream();
9738 wxPyEndAllowThreads(__tstate
);
9739 if (PyErr_Occurred()) SWIG_fail
;
9742 wxPyInputStream
* _ptr
= NULL
;
9745 _ptr
= new wxPyInputStream(result
);
9747 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), 0);
9755 SWIGINTERN PyObject
*_wrap_FSFile_GetMimeType(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_GetMimeType" "', expected argument " "1"" of type '" "wxFSFile *""'");
9769 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
9771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9773 wxString
const &_result_ref
= (arg1
)->GetMimeType();
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_GetLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9793 PyObject
*resultobj
= 0;
9794 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
9795 wxString
*result
= 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_GetLocation" "', expected argument " "1"" of type '" "wxFSFile *""'");
9806 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
9808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9810 wxString
const &_result_ref
= (arg1
)->GetLocation();
9811 result
= (wxString
*) &_result_ref
;
9813 wxPyEndAllowThreads(__tstate
);
9814 if (PyErr_Occurred()) SWIG_fail
;
9818 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9820 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9829 SWIGINTERN PyObject
*_wrap_FSFile_GetAnchor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9830 PyObject
*resultobj
= 0;
9831 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
9832 wxString
*result
= 0 ;
9835 PyObject
*swig_obj
[1] ;
9837 if (!args
) SWIG_fail
;
9839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
9840 if (!SWIG_IsOK(res1
)) {
9841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_GetAnchor" "', expected argument " "1"" of type '" "wxFSFile *""'");
9843 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
9845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9847 wxString
const &_result_ref
= (arg1
)->GetAnchor();
9848 result
= (wxString
*) &_result_ref
;
9850 wxPyEndAllowThreads(__tstate
);
9851 if (PyErr_Occurred()) SWIG_fail
;
9855 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
9857 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
9866 SWIGINTERN PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9867 PyObject
*resultobj
= 0;
9868 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
9872 PyObject
*swig_obj
[1] ;
9874 if (!args
) SWIG_fail
;
9876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFSFile
, 0 | 0 );
9877 if (!SWIG_IsOK(res1
)) {
9878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FSFile_GetModificationTime" "', expected argument " "1"" of type '" "wxFSFile *""'");
9880 arg1
= reinterpret_cast< wxFSFile
* >(argp1
);
9882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9883 result
= (arg1
)->GetModificationTime();
9884 wxPyEndAllowThreads(__tstate
);
9885 if (PyErr_Occurred()) SWIG_fail
;
9887 resultobj
= SWIG_NewPointerObj((new wxDateTime(static_cast< const wxDateTime
& >(result
))), SWIGTYPE_p_wxDateTime
, SWIG_POINTER_OWN
| 0 );
9894 SWIGINTERN PyObject
*FSFile_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9896 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9897 SWIG_TypeNewClientData(SWIGTYPE_p_wxFSFile
, SWIG_NewClientData(obj
));
9898 return SWIG_Py_Void();
9901 SWIGINTERN PyObject
*FSFile_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9902 return SWIG_Python_InitShadowInstance(args
);
9905 SWIGINTERN PyObject
*_wrap_delete_CPPFileSystemHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9906 PyObject
*resultobj
= 0;
9907 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
9910 PyObject
*swig_obj
[1] ;
9912 if (!args
) SWIG_fail
;
9914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_DISOWN
| 0 );
9915 if (!SWIG_IsOK(res1
)) {
9916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_CPPFileSystemHandler" "', expected argument " "1"" of type '" "wxFileSystemHandler *""'");
9918 arg1
= reinterpret_cast< wxFileSystemHandler
* >(argp1
);
9920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9923 wxPyEndAllowThreads(__tstate
);
9924 if (PyErr_Occurred()) SWIG_fail
;
9926 resultobj
= SWIG_Py_Void();
9933 SWIGINTERN PyObject
*CPPFileSystemHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9935 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9936 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileSystemHandler
, SWIG_NewClientData(obj
));
9937 return SWIG_Py_Void();
9940 SWIGINTERN PyObject
*_wrap_new_FileSystemHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9941 PyObject
*resultobj
= 0;
9942 wxPyFileSystemHandler
*result
= 0 ;
9944 if (!SWIG_Python_UnpackTuple(args
,"new_FileSystemHandler",0,0,0)) SWIG_fail
;
9946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9947 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
9948 wxPyEndAllowThreads(__tstate
);
9949 if (PyErr_Occurred()) SWIG_fail
;
9951 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_POINTER_NEW
| 0 );
9958 SWIGINTERN PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9959 PyObject
*resultobj
= 0;
9960 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
9961 PyObject
*arg2
= (PyObject
*) 0 ;
9962 PyObject
*arg3
= (PyObject
*) 0 ;
9965 PyObject
* obj0
= 0 ;
9966 PyObject
* obj1
= 0 ;
9967 PyObject
* obj2
= 0 ;
9968 char * kwnames
[] = {
9969 (char *) "self",(char *) "self",(char *) "_class", NULL
9972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
9974 if (!SWIG_IsOK(res1
)) {
9975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
9977 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
9981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9982 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9983 wxPyEndAllowThreads(__tstate
);
9984 if (PyErr_Occurred()) SWIG_fail
;
9986 resultobj
= SWIG_Py_Void();
9993 SWIGINTERN PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9994 PyObject
*resultobj
= 0;
9995 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
9996 wxString
*arg2
= 0 ;
10000 bool temp2
= false ;
10001 PyObject
* obj0
= 0 ;
10002 PyObject
* obj1
= 0 ;
10003 char * kwnames
[] = {
10004 (char *) "self",(char *) "location", NULL
10007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10009 if (!SWIG_IsOK(res1
)) {
10010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_CanOpen" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10012 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10014 arg2
= wxString_in_helper(obj1
);
10015 if (arg2
== NULL
) SWIG_fail
;
10019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10020 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
10021 wxPyEndAllowThreads(__tstate
);
10022 if (PyErr_Occurred()) SWIG_fail
;
10025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10041 SWIGINTERN PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10042 PyObject
*resultobj
= 0;
10043 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10044 wxFileSystem
*arg2
= 0 ;
10045 wxString
*arg3
= 0 ;
10046 wxFSFile
*result
= 0 ;
10051 bool temp3
= false ;
10052 PyObject
* obj0
= 0 ;
10053 PyObject
* obj1
= 0 ;
10054 PyObject
* obj2
= 0 ;
10055 char * kwnames
[] = {
10056 (char *) "self",(char *) "fs",(char *) "location", NULL
10059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10061 if (!SWIG_IsOK(res1
)) {
10062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_OpenFile" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10064 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10065 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileSystem
, 0 );
10066 if (!SWIG_IsOK(res2
)) {
10067 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FileSystemHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
10070 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FileSystemHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
10072 arg2
= reinterpret_cast< wxFileSystem
* >(argp2
);
10074 arg3
= wxString_in_helper(obj2
);
10075 if (arg3
== NULL
) SWIG_fail
;
10079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10080 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
10081 wxPyEndAllowThreads(__tstate
);
10082 if (PyErr_Occurred()) SWIG_fail
;
10085 resultobj
= wxPyMake_wxObject(result
, SWIG_POINTER_OWN
);
10101 SWIGINTERN PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10102 PyObject
*resultobj
= 0;
10103 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10104 wxString
*arg2
= 0 ;
10105 int arg3
= (int) 0 ;
10109 bool temp2
= false ;
10112 PyObject
* obj0
= 0 ;
10113 PyObject
* obj1
= 0 ;
10114 PyObject
* obj2
= 0 ;
10115 char * kwnames
[] = {
10116 (char *) "self",(char *) "spec",(char *) "flags", NULL
10119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10121 if (!SWIG_IsOK(res1
)) {
10122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_FindFirst" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10124 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10126 arg2
= wxString_in_helper(obj1
);
10127 if (arg2
== NULL
) SWIG_fail
;
10131 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10132 if (!SWIG_IsOK(ecode3
)) {
10133 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileSystemHandler_FindFirst" "', expected argument " "3"" of type '" "int""'");
10135 arg3
= static_cast< int >(val3
);
10138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10139 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
10140 wxPyEndAllowThreads(__tstate
);
10141 if (PyErr_Occurred()) SWIG_fail
;
10145 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10147 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10164 SWIGINTERN PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10165 PyObject
*resultobj
= 0;
10166 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10170 PyObject
*swig_obj
[1] ;
10172 if (!args
) SWIG_fail
;
10173 swig_obj
[0] = args
;
10174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10175 if (!SWIG_IsOK(res1
)) {
10176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_FindNext" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10178 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10181 result
= (arg1
)->FindNext();
10182 wxPyEndAllowThreads(__tstate
);
10183 if (PyErr_Occurred()) SWIG_fail
;
10187 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10189 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10198 SWIGINTERN PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10199 PyObject
*resultobj
= 0;
10200 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10201 wxString
*arg2
= 0 ;
10205 bool temp2
= false ;
10206 PyObject
* obj0
= 0 ;
10207 PyObject
* obj1
= 0 ;
10208 char * kwnames
[] = {
10209 (char *) "self",(char *) "location", NULL
10212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10214 if (!SWIG_IsOK(res1
)) {
10215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_GetProtocol" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10217 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10219 arg2
= wxString_in_helper(obj1
);
10220 if (arg2
== NULL
) SWIG_fail
;
10224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10225 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
10226 wxPyEndAllowThreads(__tstate
);
10227 if (PyErr_Occurred()) SWIG_fail
;
10231 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10233 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10250 SWIGINTERN PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10251 PyObject
*resultobj
= 0;
10252 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10253 wxString
*arg2
= 0 ;
10257 bool temp2
= false ;
10258 PyObject
* obj0
= 0 ;
10259 PyObject
* obj1
= 0 ;
10260 char * kwnames
[] = {
10261 (char *) "self",(char *) "location", NULL
10264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10266 if (!SWIG_IsOK(res1
)) {
10267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_GetLeftLocation" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10269 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10271 arg2
= wxString_in_helper(obj1
);
10272 if (arg2
== NULL
) SWIG_fail
;
10276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10277 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
10278 wxPyEndAllowThreads(__tstate
);
10279 if (PyErr_Occurred()) SWIG_fail
;
10283 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10285 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10302 SWIGINTERN PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10303 PyObject
*resultobj
= 0;
10304 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10305 wxString
*arg2
= 0 ;
10309 bool temp2
= false ;
10310 PyObject
* obj0
= 0 ;
10311 PyObject
* obj1
= 0 ;
10312 char * kwnames
[] = {
10313 (char *) "self",(char *) "location", NULL
10316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10318 if (!SWIG_IsOK(res1
)) {
10319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_GetAnchor" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10321 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10323 arg2
= wxString_in_helper(obj1
);
10324 if (arg2
== NULL
) SWIG_fail
;
10328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10329 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
10330 wxPyEndAllowThreads(__tstate
);
10331 if (PyErr_Occurred()) SWIG_fail
;
10335 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10337 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10354 SWIGINTERN PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10355 PyObject
*resultobj
= 0;
10356 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10357 wxString
*arg2
= 0 ;
10361 bool temp2
= false ;
10362 PyObject
* obj0
= 0 ;
10363 PyObject
* obj1
= 0 ;
10364 char * kwnames
[] = {
10365 (char *) "self",(char *) "location", NULL
10368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10370 if (!SWIG_IsOK(res1
)) {
10371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_GetRightLocation" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10373 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10375 arg2
= wxString_in_helper(obj1
);
10376 if (arg2
== NULL
) SWIG_fail
;
10380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10381 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
10382 wxPyEndAllowThreads(__tstate
);
10383 if (PyErr_Occurred()) SWIG_fail
;
10387 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10389 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10406 SWIGINTERN PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10407 PyObject
*resultobj
= 0;
10408 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
10409 wxString
*arg2
= 0 ;
10413 bool temp2
= false ;
10414 PyObject
* obj0
= 0 ;
10415 PyObject
* obj1
= 0 ;
10416 char * kwnames
[] = {
10417 (char *) "self",(char *) "location", NULL
10420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyFileSystemHandler
, 0 | 0 );
10422 if (!SWIG_IsOK(res1
)) {
10423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystemHandler_GetMimeTypeFromExt" "', expected argument " "1"" of type '" "wxPyFileSystemHandler *""'");
10425 arg1
= reinterpret_cast< wxPyFileSystemHandler
* >(argp1
);
10427 arg2
= wxString_in_helper(obj1
);
10428 if (arg2
== NULL
) SWIG_fail
;
10432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10433 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
10434 wxPyEndAllowThreads(__tstate
);
10435 if (PyErr_Occurred()) SWIG_fail
;
10439 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10441 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10458 SWIGINTERN PyObject
*FileSystemHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10460 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10461 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyFileSystemHandler
, SWIG_NewClientData(obj
));
10462 return SWIG_Py_Void();
10465 SWIGINTERN PyObject
*FileSystemHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10466 return SWIG_Python_InitShadowInstance(args
);
10469 SWIGINTERN PyObject
*_wrap_new_FileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10470 PyObject
*resultobj
= 0;
10471 wxFileSystem
*result
= 0 ;
10473 if (!SWIG_Python_UnpackTuple(args
,"new_FileSystem",0,0,0)) SWIG_fail
;
10475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10476 result
= (wxFileSystem
*)new wxFileSystem();
10477 wxPyEndAllowThreads(__tstate
);
10478 if (PyErr_Occurred()) SWIG_fail
;
10481 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
10489 SWIGINTERN PyObject
*_wrap_delete_FileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10490 PyObject
*resultobj
= 0;
10491 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
10494 PyObject
*swig_obj
[1] ;
10496 if (!args
) SWIG_fail
;
10497 swig_obj
[0] = args
;
10498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileSystem
, SWIG_POINTER_DISOWN
| 0 );
10499 if (!SWIG_IsOK(res1
)) {
10500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FileSystem" "', expected argument " "1"" of type '" "wxFileSystem *""'");
10502 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
10504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10507 wxPyEndAllowThreads(__tstate
);
10508 if (PyErr_Occurred()) SWIG_fail
;
10510 resultobj
= SWIG_Py_Void();
10517 SWIGINTERN PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10518 PyObject
*resultobj
= 0;
10519 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
10520 wxString
*arg2
= 0 ;
10521 bool arg3
= (bool) false ;
10524 bool temp2
= false ;
10527 PyObject
* obj0
= 0 ;
10528 PyObject
* obj1
= 0 ;
10529 PyObject
* obj2
= 0 ;
10530 char * kwnames
[] = {
10531 (char *) "self",(char *) "location",(char *) "is_dir", NULL
10534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
10536 if (!SWIG_IsOK(res1
)) {
10537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_ChangePathTo" "', expected argument " "1"" of type '" "wxFileSystem *""'");
10539 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
10541 arg2
= wxString_in_helper(obj1
);
10542 if (arg2
== NULL
) SWIG_fail
;
10546 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10547 if (!SWIG_IsOK(ecode3
)) {
10548 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileSystem_ChangePathTo" "', expected argument " "3"" of type '" "bool""'");
10550 arg3
= static_cast< bool >(val3
);
10553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10554 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
10555 wxPyEndAllowThreads(__tstate
);
10556 if (PyErr_Occurred()) SWIG_fail
;
10558 resultobj
= SWIG_Py_Void();
10573 SWIGINTERN PyObject
*_wrap_FileSystem_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10574 PyObject
*resultobj
= 0;
10575 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
10579 PyObject
*swig_obj
[1] ;
10581 if (!args
) SWIG_fail
;
10582 swig_obj
[0] = args
;
10583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
10584 if (!SWIG_IsOK(res1
)) {
10585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_GetPath" "', expected argument " "1"" of type '" "wxFileSystem *""'");
10587 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
10589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10590 result
= (arg1
)->GetPath();
10591 wxPyEndAllowThreads(__tstate
);
10592 if (PyErr_Occurred()) SWIG_fail
;
10596 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10598 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10607 SWIGINTERN PyObject
*_wrap_FileSystem_OpenFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10608 PyObject
*resultobj
= 0;
10609 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
10610 wxString
*arg2
= 0 ;
10611 wxFSFile
*result
= 0 ;
10614 bool temp2
= false ;
10615 PyObject
* obj0
= 0 ;
10616 PyObject
* obj1
= 0 ;
10617 char * kwnames
[] = {
10618 (char *) "self",(char *) "location", NULL
10621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10622 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
10623 if (!SWIG_IsOK(res1
)) {
10624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_OpenFile" "', expected argument " "1"" of type '" "wxFileSystem *""'");
10626 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
10628 arg2
= wxString_in_helper(obj1
);
10629 if (arg2
== NULL
) SWIG_fail
;
10633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10634 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
10635 wxPyEndAllowThreads(__tstate
);
10636 if (PyErr_Occurred()) SWIG_fail
;
10639 resultobj
= wxPyMake_wxObject(result
, SWIG_POINTER_OWN
);
10655 SWIGINTERN PyObject
*_wrap_FileSystem_FindFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10656 PyObject
*resultobj
= 0;
10657 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
10658 wxString
*arg2
= 0 ;
10659 int arg3
= (int) 0 ;
10663 bool temp2
= false ;
10666 PyObject
* obj0
= 0 ;
10667 PyObject
* obj1
= 0 ;
10668 PyObject
* obj2
= 0 ;
10669 char * kwnames
[] = {
10670 (char *) "self",(char *) "spec",(char *) "flags", NULL
10673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
10675 if (!SWIG_IsOK(res1
)) {
10676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_FindFirst" "', expected argument " "1"" of type '" "wxFileSystem *""'");
10678 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
10680 arg2
= wxString_in_helper(obj1
);
10681 if (arg2
== NULL
) SWIG_fail
;
10685 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10686 if (!SWIG_IsOK(ecode3
)) {
10687 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FileSystem_FindFirst" "', expected argument " "3"" of type '" "int""'");
10689 arg3
= static_cast< int >(val3
);
10692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10693 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
10694 wxPyEndAllowThreads(__tstate
);
10695 if (PyErr_Occurred()) SWIG_fail
;
10699 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10701 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10718 SWIGINTERN PyObject
*_wrap_FileSystem_FindNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10719 PyObject
*resultobj
= 0;
10720 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
10724 PyObject
*swig_obj
[1] ;
10726 if (!args
) SWIG_fail
;
10727 swig_obj
[0] = args
;
10728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileSystem
, 0 | 0 );
10729 if (!SWIG_IsOK(res1
)) {
10730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_FindNext" "', expected argument " "1"" of type '" "wxFileSystem *""'");
10732 arg1
= reinterpret_cast< wxFileSystem
* >(argp1
);
10734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10735 result
= (arg1
)->FindNext();
10736 wxPyEndAllowThreads(__tstate
);
10737 if (PyErr_Occurred()) SWIG_fail
;
10741 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10743 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10752 SWIGINTERN PyObject
*_wrap_FileSystem_AddHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10753 PyObject
*resultobj
= 0;
10754 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
10756 PyObject
* obj0
= 0 ;
10757 char * kwnames
[] = {
10758 (char *) "handler", NULL
10761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) SWIG_fail
;
10762 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxFileSystemHandler
, SWIG_POINTER_DISOWN
| 0 );
10763 if (!SWIG_IsOK(res1
)) {
10764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileSystem_AddHandler" "', expected argument " "1"" of type '" "wxFileSystemHandler *""'");
10767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10768 wxFileSystem::AddHandler(arg1
);
10769 wxPyEndAllowThreads(__tstate
);
10770 if (PyErr_Occurred()) SWIG_fail
;
10772 resultobj
= SWIG_Py_Void();
10779 SWIGINTERN PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10780 PyObject
*resultobj
= 0;
10782 if (!SWIG_Python_UnpackTuple(args
,"FileSystem_CleanUpHandlers",0,0,0)) SWIG_fail
;
10784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10785 wxFileSystem::CleanUpHandlers();
10786 wxPyEndAllowThreads(__tstate
);
10787 if (PyErr_Occurred()) SWIG_fail
;
10789 resultobj
= SWIG_Py_Void();
10796 SWIGINTERN PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10797 PyObject
*resultobj
= 0;
10798 wxString
*arg1
= 0 ;
10800 bool temp1
= false ;
10801 PyObject
* obj0
= 0 ;
10802 char * kwnames
[] = {
10803 (char *) "filename", NULL
10806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) SWIG_fail
;
10808 arg1
= wxString_in_helper(obj0
);
10809 if (arg1
== NULL
) SWIG_fail
;
10813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10814 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
10815 wxPyEndAllowThreads(__tstate
);
10816 if (PyErr_Occurred()) SWIG_fail
;
10820 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10822 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10839 SWIGINTERN PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10840 PyObject
*resultobj
= 0;
10841 wxString
*arg1
= 0 ;
10843 bool temp1
= false ;
10844 PyObject
* obj0
= 0 ;
10845 char * kwnames
[] = {
10846 (char *) "url", NULL
10849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) SWIG_fail
;
10851 arg1
= wxString_in_helper(obj0
);
10852 if (arg1
== NULL
) SWIG_fail
;
10856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10857 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
10858 wxPyEndAllowThreads(__tstate
);
10859 if (PyErr_Occurred()) SWIG_fail
;
10863 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10865 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10882 SWIGINTERN PyObject
*FileSystem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10884 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10885 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileSystem
, SWIG_NewClientData(obj
));
10886 return SWIG_Py_Void();
10889 SWIGINTERN PyObject
*FileSystem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10890 return SWIG_Python_InitShadowInstance(args
);
10893 SWIGINTERN PyObject
*_wrap_new_InternetFSHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10894 PyObject
*resultobj
= 0;
10895 wxInternetFSHandler
*result
= 0 ;
10897 if (!SWIG_Python_UnpackTuple(args
,"new_InternetFSHandler",0,0,0)) SWIG_fail
;
10899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10900 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
10901 wxPyEndAllowThreads(__tstate
);
10902 if (PyErr_Occurred()) SWIG_fail
;
10904 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxInternetFSHandler
, SWIG_POINTER_NEW
| 0 );
10911 SWIGINTERN PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10912 PyObject
*resultobj
= 0;
10913 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
10914 wxString
*arg2
= 0 ;
10918 bool temp2
= false ;
10919 PyObject
* obj0
= 0 ;
10920 PyObject
* obj1
= 0 ;
10921 char * kwnames
[] = {
10922 (char *) "self",(char *) "location", NULL
10925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxInternetFSHandler
, 0 | 0 );
10927 if (!SWIG_IsOK(res1
)) {
10928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InternetFSHandler_CanOpen" "', expected argument " "1"" of type '" "wxInternetFSHandler *""'");
10930 arg1
= reinterpret_cast< wxInternetFSHandler
* >(argp1
);
10932 arg2
= wxString_in_helper(obj1
);
10933 if (arg2
== NULL
) SWIG_fail
;
10937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10938 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
10939 wxPyEndAllowThreads(__tstate
);
10940 if (PyErr_Occurred()) SWIG_fail
;
10943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10959 SWIGINTERN PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10960 PyObject
*resultobj
= 0;
10961 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
10962 wxFileSystem
*arg2
= 0 ;
10963 wxString
*arg3
= 0 ;
10964 wxFSFile
*result
= 0 ;
10969 bool temp3
= false ;
10970 PyObject
* obj0
= 0 ;
10971 PyObject
* obj1
= 0 ;
10972 PyObject
* obj2
= 0 ;
10973 char * kwnames
[] = {
10974 (char *) "self",(char *) "fs",(char *) "location", NULL
10977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxInternetFSHandler
, 0 | 0 );
10979 if (!SWIG_IsOK(res1
)) {
10980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "InternetFSHandler_OpenFile" "', expected argument " "1"" of type '" "wxInternetFSHandler *""'");
10982 arg1
= reinterpret_cast< wxInternetFSHandler
* >(argp1
);
10983 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileSystem
, 0 );
10984 if (!SWIG_IsOK(res2
)) {
10985 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "InternetFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
10988 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "InternetFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
10990 arg2
= reinterpret_cast< wxFileSystem
* >(argp2
);
10992 arg3
= wxString_in_helper(obj2
);
10993 if (arg3
== NULL
) SWIG_fail
;
10997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10998 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
10999 wxPyEndAllowThreads(__tstate
);
11000 if (PyErr_Occurred()) SWIG_fail
;
11003 resultobj
= wxPyMake_wxObject(result
, SWIG_POINTER_OWN
);
11019 SWIGINTERN PyObject
*InternetFSHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11021 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11022 SWIG_TypeNewClientData(SWIGTYPE_p_wxInternetFSHandler
, SWIG_NewClientData(obj
));
11023 return SWIG_Py_Void();
11026 SWIGINTERN PyObject
*InternetFSHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11027 return SWIG_Python_InitShadowInstance(args
);
11030 SWIGINTERN PyObject
*_wrap_new_ZipFSHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11031 PyObject
*resultobj
= 0;
11032 wxZipFSHandler
*result
= 0 ;
11034 if (!SWIG_Python_UnpackTuple(args
,"new_ZipFSHandler",0,0,0)) SWIG_fail
;
11036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11037 result
= (wxZipFSHandler
*)new wxZipFSHandler();
11038 wxPyEndAllowThreads(__tstate
);
11039 if (PyErr_Occurred()) SWIG_fail
;
11041 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxZipFSHandler
, SWIG_POINTER_NEW
| 0 );
11048 SWIGINTERN PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11049 PyObject
*resultobj
= 0;
11050 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
11051 wxString
*arg2
= 0 ;
11055 bool temp2
= false ;
11056 PyObject
* obj0
= 0 ;
11057 PyObject
* obj1
= 0 ;
11058 char * kwnames
[] = {
11059 (char *) "self",(char *) "location", NULL
11062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxZipFSHandler
, 0 | 0 );
11064 if (!SWIG_IsOK(res1
)) {
11065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ZipFSHandler_CanOpen" "', expected argument " "1"" of type '" "wxZipFSHandler *""'");
11067 arg1
= reinterpret_cast< wxZipFSHandler
* >(argp1
);
11069 arg2
= wxString_in_helper(obj1
);
11070 if (arg2
== NULL
) SWIG_fail
;
11074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11075 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
11076 wxPyEndAllowThreads(__tstate
);
11077 if (PyErr_Occurred()) SWIG_fail
;
11080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11096 SWIGINTERN PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11097 PyObject
*resultobj
= 0;
11098 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
11099 wxFileSystem
*arg2
= 0 ;
11100 wxString
*arg3
= 0 ;
11101 wxFSFile
*result
= 0 ;
11106 bool temp3
= false ;
11107 PyObject
* obj0
= 0 ;
11108 PyObject
* obj1
= 0 ;
11109 PyObject
* obj2
= 0 ;
11110 char * kwnames
[] = {
11111 (char *) "self",(char *) "fs",(char *) "location", NULL
11114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxZipFSHandler
, 0 | 0 );
11116 if (!SWIG_IsOK(res1
)) {
11117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ZipFSHandler_OpenFile" "', expected argument " "1"" of type '" "wxZipFSHandler *""'");
11119 arg1
= reinterpret_cast< wxZipFSHandler
* >(argp1
);
11120 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileSystem
, 0 );
11121 if (!SWIG_IsOK(res2
)) {
11122 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ZipFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
11125 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ZipFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
11127 arg2
= reinterpret_cast< wxFileSystem
* >(argp2
);
11129 arg3
= wxString_in_helper(obj2
);
11130 if (arg3
== NULL
) SWIG_fail
;
11134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11135 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
11136 wxPyEndAllowThreads(__tstate
);
11137 if (PyErr_Occurred()) SWIG_fail
;
11140 resultobj
= wxPyMake_wxObject(result
, SWIG_POINTER_OWN
);
11156 SWIGINTERN PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11157 PyObject
*resultobj
= 0;
11158 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
11159 wxString
*arg2
= 0 ;
11160 int arg3
= (int) 0 ;
11164 bool temp2
= false ;
11167 PyObject
* obj0
= 0 ;
11168 PyObject
* obj1
= 0 ;
11169 PyObject
* obj2
= 0 ;
11170 char * kwnames
[] = {
11171 (char *) "self",(char *) "spec",(char *) "flags", NULL
11174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxZipFSHandler
, 0 | 0 );
11176 if (!SWIG_IsOK(res1
)) {
11177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ZipFSHandler_FindFirst" "', expected argument " "1"" of type '" "wxZipFSHandler *""'");
11179 arg1
= reinterpret_cast< wxZipFSHandler
* >(argp1
);
11181 arg2
= wxString_in_helper(obj1
);
11182 if (arg2
== NULL
) SWIG_fail
;
11186 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11187 if (!SWIG_IsOK(ecode3
)) {
11188 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ZipFSHandler_FindFirst" "', expected argument " "3"" of type '" "int""'");
11190 arg3
= static_cast< int >(val3
);
11193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11194 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
11195 wxPyEndAllowThreads(__tstate
);
11196 if (PyErr_Occurred()) SWIG_fail
;
11200 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11202 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11219 SWIGINTERN PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11220 PyObject
*resultobj
= 0;
11221 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
11225 PyObject
*swig_obj
[1] ;
11227 if (!args
) SWIG_fail
;
11228 swig_obj
[0] = args
;
11229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxZipFSHandler
, 0 | 0 );
11230 if (!SWIG_IsOK(res1
)) {
11231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ZipFSHandler_FindNext" "', expected argument " "1"" of type '" "wxZipFSHandler *""'");
11233 arg1
= reinterpret_cast< wxZipFSHandler
* >(argp1
);
11235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11236 result
= (arg1
)->FindNext();
11237 wxPyEndAllowThreads(__tstate
);
11238 if (PyErr_Occurred()) SWIG_fail
;
11242 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11244 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11253 SWIGINTERN PyObject
*ZipFSHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11255 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11256 SWIG_TypeNewClientData(SWIGTYPE_p_wxZipFSHandler
, SWIG_NewClientData(obj
));
11257 return SWIG_Py_Void();
11260 SWIGINTERN PyObject
*ZipFSHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11261 return SWIG_Python_InitShadowInstance(args
);
11264 SWIGINTERN PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11265 PyObject
*resultobj
= 0;
11266 wxString
*arg1
= 0 ;
11267 wxImage
*arg2
= 0 ;
11269 bool temp1
= false ;
11274 PyObject
* obj0
= 0 ;
11275 PyObject
* obj1
= 0 ;
11276 PyObject
* obj2
= 0 ;
11277 char * kwnames
[] = {
11278 (char *) "filename",(char *) "image",(char *) "type", NULL
11281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11283 arg1
= wxString_in_helper(obj0
);
11284 if (arg1
== NULL
) SWIG_fail
;
11287 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
, 0 );
11288 if (!SWIG_IsOK(res2
)) {
11289 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "__wxMemoryFSHandler_AddFile_wxImage" "', expected argument " "2"" of type '" "wxImage &""'");
11292 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "__wxMemoryFSHandler_AddFile_wxImage" "', expected argument " "2"" of type '" "wxImage &""'");
11294 arg2
= reinterpret_cast< wxImage
* >(argp2
);
11295 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
11296 if (!SWIG_IsOK(ecode3
)) {
11297 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "__wxMemoryFSHandler_AddFile_wxImage" "', expected argument " "3"" of type '" "long""'");
11299 arg3
= static_cast< long >(val3
);
11301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11302 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
11303 wxPyEndAllowThreads(__tstate
);
11304 if (PyErr_Occurred()) SWIG_fail
;
11306 resultobj
= SWIG_Py_Void();
11321 SWIGINTERN PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11322 PyObject
*resultobj
= 0;
11323 wxString
*arg1
= 0 ;
11324 wxBitmap
*arg2
= 0 ;
11326 bool temp1
= false ;
11331 PyObject
* obj0
= 0 ;
11332 PyObject
* obj1
= 0 ;
11333 PyObject
* obj2
= 0 ;
11334 char * kwnames
[] = {
11335 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
11338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11340 arg1
= wxString_in_helper(obj0
);
11341 if (arg1
== NULL
) SWIG_fail
;
11344 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
11345 if (!SWIG_IsOK(res2
)) {
11346 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "__wxMemoryFSHandler_AddFile_wxBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11349 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "__wxMemoryFSHandler_AddFile_wxBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11351 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
11352 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
11353 if (!SWIG_IsOK(ecode3
)) {
11354 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "__wxMemoryFSHandler_AddFile_wxBitmap" "', expected argument " "3"" of type '" "long""'");
11356 arg3
= static_cast< long >(val3
);
11358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11359 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
11360 wxPyEndAllowThreads(__tstate
);
11361 if (PyErr_Occurred()) SWIG_fail
;
11363 resultobj
= SWIG_Py_Void();
11378 SWIGINTERN PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11379 PyObject
*resultobj
= 0;
11380 wxString
*arg1
= 0 ;
11381 PyObject
*arg2
= (PyObject
*) 0 ;
11382 bool temp1
= false ;
11383 PyObject
* obj0
= 0 ;
11384 PyObject
* obj1
= 0 ;
11385 char * kwnames
[] = {
11386 (char *) "filename",(char *) "data", NULL
11389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11391 arg1
= wxString_in_helper(obj0
);
11392 if (arg1
== NULL
) SWIG_fail
;
11397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11398 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
11399 wxPyEndAllowThreads(__tstate
);
11400 if (PyErr_Occurred()) SWIG_fail
;
11402 resultobj
= SWIG_Py_Void();
11417 SWIGINTERN PyObject
*_wrap_new_MemoryFSHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11418 PyObject
*resultobj
= 0;
11419 wxMemoryFSHandler
*result
= 0 ;
11421 if (!SWIG_Python_UnpackTuple(args
,"new_MemoryFSHandler",0,0,0)) SWIG_fail
;
11423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11424 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
11425 wxPyEndAllowThreads(__tstate
);
11426 if (PyErr_Occurred()) SWIG_fail
;
11428 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMemoryFSHandler
, SWIG_POINTER_NEW
| 0 );
11435 SWIGINTERN PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11436 PyObject
*resultobj
= 0;
11437 wxString
*arg1
= 0 ;
11438 bool temp1
= false ;
11439 PyObject
* obj0
= 0 ;
11440 char * kwnames
[] = {
11441 (char *) "filename", NULL
11444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) SWIG_fail
;
11446 arg1
= wxString_in_helper(obj0
);
11447 if (arg1
== NULL
) SWIG_fail
;
11451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11452 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
11453 wxPyEndAllowThreads(__tstate
);
11454 if (PyErr_Occurred()) SWIG_fail
;
11456 resultobj
= SWIG_Py_Void();
11471 SWIGINTERN PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11472 PyObject
*resultobj
= 0;
11473 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
11474 wxString
*arg2
= 0 ;
11478 bool temp2
= false ;
11479 PyObject
* obj0
= 0 ;
11480 PyObject
* obj1
= 0 ;
11481 char * kwnames
[] = {
11482 (char *) "self",(char *) "location", NULL
11485 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11486 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryFSHandler
, 0 | 0 );
11487 if (!SWIG_IsOK(res1
)) {
11488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryFSHandler_CanOpen" "', expected argument " "1"" of type '" "wxMemoryFSHandler *""'");
11490 arg1
= reinterpret_cast< wxMemoryFSHandler
* >(argp1
);
11492 arg2
= wxString_in_helper(obj1
);
11493 if (arg2
== NULL
) SWIG_fail
;
11497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11498 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
11499 wxPyEndAllowThreads(__tstate
);
11500 if (PyErr_Occurred()) SWIG_fail
;
11503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11519 SWIGINTERN PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11520 PyObject
*resultobj
= 0;
11521 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
11522 wxFileSystem
*arg2
= 0 ;
11523 wxString
*arg3
= 0 ;
11524 wxFSFile
*result
= 0 ;
11529 bool temp3
= false ;
11530 PyObject
* obj0
= 0 ;
11531 PyObject
* obj1
= 0 ;
11532 PyObject
* obj2
= 0 ;
11533 char * kwnames
[] = {
11534 (char *) "self",(char *) "fs",(char *) "location", NULL
11537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryFSHandler
, 0 | 0 );
11539 if (!SWIG_IsOK(res1
)) {
11540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryFSHandler_OpenFile" "', expected argument " "1"" of type '" "wxMemoryFSHandler *""'");
11542 arg1
= reinterpret_cast< wxMemoryFSHandler
* >(argp1
);
11543 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFileSystem
, 0 );
11544 if (!SWIG_IsOK(res2
)) {
11545 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MemoryFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
11548 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MemoryFSHandler_OpenFile" "', expected argument " "2"" of type '" "wxFileSystem &""'");
11550 arg2
= reinterpret_cast< wxFileSystem
* >(argp2
);
11552 arg3
= wxString_in_helper(obj2
);
11553 if (arg3
== NULL
) SWIG_fail
;
11557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11558 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
11559 wxPyEndAllowThreads(__tstate
);
11560 if (PyErr_Occurred()) SWIG_fail
;
11563 resultobj
= wxPyMake_wxObject(result
, SWIG_POINTER_OWN
);
11579 SWIGINTERN PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11580 PyObject
*resultobj
= 0;
11581 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
11582 wxString
*arg2
= 0 ;
11583 int arg3
= (int) 0 ;
11587 bool temp2
= false ;
11590 PyObject
* obj0
= 0 ;
11591 PyObject
* obj1
= 0 ;
11592 PyObject
* obj2
= 0 ;
11593 char * kwnames
[] = {
11594 (char *) "self",(char *) "spec",(char *) "flags", NULL
11597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMemoryFSHandler
, 0 | 0 );
11599 if (!SWIG_IsOK(res1
)) {
11600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryFSHandler_FindFirst" "', expected argument " "1"" of type '" "wxMemoryFSHandler *""'");
11602 arg1
= reinterpret_cast< wxMemoryFSHandler
* >(argp1
);
11604 arg2
= wxString_in_helper(obj1
);
11605 if (arg2
== NULL
) SWIG_fail
;
11609 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11610 if (!SWIG_IsOK(ecode3
)) {
11611 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MemoryFSHandler_FindFirst" "', expected argument " "3"" of type '" "int""'");
11613 arg3
= static_cast< int >(val3
);
11616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11617 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
11618 wxPyEndAllowThreads(__tstate
);
11619 if (PyErr_Occurred()) SWIG_fail
;
11623 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11625 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11642 SWIGINTERN PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11643 PyObject
*resultobj
= 0;
11644 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
11648 PyObject
*swig_obj
[1] ;
11650 if (!args
) SWIG_fail
;
11651 swig_obj
[0] = args
;
11652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMemoryFSHandler
, 0 | 0 );
11653 if (!SWIG_IsOK(res1
)) {
11654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MemoryFSHandler_FindNext" "', expected argument " "1"" of type '" "wxMemoryFSHandler *""'");
11656 arg1
= reinterpret_cast< wxMemoryFSHandler
* >(argp1
);
11658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11659 result
= (arg1
)->FindNext();
11660 wxPyEndAllowThreads(__tstate
);
11661 if (PyErr_Occurred()) SWIG_fail
;
11665 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11667 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11676 SWIGINTERN PyObject
*MemoryFSHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11678 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11679 SWIG_TypeNewClientData(SWIGTYPE_p_wxMemoryFSHandler
, SWIG_NewClientData(obj
));
11680 return SWIG_Py_Void();
11683 SWIGINTERN PyObject
*MemoryFSHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11684 return SWIG_Python_InitShadowInstance(args
);
11687 SWIGINTERN PyObject
*_wrap_ImageHandler_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11688 PyObject
*resultobj
= 0;
11689 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11693 PyObject
*swig_obj
[1] ;
11695 if (!args
) SWIG_fail
;
11696 swig_obj
[0] = args
;
11697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
11698 if (!SWIG_IsOK(res1
)) {
11699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_GetName" "', expected argument " "1"" of type '" "wxImageHandler *""'");
11701 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
11703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11704 result
= (arg1
)->GetName();
11705 wxPyEndAllowThreads(__tstate
);
11706 if (PyErr_Occurred()) SWIG_fail
;
11710 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11712 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11721 SWIGINTERN PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11722 PyObject
*resultobj
= 0;
11723 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11727 PyObject
*swig_obj
[1] ;
11729 if (!args
) SWIG_fail
;
11730 swig_obj
[0] = args
;
11731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
11732 if (!SWIG_IsOK(res1
)) {
11733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_GetExtension" "', expected argument " "1"" of type '" "wxImageHandler *""'");
11735 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
11737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11738 result
= (arg1
)->GetExtension();
11739 wxPyEndAllowThreads(__tstate
);
11740 if (PyErr_Occurred()) SWIG_fail
;
11744 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11746 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11755 SWIGINTERN PyObject
*_wrap_ImageHandler_GetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11756 PyObject
*resultobj
= 0;
11757 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11761 PyObject
*swig_obj
[1] ;
11763 if (!args
) SWIG_fail
;
11764 swig_obj
[0] = args
;
11765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
11766 if (!SWIG_IsOK(res1
)) {
11767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_GetType" "', expected argument " "1"" of type '" "wxImageHandler *""'");
11769 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
11771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11772 result
= (long)(arg1
)->GetType();
11773 wxPyEndAllowThreads(__tstate
);
11774 if (PyErr_Occurred()) SWIG_fail
;
11776 resultobj
= SWIG_From_long(static_cast< long >(result
));
11783 SWIGINTERN PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11784 PyObject
*resultobj
= 0;
11785 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11789 PyObject
*swig_obj
[1] ;
11791 if (!args
) SWIG_fail
;
11792 swig_obj
[0] = args
;
11793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
11794 if (!SWIG_IsOK(res1
)) {
11795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_GetMimeType" "', expected argument " "1"" of type '" "wxImageHandler *""'");
11797 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
11799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11800 result
= (arg1
)->GetMimeType();
11801 wxPyEndAllowThreads(__tstate
);
11802 if (PyErr_Occurred()) SWIG_fail
;
11806 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11808 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11817 SWIGINTERN PyObject
*_wrap_ImageHandler_CanRead(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11818 PyObject
*resultobj
= 0;
11819 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11820 wxString
*arg2
= 0 ;
11824 bool temp2
= false ;
11825 PyObject
* obj0
= 0 ;
11826 PyObject
* obj1
= 0 ;
11827 char * kwnames
[] = {
11828 (char *) "self",(char *) "name", NULL
11831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
11833 if (!SWIG_IsOK(res1
)) {
11834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_CanRead" "', expected argument " "1"" of type '" "wxImageHandler *""'");
11836 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
11838 arg2
= wxString_in_helper(obj1
);
11839 if (arg2
== NULL
) SWIG_fail
;
11843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11844 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
11845 wxPyEndAllowThreads(__tstate
);
11846 if (PyErr_Occurred()) SWIG_fail
;
11849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11865 SWIGINTERN PyObject
*_wrap_ImageHandler_CanReadStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11866 PyObject
*resultobj
= 0;
11867 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11868 wxInputStream
*arg2
= 0 ;
11872 wxPyInputStream
*temp2
;
11874 PyObject
* obj0
= 0 ;
11875 PyObject
* obj1
= 0 ;
11876 char * kwnames
[] = {
11877 (char *) "self",(char *) "stream", NULL
11880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanReadStream",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
11882 if (!SWIG_IsOK(res1
)) {
11883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_CanReadStream" "', expected argument " "1"" of type '" "wxImageHandler *""'");
11885 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
11887 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
11888 arg2
= temp2
->m_wxis
;
11891 PyErr_Clear(); // clear the failure of the wxPyConvert above
11892 arg2
= wxPyCBInputStream_create(obj1
, false);
11893 if (arg2
== NULL
) {
11894 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
11901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11902 result
= (bool)(arg1
)->CanRead(*arg2
);
11903 wxPyEndAllowThreads(__tstate
);
11904 if (PyErr_Occurred()) SWIG_fail
;
11907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11910 if (created2
) delete arg2
;
11915 if (created2
) delete arg2
;
11921 SWIGINTERN PyObject
*_wrap_ImageHandler_SetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11922 PyObject
*resultobj
= 0;
11923 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11924 wxString
*arg2
= 0 ;
11927 bool temp2
= false ;
11928 PyObject
* obj0
= 0 ;
11929 PyObject
* obj1
= 0 ;
11930 char * kwnames
[] = {
11931 (char *) "self",(char *) "name", NULL
11934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
11936 if (!SWIG_IsOK(res1
)) {
11937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_SetName" "', expected argument " "1"" of type '" "wxImageHandler *""'");
11939 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
11941 arg2
= wxString_in_helper(obj1
);
11942 if (arg2
== NULL
) SWIG_fail
;
11946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11947 (arg1
)->SetName((wxString
const &)*arg2
);
11948 wxPyEndAllowThreads(__tstate
);
11949 if (PyErr_Occurred()) SWIG_fail
;
11951 resultobj
= SWIG_Py_Void();
11966 SWIGINTERN PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11967 PyObject
*resultobj
= 0;
11968 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11969 wxString
*arg2
= 0 ;
11972 bool temp2
= false ;
11973 PyObject
* obj0
= 0 ;
11974 PyObject
* obj1
= 0 ;
11975 char * kwnames
[] = {
11976 (char *) "self",(char *) "extension", NULL
11979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
11981 if (!SWIG_IsOK(res1
)) {
11982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_SetExtension" "', expected argument " "1"" of type '" "wxImageHandler *""'");
11984 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
11986 arg2
= wxString_in_helper(obj1
);
11987 if (arg2
== NULL
) SWIG_fail
;
11991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11992 (arg1
)->SetExtension((wxString
const &)*arg2
);
11993 wxPyEndAllowThreads(__tstate
);
11994 if (PyErr_Occurred()) SWIG_fail
;
11996 resultobj
= SWIG_Py_Void();
12011 SWIGINTERN PyObject
*_wrap_ImageHandler_SetType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12012 PyObject
*resultobj
= 0;
12013 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
12019 PyObject
* obj0
= 0 ;
12020 PyObject
* obj1
= 0 ;
12021 char * kwnames
[] = {
12022 (char *) "self",(char *) "type", NULL
12025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
12027 if (!SWIG_IsOK(res1
)) {
12028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_SetType" "', expected argument " "1"" of type '" "wxImageHandler *""'");
12030 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
12031 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12032 if (!SWIG_IsOK(ecode2
)) {
12033 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageHandler_SetType" "', expected argument " "2"" of type '" "long""'");
12035 arg2
= static_cast< long >(val2
);
12037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12038 (arg1
)->SetType(arg2
);
12039 wxPyEndAllowThreads(__tstate
);
12040 if (PyErr_Occurred()) SWIG_fail
;
12042 resultobj
= SWIG_Py_Void();
12049 SWIGINTERN PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12050 PyObject
*resultobj
= 0;
12051 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
12052 wxString
*arg2
= 0 ;
12055 bool temp2
= false ;
12056 PyObject
* obj0
= 0 ;
12057 PyObject
* obj1
= 0 ;
12058 char * kwnames
[] = {
12059 (char *) "self",(char *) "mimetype", NULL
12062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
12064 if (!SWIG_IsOK(res1
)) {
12065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHandler_SetMimeType" "', expected argument " "1"" of type '" "wxImageHandler *""'");
12067 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
12069 arg2
= wxString_in_helper(obj1
);
12070 if (arg2
== NULL
) SWIG_fail
;
12074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12075 (arg1
)->SetMimeType((wxString
const &)*arg2
);
12076 wxPyEndAllowThreads(__tstate
);
12077 if (PyErr_Occurred()) SWIG_fail
;
12079 resultobj
= SWIG_Py_Void();
12094 SWIGINTERN PyObject
*ImageHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12096 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12097 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageHandler
, SWIG_NewClientData(obj
));
12098 return SWIG_Py_Void();
12101 SWIGINTERN PyObject
*_wrap_new_PyImageHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12102 PyObject
*resultobj
= 0;
12103 wxPyImageHandler
*result
= 0 ;
12105 if (!SWIG_Python_UnpackTuple(args
,"new_PyImageHandler",0,0,0)) SWIG_fail
;
12107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12108 result
= (wxPyImageHandler
*)new wxPyImageHandler();
12109 wxPyEndAllowThreads(__tstate
);
12110 if (PyErr_Occurred()) SWIG_fail
;
12112 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyImageHandler
, SWIG_POINTER_NEW
| 0 );
12119 SWIGINTERN PyObject
*_wrap_PyImageHandler__SetSelf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12120 PyObject
*resultobj
= 0;
12121 wxPyImageHandler
*arg1
= (wxPyImageHandler
*) 0 ;
12122 PyObject
*arg2
= (PyObject
*) 0 ;
12125 PyObject
* obj0
= 0 ;
12126 PyObject
* obj1
= 0 ;
12127 char * kwnames
[] = {
12128 (char *) "self",(char *) "self", NULL
12131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyImageHandler__SetSelf",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyImageHandler
, 0 | 0 );
12133 if (!SWIG_IsOK(res1
)) {
12134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyImageHandler__SetSelf" "', expected argument " "1"" of type '" "wxPyImageHandler *""'");
12136 arg1
= reinterpret_cast< wxPyImageHandler
* >(argp1
);
12139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12140 (arg1
)->_SetSelf(arg2
);
12141 wxPyEndAllowThreads(__tstate
);
12142 if (PyErr_Occurred()) SWIG_fail
;
12144 resultobj
= SWIG_Py_Void();
12151 SWIGINTERN PyObject
*PyImageHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12153 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12154 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyImageHandler
, SWIG_NewClientData(obj
));
12155 return SWIG_Py_Void();
12158 SWIGINTERN PyObject
*PyImageHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12159 return SWIG_Python_InitShadowInstance(args
);
12162 SWIGINTERN PyObject
*_wrap_new_ImageHistogram(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12163 PyObject
*resultobj
= 0;
12164 wxImageHistogram
*result
= 0 ;
12166 if (!SWIG_Python_UnpackTuple(args
,"new_ImageHistogram",0,0,0)) SWIG_fail
;
12168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12169 result
= (wxImageHistogram
*)new wxImageHistogram();
12170 wxPyEndAllowThreads(__tstate
);
12171 if (PyErr_Occurred()) SWIG_fail
;
12173 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImageHistogram
, SWIG_POINTER_NEW
| 0 );
12180 SWIGINTERN PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12181 PyObject
*resultobj
= 0;
12185 unsigned long result
;
12186 unsigned char val1
;
12188 unsigned char val2
;
12190 unsigned char val3
;
12192 PyObject
* obj0
= 0 ;
12193 PyObject
* obj1
= 0 ;
12194 PyObject
* obj2
= 0 ;
12195 char * kwnames
[] = {
12196 (char *) "r",(char *) "g",(char *) "b", NULL
12199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12200 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
12201 if (!SWIG_IsOK(ecode1
)) {
12202 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ImageHistogram_MakeKey" "', expected argument " "1"" of type '" "byte""'");
12204 arg1
= static_cast< byte
>(val1
);
12205 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
12206 if (!SWIG_IsOK(ecode2
)) {
12207 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageHistogram_MakeKey" "', expected argument " "2"" of type '" "byte""'");
12209 arg2
= static_cast< byte
>(val2
);
12210 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
12211 if (!SWIG_IsOK(ecode3
)) {
12212 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ImageHistogram_MakeKey" "', expected argument " "3"" of type '" "byte""'");
12214 arg3
= static_cast< byte
>(val3
);
12216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12217 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
12218 wxPyEndAllowThreads(__tstate
);
12219 if (PyErr_Occurred()) SWIG_fail
;
12221 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12228 SWIGINTERN PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12229 PyObject
*resultobj
= 0;
12230 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
12231 byte
*arg2
= (byte
*) 0 ;
12232 byte
*arg3
= (byte
*) 0 ;
12233 byte
*arg4
= (byte
*) 0 ;
12234 byte arg5
= (byte
) 1 ;
12235 byte arg6
= (byte
) 0 ;
12236 byte arg7
= (byte
) 0 ;
12241 int res2
= SWIG_TMPOBJ
;
12243 int res3
= SWIG_TMPOBJ
;
12245 int res4
= SWIG_TMPOBJ
;
12246 unsigned char val5
;
12248 unsigned char val6
;
12250 unsigned char val7
;
12252 PyObject
* obj0
= 0 ;
12253 PyObject
* obj1
= 0 ;
12254 PyObject
* obj2
= 0 ;
12255 PyObject
* obj3
= 0 ;
12256 char * kwnames
[] = {
12257 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
12263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHistogram
, 0 | 0 );
12265 if (!SWIG_IsOK(res1
)) {
12266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHistogram_FindFirstUnusedColour" "', expected argument " "1"" of type '" "wxImageHistogram const *""'");
12268 arg1
= reinterpret_cast< wxImageHistogram
* >(argp1
);
12270 ecode5
= SWIG_AsVal_unsigned_SS_char(obj1
, &val5
);
12271 if (!SWIG_IsOK(ecode5
)) {
12272 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ImageHistogram_FindFirstUnusedColour" "', expected argument " "5"" of type '" "byte""'");
12274 arg5
= static_cast< byte
>(val5
);
12277 ecode6
= SWIG_AsVal_unsigned_SS_char(obj2
, &val6
);
12278 if (!SWIG_IsOK(ecode6
)) {
12279 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ImageHistogram_FindFirstUnusedColour" "', expected argument " "6"" of type '" "byte""'");
12281 arg6
= static_cast< byte
>(val6
);
12284 ecode7
= SWIG_AsVal_unsigned_SS_char(obj3
, &val7
);
12285 if (!SWIG_IsOK(ecode7
)) {
12286 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ImageHistogram_FindFirstUnusedColour" "', expected argument " "7"" of type '" "byte""'");
12288 arg7
= static_cast< byte
>(val7
);
12291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12292 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
12293 wxPyEndAllowThreads(__tstate
);
12294 if (PyErr_Occurred()) SWIG_fail
;
12297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12299 if (SWIG_IsTmpObj(res2
)) {
12300 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg2
)));
12302 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12303 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, new_flags
));
12305 if (SWIG_IsTmpObj(res3
)) {
12306 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
12308 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12309 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
12311 if (SWIG_IsTmpObj(res4
)) {
12312 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
12314 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
12315 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
12323 SWIGINTERN PyObject
*_wrap_ImageHistogram_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12324 PyObject
*resultobj
= 0;
12325 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
12326 unsigned long arg2
;
12327 unsigned long result
;
12330 unsigned long val2
;
12332 PyObject
* obj0
= 0 ;
12333 PyObject
* obj1
= 0 ;
12334 char * kwnames
[] = {
12335 (char *) "self",(char *) "key", NULL
12338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHistogram
, 0 | 0 );
12340 if (!SWIG_IsOK(res1
)) {
12341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHistogram_GetCount" "', expected argument " "1"" of type '" "wxImageHistogram *""'");
12343 arg1
= reinterpret_cast< wxImageHistogram
* >(argp1
);
12344 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
12345 if (!SWIG_IsOK(ecode2
)) {
12346 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageHistogram_GetCount" "', expected argument " "2"" of type '" "unsigned long""'");
12348 arg2
= static_cast< unsigned long >(val2
);
12350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12351 result
= (unsigned long)wxImageHistogram_GetCount(arg1
,arg2
);
12352 wxPyEndAllowThreads(__tstate
);
12353 if (PyErr_Occurred()) SWIG_fail
;
12355 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12362 SWIGINTERN PyObject
*_wrap_ImageHistogram_GetCountRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12363 PyObject
*resultobj
= 0;
12364 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
12368 unsigned long result
;
12371 unsigned char val2
;
12373 unsigned char val3
;
12375 unsigned char val4
;
12377 PyObject
* obj0
= 0 ;
12378 PyObject
* obj1
= 0 ;
12379 PyObject
* obj2
= 0 ;
12380 PyObject
* obj3
= 0 ;
12381 char * kwnames
[] = {
12382 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
12385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ImageHistogram_GetCountRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
12386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHistogram
, 0 | 0 );
12387 if (!SWIG_IsOK(res1
)) {
12388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHistogram_GetCountRGB" "', expected argument " "1"" of type '" "wxImageHistogram *""'");
12390 arg1
= reinterpret_cast< wxImageHistogram
* >(argp1
);
12391 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
12392 if (!SWIG_IsOK(ecode2
)) {
12393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ImageHistogram_GetCountRGB" "', expected argument " "2"" of type '" "byte""'");
12395 arg2
= static_cast< byte
>(val2
);
12396 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
12397 if (!SWIG_IsOK(ecode3
)) {
12398 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ImageHistogram_GetCountRGB" "', expected argument " "3"" of type '" "byte""'");
12400 arg3
= static_cast< byte
>(val3
);
12401 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
12402 if (!SWIG_IsOK(ecode4
)) {
12403 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ImageHistogram_GetCountRGB" "', expected argument " "4"" of type '" "byte""'");
12405 arg4
= static_cast< byte
>(val4
);
12407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12408 result
= (unsigned long)wxImageHistogram_GetCountRGB(arg1
,arg2
,arg3
,arg4
);
12409 wxPyEndAllowThreads(__tstate
);
12410 if (PyErr_Occurred()) SWIG_fail
;
12412 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12419 SWIGINTERN PyObject
*_wrap_ImageHistogram_GetCountColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12420 PyObject
*resultobj
= 0;
12421 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
12422 wxColour
*arg2
= 0 ;
12423 unsigned long result
;
12427 PyObject
* obj0
= 0 ;
12428 PyObject
* obj1
= 0 ;
12429 char * kwnames
[] = {
12430 (char *) "self",(char *) "colour", NULL
12433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHistogram_GetCountColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHistogram
, 0 | 0 );
12435 if (!SWIG_IsOK(res1
)) {
12436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ImageHistogram_GetCountColour" "', expected argument " "1"" of type '" "wxImageHistogram *""'");
12438 arg1
= reinterpret_cast< wxImageHistogram
* >(argp1
);
12441 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12445 result
= (unsigned long)wxImageHistogram_GetCountColour(arg1
,(wxColour
const &)*arg2
);
12446 wxPyEndAllowThreads(__tstate
);
12447 if (PyErr_Occurred()) SWIG_fail
;
12449 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
12456 SWIGINTERN PyObject
*ImageHistogram_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12458 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12459 SWIG_TypeNewClientData(SWIGTYPE_p_wxImageHistogram
, SWIG_NewClientData(obj
));
12460 return SWIG_Py_Void();
12463 SWIGINTERN PyObject
*ImageHistogram_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12464 return SWIG_Python_InitShadowInstance(args
);
12467 SWIGINTERN PyObject
*_wrap_new_Image_RGBValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12468 PyObject
*resultobj
= 0;
12469 byte arg1
= (byte
) 0 ;
12470 byte arg2
= (byte
) 0 ;
12471 byte arg3
= (byte
) 0 ;
12472 wxImage_RGBValue
*result
= 0 ;
12473 unsigned char val1
;
12475 unsigned char val2
;
12477 unsigned char val3
;
12479 PyObject
* obj0
= 0 ;
12480 PyObject
* obj1
= 0 ;
12481 PyObject
* obj2
= 0 ;
12482 char * kwnames
[] = {
12483 (char *) "r",(char *) "g",(char *) "b", NULL
12486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Image_RGBValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12488 ecode1
= SWIG_AsVal_unsigned_SS_char(obj0
, &val1
);
12489 if (!SWIG_IsOK(ecode1
)) {
12490 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Image_RGBValue" "', expected argument " "1"" of type '" "byte""'");
12492 arg1
= static_cast< byte
>(val1
);
12495 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
12496 if (!SWIG_IsOK(ecode2
)) {
12497 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Image_RGBValue" "', expected argument " "2"" of type '" "byte""'");
12499 arg2
= static_cast< byte
>(val2
);
12502 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
12503 if (!SWIG_IsOK(ecode3
)) {
12504 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Image_RGBValue" "', expected argument " "3"" of type '" "byte""'");
12506 arg3
= static_cast< byte
>(val3
);
12509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12510 result
= (wxImage_RGBValue
*)new wxImage_RGBValue(arg1
,arg2
,arg3
);
12511 wxPyEndAllowThreads(__tstate
);
12512 if (PyErr_Occurred()) SWIG_fail
;
12514 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage_RGBValue
, SWIG_POINTER_NEW
| 0 );
12521 SWIGINTERN PyObject
*_wrap_Image_RGBValue_red_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12522 PyObject
*resultobj
= 0;
12523 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
12527 unsigned char val2
;
12529 PyObject
*swig_obj
[2] ;
12531 if (!SWIG_Python_UnpackTuple(args
,"Image_RGBValue_red_set",2,2,swig_obj
)) SWIG_fail
;
12532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
12533 if (!SWIG_IsOK(res1
)) {
12534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_red_set" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
12536 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
12537 ecode2
= SWIG_AsVal_unsigned_SS_char(swig_obj
[1], &val2
);
12538 if (!SWIG_IsOK(ecode2
)) {
12539 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_RGBValue_red_set" "', expected argument " "2"" of type '" "byte""'");
12541 arg2
= static_cast< byte
>(val2
);
12542 if (arg1
) (arg1
)->red
= arg2
;
12544 resultobj
= SWIG_Py_Void();
12551 SWIGINTERN PyObject
*_wrap_Image_RGBValue_red_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12552 PyObject
*resultobj
= 0;
12553 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
12557 PyObject
*swig_obj
[1] ;
12559 if (!args
) SWIG_fail
;
12560 swig_obj
[0] = args
;
12561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
12562 if (!SWIG_IsOK(res1
)) {
12563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_red_get" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
12565 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
12566 result
= (byte
) ((arg1
)->red
);
12567 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
12574 SWIGINTERN PyObject
*_wrap_Image_RGBValue_green_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12575 PyObject
*resultobj
= 0;
12576 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
12580 unsigned char val2
;
12582 PyObject
*swig_obj
[2] ;
12584 if (!SWIG_Python_UnpackTuple(args
,"Image_RGBValue_green_set",2,2,swig_obj
)) SWIG_fail
;
12585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
12586 if (!SWIG_IsOK(res1
)) {
12587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_green_set" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
12589 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
12590 ecode2
= SWIG_AsVal_unsigned_SS_char(swig_obj
[1], &val2
);
12591 if (!SWIG_IsOK(ecode2
)) {
12592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_RGBValue_green_set" "', expected argument " "2"" of type '" "byte""'");
12594 arg2
= static_cast< byte
>(val2
);
12595 if (arg1
) (arg1
)->green
= arg2
;
12597 resultobj
= SWIG_Py_Void();
12604 SWIGINTERN PyObject
*_wrap_Image_RGBValue_green_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12605 PyObject
*resultobj
= 0;
12606 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
12610 PyObject
*swig_obj
[1] ;
12612 if (!args
) SWIG_fail
;
12613 swig_obj
[0] = args
;
12614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
12615 if (!SWIG_IsOK(res1
)) {
12616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_green_get" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
12618 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
12619 result
= (byte
) ((arg1
)->green
);
12620 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
12627 SWIGINTERN PyObject
*_wrap_Image_RGBValue_blue_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12628 PyObject
*resultobj
= 0;
12629 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
12633 unsigned char val2
;
12635 PyObject
*swig_obj
[2] ;
12637 if (!SWIG_Python_UnpackTuple(args
,"Image_RGBValue_blue_set",2,2,swig_obj
)) SWIG_fail
;
12638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
12639 if (!SWIG_IsOK(res1
)) {
12640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_blue_set" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
12642 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
12643 ecode2
= SWIG_AsVal_unsigned_SS_char(swig_obj
[1], &val2
);
12644 if (!SWIG_IsOK(ecode2
)) {
12645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_RGBValue_blue_set" "', expected argument " "2"" of type '" "byte""'");
12647 arg2
= static_cast< byte
>(val2
);
12648 if (arg1
) (arg1
)->blue
= arg2
;
12650 resultobj
= SWIG_Py_Void();
12657 SWIGINTERN PyObject
*_wrap_Image_RGBValue_blue_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12658 PyObject
*resultobj
= 0;
12659 wxImage_RGBValue
*arg1
= (wxImage_RGBValue
*) 0 ;
12663 PyObject
*swig_obj
[1] ;
12665 if (!args
) SWIG_fail
;
12666 swig_obj
[0] = args
;
12667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_RGBValue
, 0 | 0 );
12668 if (!SWIG_IsOK(res1
)) {
12669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBValue_blue_get" "', expected argument " "1"" of type '" "wxImage_RGBValue *""'");
12671 arg1
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
12672 result
= (byte
) ((arg1
)->blue
);
12673 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
12680 SWIGINTERN PyObject
*Image_RGBValue_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12682 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12683 SWIG_TypeNewClientData(SWIGTYPE_p_wxImage_RGBValue
, SWIG_NewClientData(obj
));
12684 return SWIG_Py_Void();
12687 SWIGINTERN PyObject
*Image_RGBValue_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12688 return SWIG_Python_InitShadowInstance(args
);
12691 SWIGINTERN PyObject
*_wrap_new_Image_HSVValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12692 PyObject
*resultobj
= 0;
12693 double arg1
= (double) 0.0 ;
12694 double arg2
= (double) 0.0 ;
12695 double arg3
= (double) 0.0 ;
12696 wxImage_HSVValue
*result
= 0 ;
12703 PyObject
* obj0
= 0 ;
12704 PyObject
* obj1
= 0 ;
12705 PyObject
* obj2
= 0 ;
12706 char * kwnames
[] = {
12707 (char *) "h",(char *) "s",(char *) "v", NULL
12710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_Image_HSVValue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12712 ecode1
= SWIG_AsVal_double(obj0
, &val1
);
12713 if (!SWIG_IsOK(ecode1
)) {
12714 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_Image_HSVValue" "', expected argument " "1"" of type '" "double""'");
12716 arg1
= static_cast< double >(val1
);
12719 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
12720 if (!SWIG_IsOK(ecode2
)) {
12721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Image_HSVValue" "', expected argument " "2"" of type '" "double""'");
12723 arg2
= static_cast< double >(val2
);
12726 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
12727 if (!SWIG_IsOK(ecode3
)) {
12728 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Image_HSVValue" "', expected argument " "3"" of type '" "double""'");
12730 arg3
= static_cast< double >(val3
);
12733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12734 result
= (wxImage_HSVValue
*)new wxImage_HSVValue(arg1
,arg2
,arg3
);
12735 wxPyEndAllowThreads(__tstate
);
12736 if (PyErr_Occurred()) SWIG_fail
;
12738 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage_HSVValue
, SWIG_POINTER_NEW
| 0 );
12745 SWIGINTERN PyObject
*_wrap_Image_HSVValue_hue_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12746 PyObject
*resultobj
= 0;
12747 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
12753 PyObject
*swig_obj
[2] ;
12755 if (!SWIG_Python_UnpackTuple(args
,"Image_HSVValue_hue_set",2,2,swig_obj
)) SWIG_fail
;
12756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
12757 if (!SWIG_IsOK(res1
)) {
12758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_hue_set" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
12760 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
12761 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
12762 if (!SWIG_IsOK(ecode2
)) {
12763 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_HSVValue_hue_set" "', expected argument " "2"" of type '" "double""'");
12765 arg2
= static_cast< double >(val2
);
12766 if (arg1
) (arg1
)->hue
= arg2
;
12768 resultobj
= SWIG_Py_Void();
12775 SWIGINTERN PyObject
*_wrap_Image_HSVValue_hue_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12776 PyObject
*resultobj
= 0;
12777 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
12781 PyObject
*swig_obj
[1] ;
12783 if (!args
) SWIG_fail
;
12784 swig_obj
[0] = args
;
12785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
12786 if (!SWIG_IsOK(res1
)) {
12787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_hue_get" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
12789 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
12790 result
= (double) ((arg1
)->hue
);
12791 resultobj
= SWIG_From_double(static_cast< double >(result
));
12798 SWIGINTERN PyObject
*_wrap_Image_HSVValue_saturation_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12799 PyObject
*resultobj
= 0;
12800 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
12806 PyObject
*swig_obj
[2] ;
12808 if (!SWIG_Python_UnpackTuple(args
,"Image_HSVValue_saturation_set",2,2,swig_obj
)) SWIG_fail
;
12809 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
12810 if (!SWIG_IsOK(res1
)) {
12811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_saturation_set" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
12813 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
12814 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
12815 if (!SWIG_IsOK(ecode2
)) {
12816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_HSVValue_saturation_set" "', expected argument " "2"" of type '" "double""'");
12818 arg2
= static_cast< double >(val2
);
12819 if (arg1
) (arg1
)->saturation
= arg2
;
12821 resultobj
= SWIG_Py_Void();
12828 SWIGINTERN PyObject
*_wrap_Image_HSVValue_saturation_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12829 PyObject
*resultobj
= 0;
12830 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
12834 PyObject
*swig_obj
[1] ;
12836 if (!args
) SWIG_fail
;
12837 swig_obj
[0] = args
;
12838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
12839 if (!SWIG_IsOK(res1
)) {
12840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_saturation_get" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
12842 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
12843 result
= (double) ((arg1
)->saturation
);
12844 resultobj
= SWIG_From_double(static_cast< double >(result
));
12851 SWIGINTERN PyObject
*_wrap_Image_HSVValue_value_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12852 PyObject
*resultobj
= 0;
12853 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
12859 PyObject
*swig_obj
[2] ;
12861 if (!SWIG_Python_UnpackTuple(args
,"Image_HSVValue_value_set",2,2,swig_obj
)) SWIG_fail
;
12862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
12863 if (!SWIG_IsOK(res1
)) {
12864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_value_set" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
12866 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
12867 ecode2
= SWIG_AsVal_double(swig_obj
[1], &val2
);
12868 if (!SWIG_IsOK(ecode2
)) {
12869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_HSVValue_value_set" "', expected argument " "2"" of type '" "double""'");
12871 arg2
= static_cast< double >(val2
);
12872 if (arg1
) (arg1
)->value
= arg2
;
12874 resultobj
= SWIG_Py_Void();
12881 SWIGINTERN PyObject
*_wrap_Image_HSVValue_value_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12882 PyObject
*resultobj
= 0;
12883 wxImage_HSVValue
*arg1
= (wxImage_HSVValue
*) 0 ;
12887 PyObject
*swig_obj
[1] ;
12889 if (!args
) SWIG_fail
;
12890 swig_obj
[0] = args
;
12891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage_HSVValue
, 0 | 0 );
12892 if (!SWIG_IsOK(res1
)) {
12893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVValue_value_get" "', expected argument " "1"" of type '" "wxImage_HSVValue *""'");
12895 arg1
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
12896 result
= (double) ((arg1
)->value
);
12897 resultobj
= SWIG_From_double(static_cast< double >(result
));
12904 SWIGINTERN PyObject
*Image_HSVValue_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12906 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12907 SWIG_TypeNewClientData(SWIGTYPE_p_wxImage_HSVValue
, SWIG_NewClientData(obj
));
12908 return SWIG_Py_Void();
12911 SWIGINTERN PyObject
*Image_HSVValue_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12912 return SWIG_Python_InitShadowInstance(args
);
12915 SWIGINTERN PyObject
*_wrap_new_Image(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12916 PyObject
*resultobj
= 0;
12917 wxString
*arg1
= 0 ;
12918 long arg2
= (long) wxBITMAP_TYPE_ANY
;
12919 int arg3
= (int) -1 ;
12920 wxImage
*result
= 0 ;
12921 bool temp1
= false ;
12926 PyObject
* obj0
= 0 ;
12927 PyObject
* obj1
= 0 ;
12928 PyObject
* obj2
= 0 ;
12929 char * kwnames
[] = {
12930 (char *) "name",(char *) "type",(char *) "index", NULL
12933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12935 arg1
= wxString_in_helper(obj0
);
12936 if (arg1
== NULL
) SWIG_fail
;
12940 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
12941 if (!SWIG_IsOK(ecode2
)) {
12942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Image" "', expected argument " "2"" of type '" "long""'");
12944 arg2
= static_cast< long >(val2
);
12947 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12948 if (!SWIG_IsOK(ecode3
)) {
12949 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_Image" "', expected argument " "3"" of type '" "int""'");
12951 arg3
= static_cast< int >(val3
);
12954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12955 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
12956 wxPyEndAllowThreads(__tstate
);
12957 if (PyErr_Occurred()) SWIG_fail
;
12959 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_NEW
| 0 );
12974 SWIGINTERN PyObject
*_wrap_delete_Image(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12975 PyObject
*resultobj
= 0;
12976 wxImage
*arg1
= (wxImage
*) 0 ;
12979 PyObject
*swig_obj
[1] ;
12981 if (!args
) SWIG_fail
;
12982 swig_obj
[0] = args
;
12983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, SWIG_POINTER_DISOWN
| 0 );
12984 if (!SWIG_IsOK(res1
)) {
12985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Image" "', expected argument " "1"" of type '" "wxImage *""'");
12987 arg1
= reinterpret_cast< wxImage
* >(argp1
);
12989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12992 wxPyEndAllowThreads(__tstate
);
12993 if (PyErr_Occurred()) SWIG_fail
;
12995 resultobj
= SWIG_Py_Void();
13002 SWIGINTERN PyObject
*_wrap_new_ImageFromMime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13003 PyObject
*resultobj
= 0;
13004 wxString
*arg1
= 0 ;
13005 wxString
*arg2
= 0 ;
13006 int arg3
= (int) -1 ;
13007 wxImage
*result
= 0 ;
13008 bool temp1
= false ;
13009 bool temp2
= false ;
13012 PyObject
* obj0
= 0 ;
13013 PyObject
* obj1
= 0 ;
13014 PyObject
* obj2
= 0 ;
13015 char * kwnames
[] = {
13016 (char *) "name",(char *) "mimetype",(char *) "index", NULL
13019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13021 arg1
= wxString_in_helper(obj0
);
13022 if (arg1
== NULL
) SWIG_fail
;
13026 arg2
= wxString_in_helper(obj1
);
13027 if (arg2
== NULL
) SWIG_fail
;
13031 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13032 if (!SWIG_IsOK(ecode3
)) {
13033 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageFromMime" "', expected argument " "3"" of type '" "int""'");
13035 arg3
= static_cast< int >(val3
);
13038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13039 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
13040 wxPyEndAllowThreads(__tstate
);
13041 if (PyErr_Occurred()) SWIG_fail
;
13043 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13066 SWIGINTERN PyObject
*_wrap_new_ImageFromStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13067 PyObject
*resultobj
= 0;
13068 wxInputStream
*arg1
= 0 ;
13069 long arg2
= (long) wxBITMAP_TYPE_ANY
;
13070 int arg3
= (int) -1 ;
13071 wxImage
*result
= 0 ;
13072 wxPyInputStream
*temp1
;
13078 PyObject
* obj0
= 0 ;
13079 PyObject
* obj1
= 0 ;
13080 PyObject
* obj2
= 0 ;
13081 char * kwnames
[] = {
13082 (char *) "stream",(char *) "type",(char *) "index", NULL
13085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13087 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
13088 arg1
= temp1
->m_wxis
;
13091 PyErr_Clear(); // clear the failure of the wxPyConvert above
13092 arg1
= wxPyCBInputStream_create(obj0
, false);
13093 if (arg1
== NULL
) {
13094 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
13101 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
13102 if (!SWIG_IsOK(ecode2
)) {
13103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageFromStream" "', expected argument " "2"" of type '" "long""'");
13105 arg2
= static_cast< long >(val2
);
13108 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13109 if (!SWIG_IsOK(ecode3
)) {
13110 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageFromStream" "', expected argument " "3"" of type '" "int""'");
13112 arg3
= static_cast< int >(val3
);
13115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13116 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
13117 wxPyEndAllowThreads(__tstate
);
13118 if (PyErr_Occurred()) SWIG_fail
;
13120 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13122 if (created1
) delete arg1
;
13127 if (created1
) delete arg1
;
13133 SWIGINTERN PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13134 PyObject
*resultobj
= 0;
13135 wxInputStream
*arg1
= 0 ;
13136 wxString
*arg2
= 0 ;
13137 int arg3
= (int) -1 ;
13138 wxImage
*result
= 0 ;
13139 wxPyInputStream
*temp1
;
13141 bool temp2
= false ;
13144 PyObject
* obj0
= 0 ;
13145 PyObject
* obj1
= 0 ;
13146 PyObject
* obj2
= 0 ;
13147 char * kwnames
[] = {
13148 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
13151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13153 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
13154 arg1
= temp1
->m_wxis
;
13157 PyErr_Clear(); // clear the failure of the wxPyConvert above
13158 arg1
= wxPyCBInputStream_create(obj0
, false);
13159 if (arg1
== NULL
) {
13160 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
13167 arg2
= wxString_in_helper(obj1
);
13168 if (arg2
== NULL
) SWIG_fail
;
13172 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13173 if (!SWIG_IsOK(ecode3
)) {
13174 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ImageFromStreamMime" "', expected argument " "3"" of type '" "int""'");
13176 arg3
= static_cast< int >(val3
);
13179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13180 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
13181 wxPyEndAllowThreads(__tstate
);
13182 if (PyErr_Occurred()) SWIG_fail
;
13184 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13186 if (created1
) delete arg1
;
13195 if (created1
) delete arg1
;
13205 SWIGINTERN PyObject
*_wrap_new_EmptyImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13206 PyObject
*resultobj
= 0;
13207 int arg1
= (int) 0 ;
13208 int arg2
= (int) 0 ;
13209 bool arg3
= (bool) true ;
13210 wxImage
*result
= 0 ;
13217 PyObject
* obj0
= 0 ;
13218 PyObject
* obj1
= 0 ;
13219 PyObject
* obj2
= 0 ;
13220 char * kwnames
[] = {
13221 (char *) "width",(char *) "height",(char *) "clear", NULL
13224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13226 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13227 if (!SWIG_IsOK(ecode1
)) {
13228 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EmptyImage" "', expected argument " "1"" of type '" "int""'");
13230 arg1
= static_cast< int >(val1
);
13233 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13234 if (!SWIG_IsOK(ecode2
)) {
13235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_EmptyImage" "', expected argument " "2"" of type '" "int""'");
13237 arg2
= static_cast< int >(val2
);
13240 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13241 if (!SWIG_IsOK(ecode3
)) {
13242 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_EmptyImage" "', expected argument " "3"" of type '" "bool""'");
13244 arg3
= static_cast< bool >(val3
);
13247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13248 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
13249 wxPyEndAllowThreads(__tstate
);
13250 if (PyErr_Occurred()) SWIG_fail
;
13252 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13259 SWIGINTERN PyObject
*_wrap_new_ImageFromBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13260 PyObject
*resultobj
= 0;
13261 wxBitmap
*arg1
= 0 ;
13262 wxImage
*result
= 0 ;
13265 PyObject
* obj0
= 0 ;
13266 char * kwnames
[] = {
13267 (char *) "bitmap", NULL
13270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) SWIG_fail
;
13271 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
13272 if (!SWIG_IsOK(res1
)) {
13273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ImageFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
13276 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_ImageFromBitmap" "', expected argument " "1"" of type '" "wxBitmap const &""'");
13278 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
13280 if (!wxPyCheckForApp()) SWIG_fail
;
13281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13282 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
13283 wxPyEndAllowThreads(__tstate
);
13284 if (PyErr_Occurred()) SWIG_fail
;
13286 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13293 SWIGINTERN PyObject
*_wrap_new_ImageFromData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13294 PyObject
*resultobj
= 0;
13299 wxImage
*result
= 0 ;
13304 PyObject
* obj0
= 0 ;
13305 PyObject
* obj1
= 0 ;
13306 PyObject
* obj2
= 0 ;
13307 char * kwnames
[] = {
13308 (char *) "width",(char *) "height",(char *) "data", NULL
13311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13312 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13313 if (!SWIG_IsOK(ecode1
)) {
13314 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageFromData" "', expected argument " "1"" of type '" "int""'");
13316 arg1
= static_cast< int >(val1
);
13317 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13318 if (!SWIG_IsOK(ecode2
)) {
13319 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageFromData" "', expected argument " "2"" of type '" "int""'");
13321 arg2
= static_cast< int >(val2
);
13323 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
13326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13327 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
);
13328 wxPyEndAllowThreads(__tstate
);
13329 if (PyErr_Occurred()) SWIG_fail
;
13331 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13338 SWIGINTERN PyObject
*_wrap_new_ImageFromDataWithAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13339 PyObject
*resultobj
= 0;
13346 wxImage
*result
= 0 ;
13351 PyObject
* obj0
= 0 ;
13352 PyObject
* obj1
= 0 ;
13353 PyObject
* obj2
= 0 ;
13354 PyObject
* obj3
= 0 ;
13355 char * kwnames
[] = {
13356 (char *) "width",(char *) "height",(char *) "data",(char *) "alpha", NULL
13359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_ImageFromDataWithAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13360 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
13361 if (!SWIG_IsOK(ecode1
)) {
13362 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ImageFromDataWithAlpha" "', expected argument " "1"" of type '" "int""'");
13364 arg1
= static_cast< int >(val1
);
13365 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13366 if (!SWIG_IsOK(ecode2
)) {
13367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ImageFromDataWithAlpha" "', expected argument " "2"" of type '" "int""'");
13369 arg2
= static_cast< int >(val2
);
13371 if (!PyArg_Parse(obj2
, "t#", &arg3
, &arg4
)) SWIG_fail
;
13374 if (!PyArg_Parse(obj3
, "t#", &arg5
, &arg6
)) SWIG_fail
;
13377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13378 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
13379 wxPyEndAllowThreads(__tstate
);
13380 if (PyErr_Occurred()) SWIG_fail
;
13382 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13389 SWIGINTERN PyObject
*_wrap_Image_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13390 PyObject
*resultobj
= 0;
13391 wxImage
*arg1
= (wxImage
*) 0 ;
13394 bool arg4
= (bool) true ;
13403 PyObject
* obj0
= 0 ;
13404 PyObject
* obj1
= 0 ;
13405 PyObject
* obj2
= 0 ;
13406 PyObject
* obj3
= 0 ;
13407 char * kwnames
[] = {
13408 (char *) "self",(char *) "width",(char *) "height",(char *) "clear", NULL
13411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) 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_Create" "', expected argument " "1"" of type '" "wxImage *""'");
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_Create" "', 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_Create" "', expected argument " "3"" of type '" "int""'");
13426 arg3
= static_cast< int >(val3
);
13428 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
13429 if (!SWIG_IsOK(ecode4
)) {
13430 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Create" "', expected argument " "4"" of type '" "bool""'");
13432 arg4
= static_cast< bool >(val4
);
13435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13436 (arg1
)->Create(arg2
,arg3
,arg4
);
13437 wxPyEndAllowThreads(__tstate
);
13438 if (PyErr_Occurred()) SWIG_fail
;
13440 resultobj
= SWIG_Py_Void();
13447 SWIGINTERN PyObject
*_wrap_Image_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13448 PyObject
*resultobj
= 0;
13449 wxImage
*arg1
= (wxImage
*) 0 ;
13452 PyObject
*swig_obj
[1] ;
13454 if (!args
) SWIG_fail
;
13455 swig_obj
[0] = args
;
13456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13457 if (!SWIG_IsOK(res1
)) {
13458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Destroy" "', expected argument " "1"" of type '" "wxImage *""'");
13460 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13464 wxPyEndAllowThreads(__tstate
);
13465 if (PyErr_Occurred()) SWIG_fail
;
13467 resultobj
= SWIG_Py_Void();
13474 SWIGINTERN PyObject
*_wrap_Image_Scale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13475 PyObject
*resultobj
= 0;
13476 wxImage
*arg1
= (wxImage
*) 0 ;
13479 SwigValueWrapper
<wxImage
> result
;
13486 PyObject
* obj0
= 0 ;
13487 PyObject
* obj1
= 0 ;
13488 PyObject
* obj2
= 0 ;
13489 char * kwnames
[] = {
13490 (char *) "self",(char *) "width",(char *) "height", NULL
13493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13495 if (!SWIG_IsOK(res1
)) {
13496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Scale" "', expected argument " "1"" of type '" "wxImage *""'");
13498 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13499 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13500 if (!SWIG_IsOK(ecode2
)) {
13501 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Scale" "', expected argument " "2"" of type '" "int""'");
13503 arg2
= static_cast< int >(val2
);
13504 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13505 if (!SWIG_IsOK(ecode3
)) {
13506 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_Scale" "', expected argument " "3"" of type '" "int""'");
13508 arg3
= static_cast< int >(val3
);
13510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13511 result
= (arg1
)->Scale(arg2
,arg3
);
13512 wxPyEndAllowThreads(__tstate
);
13513 if (PyErr_Occurred()) SWIG_fail
;
13515 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13522 SWIGINTERN PyObject
*_wrap_Image_ShrinkBy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13523 PyObject
*resultobj
= 0;
13524 wxImage
*arg1
= (wxImage
*) 0 ;
13527 SwigValueWrapper
<wxImage
> result
;
13534 PyObject
* obj0
= 0 ;
13535 PyObject
* obj1
= 0 ;
13536 PyObject
* obj2
= 0 ;
13537 char * kwnames
[] = {
13538 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
13541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13543 if (!SWIG_IsOK(res1
)) {
13544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ShrinkBy" "', expected argument " "1"" of type '" "wxImage const *""'");
13546 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13547 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13548 if (!SWIG_IsOK(ecode2
)) {
13549 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ShrinkBy" "', expected argument " "2"" of type '" "int""'");
13551 arg2
= static_cast< int >(val2
);
13552 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13553 if (!SWIG_IsOK(ecode3
)) {
13554 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ShrinkBy" "', expected argument " "3"" of type '" "int""'");
13556 arg3
= static_cast< int >(val3
);
13558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13559 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
13560 wxPyEndAllowThreads(__tstate
);
13561 if (PyErr_Occurred()) SWIG_fail
;
13563 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
13570 SWIGINTERN PyObject
*_wrap_Image_Rescale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13571 PyObject
*resultobj
= 0;
13572 wxImage
*arg1
= (wxImage
*) 0 ;
13575 wxImage
*result
= 0 ;
13582 PyObject
* obj0
= 0 ;
13583 PyObject
* obj1
= 0 ;
13584 PyObject
* obj2
= 0 ;
13585 char * kwnames
[] = {
13586 (char *) "self",(char *) "width",(char *) "height", NULL
13589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13591 if (!SWIG_IsOK(res1
)) {
13592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Rescale" "', expected argument " "1"" of type '" "wxImage *""'");
13594 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13595 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13596 if (!SWIG_IsOK(ecode2
)) {
13597 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Rescale" "', expected argument " "2"" of type '" "int""'");
13599 arg2
= static_cast< int >(val2
);
13600 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13601 if (!SWIG_IsOK(ecode3
)) {
13602 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_Rescale" "', expected argument " "3"" of type '" "int""'");
13604 arg3
= static_cast< int >(val3
);
13606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13608 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
13609 result
= (wxImage
*) &_result_ref
;
13611 wxPyEndAllowThreads(__tstate
);
13612 if (PyErr_Occurred()) SWIG_fail
;
13614 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, 0 | 0 );
13621 SWIGINTERN PyObject
*_wrap_Image_Resize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13622 PyObject
*resultobj
= 0;
13623 wxImage
*arg1
= (wxImage
*) 0 ;
13625 wxPoint
*arg3
= 0 ;
13626 int arg4
= (int) -1 ;
13627 int arg5
= (int) -1 ;
13628 int arg6
= (int) -1 ;
13629 wxImage
*result
= 0 ;
13640 PyObject
* obj0
= 0 ;
13641 PyObject
* obj1
= 0 ;
13642 PyObject
* obj2
= 0 ;
13643 PyObject
* obj3
= 0 ;
13644 PyObject
* obj4
= 0 ;
13645 PyObject
* obj5
= 0 ;
13646 char * kwnames
[] = {
13647 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
13650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Resize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13652 if (!SWIG_IsOK(res1
)) {
13653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Resize" "', expected argument " "1"" of type '" "wxImage *""'");
13655 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13658 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
13662 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13665 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
13666 if (!SWIG_IsOK(ecode4
)) {
13667 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Resize" "', expected argument " "4"" of type '" "int""'");
13669 arg4
= static_cast< int >(val4
);
13672 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
13673 if (!SWIG_IsOK(ecode5
)) {
13674 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_Resize" "', expected argument " "5"" of type '" "int""'");
13676 arg5
= static_cast< int >(val5
);
13679 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
13680 if (!SWIG_IsOK(ecode6
)) {
13681 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Image_Resize" "', expected argument " "6"" of type '" "int""'");
13683 arg6
= static_cast< int >(val6
);
13686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13688 wxImage
&_result_ref
= (arg1
)->Resize((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
13689 result
= (wxImage
*) &_result_ref
;
13691 wxPyEndAllowThreads(__tstate
);
13692 if (PyErr_Occurred()) SWIG_fail
;
13694 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxImage
, 0 | 0 );
13701 SWIGINTERN PyObject
*_wrap_Image_SetRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13702 PyObject
*resultobj
= 0;
13703 wxImage
*arg1
= (wxImage
*) 0 ;
13715 unsigned char val4
;
13717 unsigned char val5
;
13719 unsigned char val6
;
13721 PyObject
* obj0
= 0 ;
13722 PyObject
* obj1
= 0 ;
13723 PyObject
* obj2
= 0 ;
13724 PyObject
* obj3
= 0 ;
13725 PyObject
* obj4
= 0 ;
13726 PyObject
* obj5
= 0 ;
13727 char * kwnames
[] = {
13728 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
13731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13733 if (!SWIG_IsOK(res1
)) {
13734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetRGB" "', expected argument " "1"" of type '" "wxImage *""'");
13736 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13737 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13738 if (!SWIG_IsOK(ecode2
)) {
13739 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_SetRGB" "', expected argument " "2"" of type '" "int""'");
13741 arg2
= static_cast< int >(val2
);
13742 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13743 if (!SWIG_IsOK(ecode3
)) {
13744 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetRGB" "', expected argument " "3"" of type '" "int""'");
13746 arg3
= static_cast< int >(val3
);
13747 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
13748 if (!SWIG_IsOK(ecode4
)) {
13749 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_SetRGB" "', expected argument " "4"" of type '" "byte""'");
13751 arg4
= static_cast< byte
>(val4
);
13752 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
13753 if (!SWIG_IsOK(ecode5
)) {
13754 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_SetRGB" "', expected argument " "5"" of type '" "byte""'");
13756 arg5
= static_cast< byte
>(val5
);
13757 ecode6
= SWIG_AsVal_unsigned_SS_char(obj5
, &val6
);
13758 if (!SWIG_IsOK(ecode6
)) {
13759 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Image_SetRGB" "', expected argument " "6"" of type '" "byte""'");
13761 arg6
= static_cast< byte
>(val6
);
13763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13764 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
13765 wxPyEndAllowThreads(__tstate
);
13766 if (PyErr_Occurred()) SWIG_fail
;
13768 resultobj
= SWIG_Py_Void();
13775 SWIGINTERN PyObject
*_wrap_Image_SetRGBRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13776 PyObject
*resultobj
= 0;
13777 wxImage
*arg1
= (wxImage
*) 0 ;
13785 unsigned char val3
;
13787 unsigned char val4
;
13789 unsigned char val5
;
13791 PyObject
* obj0
= 0 ;
13792 PyObject
* obj1
= 0 ;
13793 PyObject
* obj2
= 0 ;
13794 PyObject
* obj3
= 0 ;
13795 PyObject
* obj4
= 0 ;
13796 char * kwnames
[] = {
13797 (char *) "self",(char *) "rect",(char *) "r",(char *) "g",(char *) "b", NULL
13800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetRGBRect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
13801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13802 if (!SWIG_IsOK(res1
)) {
13803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetRGBRect" "', expected argument " "1"" of type '" "wxImage *""'");
13805 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13808 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13810 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
13811 if (!SWIG_IsOK(ecode3
)) {
13812 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetRGBRect" "', expected argument " "3"" of type '" "byte""'");
13814 arg3
= static_cast< byte
>(val3
);
13815 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
13816 if (!SWIG_IsOK(ecode4
)) {
13817 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_SetRGBRect" "', expected argument " "4"" of type '" "byte""'");
13819 arg4
= static_cast< byte
>(val4
);
13820 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
13821 if (!SWIG_IsOK(ecode5
)) {
13822 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_SetRGBRect" "', expected argument " "5"" of type '" "byte""'");
13824 arg5
= static_cast< byte
>(val5
);
13826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13827 (arg1
)->SetRGB((wxRect
const &)*arg2
,arg3
,arg4
,arg5
);
13828 wxPyEndAllowThreads(__tstate
);
13829 if (PyErr_Occurred()) SWIG_fail
;
13831 resultobj
= SWIG_Py_Void();
13838 SWIGINTERN PyObject
*_wrap_Image_GetRed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13839 PyObject
*resultobj
= 0;
13840 wxImage
*arg1
= (wxImage
*) 0 ;
13850 PyObject
* obj0
= 0 ;
13851 PyObject
* obj1
= 0 ;
13852 PyObject
* obj2
= 0 ;
13853 char * kwnames
[] = {
13854 (char *) "self",(char *) "x",(char *) "y", NULL
13857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13859 if (!SWIG_IsOK(res1
)) {
13860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetRed" "', expected argument " "1"" of type '" "wxImage *""'");
13862 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13863 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13864 if (!SWIG_IsOK(ecode2
)) {
13865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_GetRed" "', expected argument " "2"" of type '" "int""'");
13867 arg2
= static_cast< int >(val2
);
13868 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13869 if (!SWIG_IsOK(ecode3
)) {
13870 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_GetRed" "', expected argument " "3"" of type '" "int""'");
13872 arg3
= static_cast< int >(val3
);
13874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13875 result
= (byte
)(arg1
)->GetRed(arg2
,arg3
);
13876 wxPyEndAllowThreads(__tstate
);
13877 if (PyErr_Occurred()) SWIG_fail
;
13879 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
13886 SWIGINTERN PyObject
*_wrap_Image_GetGreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13887 PyObject
*resultobj
= 0;
13888 wxImage
*arg1
= (wxImage
*) 0 ;
13898 PyObject
* obj0
= 0 ;
13899 PyObject
* obj1
= 0 ;
13900 PyObject
* obj2
= 0 ;
13901 char * kwnames
[] = {
13902 (char *) "self",(char *) "x",(char *) "y", NULL
13905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13907 if (!SWIG_IsOK(res1
)) {
13908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetGreen" "', expected argument " "1"" of type '" "wxImage *""'");
13910 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13911 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13912 if (!SWIG_IsOK(ecode2
)) {
13913 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_GetGreen" "', expected argument " "2"" of type '" "int""'");
13915 arg2
= static_cast< int >(val2
);
13916 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13917 if (!SWIG_IsOK(ecode3
)) {
13918 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_GetGreen" "', expected argument " "3"" of type '" "int""'");
13920 arg3
= static_cast< int >(val3
);
13922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13923 result
= (byte
)(arg1
)->GetGreen(arg2
,arg3
);
13924 wxPyEndAllowThreads(__tstate
);
13925 if (PyErr_Occurred()) SWIG_fail
;
13927 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
13934 SWIGINTERN PyObject
*_wrap_Image_GetBlue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13935 PyObject
*resultobj
= 0;
13936 wxImage
*arg1
= (wxImage
*) 0 ;
13946 PyObject
* obj0
= 0 ;
13947 PyObject
* obj1
= 0 ;
13948 PyObject
* obj2
= 0 ;
13949 char * kwnames
[] = {
13950 (char *) "self",(char *) "x",(char *) "y", NULL
13953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
13955 if (!SWIG_IsOK(res1
)) {
13956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetBlue" "', expected argument " "1"" of type '" "wxImage *""'");
13958 arg1
= reinterpret_cast< wxImage
* >(argp1
);
13959 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13960 if (!SWIG_IsOK(ecode2
)) {
13961 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_GetBlue" "', expected argument " "2"" of type '" "int""'");
13963 arg2
= static_cast< int >(val2
);
13964 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13965 if (!SWIG_IsOK(ecode3
)) {
13966 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_GetBlue" "', expected argument " "3"" of type '" "int""'");
13968 arg3
= static_cast< int >(val3
);
13970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13971 result
= (byte
)(arg1
)->GetBlue(arg2
,arg3
);
13972 wxPyEndAllowThreads(__tstate
);
13973 if (PyErr_Occurred()) SWIG_fail
;
13975 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
13982 SWIGINTERN PyObject
*_wrap_Image_SetAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13983 PyObject
*resultobj
= 0;
13984 wxImage
*arg1
= (wxImage
*) 0 ;
13994 unsigned char val4
;
13996 PyObject
* obj0
= 0 ;
13997 PyObject
* obj1
= 0 ;
13998 PyObject
* obj2
= 0 ;
13999 PyObject
* obj3
= 0 ;
14000 char * kwnames
[] = {
14001 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
14004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14006 if (!SWIG_IsOK(res1
)) {
14007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetAlpha" "', expected argument " "1"" of type '" "wxImage *""'");
14009 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14010 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14011 if (!SWIG_IsOK(ecode2
)) {
14012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_SetAlpha" "', expected argument " "2"" of type '" "int""'");
14014 arg2
= static_cast< int >(val2
);
14015 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14016 if (!SWIG_IsOK(ecode3
)) {
14017 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetAlpha" "', expected argument " "3"" of type '" "int""'");
14019 arg3
= static_cast< int >(val3
);
14020 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
14021 if (!SWIG_IsOK(ecode4
)) {
14022 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_SetAlpha" "', expected argument " "4"" of type '" "byte""'");
14024 arg4
= static_cast< byte
>(val4
);
14026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14027 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
14028 wxPyEndAllowThreads(__tstate
);
14029 if (PyErr_Occurred()) SWIG_fail
;
14031 resultobj
= SWIG_Py_Void();
14038 SWIGINTERN PyObject
*_wrap_Image_GetAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14039 PyObject
*resultobj
= 0;
14040 wxImage
*arg1
= (wxImage
*) 0 ;
14050 PyObject
* obj0
= 0 ;
14051 PyObject
* obj1
= 0 ;
14052 PyObject
* obj2
= 0 ;
14053 char * kwnames
[] = {
14054 (char *) "self",(char *) "x",(char *) "y", NULL
14057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14059 if (!SWIG_IsOK(res1
)) {
14060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetAlpha" "', expected argument " "1"" of type '" "wxImage *""'");
14062 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14063 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14064 if (!SWIG_IsOK(ecode2
)) {
14065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_GetAlpha" "', expected argument " "2"" of type '" "int""'");
14067 arg2
= static_cast< int >(val2
);
14068 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14069 if (!SWIG_IsOK(ecode3
)) {
14070 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_GetAlpha" "', expected argument " "3"" of type '" "int""'");
14072 arg3
= static_cast< int >(val3
);
14074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14075 result
= (byte
)(arg1
)->GetAlpha(arg2
,arg3
);
14076 wxPyEndAllowThreads(__tstate
);
14077 if (PyErr_Occurred()) SWIG_fail
;
14079 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
14086 SWIGINTERN PyObject
*_wrap_Image_HasAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14087 PyObject
*resultobj
= 0;
14088 wxImage
*arg1
= (wxImage
*) 0 ;
14092 PyObject
*swig_obj
[1] ;
14094 if (!args
) SWIG_fail
;
14095 swig_obj
[0] = args
;
14096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14097 if (!SWIG_IsOK(res1
)) {
14098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HasAlpha" "', expected argument " "1"" of type '" "wxImage *""'");
14100 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14103 result
= (bool)(arg1
)->HasAlpha();
14104 wxPyEndAllowThreads(__tstate
);
14105 if (PyErr_Occurred()) SWIG_fail
;
14108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14116 SWIGINTERN PyObject
*_wrap_Image_InitAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14117 PyObject
*resultobj
= 0;
14118 wxImage
*arg1
= (wxImage
*) 0 ;
14121 PyObject
*swig_obj
[1] ;
14123 if (!args
) SWIG_fail
;
14124 swig_obj
[0] = args
;
14125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14126 if (!SWIG_IsOK(res1
)) {
14127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_InitAlpha" "', expected argument " "1"" of type '" "wxImage *""'");
14129 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14132 (arg1
)->InitAlpha();
14133 wxPyEndAllowThreads(__tstate
);
14134 if (PyErr_Occurred()) SWIG_fail
;
14136 resultobj
= SWIG_Py_Void();
14143 SWIGINTERN PyObject
*_wrap_Image_IsTransparent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14144 PyObject
*resultobj
= 0;
14145 wxImage
*arg1
= (wxImage
*) 0 ;
14148 byte arg4
= (byte
) wxIMAGE_ALPHA_THRESHOLD
;
14156 unsigned char val4
;
14158 PyObject
* obj0
= 0 ;
14159 PyObject
* obj1
= 0 ;
14160 PyObject
* obj2
= 0 ;
14161 PyObject
* obj3
= 0 ;
14162 char * kwnames
[] = {
14163 (char *) "self",(char *) "x",(char *) "y",(char *) "threshold", NULL
14166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_IsTransparent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14167 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14168 if (!SWIG_IsOK(res1
)) {
14169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_IsTransparent" "', expected argument " "1"" of type '" "wxImage const *""'");
14171 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14172 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14173 if (!SWIG_IsOK(ecode2
)) {
14174 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_IsTransparent" "', expected argument " "2"" of type '" "int""'");
14176 arg2
= static_cast< int >(val2
);
14177 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14178 if (!SWIG_IsOK(ecode3
)) {
14179 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_IsTransparent" "', expected argument " "3"" of type '" "int""'");
14181 arg3
= static_cast< int >(val3
);
14183 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
14184 if (!SWIG_IsOK(ecode4
)) {
14185 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_IsTransparent" "', expected argument " "4"" of type '" "byte""'");
14187 arg4
= static_cast< byte
>(val4
);
14190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14191 result
= (bool)((wxImage
const *)arg1
)->IsTransparent(arg2
,arg3
,arg4
);
14192 wxPyEndAllowThreads(__tstate
);
14193 if (PyErr_Occurred()) SWIG_fail
;
14196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14204 SWIGINTERN PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14205 PyObject
*resultobj
= 0;
14206 wxImage
*arg1
= (wxImage
*) 0 ;
14207 byte
*arg2
= (byte
*) 0 ;
14208 byte
*arg3
= (byte
*) 0 ;
14209 byte
*arg4
= (byte
*) 0 ;
14210 byte arg5
= (byte
) 0 ;
14211 byte arg6
= (byte
) 0 ;
14212 byte arg7
= (byte
) 0 ;
14217 int res2
= SWIG_TMPOBJ
;
14219 int res3
= SWIG_TMPOBJ
;
14221 int res4
= SWIG_TMPOBJ
;
14222 unsigned char val5
;
14224 unsigned char val6
;
14226 unsigned char val7
;
14228 PyObject
* obj0
= 0 ;
14229 PyObject
* obj1
= 0 ;
14230 PyObject
* obj2
= 0 ;
14231 PyObject
* obj3
= 0 ;
14232 char * kwnames
[] = {
14233 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
14239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14241 if (!SWIG_IsOK(res1
)) {
14242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_FindFirstUnusedColour" "', expected argument " "1"" of type '" "wxImage const *""'");
14244 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14246 ecode5
= SWIG_AsVal_unsigned_SS_char(obj1
, &val5
);
14247 if (!SWIG_IsOK(ecode5
)) {
14248 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_FindFirstUnusedColour" "', expected argument " "5"" of type '" "byte""'");
14250 arg5
= static_cast< byte
>(val5
);
14253 ecode6
= SWIG_AsVal_unsigned_SS_char(obj2
, &val6
);
14254 if (!SWIG_IsOK(ecode6
)) {
14255 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Image_FindFirstUnusedColour" "', expected argument " "6"" of type '" "byte""'");
14257 arg6
= static_cast< byte
>(val6
);
14260 ecode7
= SWIG_AsVal_unsigned_SS_char(obj3
, &val7
);
14261 if (!SWIG_IsOK(ecode7
)) {
14262 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Image_FindFirstUnusedColour" "', expected argument " "7"" of type '" "byte""'");
14264 arg7
= static_cast< byte
>(val7
);
14267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14268 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
14269 wxPyEndAllowThreads(__tstate
);
14270 if (PyErr_Occurred()) SWIG_fail
;
14273 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14275 if (SWIG_IsTmpObj(res2
)) {
14276 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg2
)));
14278 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
14279 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, new_flags
));
14281 if (SWIG_IsTmpObj(res3
)) {
14282 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
14284 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
14285 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
14287 if (SWIG_IsTmpObj(res4
)) {
14288 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
14290 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
14291 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
14299 SWIGINTERN PyObject
*_wrap_Image_ConvertAlphaToMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14300 PyObject
*resultobj
= 0;
14301 wxImage
*arg1
= (wxImage
*) 0 ;
14302 byte arg2
= (byte
) wxIMAGE_ALPHA_THRESHOLD
;
14306 unsigned char val2
;
14308 PyObject
* obj0
= 0 ;
14309 PyObject
* obj1
= 0 ;
14310 char * kwnames
[] = {
14311 (char *) "self",(char *) "threshold", NULL
14314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14316 if (!SWIG_IsOK(res1
)) {
14317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertAlphaToMask" "', expected argument " "1"" of type '" "wxImage *""'");
14319 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14321 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
14322 if (!SWIG_IsOK(ecode2
)) {
14323 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertAlphaToMask" "', expected argument " "2"" of type '" "byte""'");
14325 arg2
= static_cast< byte
>(val2
);
14328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14329 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
14330 wxPyEndAllowThreads(__tstate
);
14331 if (PyErr_Occurred()) SWIG_fail
;
14334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14342 SWIGINTERN PyObject
*_wrap_Image_ConvertColourToAlpha(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14343 PyObject
*resultobj
= 0;
14344 wxImage
*arg1
= (wxImage
*) 0 ;
14351 unsigned char val2
;
14353 unsigned char val3
;
14355 unsigned char val4
;
14357 PyObject
* obj0
= 0 ;
14358 PyObject
* obj1
= 0 ;
14359 PyObject
* obj2
= 0 ;
14360 PyObject
* obj3
= 0 ;
14361 char * kwnames
[] = {
14362 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
14365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertColourToAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14367 if (!SWIG_IsOK(res1
)) {
14368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertColourToAlpha" "', expected argument " "1"" of type '" "wxImage *""'");
14370 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14371 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
14372 if (!SWIG_IsOK(ecode2
)) {
14373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertColourToAlpha" "', expected argument " "2"" of type '" "byte""'");
14375 arg2
= static_cast< byte
>(val2
);
14376 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
14377 if (!SWIG_IsOK(ecode3
)) {
14378 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ConvertColourToAlpha" "', expected argument " "3"" of type '" "byte""'");
14380 arg3
= static_cast< byte
>(val3
);
14381 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
14382 if (!SWIG_IsOK(ecode4
)) {
14383 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_ConvertColourToAlpha" "', expected argument " "4"" of type '" "byte""'");
14385 arg4
= static_cast< byte
>(val4
);
14387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14388 result
= (bool)(arg1
)->ConvertColourToAlpha(arg2
,arg3
,arg4
);
14389 wxPyEndAllowThreads(__tstate
);
14390 if (PyErr_Occurred()) SWIG_fail
;
14393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14401 SWIGINTERN PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14402 PyObject
*resultobj
= 0;
14403 wxImage
*arg1
= (wxImage
*) 0 ;
14404 wxImage
*arg2
= 0 ;
14413 unsigned char val3
;
14415 unsigned char val4
;
14417 unsigned char val5
;
14419 PyObject
* obj0
= 0 ;
14420 PyObject
* obj1
= 0 ;
14421 PyObject
* obj2
= 0 ;
14422 PyObject
* obj3
= 0 ;
14423 PyObject
* obj4
= 0 ;
14424 char * kwnames
[] = {
14425 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
14428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
14429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14430 if (!SWIG_IsOK(res1
)) {
14431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetMaskFromImage" "', expected argument " "1"" of type '" "wxImage *""'");
14433 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14434 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
, 0 | 0);
14435 if (!SWIG_IsOK(res2
)) {
14436 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Image_SetMaskFromImage" "', expected argument " "2"" of type '" "wxImage const &""'");
14439 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Image_SetMaskFromImage" "', expected argument " "2"" of type '" "wxImage const &""'");
14441 arg2
= reinterpret_cast< wxImage
* >(argp2
);
14442 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
14443 if (!SWIG_IsOK(ecode3
)) {
14444 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetMaskFromImage" "', expected argument " "3"" of type '" "byte""'");
14446 arg3
= static_cast< byte
>(val3
);
14447 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
14448 if (!SWIG_IsOK(ecode4
)) {
14449 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_SetMaskFromImage" "', expected argument " "4"" of type '" "byte""'");
14451 arg4
= static_cast< byte
>(val4
);
14452 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
14453 if (!SWIG_IsOK(ecode5
)) {
14454 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_SetMaskFromImage" "', expected argument " "5"" of type '" "byte""'");
14456 arg5
= static_cast< byte
>(val5
);
14458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14459 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
14460 wxPyEndAllowThreads(__tstate
);
14461 if (PyErr_Occurred()) SWIG_fail
;
14464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14472 SWIGINTERN PyObject
*_wrap_Image_CanRead(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14473 PyObject
*resultobj
= 0;
14474 wxString
*arg1
= 0 ;
14476 bool temp1
= false ;
14477 PyObject
* obj0
= 0 ;
14478 char * kwnames
[] = {
14479 (char *) "filename", NULL
14482 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) SWIG_fail
;
14484 arg1
= wxString_in_helper(obj0
);
14485 if (arg1
== NULL
) SWIG_fail
;
14489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14490 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
14491 wxPyEndAllowThreads(__tstate
);
14492 if (PyErr_Occurred()) SWIG_fail
;
14495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14511 SWIGINTERN PyObject
*_wrap_Image_GetImageCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14512 PyObject
*resultobj
= 0;
14513 wxString
*arg1
= 0 ;
14514 long arg2
= (long) wxBITMAP_TYPE_ANY
;
14516 bool temp1
= false ;
14519 PyObject
* obj0
= 0 ;
14520 PyObject
* obj1
= 0 ;
14521 char * kwnames
[] = {
14522 (char *) "filename",(char *) "type", NULL
14525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14527 arg1
= wxString_in_helper(obj0
);
14528 if (arg1
== NULL
) SWIG_fail
;
14532 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
14533 if (!SWIG_IsOK(ecode2
)) {
14534 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_GetImageCount" "', expected argument " "2"" of type '" "long""'");
14536 arg2
= static_cast< long >(val2
);
14539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14540 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
14541 wxPyEndAllowThreads(__tstate
);
14542 if (PyErr_Occurred()) SWIG_fail
;
14544 resultobj
= SWIG_From_int(static_cast< int >(result
));
14559 SWIGINTERN PyObject
*_wrap_Image_LoadFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14560 PyObject
*resultobj
= 0;
14561 wxImage
*arg1
= (wxImage
*) 0 ;
14562 wxString
*arg2
= 0 ;
14563 long arg3
= (long) wxBITMAP_TYPE_ANY
;
14564 int arg4
= (int) -1 ;
14568 bool temp2
= false ;
14573 PyObject
* obj0
= 0 ;
14574 PyObject
* obj1
= 0 ;
14575 PyObject
* obj2
= 0 ;
14576 PyObject
* obj3
= 0 ;
14577 char * kwnames
[] = {
14578 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
14581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14583 if (!SWIG_IsOK(res1
)) {
14584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_LoadFile" "', expected argument " "1"" of type '" "wxImage *""'");
14586 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14588 arg2
= wxString_in_helper(obj1
);
14589 if (arg2
== NULL
) SWIG_fail
;
14593 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14594 if (!SWIG_IsOK(ecode3
)) {
14595 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_LoadFile" "', expected argument " "3"" of type '" "long""'");
14597 arg3
= static_cast< long >(val3
);
14600 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14601 if (!SWIG_IsOK(ecode4
)) {
14602 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_LoadFile" "', expected argument " "4"" of type '" "int""'");
14604 arg4
= static_cast< int >(val4
);
14607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14608 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
14609 wxPyEndAllowThreads(__tstate
);
14610 if (PyErr_Occurred()) SWIG_fail
;
14613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14629 SWIGINTERN PyObject
*_wrap_Image_LoadMimeFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14630 PyObject
*resultobj
= 0;
14631 wxImage
*arg1
= (wxImage
*) 0 ;
14632 wxString
*arg2
= 0 ;
14633 wxString
*arg3
= 0 ;
14634 int arg4
= (int) -1 ;
14638 bool temp2
= false ;
14639 bool temp3
= false ;
14642 PyObject
* obj0
= 0 ;
14643 PyObject
* obj1
= 0 ;
14644 PyObject
* obj2
= 0 ;
14645 PyObject
* obj3
= 0 ;
14646 char * kwnames
[] = {
14647 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
14650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14652 if (!SWIG_IsOK(res1
)) {
14653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_LoadMimeFile" "', expected argument " "1"" of type '" "wxImage *""'");
14655 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14657 arg2
= wxString_in_helper(obj1
);
14658 if (arg2
== NULL
) SWIG_fail
;
14662 arg3
= wxString_in_helper(obj2
);
14663 if (arg3
== NULL
) SWIG_fail
;
14667 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14668 if (!SWIG_IsOK(ecode4
)) {
14669 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_LoadMimeFile" "', expected argument " "4"" of type '" "int""'");
14671 arg4
= static_cast< int >(val4
);
14674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14675 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
14676 wxPyEndAllowThreads(__tstate
);
14677 if (PyErr_Occurred()) SWIG_fail
;
14680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14704 SWIGINTERN PyObject
*_wrap_Image_SaveFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14705 PyObject
*resultobj
= 0;
14706 wxImage
*arg1
= (wxImage
*) 0 ;
14707 wxString
*arg2
= 0 ;
14712 bool temp2
= false ;
14715 PyObject
* obj0
= 0 ;
14716 PyObject
* obj1
= 0 ;
14717 PyObject
* obj2
= 0 ;
14718 char * kwnames
[] = {
14719 (char *) "self",(char *) "name",(char *) "type", NULL
14722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14724 if (!SWIG_IsOK(res1
)) {
14725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SaveFile" "', expected argument " "1"" of type '" "wxImage *""'");
14727 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14729 arg2
= wxString_in_helper(obj1
);
14730 if (arg2
== NULL
) SWIG_fail
;
14733 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14734 if (!SWIG_IsOK(ecode3
)) {
14735 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SaveFile" "', expected argument " "3"" of type '" "int""'");
14737 arg3
= static_cast< int >(val3
);
14739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14740 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
14741 wxPyEndAllowThreads(__tstate
);
14742 if (PyErr_Occurred()) SWIG_fail
;
14745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14761 SWIGINTERN PyObject
*_wrap_Image_SaveMimeFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14762 PyObject
*resultobj
= 0;
14763 wxImage
*arg1
= (wxImage
*) 0 ;
14764 wxString
*arg2
= 0 ;
14765 wxString
*arg3
= 0 ;
14769 bool temp2
= false ;
14770 bool temp3
= false ;
14771 PyObject
* obj0
= 0 ;
14772 PyObject
* obj1
= 0 ;
14773 PyObject
* obj2
= 0 ;
14774 char * kwnames
[] = {
14775 (char *) "self",(char *) "name",(char *) "mimetype", NULL
14778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14780 if (!SWIG_IsOK(res1
)) {
14781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SaveMimeFile" "', expected argument " "1"" of type '" "wxImage *""'");
14783 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14785 arg2
= wxString_in_helper(obj1
);
14786 if (arg2
== NULL
) SWIG_fail
;
14790 arg3
= wxString_in_helper(obj2
);
14791 if (arg3
== NULL
) SWIG_fail
;
14795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14796 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
14797 wxPyEndAllowThreads(__tstate
);
14798 if (PyErr_Occurred()) SWIG_fail
;
14801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14825 SWIGINTERN PyObject
*_wrap_Image_CanReadStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14826 PyObject
*resultobj
= 0;
14827 wxInputStream
*arg1
= 0 ;
14829 wxPyInputStream
*temp1
;
14831 PyObject
* obj0
= 0 ;
14832 char * kwnames
[] = {
14833 (char *) "stream", NULL
14836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) SWIG_fail
;
14838 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
14839 arg1
= temp1
->m_wxis
;
14842 PyErr_Clear(); // clear the failure of the wxPyConvert above
14843 arg1
= wxPyCBInputStream_create(obj0
, false);
14844 if (arg1
== NULL
) {
14845 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
14852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14853 result
= (bool)wxImage::CanRead(*arg1
);
14854 wxPyEndAllowThreads(__tstate
);
14855 if (PyErr_Occurred()) SWIG_fail
;
14858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14861 if (created1
) delete arg1
;
14866 if (created1
) delete arg1
;
14872 SWIGINTERN PyObject
*_wrap_Image_LoadStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14873 PyObject
*resultobj
= 0;
14874 wxImage
*arg1
= (wxImage
*) 0 ;
14875 wxInputStream
*arg2
= 0 ;
14876 long arg3
= (long) wxBITMAP_TYPE_ANY
;
14877 int arg4
= (int) -1 ;
14881 wxPyInputStream
*temp2
;
14887 PyObject
* obj0
= 0 ;
14888 PyObject
* obj1
= 0 ;
14889 PyObject
* obj2
= 0 ;
14890 PyObject
* obj3
= 0 ;
14891 char * kwnames
[] = {
14892 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
14895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14897 if (!SWIG_IsOK(res1
)) {
14898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_LoadStream" "', expected argument " "1"" of type '" "wxImage *""'");
14900 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14902 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
14903 arg2
= temp2
->m_wxis
;
14906 PyErr_Clear(); // clear the failure of the wxPyConvert above
14907 arg2
= wxPyCBInputStream_create(obj1
, false);
14908 if (arg2
== NULL
) {
14909 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
14916 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
14917 if (!SWIG_IsOK(ecode3
)) {
14918 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_LoadStream" "', expected argument " "3"" of type '" "long""'");
14920 arg3
= static_cast< long >(val3
);
14923 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14924 if (!SWIG_IsOK(ecode4
)) {
14925 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_LoadStream" "', expected argument " "4"" of type '" "int""'");
14927 arg4
= static_cast< int >(val4
);
14930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14931 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
14932 wxPyEndAllowThreads(__tstate
);
14933 if (PyErr_Occurred()) SWIG_fail
;
14936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14939 if (created2
) delete arg2
;
14944 if (created2
) delete arg2
;
14950 SWIGINTERN PyObject
*_wrap_Image_LoadMimeStream(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14951 PyObject
*resultobj
= 0;
14952 wxImage
*arg1
= (wxImage
*) 0 ;
14953 wxInputStream
*arg2
= 0 ;
14954 wxString
*arg3
= 0 ;
14955 int arg4
= (int) -1 ;
14959 wxPyInputStream
*temp2
;
14961 bool temp3
= false ;
14964 PyObject
* obj0
= 0 ;
14965 PyObject
* obj1
= 0 ;
14966 PyObject
* obj2
= 0 ;
14967 PyObject
* obj3
= 0 ;
14968 char * kwnames
[] = {
14969 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
14972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
14973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
14974 if (!SWIG_IsOK(res1
)) {
14975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_LoadMimeStream" "', expected argument " "1"" of type '" "wxImage *""'");
14977 arg1
= reinterpret_cast< wxImage
* >(argp1
);
14979 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
14980 arg2
= temp2
->m_wxis
;
14983 PyErr_Clear(); // clear the failure of the wxPyConvert above
14984 arg2
= wxPyCBInputStream_create(obj1
, false);
14985 if (arg2
== NULL
) {
14986 PyErr_SetString(PyExc_TypeError
, "Expected wx.InputStream or Python file-like object.");
14993 arg3
= wxString_in_helper(obj2
);
14994 if (arg3
== NULL
) SWIG_fail
;
14998 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
14999 if (!SWIG_IsOK(ecode4
)) {
15000 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_LoadMimeStream" "', expected argument " "4"" of type '" "int""'");
15002 arg4
= static_cast< int >(val4
);
15005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15006 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
15007 wxPyEndAllowThreads(__tstate
);
15008 if (PyErr_Occurred()) SWIG_fail
;
15011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15014 if (created2
) delete arg2
;
15023 if (created2
) delete arg2
;
15033 SWIGINTERN PyObject
*_wrap_Image_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15034 PyObject
*resultobj
= 0;
15035 wxImage
*arg1
= (wxImage
*) 0 ;
15039 PyObject
*swig_obj
[1] ;
15041 if (!args
) SWIG_fail
;
15042 swig_obj
[0] = args
;
15043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15044 if (!SWIG_IsOK(res1
)) {
15045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Ok" "', expected argument " "1"" of type '" "wxImage *""'");
15047 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15050 result
= (bool)(arg1
)->Ok();
15051 wxPyEndAllowThreads(__tstate
);
15052 if (PyErr_Occurred()) SWIG_fail
;
15055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15063 SWIGINTERN PyObject
*_wrap_Image_GetWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15064 PyObject
*resultobj
= 0;
15065 wxImage
*arg1
= (wxImage
*) 0 ;
15069 PyObject
*swig_obj
[1] ;
15071 if (!args
) SWIG_fail
;
15072 swig_obj
[0] = args
;
15073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15074 if (!SWIG_IsOK(res1
)) {
15075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetWidth" "', expected argument " "1"" of type '" "wxImage *""'");
15077 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15080 result
= (int)(arg1
)->GetWidth();
15081 wxPyEndAllowThreads(__tstate
);
15082 if (PyErr_Occurred()) SWIG_fail
;
15084 resultobj
= SWIG_From_int(static_cast< int >(result
));
15091 SWIGINTERN PyObject
*_wrap_Image_GetHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15092 PyObject
*resultobj
= 0;
15093 wxImage
*arg1
= (wxImage
*) 0 ;
15097 PyObject
*swig_obj
[1] ;
15099 if (!args
) SWIG_fail
;
15100 swig_obj
[0] = args
;
15101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15102 if (!SWIG_IsOK(res1
)) {
15103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetHeight" "', expected argument " "1"" of type '" "wxImage *""'");
15105 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15108 result
= (int)(arg1
)->GetHeight();
15109 wxPyEndAllowThreads(__tstate
);
15110 if (PyErr_Occurred()) SWIG_fail
;
15112 resultobj
= SWIG_From_int(static_cast< int >(result
));
15119 SWIGINTERN PyObject
*_wrap_Image_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15120 PyObject
*resultobj
= 0;
15121 wxImage
*arg1
= (wxImage
*) 0 ;
15125 PyObject
*swig_obj
[1] ;
15127 if (!args
) SWIG_fail
;
15128 swig_obj
[0] = args
;
15129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15130 if (!SWIG_IsOK(res1
)) {
15131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetSize" "', expected argument " "1"" of type '" "wxImage *""'");
15133 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15136 result
= wxImage_GetSize(arg1
);
15137 wxPyEndAllowThreads(__tstate
);
15138 if (PyErr_Occurred()) SWIG_fail
;
15140 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
15147 SWIGINTERN PyObject
*_wrap_Image_GetSubImage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15148 PyObject
*resultobj
= 0;
15149 wxImage
*arg1
= (wxImage
*) 0 ;
15151 SwigValueWrapper
<wxImage
> result
;
15155 PyObject
* obj0
= 0 ;
15156 PyObject
* obj1
= 0 ;
15157 char * kwnames
[] = {
15158 (char *) "self",(char *) "rect", NULL
15161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15163 if (!SWIG_IsOK(res1
)) {
15164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetSubImage" "', expected argument " "1"" of type '" "wxImage *""'");
15166 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15169 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
15172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15173 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
15174 wxPyEndAllowThreads(__tstate
);
15175 if (PyErr_Occurred()) SWIG_fail
;
15177 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15184 SWIGINTERN PyObject
*_wrap_Image_Size(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15185 PyObject
*resultobj
= 0;
15186 wxImage
*arg1
= (wxImage
*) 0 ;
15188 wxPoint
*arg3
= 0 ;
15189 int arg4
= (int) -1 ;
15190 int arg5
= (int) -1 ;
15191 int arg6
= (int) -1 ;
15192 SwigValueWrapper
<wxImage
> result
;
15203 PyObject
* obj0
= 0 ;
15204 PyObject
* obj1
= 0 ;
15205 PyObject
* obj2
= 0 ;
15206 PyObject
* obj3
= 0 ;
15207 PyObject
* obj4
= 0 ;
15208 PyObject
* obj5
= 0 ;
15209 char * kwnames
[] = {
15210 (char *) "self",(char *) "size",(char *) "pos",(char *) "r",(char *) "g",(char *) "b", NULL
15213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:Image_Size",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15215 if (!SWIG_IsOK(res1
)) {
15216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Size" "', expected argument " "1"" of type '" "wxImage const *""'");
15218 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15221 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15225 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15228 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15229 if (!SWIG_IsOK(ecode4
)) {
15230 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Size" "', expected argument " "4"" of type '" "int""'");
15232 arg4
= static_cast< int >(val4
);
15235 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
15236 if (!SWIG_IsOK(ecode5
)) {
15237 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_Size" "', expected argument " "5"" of type '" "int""'");
15239 arg5
= static_cast< int >(val5
);
15242 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
15243 if (!SWIG_IsOK(ecode6
)) {
15244 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Image_Size" "', expected argument " "6"" of type '" "int""'");
15246 arg6
= static_cast< int >(val6
);
15249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15250 result
= ((wxImage
const *)arg1
)->Size((wxSize
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
,arg6
);
15251 wxPyEndAllowThreads(__tstate
);
15252 if (PyErr_Occurred()) SWIG_fail
;
15254 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15261 SWIGINTERN PyObject
*_wrap_Image_Copy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15262 PyObject
*resultobj
= 0;
15263 wxImage
*arg1
= (wxImage
*) 0 ;
15264 SwigValueWrapper
<wxImage
> result
;
15267 PyObject
*swig_obj
[1] ;
15269 if (!args
) SWIG_fail
;
15270 swig_obj
[0] = args
;
15271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15272 if (!SWIG_IsOK(res1
)) {
15273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Copy" "', expected argument " "1"" of type '" "wxImage *""'");
15275 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15278 result
= (arg1
)->Copy();
15279 wxPyEndAllowThreads(__tstate
);
15280 if (PyErr_Occurred()) SWIG_fail
;
15282 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15289 SWIGINTERN PyObject
*_wrap_Image_Paste(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15290 PyObject
*resultobj
= 0;
15291 wxImage
*arg1
= (wxImage
*) 0 ;
15292 wxImage
*arg2
= 0 ;
15303 PyObject
* obj0
= 0 ;
15304 PyObject
* obj1
= 0 ;
15305 PyObject
* obj2
= 0 ;
15306 PyObject
* obj3
= 0 ;
15307 char * kwnames
[] = {
15308 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
15311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15313 if (!SWIG_IsOK(res1
)) {
15314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Paste" "', expected argument " "1"" of type '" "wxImage *""'");
15316 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15317 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
, 0 | 0);
15318 if (!SWIG_IsOK(res2
)) {
15319 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Image_Paste" "', expected argument " "2"" of type '" "wxImage const &""'");
15322 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Image_Paste" "', expected argument " "2"" of type '" "wxImage const &""'");
15324 arg2
= reinterpret_cast< wxImage
* >(argp2
);
15325 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15326 if (!SWIG_IsOK(ecode3
)) {
15327 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_Paste" "', expected argument " "3"" of type '" "int""'");
15329 arg3
= static_cast< int >(val3
);
15330 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15331 if (!SWIG_IsOK(ecode4
)) {
15332 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Paste" "', expected argument " "4"" of type '" "int""'");
15334 arg4
= static_cast< int >(val4
);
15336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15337 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
15338 wxPyEndAllowThreads(__tstate
);
15339 if (PyErr_Occurred()) SWIG_fail
;
15341 resultobj
= SWIG_Py_Void();
15348 SWIGINTERN PyObject
*_wrap_Image_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15349 PyObject
*resultobj
= 0;
15350 wxImage
*arg1
= (wxImage
*) 0 ;
15351 PyObject
*result
= 0 ;
15354 PyObject
*swig_obj
[1] ;
15356 if (!args
) SWIG_fail
;
15357 swig_obj
[0] = args
;
15358 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15359 if (!SWIG_IsOK(res1
)) {
15360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetData" "', expected argument " "1"" of type '" "wxImage *""'");
15362 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15365 result
= (PyObject
*)wxImage_GetData(arg1
);
15366 wxPyEndAllowThreads(__tstate
);
15367 if (PyErr_Occurred()) SWIG_fail
;
15369 resultobj
= result
;
15376 SWIGINTERN PyObject
*_wrap_Image_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15377 PyObject
*resultobj
= 0;
15378 wxImage
*arg1
= (wxImage
*) 0 ;
15383 PyObject
* obj0
= 0 ;
15384 PyObject
* obj1
= 0 ;
15385 char * kwnames
[] = {
15386 (char *) "self",(char *) "data", NULL
15389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15391 if (!SWIG_IsOK(res1
)) {
15392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetData" "', expected argument " "1"" of type '" "wxImage *""'");
15394 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15396 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
15399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15400 wxImage_SetData(arg1
,arg2
,arg3
);
15401 wxPyEndAllowThreads(__tstate
);
15402 if (PyErr_Occurred()) SWIG_fail
;
15404 resultobj
= SWIG_Py_Void();
15411 SWIGINTERN PyObject
*_wrap_Image_GetDataBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15412 PyObject
*resultobj
= 0;
15413 wxImage
*arg1
= (wxImage
*) 0 ;
15414 PyObject
*result
= 0 ;
15417 PyObject
*swig_obj
[1] ;
15419 if (!args
) SWIG_fail
;
15420 swig_obj
[0] = args
;
15421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15422 if (!SWIG_IsOK(res1
)) {
15423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetDataBuffer" "', expected argument " "1"" of type '" "wxImage *""'");
15425 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15428 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
15429 wxPyEndAllowThreads(__tstate
);
15430 if (PyErr_Occurred()) SWIG_fail
;
15432 resultobj
= result
;
15439 SWIGINTERN PyObject
*_wrap_Image_SetDataBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15440 PyObject
*resultobj
= 0;
15441 wxImage
*arg1
= (wxImage
*) 0 ;
15446 PyObject
* obj0
= 0 ;
15447 PyObject
* obj1
= 0 ;
15448 char * kwnames
[] = {
15449 (char *) "self",(char *) "data", NULL
15452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15454 if (!SWIG_IsOK(res1
)) {
15455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetDataBuffer" "', expected argument " "1"" of type '" "wxImage *""'");
15457 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15459 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
15462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15463 wxImage_SetDataBuffer(arg1
,arg2
,arg3
);
15464 wxPyEndAllowThreads(__tstate
);
15465 if (PyErr_Occurred()) SWIG_fail
;
15467 resultobj
= SWIG_Py_Void();
15474 SWIGINTERN PyObject
*_wrap_Image_GetAlphaData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15475 PyObject
*resultobj
= 0;
15476 wxImage
*arg1
= (wxImage
*) 0 ;
15477 PyObject
*result
= 0 ;
15480 PyObject
*swig_obj
[1] ;
15482 if (!args
) SWIG_fail
;
15483 swig_obj
[0] = args
;
15484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15485 if (!SWIG_IsOK(res1
)) {
15486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetAlphaData" "', expected argument " "1"" of type '" "wxImage *""'");
15488 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15491 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
15492 wxPyEndAllowThreads(__tstate
);
15493 if (PyErr_Occurred()) SWIG_fail
;
15495 resultobj
= result
;
15502 SWIGINTERN PyObject
*_wrap_Image_SetAlphaData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15503 PyObject
*resultobj
= 0;
15504 wxImage
*arg1
= (wxImage
*) 0 ;
15509 PyObject
* obj0
= 0 ;
15510 PyObject
* obj1
= 0 ;
15511 char * kwnames
[] = {
15512 (char *) "self",(char *) "alpha", NULL
15515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15517 if (!SWIG_IsOK(res1
)) {
15518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetAlphaData" "', expected argument " "1"" of type '" "wxImage *""'");
15520 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15522 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
15525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15526 wxImage_SetAlphaData(arg1
,arg2
,arg3
);
15527 wxPyEndAllowThreads(__tstate
);
15528 if (PyErr_Occurred()) SWIG_fail
;
15530 resultobj
= SWIG_Py_Void();
15537 SWIGINTERN PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15538 PyObject
*resultobj
= 0;
15539 wxImage
*arg1
= (wxImage
*) 0 ;
15540 PyObject
*result
= 0 ;
15543 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_GetAlphaBuffer" "', expected argument " "1"" of type '" "wxImage *""'");
15551 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15554 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
15555 wxPyEndAllowThreads(__tstate
);
15556 if (PyErr_Occurred()) SWIG_fail
;
15558 resultobj
= result
;
15565 SWIGINTERN PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15566 PyObject
*resultobj
= 0;
15567 wxImage
*arg1
= (wxImage
*) 0 ;
15572 PyObject
* obj0
= 0 ;
15573 PyObject
* obj1
= 0 ;
15574 char * kwnames
[] = {
15575 (char *) "self",(char *) "alpha", NULL
15578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15580 if (!SWIG_IsOK(res1
)) {
15581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetAlphaBuffer" "', expected argument " "1"" of type '" "wxImage *""'");
15583 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15585 if (!PyArg_Parse(obj1
, "t#", &arg2
, &arg3
)) SWIG_fail
;
15588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15589 wxImage_SetAlphaBuffer(arg1
,arg2
,arg3
);
15590 wxPyEndAllowThreads(__tstate
);
15591 if (PyErr_Occurred()) SWIG_fail
;
15593 resultobj
= SWIG_Py_Void();
15600 SWIGINTERN PyObject
*_wrap_Image_SetMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15601 PyObject
*resultobj
= 0;
15602 wxImage
*arg1
= (wxImage
*) 0 ;
15608 unsigned char val2
;
15610 unsigned char val3
;
15612 unsigned char val4
;
15614 PyObject
* obj0
= 0 ;
15615 PyObject
* obj1
= 0 ;
15616 PyObject
* obj2
= 0 ;
15617 PyObject
* obj3
= 0 ;
15618 char * kwnames
[] = {
15619 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
15622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15624 if (!SWIG_IsOK(res1
)) {
15625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetMaskColour" "', expected argument " "1"" of type '" "wxImage *""'");
15627 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15628 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
15629 if (!SWIG_IsOK(ecode2
)) {
15630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_SetMaskColour" "', expected argument " "2"" of type '" "byte""'");
15632 arg2
= static_cast< byte
>(val2
);
15633 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
15634 if (!SWIG_IsOK(ecode3
)) {
15635 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetMaskColour" "', expected argument " "3"" of type '" "byte""'");
15637 arg3
= static_cast< byte
>(val3
);
15638 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
15639 if (!SWIG_IsOK(ecode4
)) {
15640 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_SetMaskColour" "', expected argument " "4"" of type '" "byte""'");
15642 arg4
= static_cast< byte
>(val4
);
15644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15645 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
15646 wxPyEndAllowThreads(__tstate
);
15647 if (PyErr_Occurred()) SWIG_fail
;
15649 resultobj
= SWIG_Py_Void();
15656 SWIGINTERN PyObject
*_wrap_Image_GetOrFindMaskColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15657 PyObject
*resultobj
= 0;
15658 wxImage
*arg1
= (wxImage
*) 0 ;
15659 byte
*arg2
= (byte
*) 0 ;
15660 byte
*arg3
= (byte
*) 0 ;
15661 byte
*arg4
= (byte
*) 0 ;
15665 int res2
= SWIG_TMPOBJ
;
15667 int res3
= SWIG_TMPOBJ
;
15669 int res4
= SWIG_TMPOBJ
;
15670 PyObject
*swig_obj
[1] ;
15675 if (!args
) SWIG_fail
;
15676 swig_obj
[0] = args
;
15677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15678 if (!SWIG_IsOK(res1
)) {
15679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetOrFindMaskColour" "', expected argument " "1"" of type '" "wxImage const *""'");
15681 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15684 ((wxImage
const *)arg1
)->GetOrFindMaskColour(arg2
,arg3
,arg4
);
15685 wxPyEndAllowThreads(__tstate
);
15686 if (PyErr_Occurred()) SWIG_fail
;
15688 resultobj
= SWIG_Py_Void();
15689 if (SWIG_IsTmpObj(res2
)) {
15690 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg2
)));
15692 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
15693 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_unsigned_char
, new_flags
));
15695 if (SWIG_IsTmpObj(res3
)) {
15696 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg3
)));
15698 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
15699 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_unsigned_char
, new_flags
));
15701 if (SWIG_IsTmpObj(res4
)) {
15702 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_unsigned_SS_char((*arg4
)));
15704 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
15705 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_unsigned_char
, new_flags
));
15713 SWIGINTERN PyObject
*_wrap_Image_GetMaskRed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15714 PyObject
*resultobj
= 0;
15715 wxImage
*arg1
= (wxImage
*) 0 ;
15719 PyObject
*swig_obj
[1] ;
15721 if (!args
) SWIG_fail
;
15722 swig_obj
[0] = args
;
15723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15724 if (!SWIG_IsOK(res1
)) {
15725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetMaskRed" "', expected argument " "1"" of type '" "wxImage *""'");
15727 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15730 result
= (byte
)(arg1
)->GetMaskRed();
15731 wxPyEndAllowThreads(__tstate
);
15732 if (PyErr_Occurred()) SWIG_fail
;
15734 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
15741 SWIGINTERN PyObject
*_wrap_Image_GetMaskGreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15742 PyObject
*resultobj
= 0;
15743 wxImage
*arg1
= (wxImage
*) 0 ;
15747 PyObject
*swig_obj
[1] ;
15749 if (!args
) SWIG_fail
;
15750 swig_obj
[0] = args
;
15751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15752 if (!SWIG_IsOK(res1
)) {
15753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetMaskGreen" "', expected argument " "1"" of type '" "wxImage *""'");
15755 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15758 result
= (byte
)(arg1
)->GetMaskGreen();
15759 wxPyEndAllowThreads(__tstate
);
15760 if (PyErr_Occurred()) SWIG_fail
;
15762 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
15769 SWIGINTERN PyObject
*_wrap_Image_GetMaskBlue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15770 PyObject
*resultobj
= 0;
15771 wxImage
*arg1
= (wxImage
*) 0 ;
15775 PyObject
*swig_obj
[1] ;
15777 if (!args
) SWIG_fail
;
15778 swig_obj
[0] = args
;
15779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15780 if (!SWIG_IsOK(res1
)) {
15781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetMaskBlue" "', expected argument " "1"" of type '" "wxImage *""'");
15783 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15786 result
= (byte
)(arg1
)->GetMaskBlue();
15787 wxPyEndAllowThreads(__tstate
);
15788 if (PyErr_Occurred()) SWIG_fail
;
15790 resultobj
= SWIG_From_unsigned_SS_char(static_cast< unsigned char >(result
));
15797 SWIGINTERN PyObject
*_wrap_Image_SetMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15798 PyObject
*resultobj
= 0;
15799 wxImage
*arg1
= (wxImage
*) 0 ;
15800 bool arg2
= (bool) true ;
15805 PyObject
* obj0
= 0 ;
15806 PyObject
* obj1
= 0 ;
15807 char * kwnames
[] = {
15808 (char *) "self",(char *) "mask", NULL
15811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15813 if (!SWIG_IsOK(res1
)) {
15814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetMask" "', expected argument " "1"" of type '" "wxImage *""'");
15816 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15818 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15819 if (!SWIG_IsOK(ecode2
)) {
15820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_SetMask" "', expected argument " "2"" of type '" "bool""'");
15822 arg2
= static_cast< bool >(val2
);
15825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15826 (arg1
)->SetMask(arg2
);
15827 wxPyEndAllowThreads(__tstate
);
15828 if (PyErr_Occurred()) SWIG_fail
;
15830 resultobj
= SWIG_Py_Void();
15837 SWIGINTERN PyObject
*_wrap_Image_HasMask(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15838 PyObject
*resultobj
= 0;
15839 wxImage
*arg1
= (wxImage
*) 0 ;
15843 PyObject
*swig_obj
[1] ;
15845 if (!args
) SWIG_fail
;
15846 swig_obj
[0] = args
;
15847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15848 if (!SWIG_IsOK(res1
)) {
15849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HasMask" "', expected argument " "1"" of type '" "wxImage *""'");
15851 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15854 result
= (bool)(arg1
)->HasMask();
15855 wxPyEndAllowThreads(__tstate
);
15856 if (PyErr_Occurred()) SWIG_fail
;
15859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15867 SWIGINTERN PyObject
*_wrap_Image_Rotate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15868 PyObject
*resultobj
= 0;
15869 wxImage
*arg1
= (wxImage
*) 0 ;
15871 wxPoint
*arg3
= 0 ;
15872 bool arg4
= (bool) true ;
15873 wxPoint
*arg5
= (wxPoint
*) NULL
;
15874 SwigValueWrapper
<wxImage
> result
;
15884 PyObject
* obj0
= 0 ;
15885 PyObject
* obj1
= 0 ;
15886 PyObject
* obj2
= 0 ;
15887 PyObject
* obj3
= 0 ;
15888 PyObject
* obj4
= 0 ;
15889 char * kwnames
[] = {
15890 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
15893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
15894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15895 if (!SWIG_IsOK(res1
)) {
15896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Rotate" "', expected argument " "1"" of type '" "wxImage const *""'");
15898 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15899 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
15900 if (!SWIG_IsOK(ecode2
)) {
15901 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Rotate" "', expected argument " "2"" of type '" "double""'");
15903 arg2
= static_cast< double >(val2
);
15906 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15909 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
15910 if (!SWIG_IsOK(ecode4
)) {
15911 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Rotate" "', expected argument " "4"" of type '" "bool""'");
15913 arg4
= static_cast< bool >(val4
);
15916 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxPoint
, 0 | 0 );
15917 if (!SWIG_IsOK(res5
)) {
15918 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "Image_Rotate" "', expected argument " "5"" of type '" "wxPoint *""'");
15920 arg5
= reinterpret_cast< wxPoint
* >(argp5
);
15923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15924 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
15925 wxPyEndAllowThreads(__tstate
);
15926 if (PyErr_Occurred()) SWIG_fail
;
15928 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15935 SWIGINTERN PyObject
*_wrap_Image_Rotate90(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15936 PyObject
*resultobj
= 0;
15937 wxImage
*arg1
= (wxImage
*) 0 ;
15938 bool arg2
= (bool) true ;
15939 SwigValueWrapper
<wxImage
> result
;
15944 PyObject
* obj0
= 0 ;
15945 PyObject
* obj1
= 0 ;
15946 char * kwnames
[] = {
15947 (char *) "self",(char *) "clockwise", NULL
15950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15952 if (!SWIG_IsOK(res1
)) {
15953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Rotate90" "', expected argument " "1"" of type '" "wxImage *""'");
15955 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15957 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15958 if (!SWIG_IsOK(ecode2
)) {
15959 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Rotate90" "', expected argument " "2"" of type '" "bool""'");
15961 arg2
= static_cast< bool >(val2
);
15964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15965 result
= (arg1
)->Rotate90(arg2
);
15966 wxPyEndAllowThreads(__tstate
);
15967 if (PyErr_Occurred()) SWIG_fail
;
15969 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
15976 SWIGINTERN PyObject
*_wrap_Image_Mirror(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15977 PyObject
*resultobj
= 0;
15978 wxImage
*arg1
= (wxImage
*) 0 ;
15979 bool arg2
= (bool) true ;
15980 SwigValueWrapper
<wxImage
> result
;
15985 PyObject
* obj0
= 0 ;
15986 PyObject
* obj1
= 0 ;
15987 char * kwnames
[] = {
15988 (char *) "self",(char *) "horizontally", NULL
15991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
15993 if (!SWIG_IsOK(res1
)) {
15994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Mirror" "', expected argument " "1"" of type '" "wxImage *""'");
15996 arg1
= reinterpret_cast< wxImage
* >(argp1
);
15998 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
15999 if (!SWIG_IsOK(ecode2
)) {
16000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Mirror" "', expected argument " "2"" of type '" "bool""'");
16002 arg2
= static_cast< bool >(val2
);
16005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16006 result
= (arg1
)->Mirror(arg2
);
16007 wxPyEndAllowThreads(__tstate
);
16008 if (PyErr_Occurred()) SWIG_fail
;
16010 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
16017 SWIGINTERN PyObject
*_wrap_Image_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16018 PyObject
*resultobj
= 0;
16019 wxImage
*arg1
= (wxImage
*) 0 ;
16028 unsigned char val2
;
16030 unsigned char val3
;
16032 unsigned char val4
;
16034 unsigned char val5
;
16036 unsigned char val6
;
16038 unsigned char val7
;
16040 PyObject
* obj0
= 0 ;
16041 PyObject
* obj1
= 0 ;
16042 PyObject
* obj2
= 0 ;
16043 PyObject
* obj3
= 0 ;
16044 PyObject
* obj4
= 0 ;
16045 PyObject
* obj5
= 0 ;
16046 PyObject
* obj6
= 0 ;
16047 char * kwnames
[] = {
16048 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
16051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16053 if (!SWIG_IsOK(res1
)) {
16054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_Replace" "', expected argument " "1"" of type '" "wxImage *""'");
16056 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16057 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
16058 if (!SWIG_IsOK(ecode2
)) {
16059 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_Replace" "', expected argument " "2"" of type '" "byte""'");
16061 arg2
= static_cast< byte
>(val2
);
16062 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
16063 if (!SWIG_IsOK(ecode3
)) {
16064 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_Replace" "', expected argument " "3"" of type '" "byte""'");
16066 arg3
= static_cast< byte
>(val3
);
16067 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
16068 if (!SWIG_IsOK(ecode4
)) {
16069 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_Replace" "', expected argument " "4"" of type '" "byte""'");
16071 arg4
= static_cast< byte
>(val4
);
16072 ecode5
= SWIG_AsVal_unsigned_SS_char(obj4
, &val5
);
16073 if (!SWIG_IsOK(ecode5
)) {
16074 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Image_Replace" "', expected argument " "5"" of type '" "byte""'");
16076 arg5
= static_cast< byte
>(val5
);
16077 ecode6
= SWIG_AsVal_unsigned_SS_char(obj5
, &val6
);
16078 if (!SWIG_IsOK(ecode6
)) {
16079 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Image_Replace" "', expected argument " "6"" of type '" "byte""'");
16081 arg6
= static_cast< byte
>(val6
);
16082 ecode7
= SWIG_AsVal_unsigned_SS_char(obj6
, &val7
);
16083 if (!SWIG_IsOK(ecode7
)) {
16084 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Image_Replace" "', expected argument " "7"" of type '" "byte""'");
16086 arg7
= static_cast< byte
>(val7
);
16088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16089 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
16090 wxPyEndAllowThreads(__tstate
);
16091 if (PyErr_Occurred()) SWIG_fail
;
16093 resultobj
= SWIG_Py_Void();
16100 SWIGINTERN PyObject
*_wrap_Image_ConvertToGreyscale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16101 PyObject
*resultobj
= 0;
16102 wxImage
*arg1
= (wxImage
*) 0 ;
16103 double arg2
= (double) 0.299 ;
16104 double arg3
= (double) 0.587 ;
16105 double arg4
= (double) 0.114 ;
16106 SwigValueWrapper
<wxImage
> result
;
16115 PyObject
* obj0
= 0 ;
16116 PyObject
* obj1
= 0 ;
16117 PyObject
* obj2
= 0 ;
16118 PyObject
* obj3
= 0 ;
16119 char * kwnames
[] = {
16120 (char *) "self",(char *) "lr",(char *) "lg",(char *) "lb", NULL
16123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_ConvertToGreyscale",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16125 if (!SWIG_IsOK(res1
)) {
16126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertToGreyscale" "', expected argument " "1"" of type '" "wxImage const *""'");
16128 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16130 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
16131 if (!SWIG_IsOK(ecode2
)) {
16132 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertToGreyscale" "', expected argument " "2"" of type '" "double""'");
16134 arg2
= static_cast< double >(val2
);
16137 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
16138 if (!SWIG_IsOK(ecode3
)) {
16139 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ConvertToGreyscale" "', expected argument " "3"" of type '" "double""'");
16141 arg3
= static_cast< double >(val3
);
16144 ecode4
= SWIG_AsVal_double(obj3
, &val4
);
16145 if (!SWIG_IsOK(ecode4
)) {
16146 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_ConvertToGreyscale" "', expected argument " "4"" of type '" "double""'");
16148 arg4
= static_cast< double >(val4
);
16151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16152 result
= ((wxImage
const *)arg1
)->ConvertToGreyscale(arg2
,arg3
,arg4
);
16153 wxPyEndAllowThreads(__tstate
);
16154 if (PyErr_Occurred()) SWIG_fail
;
16156 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
16163 SWIGINTERN PyObject
*_wrap_Image_ConvertToMono(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16164 PyObject
*resultobj
= 0;
16165 wxImage
*arg1
= (wxImage
*) 0 ;
16169 SwigValueWrapper
<wxImage
> result
;
16172 unsigned char val2
;
16174 unsigned char val3
;
16176 unsigned char val4
;
16178 PyObject
* obj0
= 0 ;
16179 PyObject
* obj1
= 0 ;
16180 PyObject
* obj2
= 0 ;
16181 PyObject
* obj3
= 0 ;
16182 char * kwnames
[] = {
16183 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
16186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16188 if (!SWIG_IsOK(res1
)) {
16189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertToMono" "', expected argument " "1"" of type '" "wxImage const *""'");
16191 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16192 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
16193 if (!SWIG_IsOK(ecode2
)) {
16194 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertToMono" "', expected argument " "2"" of type '" "byte""'");
16196 arg2
= static_cast< byte
>(val2
);
16197 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
16198 if (!SWIG_IsOK(ecode3
)) {
16199 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ConvertToMono" "', expected argument " "3"" of type '" "byte""'");
16201 arg3
= static_cast< byte
>(val3
);
16202 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
16203 if (!SWIG_IsOK(ecode4
)) {
16204 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_ConvertToMono" "', expected argument " "4"" of type '" "byte""'");
16206 arg4
= static_cast< byte
>(val4
);
16208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16209 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
16210 wxPyEndAllowThreads(__tstate
);
16211 if (PyErr_Occurred()) SWIG_fail
;
16213 resultobj
= SWIG_NewPointerObj((new wxImage(static_cast< const wxImage
& >(result
))), SWIGTYPE_p_wxImage
, SWIG_POINTER_OWN
| 0 );
16220 SWIGINTERN PyObject
*_wrap_Image_SetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16221 PyObject
*resultobj
= 0;
16222 wxImage
*arg1
= (wxImage
*) 0 ;
16223 wxString
*arg2
= 0 ;
16224 wxString
*arg3
= 0 ;
16227 bool temp2
= false ;
16228 bool temp3
= false ;
16229 PyObject
* obj0
= 0 ;
16230 PyObject
* obj1
= 0 ;
16231 PyObject
* obj2
= 0 ;
16232 char * kwnames
[] = {
16233 (char *) "self",(char *) "name",(char *) "value", NULL
16236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16238 if (!SWIG_IsOK(res1
)) {
16239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetOption" "', expected argument " "1"" of type '" "wxImage *""'");
16241 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16243 arg2
= wxString_in_helper(obj1
);
16244 if (arg2
== NULL
) SWIG_fail
;
16248 arg3
= wxString_in_helper(obj2
);
16249 if (arg3
== NULL
) SWIG_fail
;
16253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16254 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
16255 wxPyEndAllowThreads(__tstate
);
16256 if (PyErr_Occurred()) SWIG_fail
;
16258 resultobj
= SWIG_Py_Void();
16281 SWIGINTERN PyObject
*_wrap_Image_SetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16282 PyObject
*resultobj
= 0;
16283 wxImage
*arg1
= (wxImage
*) 0 ;
16284 wxString
*arg2
= 0 ;
16288 bool temp2
= false ;
16291 PyObject
* obj0
= 0 ;
16292 PyObject
* obj1
= 0 ;
16293 PyObject
* obj2
= 0 ;
16294 char * kwnames
[] = {
16295 (char *) "self",(char *) "name",(char *) "value", NULL
16298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16300 if (!SWIG_IsOK(res1
)) {
16301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_SetOptionInt" "', expected argument " "1"" of type '" "wxImage *""'");
16303 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16305 arg2
= wxString_in_helper(obj1
);
16306 if (arg2
== NULL
) SWIG_fail
;
16309 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
16310 if (!SWIG_IsOK(ecode3
)) {
16311 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_SetOptionInt" "', expected argument " "3"" of type '" "int""'");
16313 arg3
= static_cast< int >(val3
);
16315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16316 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
16317 wxPyEndAllowThreads(__tstate
);
16318 if (PyErr_Occurred()) SWIG_fail
;
16320 resultobj
= SWIG_Py_Void();
16335 SWIGINTERN PyObject
*_wrap_Image_GetOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16336 PyObject
*resultobj
= 0;
16337 wxImage
*arg1
= (wxImage
*) 0 ;
16338 wxString
*arg2
= 0 ;
16342 bool temp2
= false ;
16343 PyObject
* obj0
= 0 ;
16344 PyObject
* obj1
= 0 ;
16345 char * kwnames
[] = {
16346 (char *) "self",(char *) "name", NULL
16349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16351 if (!SWIG_IsOK(res1
)) {
16352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetOption" "', expected argument " "1"" of type '" "wxImage const *""'");
16354 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16356 arg2
= wxString_in_helper(obj1
);
16357 if (arg2
== NULL
) SWIG_fail
;
16361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16362 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
16363 wxPyEndAllowThreads(__tstate
);
16364 if (PyErr_Occurred()) SWIG_fail
;
16368 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16370 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16387 SWIGINTERN PyObject
*_wrap_Image_GetOptionInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16388 PyObject
*resultobj
= 0;
16389 wxImage
*arg1
= (wxImage
*) 0 ;
16390 wxString
*arg2
= 0 ;
16394 bool temp2
= false ;
16395 PyObject
* obj0
= 0 ;
16396 PyObject
* obj1
= 0 ;
16397 char * kwnames
[] = {
16398 (char *) "self",(char *) "name", NULL
16401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16403 if (!SWIG_IsOK(res1
)) {
16404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_GetOptionInt" "', expected argument " "1"" of type '" "wxImage const *""'");
16406 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16408 arg2
= wxString_in_helper(obj1
);
16409 if (arg2
== NULL
) SWIG_fail
;
16413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16414 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
16415 wxPyEndAllowThreads(__tstate
);
16416 if (PyErr_Occurred()) SWIG_fail
;
16418 resultobj
= SWIG_From_int(static_cast< int >(result
));
16433 SWIGINTERN PyObject
*_wrap_Image_HasOption(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16434 PyObject
*resultobj
= 0;
16435 wxImage
*arg1
= (wxImage
*) 0 ;
16436 wxString
*arg2
= 0 ;
16440 bool temp2
= false ;
16441 PyObject
* obj0
= 0 ;
16442 PyObject
* obj1
= 0 ;
16443 char * kwnames
[] = {
16444 (char *) "self",(char *) "name", NULL
16447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16449 if (!SWIG_IsOK(res1
)) {
16450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HasOption" "', expected argument " "1"" of type '" "wxImage const *""'");
16452 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16454 arg2
= wxString_in_helper(obj1
);
16455 if (arg2
== NULL
) SWIG_fail
;
16459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16460 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
16461 wxPyEndAllowThreads(__tstate
);
16462 if (PyErr_Occurred()) SWIG_fail
;
16465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16481 SWIGINTERN PyObject
*_wrap_Image_CountColours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16482 PyObject
*resultobj
= 0;
16483 wxImage
*arg1
= (wxImage
*) 0 ;
16484 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
16485 unsigned long result
;
16488 unsigned long val2
;
16490 PyObject
* obj0
= 0 ;
16491 PyObject
* obj1
= 0 ;
16492 char * kwnames
[] = {
16493 (char *) "self",(char *) "stopafter", NULL
16496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16498 if (!SWIG_IsOK(res1
)) {
16499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_CountColours" "', expected argument " "1"" of type '" "wxImage *""'");
16501 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16503 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
16504 if (!SWIG_IsOK(ecode2
)) {
16505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_CountColours" "', expected argument " "2"" of type '" "unsigned long""'");
16507 arg2
= static_cast< unsigned long >(val2
);
16510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16511 result
= (unsigned long)(arg1
)->CountColours(arg2
);
16512 wxPyEndAllowThreads(__tstate
);
16513 if (PyErr_Occurred()) SWIG_fail
;
16515 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
16522 SWIGINTERN PyObject
*_wrap_Image_ComputeHistogram(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16523 PyObject
*resultobj
= 0;
16524 wxImage
*arg1
= (wxImage
*) 0 ;
16525 wxImageHistogram
*arg2
= 0 ;
16526 unsigned long result
;
16531 PyObject
* obj0
= 0 ;
16532 PyObject
* obj1
= 0 ;
16533 char * kwnames
[] = {
16534 (char *) "self",(char *) "h", NULL
16537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16539 if (!SWIG_IsOK(res1
)) {
16540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ComputeHistogram" "', expected argument " "1"" of type '" "wxImage *""'");
16542 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16543 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImageHistogram
, 0 );
16544 if (!SWIG_IsOK(res2
)) {
16545 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Image_ComputeHistogram" "', expected argument " "2"" of type '" "wxImageHistogram &""'");
16548 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Image_ComputeHistogram" "', expected argument " "2"" of type '" "wxImageHistogram &""'");
16550 arg2
= reinterpret_cast< wxImageHistogram
* >(argp2
);
16552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16553 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
16554 wxPyEndAllowThreads(__tstate
);
16555 if (PyErr_Occurred()) SWIG_fail
;
16557 resultobj
= SWIG_From_unsigned_SS_long(static_cast< unsigned long >(result
));
16564 SWIGINTERN PyObject
*_wrap_Image_AddHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16565 PyObject
*resultobj
= 0;
16566 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
16569 PyObject
* obj0
= 0 ;
16570 char * kwnames
[] = {
16571 (char *) "handler", NULL
16574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) SWIG_fail
;
16575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
16576 if (!SWIG_IsOK(res1
)) {
16577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_AddHandler" "', expected argument " "1"" of type '" "wxImageHandler *""'");
16579 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
16581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16582 wxImage::AddHandler(arg1
);
16583 wxPyEndAllowThreads(__tstate
);
16584 if (PyErr_Occurred()) SWIG_fail
;
16586 resultobj
= SWIG_Py_Void();
16593 SWIGINTERN PyObject
*_wrap_Image_InsertHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16594 PyObject
*resultobj
= 0;
16595 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
16598 PyObject
* obj0
= 0 ;
16599 char * kwnames
[] = {
16600 (char *) "handler", NULL
16603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) SWIG_fail
;
16604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImageHandler
, 0 | 0 );
16605 if (!SWIG_IsOK(res1
)) {
16606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_InsertHandler" "', expected argument " "1"" of type '" "wxImageHandler *""'");
16608 arg1
= reinterpret_cast< wxImageHandler
* >(argp1
);
16610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16611 wxImage::InsertHandler(arg1
);
16612 wxPyEndAllowThreads(__tstate
);
16613 if (PyErr_Occurred()) SWIG_fail
;
16615 resultobj
= SWIG_Py_Void();
16622 SWIGINTERN PyObject
*_wrap_Image_RemoveHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16623 PyObject
*resultobj
= 0;
16624 wxString
*arg1
= 0 ;
16626 bool temp1
= false ;
16627 PyObject
* obj0
= 0 ;
16628 char * kwnames
[] = {
16629 (char *) "name", NULL
16632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) SWIG_fail
;
16634 arg1
= wxString_in_helper(obj0
);
16635 if (arg1
== NULL
) SWIG_fail
;
16639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16640 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
16641 wxPyEndAllowThreads(__tstate
);
16642 if (PyErr_Occurred()) SWIG_fail
;
16645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16661 SWIGINTERN PyObject
*_wrap_Image_GetHandlers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16662 PyObject
*resultobj
= 0;
16663 PyObject
*result
= 0 ;
16665 if (!SWIG_Python_UnpackTuple(args
,"Image_GetHandlers",0,0,0)) SWIG_fail
;
16667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16668 result
= (PyObject
*)wxImage_GetHandlers();
16669 wxPyEndAllowThreads(__tstate
);
16670 if (PyErr_Occurred()) SWIG_fail
;
16672 resultobj
= result
;
16679 SWIGINTERN PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16680 PyObject
*resultobj
= 0;
16683 if (!SWIG_Python_UnpackTuple(args
,"Image_GetImageExtWildcard",0,0,0)) SWIG_fail
;
16685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16686 result
= wxImage::GetImageExtWildcard();
16687 wxPyEndAllowThreads(__tstate
);
16688 if (PyErr_Occurred()) SWIG_fail
;
16692 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16694 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16703 SWIGINTERN PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16704 PyObject
*resultobj
= 0;
16705 wxImage
*arg1
= (wxImage
*) 0 ;
16706 int arg2
= (int) -1 ;
16712 PyObject
* obj0
= 0 ;
16713 PyObject
* obj1
= 0 ;
16714 char * kwnames
[] = {
16715 (char *) "self",(char *) "depth", NULL
16718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertToBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16720 if (!SWIG_IsOK(res1
)) {
16721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertToBitmap" "', expected argument " "1"" of type '" "wxImage *""'");
16723 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16725 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16726 if (!SWIG_IsOK(ecode2
)) {
16727 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertToBitmap" "', expected argument " "2"" of type '" "int""'");
16729 arg2
= static_cast< int >(val2
);
16732 if (!wxPyCheckForApp()) SWIG_fail
;
16733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16734 result
= wxImage_ConvertToBitmap(arg1
,arg2
);
16735 wxPyEndAllowThreads(__tstate
);
16736 if (PyErr_Occurred()) SWIG_fail
;
16738 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
16745 SWIGINTERN PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16746 PyObject
*resultobj
= 0;
16747 wxImage
*arg1
= (wxImage
*) 0 ;
16754 unsigned char val2
;
16756 unsigned char val3
;
16758 unsigned char val4
;
16760 PyObject
* obj0
= 0 ;
16761 PyObject
* obj1
= 0 ;
16762 PyObject
* obj2
= 0 ;
16763 PyObject
* obj3
= 0 ;
16764 char * kwnames
[] = {
16765 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
16768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16770 if (!SWIG_IsOK(res1
)) {
16771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_ConvertToMonoBitmap" "', expected argument " "1"" of type '" "wxImage *""'");
16773 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16774 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
16775 if (!SWIG_IsOK(ecode2
)) {
16776 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_ConvertToMonoBitmap" "', expected argument " "2"" of type '" "byte""'");
16778 arg2
= static_cast< byte
>(val2
);
16779 ecode3
= SWIG_AsVal_unsigned_SS_char(obj2
, &val3
);
16780 if (!SWIG_IsOK(ecode3
)) {
16781 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Image_ConvertToMonoBitmap" "', expected argument " "3"" of type '" "byte""'");
16783 arg3
= static_cast< byte
>(val3
);
16784 ecode4
= SWIG_AsVal_unsigned_SS_char(obj3
, &val4
);
16785 if (!SWIG_IsOK(ecode4
)) {
16786 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Image_ConvertToMonoBitmap" "', expected argument " "4"" of type '" "byte""'");
16788 arg4
= static_cast< byte
>(val4
);
16790 if (!wxPyCheckForApp()) SWIG_fail
;
16791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16792 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
16793 wxPyEndAllowThreads(__tstate
);
16794 if (PyErr_Occurred()) SWIG_fail
;
16796 resultobj
= SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap
& >(result
))), SWIGTYPE_p_wxBitmap
, SWIG_POINTER_OWN
| 0 );
16803 SWIGINTERN PyObject
*_wrap_Image_RotateHue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16804 PyObject
*resultobj
= 0;
16805 wxImage
*arg1
= (wxImage
*) 0 ;
16811 PyObject
* obj0
= 0 ;
16812 PyObject
* obj1
= 0 ;
16813 char * kwnames
[] = {
16814 (char *) "self",(char *) "angle", NULL
16817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_RotateHue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxImage
, 0 | 0 );
16819 if (!SWIG_IsOK(res1
)) {
16820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RotateHue" "', expected argument " "1"" of type '" "wxImage *""'");
16822 arg1
= reinterpret_cast< wxImage
* >(argp1
);
16823 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
16824 if (!SWIG_IsOK(ecode2
)) {
16825 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Image_RotateHue" "', expected argument " "2"" of type '" "double""'");
16827 arg2
= static_cast< double >(val2
);
16829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16830 (arg1
)->RotateHue(arg2
);
16831 wxPyEndAllowThreads(__tstate
);
16832 if (PyErr_Occurred()) SWIG_fail
;
16834 resultobj
= SWIG_Py_Void();
16841 SWIGINTERN PyObject
*_wrap_Image_RGBtoHSV(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16842 PyObject
*resultobj
= 0;
16843 wxImage_RGBValue arg1
;
16844 wxImage_HSVValue result
;
16847 PyObject
* obj0
= 0 ;
16848 char * kwnames
[] = {
16849 (char *) "rgb", NULL
16852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RGBtoHSV",kwnames
,&obj0
)) SWIG_fail
;
16854 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage_RGBValue
, 0 | 0);
16855 if (!SWIG_IsOK(res1
)) {
16856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_RGBtoHSV" "', expected argument " "1"" of type '" "wxImage_RGBValue""'");
16859 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Image_RGBtoHSV" "', expected argument " "1"" of type '" "wxImage_RGBValue""'");
16861 wxImage_RGBValue
* temp
= reinterpret_cast< wxImage_RGBValue
* >(argp1
);
16863 if (SWIG_IsNewObj(res1
)) delete temp
;
16867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16868 result
= wxImage::RGBtoHSV(arg1
);
16869 wxPyEndAllowThreads(__tstate
);
16870 if (PyErr_Occurred()) SWIG_fail
;
16872 resultobj
= SWIG_NewPointerObj((new wxImage_HSVValue(static_cast< const wxImage_HSVValue
& >(result
))), SWIGTYPE_p_wxImage_HSVValue
, SWIG_POINTER_OWN
| 0 );
16879 SWIGINTERN PyObject
*_wrap_Image_HSVtoRGB(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16880 PyObject
*resultobj
= 0;
16881 wxImage_HSVValue arg1
;
16882 wxImage_RGBValue result
;
16885 PyObject
* obj0
= 0 ;
16886 char * kwnames
[] = {
16887 (char *) "hsv", NULL
16890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HSVtoRGB",kwnames
,&obj0
)) SWIG_fail
;
16892 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage_HSVValue
, 0 | 0);
16893 if (!SWIG_IsOK(res1
)) {
16894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Image_HSVtoRGB" "', expected argument " "1"" of type '" "wxImage_HSVValue""'");
16897 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Image_HSVtoRGB" "', expected argument " "1"" of type '" "wxImage_HSVValue""'");
16899 wxImage_HSVValue
* temp
= reinterpret_cast< wxImage_HSVValue
* >(argp1
);
16901 if (SWIG_IsNewObj(res1
)) delete temp
;
16905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16906 result
= wxImage::HSVtoRGB(arg1
);
16907 wxPyEndAllowThreads(__tstate
);
16908 if (PyErr_Occurred()) SWIG_fail
;
16910 resultobj
= SWIG_NewPointerObj((new wxImage_RGBValue(static_cast< const wxImage_RGBValue
& >(result
))), SWIGTYPE_p_wxImage_RGBValue
, SWIG_POINTER_OWN
| 0 );
16917 SWIGINTERN PyObject
*Image_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16919 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16920 SWIG_TypeNewClientData(SWIGTYPE_p_wxImage
, SWIG_NewClientData(obj
));
16921 return SWIG_Py_Void();
16924 SWIGINTERN PyObject
*Image_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16925 return SWIG_Python_InitShadowInstance(args
);
16928 SWIGINTERN
int NullImage_set(PyObject
*) {
16929 SWIG_Error(SWIG_AttributeError
,"Variable NullImage is read-only.");
16934 SWIGINTERN PyObject
*NullImage_get(void) {
16935 PyObject
*pyobj
= 0;
16937 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullImage
), SWIGTYPE_p_wxImage
, 0 );
16942 SWIGINTERN
int IMAGE_OPTION_FILENAME_set(PyObject
*) {
16943 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_FILENAME is read-only.");
16948 SWIGINTERN PyObject
*IMAGE_OPTION_FILENAME_get(void) {
16949 PyObject
*pyobj
= 0;
16953 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
16955 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_FILENAME
)->c_str(), (&wxPyIMAGE_OPTION_FILENAME
)->Len());
16962 SWIGINTERN
int IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
16963 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
16968 SWIGINTERN PyObject
*IMAGE_OPTION_BMP_FORMAT_get(void) {
16969 PyObject
*pyobj
= 0;
16973 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
16975 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
16982 SWIGINTERN
int IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
16983 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
16988 SWIGINTERN PyObject
*IMAGE_OPTION_CUR_HOTSPOT_X_get(void) {
16989 PyObject
*pyobj
= 0;
16993 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
16995 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
17002 SWIGINTERN
int IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
17003 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
17008 SWIGINTERN PyObject
*IMAGE_OPTION_CUR_HOTSPOT_Y_get(void) {
17009 PyObject
*pyobj
= 0;
17013 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
17015 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
17022 SWIGINTERN
int IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
17023 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
17028 SWIGINTERN PyObject
*IMAGE_OPTION_RESOLUTION_get(void) {
17029 PyObject
*pyobj
= 0;
17033 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
17035 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
17042 SWIGINTERN
int IMAGE_OPTION_RESOLUTIONX_set(PyObject
*) {
17043 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_RESOLUTIONX is read-only.");
17048 SWIGINTERN PyObject
*IMAGE_OPTION_RESOLUTIONX_get(void) {
17049 PyObject
*pyobj
= 0;
17053 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
17055 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONX
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONX
)->Len());
17062 SWIGINTERN
int IMAGE_OPTION_RESOLUTIONY_set(PyObject
*) {
17063 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_RESOLUTIONY is read-only.");
17068 SWIGINTERN PyObject
*IMAGE_OPTION_RESOLUTIONY_get(void) {
17069 PyObject
*pyobj
= 0;
17073 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
17075 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONY
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONY
)->Len());
17082 SWIGINTERN
int IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
17083 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
17088 SWIGINTERN PyObject
*IMAGE_OPTION_RESOLUTIONUNIT_get(void) {
17089 PyObject
*pyobj
= 0;
17093 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
17095 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
17102 SWIGINTERN
int IMAGE_OPTION_QUALITY_set(PyObject
*) {
17103 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_QUALITY is read-only.");
17108 SWIGINTERN PyObject
*IMAGE_OPTION_QUALITY_get(void) {
17109 PyObject
*pyobj
= 0;
17113 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
17115 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_QUALITY
)->c_str(), (&wxPyIMAGE_OPTION_QUALITY
)->Len());
17122 SWIGINTERN
int IMAGE_OPTION_BITSPERSAMPLE_set(PyObject
*) {
17123 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_BITSPERSAMPLE is read-only.");
17128 SWIGINTERN PyObject
*IMAGE_OPTION_BITSPERSAMPLE_get(void) {
17129 PyObject
*pyobj
= 0;
17133 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
17135 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->c_str(), (&wxPyIMAGE_OPTION_BITSPERSAMPLE
)->Len());
17142 SWIGINTERN
int IMAGE_OPTION_SAMPLESPERPIXEL_set(PyObject
*) {
17143 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_SAMPLESPERPIXEL is read-only.");
17148 SWIGINTERN PyObject
*IMAGE_OPTION_SAMPLESPERPIXEL_get(void) {
17149 PyObject
*pyobj
= 0;
17153 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
17155 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->c_str(), (&wxPyIMAGE_OPTION_SAMPLESPERPIXEL
)->Len());
17162 SWIGINTERN
int IMAGE_OPTION_COMPRESSION_set(PyObject
*) {
17163 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_COMPRESSION is read-only.");
17168 SWIGINTERN PyObject
*IMAGE_OPTION_COMPRESSION_get(void) {
17169 PyObject
*pyobj
= 0;
17173 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
17175 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_COMPRESSION
)->c_str(), (&wxPyIMAGE_OPTION_COMPRESSION
)->Len());
17182 SWIGINTERN
int IMAGE_OPTION_IMAGEDESCRIPTOR_set(PyObject
*) {
17183 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_IMAGEDESCRIPTOR is read-only.");
17188 SWIGINTERN PyObject
*IMAGE_OPTION_IMAGEDESCRIPTOR_get(void) {
17189 PyObject
*pyobj
= 0;
17193 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
17195 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->c_str(), (&wxPyIMAGE_OPTION_IMAGEDESCRIPTOR
)->Len());
17202 SWIGINTERN
int IMAGE_OPTION_PNG_FORMAT_set(PyObject
*) {
17203 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_PNG_FORMAT is read-only.");
17208 SWIGINTERN PyObject
*IMAGE_OPTION_PNG_FORMAT_get(void) {
17209 PyObject
*pyobj
= 0;
17213 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
17215 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_PNG_FORMAT
)->Len());
17222 SWIGINTERN
int IMAGE_OPTION_PNG_BITDEPTH_set(PyObject
*) {
17223 SWIG_Error(SWIG_AttributeError
,"Variable IMAGE_OPTION_PNG_BITDEPTH is read-only.");
17228 SWIGINTERN PyObject
*IMAGE_OPTION_PNG_BITDEPTH_get(void) {
17229 PyObject
*pyobj
= 0;
17233 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
17235 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->c_str(), (&wxPyIMAGE_OPTION_PNG_BITDEPTH
)->Len());
17242 SWIGINTERN PyObject
*_wrap_new_BMPHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17243 PyObject
*resultobj
= 0;
17244 wxBMPHandler
*result
= 0 ;
17246 if (!SWIG_Python_UnpackTuple(args
,"new_BMPHandler",0,0,0)) SWIG_fail
;
17248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17249 result
= (wxBMPHandler
*)new wxBMPHandler();
17250 wxPyEndAllowThreads(__tstate
);
17251 if (PyErr_Occurred()) SWIG_fail
;
17253 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBMPHandler
, SWIG_POINTER_NEW
| 0 );
17260 SWIGINTERN PyObject
*BMPHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17262 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17263 SWIG_TypeNewClientData(SWIGTYPE_p_wxBMPHandler
, SWIG_NewClientData(obj
));
17264 return SWIG_Py_Void();
17267 SWIGINTERN PyObject
*BMPHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17268 return SWIG_Python_InitShadowInstance(args
);
17271 SWIGINTERN PyObject
*_wrap_new_ICOHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17272 PyObject
*resultobj
= 0;
17273 wxICOHandler
*result
= 0 ;
17275 if (!SWIG_Python_UnpackTuple(args
,"new_ICOHandler",0,0,0)) SWIG_fail
;
17277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17278 result
= (wxICOHandler
*)new wxICOHandler();
17279 wxPyEndAllowThreads(__tstate
);
17280 if (PyErr_Occurred()) SWIG_fail
;
17282 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxICOHandler
, SWIG_POINTER_NEW
| 0 );
17289 SWIGINTERN PyObject
*ICOHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17291 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17292 SWIG_TypeNewClientData(SWIGTYPE_p_wxICOHandler
, SWIG_NewClientData(obj
));
17293 return SWIG_Py_Void();
17296 SWIGINTERN PyObject
*ICOHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17297 return SWIG_Python_InitShadowInstance(args
);
17300 SWIGINTERN PyObject
*_wrap_new_CURHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17301 PyObject
*resultobj
= 0;
17302 wxCURHandler
*result
= 0 ;
17304 if (!SWIG_Python_UnpackTuple(args
,"new_CURHandler",0,0,0)) SWIG_fail
;
17306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17307 result
= (wxCURHandler
*)new wxCURHandler();
17308 wxPyEndAllowThreads(__tstate
);
17309 if (PyErr_Occurred()) SWIG_fail
;
17311 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCURHandler
, SWIG_POINTER_NEW
| 0 );
17318 SWIGINTERN PyObject
*CURHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17320 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17321 SWIG_TypeNewClientData(SWIGTYPE_p_wxCURHandler
, SWIG_NewClientData(obj
));
17322 return SWIG_Py_Void();
17325 SWIGINTERN PyObject
*CURHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17326 return SWIG_Python_InitShadowInstance(args
);
17329 SWIGINTERN PyObject
*_wrap_new_ANIHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17330 PyObject
*resultobj
= 0;
17331 wxANIHandler
*result
= 0 ;
17333 if (!SWIG_Python_UnpackTuple(args
,"new_ANIHandler",0,0,0)) SWIG_fail
;
17335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17336 result
= (wxANIHandler
*)new wxANIHandler();
17337 wxPyEndAllowThreads(__tstate
);
17338 if (PyErr_Occurred()) SWIG_fail
;
17340 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxANIHandler
, SWIG_POINTER_NEW
| 0 );
17347 SWIGINTERN PyObject
*ANIHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17349 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17350 SWIG_TypeNewClientData(SWIGTYPE_p_wxANIHandler
, SWIG_NewClientData(obj
));
17351 return SWIG_Py_Void();
17354 SWIGINTERN PyObject
*ANIHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17355 return SWIG_Python_InitShadowInstance(args
);
17358 SWIGINTERN PyObject
*_wrap_new_PNGHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17359 PyObject
*resultobj
= 0;
17360 wxPNGHandler
*result
= 0 ;
17362 if (!SWIG_Python_UnpackTuple(args
,"new_PNGHandler",0,0,0)) SWIG_fail
;
17364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17365 result
= (wxPNGHandler
*)new wxPNGHandler();
17366 wxPyEndAllowThreads(__tstate
);
17367 if (PyErr_Occurred()) SWIG_fail
;
17369 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPNGHandler
, SWIG_POINTER_NEW
| 0 );
17376 SWIGINTERN PyObject
*PNGHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17378 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17379 SWIG_TypeNewClientData(SWIGTYPE_p_wxPNGHandler
, SWIG_NewClientData(obj
));
17380 return SWIG_Py_Void();
17383 SWIGINTERN PyObject
*PNGHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17384 return SWIG_Python_InitShadowInstance(args
);
17387 SWIGINTERN PyObject
*_wrap_new_GIFHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17388 PyObject
*resultobj
= 0;
17389 wxGIFHandler
*result
= 0 ;
17391 if (!SWIG_Python_UnpackTuple(args
,"new_GIFHandler",0,0,0)) SWIG_fail
;
17393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17394 result
= (wxGIFHandler
*)new wxGIFHandler();
17395 wxPyEndAllowThreads(__tstate
);
17396 if (PyErr_Occurred()) SWIG_fail
;
17398 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGIFHandler
, SWIG_POINTER_NEW
| 0 );
17405 SWIGINTERN PyObject
*GIFHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17407 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17408 SWIG_TypeNewClientData(SWIGTYPE_p_wxGIFHandler
, SWIG_NewClientData(obj
));
17409 return SWIG_Py_Void();
17412 SWIGINTERN PyObject
*GIFHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17413 return SWIG_Python_InitShadowInstance(args
);
17416 SWIGINTERN PyObject
*_wrap_new_PCXHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17417 PyObject
*resultobj
= 0;
17418 wxPCXHandler
*result
= 0 ;
17420 if (!SWIG_Python_UnpackTuple(args
,"new_PCXHandler",0,0,0)) SWIG_fail
;
17422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17423 result
= (wxPCXHandler
*)new wxPCXHandler();
17424 wxPyEndAllowThreads(__tstate
);
17425 if (PyErr_Occurred()) SWIG_fail
;
17427 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPCXHandler
, SWIG_POINTER_NEW
| 0 );
17434 SWIGINTERN PyObject
*PCXHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17436 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17437 SWIG_TypeNewClientData(SWIGTYPE_p_wxPCXHandler
, SWIG_NewClientData(obj
));
17438 return SWIG_Py_Void();
17441 SWIGINTERN PyObject
*PCXHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17442 return SWIG_Python_InitShadowInstance(args
);
17445 SWIGINTERN PyObject
*_wrap_new_JPEGHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17446 PyObject
*resultobj
= 0;
17447 wxJPEGHandler
*result
= 0 ;
17449 if (!SWIG_Python_UnpackTuple(args
,"new_JPEGHandler",0,0,0)) SWIG_fail
;
17451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17452 result
= (wxJPEGHandler
*)new wxJPEGHandler();
17453 wxPyEndAllowThreads(__tstate
);
17454 if (PyErr_Occurred()) SWIG_fail
;
17456 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxJPEGHandler
, SWIG_POINTER_NEW
| 0 );
17463 SWIGINTERN PyObject
*JPEGHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17465 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17466 SWIG_TypeNewClientData(SWIGTYPE_p_wxJPEGHandler
, SWIG_NewClientData(obj
));
17467 return SWIG_Py_Void();
17470 SWIGINTERN PyObject
*JPEGHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17471 return SWIG_Python_InitShadowInstance(args
);
17474 SWIGINTERN PyObject
*_wrap_new_PNMHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17475 PyObject
*resultobj
= 0;
17476 wxPNMHandler
*result
= 0 ;
17478 if (!SWIG_Python_UnpackTuple(args
,"new_PNMHandler",0,0,0)) SWIG_fail
;
17480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17481 result
= (wxPNMHandler
*)new wxPNMHandler();
17482 wxPyEndAllowThreads(__tstate
);
17483 if (PyErr_Occurred()) SWIG_fail
;
17485 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPNMHandler
, SWIG_POINTER_NEW
| 0 );
17492 SWIGINTERN PyObject
*PNMHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17494 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17495 SWIG_TypeNewClientData(SWIGTYPE_p_wxPNMHandler
, SWIG_NewClientData(obj
));
17496 return SWIG_Py_Void();
17499 SWIGINTERN PyObject
*PNMHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17500 return SWIG_Python_InitShadowInstance(args
);
17503 SWIGINTERN PyObject
*_wrap_new_XPMHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17504 PyObject
*resultobj
= 0;
17505 wxXPMHandler
*result
= 0 ;
17507 if (!SWIG_Python_UnpackTuple(args
,"new_XPMHandler",0,0,0)) SWIG_fail
;
17509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17510 result
= (wxXPMHandler
*)new wxXPMHandler();
17511 wxPyEndAllowThreads(__tstate
);
17512 if (PyErr_Occurred()) SWIG_fail
;
17514 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxXPMHandler
, SWIG_POINTER_NEW
| 0 );
17521 SWIGINTERN PyObject
*XPMHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17523 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17524 SWIG_TypeNewClientData(SWIGTYPE_p_wxXPMHandler
, SWIG_NewClientData(obj
));
17525 return SWIG_Py_Void();
17528 SWIGINTERN PyObject
*XPMHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17529 return SWIG_Python_InitShadowInstance(args
);
17532 SWIGINTERN PyObject
*_wrap_new_TIFFHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17533 PyObject
*resultobj
= 0;
17534 wxTIFFHandler
*result
= 0 ;
17536 if (!SWIG_Python_UnpackTuple(args
,"new_TIFFHandler",0,0,0)) SWIG_fail
;
17538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17539 result
= (wxTIFFHandler
*)new wxTIFFHandler();
17540 wxPyEndAllowThreads(__tstate
);
17541 if (PyErr_Occurred()) SWIG_fail
;
17543 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTIFFHandler
, SWIG_POINTER_NEW
| 0 );
17550 SWIGINTERN PyObject
*TIFFHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17552 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17553 SWIG_TypeNewClientData(SWIGTYPE_p_wxTIFFHandler
, SWIG_NewClientData(obj
));
17554 return SWIG_Py_Void();
17557 SWIGINTERN PyObject
*TIFFHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17558 return SWIG_Python_InitShadowInstance(args
);
17561 SWIGINTERN PyObject
*_wrap_Quantize_Quantize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17562 PyObject
*resultobj
= 0;
17563 wxImage
*arg1
= 0 ;
17564 wxImage
*arg2
= 0 ;
17565 int arg3
= (int) 236 ;
17566 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
17576 PyObject
* obj0
= 0 ;
17577 PyObject
* obj1
= 0 ;
17578 PyObject
* obj2
= 0 ;
17579 PyObject
* obj3
= 0 ;
17580 char * kwnames
[] = {
17581 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
17584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
17585 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxImage
, 0 | 0);
17586 if (!SWIG_IsOK(res1
)) {
17587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Quantize_Quantize" "', expected argument " "1"" of type '" "wxImage const &""'");
17590 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Quantize_Quantize" "', expected argument " "1"" of type '" "wxImage const &""'");
17592 arg1
= reinterpret_cast< wxImage
* >(argp1
);
17593 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxImage
, 0 );
17594 if (!SWIG_IsOK(res2
)) {
17595 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Quantize_Quantize" "', expected argument " "2"" of type '" "wxImage &""'");
17598 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Quantize_Quantize" "', expected argument " "2"" of type '" "wxImage &""'");
17600 arg2
= reinterpret_cast< wxImage
* >(argp2
);
17602 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
17603 if (!SWIG_IsOK(ecode3
)) {
17604 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Quantize_Quantize" "', expected argument " "3"" of type '" "int""'");
17606 arg3
= static_cast< int >(val3
);
17609 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
17610 if (!SWIG_IsOK(ecode4
)) {
17611 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Quantize_Quantize" "', expected argument " "4"" of type '" "int""'");
17613 arg4
= static_cast< int >(val4
);
17616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17617 result
= (bool)wxQuantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
17618 wxPyEndAllowThreads(__tstate
);
17619 if (PyErr_Occurred()) SWIG_fail
;
17622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17630 SWIGINTERN PyObject
*Quantize_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17632 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17633 SWIG_TypeNewClientData(SWIGTYPE_p_wxQuantize
, SWIG_NewClientData(obj
));
17634 return SWIG_Py_Void();
17637 SWIGINTERN PyObject
*_wrap_new_EvtHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17638 PyObject
*resultobj
= 0;
17639 wxEvtHandler
*result
= 0 ;
17641 if (!SWIG_Python_UnpackTuple(args
,"new_EvtHandler",0,0,0)) SWIG_fail
;
17643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17644 result
= (wxEvtHandler
*)new wxEvtHandler();
17645 wxPyEndAllowThreads(__tstate
);
17646 if (PyErr_Occurred()) SWIG_fail
;
17648 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEvtHandler
, SWIG_POINTER_NEW
| 0 );
17655 SWIGINTERN PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17656 PyObject
*resultobj
= 0;
17657 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17658 wxEvtHandler
*result
= 0 ;
17661 PyObject
*swig_obj
[1] ;
17663 if (!args
) SWIG_fail
;
17664 swig_obj
[0] = args
;
17665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17666 if (!SWIG_IsOK(res1
)) {
17667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_GetNextHandler" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17669 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17672 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
17673 wxPyEndAllowThreads(__tstate
);
17674 if (PyErr_Occurred()) SWIG_fail
;
17677 resultobj
= wxPyMake_wxObject(result
, 0);
17685 SWIGINTERN PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17686 PyObject
*resultobj
= 0;
17687 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17688 wxEvtHandler
*result
= 0 ;
17691 PyObject
*swig_obj
[1] ;
17693 if (!args
) SWIG_fail
;
17694 swig_obj
[0] = args
;
17695 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17696 if (!SWIG_IsOK(res1
)) {
17697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_GetPreviousHandler" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17699 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17702 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
17703 wxPyEndAllowThreads(__tstate
);
17704 if (PyErr_Occurred()) SWIG_fail
;
17707 resultobj
= wxPyMake_wxObject(result
, 0);
17715 SWIGINTERN PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17716 PyObject
*resultobj
= 0;
17717 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17718 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
17723 PyObject
* obj0
= 0 ;
17724 PyObject
* obj1
= 0 ;
17725 char * kwnames
[] = {
17726 (char *) "self",(char *) "handler", NULL
17729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17731 if (!SWIG_IsOK(res1
)) {
17732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_SetNextHandler" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17734 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17735 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17736 if (!SWIG_IsOK(res2
)) {
17737 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "EvtHandler_SetNextHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
17739 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
17741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17742 (arg1
)->SetNextHandler(arg2
);
17743 wxPyEndAllowThreads(__tstate
);
17744 if (PyErr_Occurred()) SWIG_fail
;
17746 resultobj
= SWIG_Py_Void();
17753 SWIGINTERN PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17754 PyObject
*resultobj
= 0;
17755 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17756 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
17761 PyObject
* obj0
= 0 ;
17762 PyObject
* obj1
= 0 ;
17763 char * kwnames
[] = {
17764 (char *) "self",(char *) "handler", NULL
17767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17769 if (!SWIG_IsOK(res1
)) {
17770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_SetPreviousHandler" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17772 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17773 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17774 if (!SWIG_IsOK(res2
)) {
17775 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "EvtHandler_SetPreviousHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
17777 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
17779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17780 (arg1
)->SetPreviousHandler(arg2
);
17781 wxPyEndAllowThreads(__tstate
);
17782 if (PyErr_Occurred()) SWIG_fail
;
17784 resultobj
= SWIG_Py_Void();
17791 SWIGINTERN PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17792 PyObject
*resultobj
= 0;
17793 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17797 PyObject
*swig_obj
[1] ;
17799 if (!args
) SWIG_fail
;
17800 swig_obj
[0] = args
;
17801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17802 if (!SWIG_IsOK(res1
)) {
17803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_GetEvtHandlerEnabled" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17805 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17808 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
17809 wxPyEndAllowThreads(__tstate
);
17810 if (PyErr_Occurred()) SWIG_fail
;
17813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17821 SWIGINTERN PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17822 PyObject
*resultobj
= 0;
17823 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17829 PyObject
* obj0
= 0 ;
17830 PyObject
* obj1
= 0 ;
17831 char * kwnames
[] = {
17832 (char *) "self",(char *) "enabled", NULL
17835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17837 if (!SWIG_IsOK(res1
)) {
17838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_SetEvtHandlerEnabled" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17840 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17841 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
17842 if (!SWIG_IsOK(ecode2
)) {
17843 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EvtHandler_SetEvtHandlerEnabled" "', expected argument " "2"" of type '" "bool""'");
17845 arg2
= static_cast< bool >(val2
);
17847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17848 (arg1
)->SetEvtHandlerEnabled(arg2
);
17849 wxPyEndAllowThreads(__tstate
);
17850 if (PyErr_Occurred()) SWIG_fail
;
17852 resultobj
= SWIG_Py_Void();
17859 SWIGINTERN PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17860 PyObject
*resultobj
= 0;
17861 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17862 wxEvent
*arg2
= 0 ;
17868 PyObject
* obj0
= 0 ;
17869 PyObject
* obj1
= 0 ;
17870 char * kwnames
[] = {
17871 (char *) "self",(char *) "event", NULL
17874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17876 if (!SWIG_IsOK(res1
)) {
17877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_ProcessEvent" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17879 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17880 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxEvent
, 0 );
17881 if (!SWIG_IsOK(res2
)) {
17882 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "EvtHandler_ProcessEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
17885 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "EvtHandler_ProcessEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
17887 arg2
= reinterpret_cast< wxEvent
* >(argp2
);
17889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17890 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
17891 wxPyEndAllowThreads(__tstate
);
17892 if (PyErr_Occurred()) SWIG_fail
;
17895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17903 SWIGINTERN PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17904 PyObject
*resultobj
= 0;
17905 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17906 wxEvent
*arg2
= 0 ;
17911 PyObject
* obj0
= 0 ;
17912 PyObject
* obj1
= 0 ;
17913 char * kwnames
[] = {
17914 (char *) "self",(char *) "event", NULL
17917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17919 if (!SWIG_IsOK(res1
)) {
17920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_AddPendingEvent" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17922 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17923 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxEvent
, 0 );
17924 if (!SWIG_IsOK(res2
)) {
17925 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "EvtHandler_AddPendingEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
17928 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "EvtHandler_AddPendingEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
17930 arg2
= reinterpret_cast< wxEvent
* >(argp2
);
17932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17933 (arg1
)->AddPendingEvent(*arg2
);
17934 wxPyEndAllowThreads(__tstate
);
17935 if (PyErr_Occurred()) SWIG_fail
;
17937 resultobj
= SWIG_Py_Void();
17944 SWIGINTERN PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17945 PyObject
*resultobj
= 0;
17946 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17949 PyObject
*swig_obj
[1] ;
17951 if (!args
) SWIG_fail
;
17952 swig_obj
[0] = args
;
17953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17954 if (!SWIG_IsOK(res1
)) {
17955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_ProcessPendingEvents" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
17957 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
17959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17960 (arg1
)->ProcessPendingEvents();
17961 wxPyEndAllowThreads(__tstate
);
17962 if (PyErr_Occurred()) SWIG_fail
;
17964 resultobj
= SWIG_Py_Void();
17971 SWIGINTERN PyObject
*_wrap_EvtHandler_Connect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17972 PyObject
*resultobj
= 0;
17973 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
17977 PyObject
*arg5
= (PyObject
*) 0 ;
17986 PyObject
* obj0
= 0 ;
17987 PyObject
* obj1
= 0 ;
17988 PyObject
* obj2
= 0 ;
17989 PyObject
* obj3
= 0 ;
17990 PyObject
* obj4
= 0 ;
17991 char * kwnames
[] = {
17992 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
17995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
17996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
17997 if (!SWIG_IsOK(res1
)) {
17998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_Connect" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
18000 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
18001 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18002 if (!SWIG_IsOK(ecode2
)) {
18003 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EvtHandler_Connect" "', expected argument " "2"" of type '" "int""'");
18005 arg2
= static_cast< int >(val2
);
18006 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18007 if (!SWIG_IsOK(ecode3
)) {
18008 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EvtHandler_Connect" "', expected argument " "3"" of type '" "int""'");
18010 arg3
= static_cast< int >(val3
);
18011 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18012 if (!SWIG_IsOK(ecode4
)) {
18013 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EvtHandler_Connect" "', expected argument " "4"" of type '" "int""'");
18015 arg4
= static_cast< int >(val4
);
18018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18019 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
18020 wxPyEndAllowThreads(__tstate
);
18021 if (PyErr_Occurred()) SWIG_fail
;
18023 resultobj
= SWIG_Py_Void();
18030 SWIGINTERN PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18031 PyObject
*resultobj
= 0;
18032 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
18034 int arg3
= (int) -1 ;
18035 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
18045 PyObject
* obj0
= 0 ;
18046 PyObject
* obj1
= 0 ;
18047 PyObject
* obj2
= 0 ;
18048 PyObject
* obj3
= 0 ;
18049 char * kwnames
[] = {
18050 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
18053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
18054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
18055 if (!SWIG_IsOK(res1
)) {
18056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler_Disconnect" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
18058 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
18059 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18060 if (!SWIG_IsOK(ecode2
)) {
18061 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EvtHandler_Disconnect" "', expected argument " "2"" of type '" "int""'");
18063 arg2
= static_cast< int >(val2
);
18065 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18066 if (!SWIG_IsOK(ecode3
)) {
18067 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EvtHandler_Disconnect" "', expected argument " "3"" of type '" "int""'");
18069 arg3
= static_cast< int >(val3
);
18072 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
18073 if (!SWIG_IsOK(ecode4
)) {
18074 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "EvtHandler_Disconnect" "', expected argument " "4"" of type '" "wxEventType""'");
18076 arg4
= static_cast< wxEventType
>(val4
);
18079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18080 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
18081 wxPyEndAllowThreads(__tstate
);
18082 if (PyErr_Occurred()) SWIG_fail
;
18085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18093 SWIGINTERN PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18094 PyObject
*resultobj
= 0;
18095 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
18096 PyObject
*arg2
= (PyObject
*) 0 ;
18097 bool arg3
= (bool) true ;
18102 PyObject
* obj0
= 0 ;
18103 PyObject
* obj1
= 0 ;
18104 PyObject
* obj2
= 0 ;
18105 char * kwnames
[] = {
18106 (char *) "self",(char *) "_self",(char *) "incref", NULL
18109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
18111 if (!SWIG_IsOK(res1
)) {
18112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EvtHandler__setOORInfo" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
18114 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
18117 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
18118 if (!SWIG_IsOK(ecode3
)) {
18119 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "EvtHandler__setOORInfo" "', expected argument " "3"" of type '" "bool""'");
18121 arg3
= static_cast< bool >(val3
);
18124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18125 wxEvtHandler__setOORInfo(arg1
,arg2
,arg3
);
18126 wxPyEndAllowThreads(__tstate
);
18127 if (PyErr_Occurred()) SWIG_fail
;
18129 resultobj
= SWIG_Py_Void();
18136 SWIGINTERN PyObject
*EvtHandler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18138 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18139 SWIG_TypeNewClientData(SWIGTYPE_p_wxEvtHandler
, SWIG_NewClientData(obj
));
18140 return SWIG_Py_Void();
18143 SWIGINTERN PyObject
*EvtHandler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18144 return SWIG_Python_InitShadowInstance(args
);
18147 SWIGINTERN PyObject
*_wrap_NewEventType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18148 PyObject
*resultobj
= 0;
18149 wxEventType result
;
18151 if (!SWIG_Python_UnpackTuple(args
,"NewEventType",0,0,0)) SWIG_fail
;
18153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18154 result
= (wxEventType
)wxNewEventType();
18155 wxPyEndAllowThreads(__tstate
);
18156 if (PyErr_Occurred()) SWIG_fail
;
18158 resultobj
= SWIG_From_int(static_cast< int >(result
));
18165 SWIGINTERN PyObject
*_wrap_delete_Event(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18166 PyObject
*resultobj
= 0;
18167 wxEvent
*arg1
= (wxEvent
*) 0 ;
18170 PyObject
*swig_obj
[1] ;
18172 if (!args
) SWIG_fail
;
18173 swig_obj
[0] = args
;
18174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, SWIG_POINTER_DISOWN
| 0 );
18175 if (!SWIG_IsOK(res1
)) {
18176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Event" "', expected argument " "1"" of type '" "wxEvent *""'");
18178 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18183 wxPyEndAllowThreads(__tstate
);
18184 if (PyErr_Occurred()) SWIG_fail
;
18186 resultobj
= SWIG_Py_Void();
18193 SWIGINTERN PyObject
*_wrap_Event_SetEventType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18194 PyObject
*resultobj
= 0;
18195 wxEvent
*arg1
= (wxEvent
*) 0 ;
18201 PyObject
* obj0
= 0 ;
18202 PyObject
* obj1
= 0 ;
18203 char * kwnames
[] = {
18204 (char *) "self",(char *) "typ", NULL
18207 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18208 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18209 if (!SWIG_IsOK(res1
)) {
18210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_SetEventType" "', expected argument " "1"" of type '" "wxEvent *""'");
18212 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18213 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18214 if (!SWIG_IsOK(ecode2
)) {
18215 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Event_SetEventType" "', expected argument " "2"" of type '" "wxEventType""'");
18217 arg2
= static_cast< wxEventType
>(val2
);
18219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18220 (arg1
)->SetEventType(arg2
);
18221 wxPyEndAllowThreads(__tstate
);
18222 if (PyErr_Occurred()) SWIG_fail
;
18224 resultobj
= SWIG_Py_Void();
18231 SWIGINTERN PyObject
*_wrap_Event_GetEventType(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18232 PyObject
*resultobj
= 0;
18233 wxEvent
*arg1
= (wxEvent
*) 0 ;
18234 wxEventType result
;
18237 PyObject
*swig_obj
[1] ;
18239 if (!args
) SWIG_fail
;
18240 swig_obj
[0] = args
;
18241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18242 if (!SWIG_IsOK(res1
)) {
18243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_GetEventType" "', expected argument " "1"" of type '" "wxEvent const *""'");
18245 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18248 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
18249 wxPyEndAllowThreads(__tstate
);
18250 if (PyErr_Occurred()) SWIG_fail
;
18252 resultobj
= SWIG_From_int(static_cast< int >(result
));
18259 SWIGINTERN PyObject
*_wrap_Event_GetEventObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18260 PyObject
*resultobj
= 0;
18261 wxEvent
*arg1
= (wxEvent
*) 0 ;
18262 wxObject
*result
= 0 ;
18265 PyObject
*swig_obj
[1] ;
18267 if (!args
) SWIG_fail
;
18268 swig_obj
[0] = args
;
18269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18270 if (!SWIG_IsOK(res1
)) {
18271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_GetEventObject" "', expected argument " "1"" of type '" "wxEvent const *""'");
18273 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18276 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
18277 wxPyEndAllowThreads(__tstate
);
18278 if (PyErr_Occurred()) SWIG_fail
;
18281 resultobj
= wxPyMake_wxObject(result
, (bool)0);
18289 SWIGINTERN PyObject
*_wrap_Event_SetEventObject(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18290 PyObject
*resultobj
= 0;
18291 wxEvent
*arg1
= (wxEvent
*) 0 ;
18292 wxObject
*arg2
= (wxObject
*) 0 ;
18297 PyObject
* obj0
= 0 ;
18298 PyObject
* obj1
= 0 ;
18299 char * kwnames
[] = {
18300 (char *) "self",(char *) "obj", NULL
18303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18305 if (!SWIG_IsOK(res1
)) {
18306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_SetEventObject" "', expected argument " "1"" of type '" "wxEvent *""'");
18308 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18309 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxObject
, 0 | 0 );
18310 if (!SWIG_IsOK(res2
)) {
18311 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Event_SetEventObject" "', expected argument " "2"" of type '" "wxObject *""'");
18313 arg2
= reinterpret_cast< wxObject
* >(argp2
);
18315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18316 (arg1
)->SetEventObject(arg2
);
18317 wxPyEndAllowThreads(__tstate
);
18318 if (PyErr_Occurred()) SWIG_fail
;
18320 resultobj
= SWIG_Py_Void();
18327 SWIGINTERN PyObject
*_wrap_Event_GetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18328 PyObject
*resultobj
= 0;
18329 wxEvent
*arg1
= (wxEvent
*) 0 ;
18333 PyObject
*swig_obj
[1] ;
18335 if (!args
) SWIG_fail
;
18336 swig_obj
[0] = args
;
18337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18338 if (!SWIG_IsOK(res1
)) {
18339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_GetTimestamp" "', expected argument " "1"" of type '" "wxEvent const *""'");
18341 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18344 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
18345 wxPyEndAllowThreads(__tstate
);
18346 if (PyErr_Occurred()) SWIG_fail
;
18348 resultobj
= SWIG_From_long(static_cast< long >(result
));
18355 SWIGINTERN PyObject
*_wrap_Event_SetTimestamp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18356 PyObject
*resultobj
= 0;
18357 wxEvent
*arg1
= (wxEvent
*) 0 ;
18358 long arg2
= (long) 0 ;
18363 PyObject
* obj0
= 0 ;
18364 PyObject
* obj1
= 0 ;
18365 char * kwnames
[] = {
18366 (char *) "self",(char *) "ts", NULL
18369 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18370 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18371 if (!SWIG_IsOK(res1
)) {
18372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_SetTimestamp" "', expected argument " "1"" of type '" "wxEvent *""'");
18374 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18376 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
18377 if (!SWIG_IsOK(ecode2
)) {
18378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Event_SetTimestamp" "', expected argument " "2"" of type '" "long""'");
18380 arg2
= static_cast< long >(val2
);
18383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18384 (arg1
)->SetTimestamp(arg2
);
18385 wxPyEndAllowThreads(__tstate
);
18386 if (PyErr_Occurred()) SWIG_fail
;
18388 resultobj
= SWIG_Py_Void();
18395 SWIGINTERN PyObject
*_wrap_Event_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18396 PyObject
*resultobj
= 0;
18397 wxEvent
*arg1
= (wxEvent
*) 0 ;
18401 PyObject
*swig_obj
[1] ;
18403 if (!args
) SWIG_fail
;
18404 swig_obj
[0] = args
;
18405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18406 if (!SWIG_IsOK(res1
)) {
18407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_GetId" "', expected argument " "1"" of type '" "wxEvent const *""'");
18409 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18412 result
= (int)((wxEvent
const *)arg1
)->GetId();
18413 wxPyEndAllowThreads(__tstate
);
18414 if (PyErr_Occurred()) SWIG_fail
;
18416 resultobj
= SWIG_From_int(static_cast< int >(result
));
18423 SWIGINTERN PyObject
*_wrap_Event_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18424 PyObject
*resultobj
= 0;
18425 wxEvent
*arg1
= (wxEvent
*) 0 ;
18431 PyObject
* obj0
= 0 ;
18432 PyObject
* obj1
= 0 ;
18433 char * kwnames
[] = {
18434 (char *) "self",(char *) "Id", NULL
18437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18439 if (!SWIG_IsOK(res1
)) {
18440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_SetId" "', expected argument " "1"" of type '" "wxEvent *""'");
18442 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18443 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18444 if (!SWIG_IsOK(ecode2
)) {
18445 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Event_SetId" "', expected argument " "2"" of type '" "int""'");
18447 arg2
= static_cast< int >(val2
);
18449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18450 (arg1
)->SetId(arg2
);
18451 wxPyEndAllowThreads(__tstate
);
18452 if (PyErr_Occurred()) SWIG_fail
;
18454 resultobj
= SWIG_Py_Void();
18461 SWIGINTERN PyObject
*_wrap_Event_IsCommandEvent(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_IsCommandEvent" "', expected argument " "1"" of type '" "wxEvent const *""'");
18475 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18478 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
18479 wxPyEndAllowThreads(__tstate
);
18480 if (PyErr_Occurred()) SWIG_fail
;
18483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18491 SWIGINTERN PyObject
*_wrap_Event_Skip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18492 PyObject
*resultobj
= 0;
18493 wxEvent
*arg1
= (wxEvent
*) 0 ;
18494 bool arg2
= (bool) true ;
18499 PyObject
* obj0
= 0 ;
18500 PyObject
* obj1
= 0 ;
18501 char * kwnames
[] = {
18502 (char *) "self",(char *) "skip", NULL
18505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18507 if (!SWIG_IsOK(res1
)) {
18508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_Skip" "', expected argument " "1"" of type '" "wxEvent *""'");
18510 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18512 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18513 if (!SWIG_IsOK(ecode2
)) {
18514 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Event_Skip" "', expected argument " "2"" of type '" "bool""'");
18516 arg2
= static_cast< bool >(val2
);
18519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18520 (arg1
)->Skip(arg2
);
18521 wxPyEndAllowThreads(__tstate
);
18522 if (PyErr_Occurred()) SWIG_fail
;
18524 resultobj
= SWIG_Py_Void();
18531 SWIGINTERN PyObject
*_wrap_Event_GetSkipped(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18532 PyObject
*resultobj
= 0;
18533 wxEvent
*arg1
= (wxEvent
*) 0 ;
18537 PyObject
*swig_obj
[1] ;
18539 if (!args
) SWIG_fail
;
18540 swig_obj
[0] = args
;
18541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18542 if (!SWIG_IsOK(res1
)) {
18543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_GetSkipped" "', expected argument " "1"" of type '" "wxEvent const *""'");
18545 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18548 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
18549 wxPyEndAllowThreads(__tstate
);
18550 if (PyErr_Occurred()) SWIG_fail
;
18553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18561 SWIGINTERN PyObject
*_wrap_Event_ShouldPropagate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18562 PyObject
*resultobj
= 0;
18563 wxEvent
*arg1
= (wxEvent
*) 0 ;
18567 PyObject
*swig_obj
[1] ;
18569 if (!args
) SWIG_fail
;
18570 swig_obj
[0] = args
;
18571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18572 if (!SWIG_IsOK(res1
)) {
18573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_ShouldPropagate" "', expected argument " "1"" of type '" "wxEvent const *""'");
18575 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18578 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
18579 wxPyEndAllowThreads(__tstate
);
18580 if (PyErr_Occurred()) SWIG_fail
;
18583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18591 SWIGINTERN PyObject
*_wrap_Event_StopPropagation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18592 PyObject
*resultobj
= 0;
18593 wxEvent
*arg1
= (wxEvent
*) 0 ;
18597 PyObject
*swig_obj
[1] ;
18599 if (!args
) SWIG_fail
;
18600 swig_obj
[0] = args
;
18601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18602 if (!SWIG_IsOK(res1
)) {
18603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_StopPropagation" "', expected argument " "1"" of type '" "wxEvent *""'");
18605 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18608 result
= (int)(arg1
)->StopPropagation();
18609 wxPyEndAllowThreads(__tstate
);
18610 if (PyErr_Occurred()) SWIG_fail
;
18612 resultobj
= SWIG_From_int(static_cast< int >(result
));
18619 SWIGINTERN PyObject
*_wrap_Event_ResumePropagation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18620 PyObject
*resultobj
= 0;
18621 wxEvent
*arg1
= (wxEvent
*) 0 ;
18627 PyObject
* obj0
= 0 ;
18628 PyObject
* obj1
= 0 ;
18629 char * kwnames
[] = {
18630 (char *) "self",(char *) "propagationLevel", NULL
18633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18635 if (!SWIG_IsOK(res1
)) {
18636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_ResumePropagation" "', expected argument " "1"" of type '" "wxEvent *""'");
18638 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18639 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18640 if (!SWIG_IsOK(ecode2
)) {
18641 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Event_ResumePropagation" "', expected argument " "2"" of type '" "int""'");
18643 arg2
= static_cast< int >(val2
);
18645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18646 (arg1
)->ResumePropagation(arg2
);
18647 wxPyEndAllowThreads(__tstate
);
18648 if (PyErr_Occurred()) SWIG_fail
;
18650 resultobj
= SWIG_Py_Void();
18657 SWIGINTERN PyObject
*_wrap_Event_Clone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18658 PyObject
*resultobj
= 0;
18659 wxEvent
*arg1
= (wxEvent
*) 0 ;
18660 wxEvent
*result
= 0 ;
18663 PyObject
*swig_obj
[1] ;
18665 if (!args
) SWIG_fail
;
18666 swig_obj
[0] = args
;
18667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEvent
, 0 | 0 );
18668 if (!SWIG_IsOK(res1
)) {
18669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Event_Clone" "', expected argument " "1"" of type '" "wxEvent *""'");
18671 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18674 result
= (wxEvent
*)(arg1
)->Clone();
18675 wxPyEndAllowThreads(__tstate
);
18676 if (PyErr_Occurred()) SWIG_fail
;
18678 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEvent
, 0 | 0 );
18685 SWIGINTERN PyObject
*Event_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18687 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18688 SWIG_TypeNewClientData(SWIGTYPE_p_wxEvent
, SWIG_NewClientData(obj
));
18689 return SWIG_Py_Void();
18692 SWIGINTERN PyObject
*_wrap_new_PropagationDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18693 PyObject
*resultobj
= 0;
18694 wxEvent
*arg1
= 0 ;
18695 wxPropagationDisabler
*result
= 0 ;
18698 PyObject
* obj0
= 0 ;
18699 char * kwnames
[] = {
18700 (char *) "event", NULL
18703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) SWIG_fail
;
18704 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxEvent
, 0 );
18705 if (!SWIG_IsOK(res1
)) {
18706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PropagationDisabler" "', expected argument " "1"" of type '" "wxEvent &""'");
18709 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PropagationDisabler" "', expected argument " "1"" of type '" "wxEvent &""'");
18711 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18714 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
18715 wxPyEndAllowThreads(__tstate
);
18716 if (PyErr_Occurred()) SWIG_fail
;
18718 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_NEW
| 0 );
18725 SWIGINTERN PyObject
*_wrap_delete_PropagationDisabler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18726 PyObject
*resultobj
= 0;
18727 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
18730 PyObject
*swig_obj
[1] ;
18732 if (!args
) SWIG_fail
;
18733 swig_obj
[0] = args
;
18734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPropagationDisabler
, SWIG_POINTER_DISOWN
| 0 );
18735 if (!SWIG_IsOK(res1
)) {
18736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PropagationDisabler" "', expected argument " "1"" of type '" "wxPropagationDisabler *""'");
18738 arg1
= reinterpret_cast< wxPropagationDisabler
* >(argp1
);
18740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18743 wxPyEndAllowThreads(__tstate
);
18744 if (PyErr_Occurred()) SWIG_fail
;
18746 resultobj
= SWIG_Py_Void();
18753 SWIGINTERN PyObject
*PropagationDisabler_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18755 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18756 SWIG_TypeNewClientData(SWIGTYPE_p_wxPropagationDisabler
, SWIG_NewClientData(obj
));
18757 return SWIG_Py_Void();
18760 SWIGINTERN PyObject
*PropagationDisabler_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18761 return SWIG_Python_InitShadowInstance(args
);
18764 SWIGINTERN PyObject
*_wrap_new_PropagateOnce(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18765 PyObject
*resultobj
= 0;
18766 wxEvent
*arg1
= 0 ;
18767 wxPropagateOnce
*result
= 0 ;
18770 PyObject
* obj0
= 0 ;
18771 char * kwnames
[] = {
18772 (char *) "event", NULL
18775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) SWIG_fail
;
18776 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxEvent
, 0 );
18777 if (!SWIG_IsOK(res1
)) {
18778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PropagateOnce" "', expected argument " "1"" of type '" "wxEvent &""'");
18781 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PropagateOnce" "', expected argument " "1"" of type '" "wxEvent &""'");
18783 arg1
= reinterpret_cast< wxEvent
* >(argp1
);
18785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18786 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
18787 wxPyEndAllowThreads(__tstate
);
18788 if (PyErr_Occurred()) SWIG_fail
;
18790 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_NEW
| 0 );
18797 SWIGINTERN PyObject
*_wrap_delete_PropagateOnce(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18798 PyObject
*resultobj
= 0;
18799 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
18802 PyObject
*swig_obj
[1] ;
18804 if (!args
) SWIG_fail
;
18805 swig_obj
[0] = args
;
18806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPropagateOnce
, SWIG_POINTER_DISOWN
| 0 );
18807 if (!SWIG_IsOK(res1
)) {
18808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PropagateOnce" "', expected argument " "1"" of type '" "wxPropagateOnce *""'");
18810 arg1
= reinterpret_cast< wxPropagateOnce
* >(argp1
);
18812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18815 wxPyEndAllowThreads(__tstate
);
18816 if (PyErr_Occurred()) SWIG_fail
;
18818 resultobj
= SWIG_Py_Void();
18825 SWIGINTERN PyObject
*PropagateOnce_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18827 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18828 SWIG_TypeNewClientData(SWIGTYPE_p_wxPropagateOnce
, SWIG_NewClientData(obj
));
18829 return SWIG_Py_Void();
18832 SWIGINTERN PyObject
*PropagateOnce_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18833 return SWIG_Python_InitShadowInstance(args
);
18836 SWIGINTERN PyObject
*_wrap_new_CommandEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18837 PyObject
*resultobj
= 0;
18838 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18839 int arg2
= (int) 0 ;
18840 wxCommandEvent
*result
= 0 ;
18845 PyObject
* obj0
= 0 ;
18846 PyObject
* obj1
= 0 ;
18847 char * kwnames
[] = {
18848 (char *) "commandType",(char *) "winid", NULL
18851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18853 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
18854 if (!SWIG_IsOK(ecode1
)) {
18855 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CommandEvent" "', expected argument " "1"" of type '" "wxEventType""'");
18857 arg1
= static_cast< wxEventType
>(val1
);
18860 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18861 if (!SWIG_IsOK(ecode2
)) {
18862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CommandEvent" "', expected argument " "2"" of type '" "int""'");
18864 arg2
= static_cast< int >(val2
);
18867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18868 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
18869 wxPyEndAllowThreads(__tstate
);
18870 if (PyErr_Occurred()) SWIG_fail
;
18872 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCommandEvent
, SWIG_POINTER_NEW
| 0 );
18879 SWIGINTERN PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18880 PyObject
*resultobj
= 0;
18881 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
18885 PyObject
*swig_obj
[1] ;
18887 if (!args
) SWIG_fail
;
18888 swig_obj
[0] = args
;
18889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
18890 if (!SWIG_IsOK(res1
)) {
18891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_GetSelection" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
18893 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
18895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18896 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
18897 wxPyEndAllowThreads(__tstate
);
18898 if (PyErr_Occurred()) SWIG_fail
;
18900 resultobj
= SWIG_From_int(static_cast< int >(result
));
18907 SWIGINTERN PyObject
*_wrap_CommandEvent_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18908 PyObject
*resultobj
= 0;
18909 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
18910 wxString
*arg2
= 0 ;
18913 bool temp2
= false ;
18914 PyObject
* obj0
= 0 ;
18915 PyObject
* obj1
= 0 ;
18916 char * kwnames
[] = {
18917 (char *) "self",(char *) "s", NULL
18920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
18922 if (!SWIG_IsOK(res1
)) {
18923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_SetString" "', expected argument " "1"" of type '" "wxCommandEvent *""'");
18925 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
18927 arg2
= wxString_in_helper(obj1
);
18928 if (arg2
== NULL
) SWIG_fail
;
18932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18933 (arg1
)->SetString((wxString
const &)*arg2
);
18934 wxPyEndAllowThreads(__tstate
);
18935 if (PyErr_Occurred()) SWIG_fail
;
18937 resultobj
= SWIG_Py_Void();
18952 SWIGINTERN PyObject
*_wrap_CommandEvent_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18953 PyObject
*resultobj
= 0;
18954 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
18958 PyObject
*swig_obj
[1] ;
18960 if (!args
) SWIG_fail
;
18961 swig_obj
[0] = args
;
18962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
18963 if (!SWIG_IsOK(res1
)) {
18964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_GetString" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
18966 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
18968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18969 result
= ((wxCommandEvent
const *)arg1
)->GetString();
18970 wxPyEndAllowThreads(__tstate
);
18971 if (PyErr_Occurred()) SWIG_fail
;
18975 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18977 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18986 SWIGINTERN PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18987 PyObject
*resultobj
= 0;
18988 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
18992 PyObject
*swig_obj
[1] ;
18994 if (!args
) SWIG_fail
;
18995 swig_obj
[0] = args
;
18996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
18997 if (!SWIG_IsOK(res1
)) {
18998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_IsChecked" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
19000 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
19002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19003 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
19004 wxPyEndAllowThreads(__tstate
);
19005 if (PyErr_Occurred()) SWIG_fail
;
19008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19016 SWIGINTERN PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19017 PyObject
*resultobj
= 0;
19018 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
19022 PyObject
*swig_obj
[1] ;
19024 if (!args
) SWIG_fail
;
19025 swig_obj
[0] = args
;
19026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
19027 if (!SWIG_IsOK(res1
)) {
19028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_IsSelection" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
19030 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
19032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19033 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
19034 wxPyEndAllowThreads(__tstate
);
19035 if (PyErr_Occurred()) SWIG_fail
;
19038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19046 SWIGINTERN PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19047 PyObject
*resultobj
= 0;
19048 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
19054 PyObject
* obj0
= 0 ;
19055 PyObject
* obj1
= 0 ;
19056 char * kwnames
[] = {
19057 (char *) "self",(char *) "extraLong", NULL
19060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
19062 if (!SWIG_IsOK(res1
)) {
19063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_SetExtraLong" "', expected argument " "1"" of type '" "wxCommandEvent *""'");
19065 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
19066 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
19067 if (!SWIG_IsOK(ecode2
)) {
19068 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CommandEvent_SetExtraLong" "', expected argument " "2"" of type '" "long""'");
19070 arg2
= static_cast< long >(val2
);
19072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19073 (arg1
)->SetExtraLong(arg2
);
19074 wxPyEndAllowThreads(__tstate
);
19075 if (PyErr_Occurred()) SWIG_fail
;
19077 resultobj
= SWIG_Py_Void();
19084 SWIGINTERN PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19085 PyObject
*resultobj
= 0;
19086 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
19090 PyObject
*swig_obj
[1] ;
19092 if (!args
) SWIG_fail
;
19093 swig_obj
[0] = args
;
19094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
19095 if (!SWIG_IsOK(res1
)) {
19096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_GetExtraLong" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
19098 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
19100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19101 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
19102 wxPyEndAllowThreads(__tstate
);
19103 if (PyErr_Occurred()) SWIG_fail
;
19105 resultobj
= SWIG_From_long(static_cast< long >(result
));
19112 SWIGINTERN PyObject
*_wrap_CommandEvent_SetInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19113 PyObject
*resultobj
= 0;
19114 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
19120 PyObject
* obj0
= 0 ;
19121 PyObject
* obj1
= 0 ;
19122 char * kwnames
[] = {
19123 (char *) "self",(char *) "i", NULL
19126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
19128 if (!SWIG_IsOK(res1
)) {
19129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_SetInt" "', expected argument " "1"" of type '" "wxCommandEvent *""'");
19131 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
19132 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19133 if (!SWIG_IsOK(ecode2
)) {
19134 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CommandEvent_SetInt" "', expected argument " "2"" of type '" "int""'");
19136 arg2
= static_cast< int >(val2
);
19138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19139 (arg1
)->SetInt(arg2
);
19140 wxPyEndAllowThreads(__tstate
);
19141 if (PyErr_Occurred()) SWIG_fail
;
19143 resultobj
= SWIG_Py_Void();
19150 SWIGINTERN PyObject
*_wrap_CommandEvent_GetInt(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19151 PyObject
*resultobj
= 0;
19152 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
19156 PyObject
*swig_obj
[1] ;
19158 if (!args
) SWIG_fail
;
19159 swig_obj
[0] = args
;
19160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
19161 if (!SWIG_IsOK(res1
)) {
19162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_GetInt" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
19164 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
19166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19167 result
= (int)((wxCommandEvent
const *)arg1
)->GetInt();
19168 wxPyEndAllowThreads(__tstate
);
19169 if (PyErr_Occurred()) SWIG_fail
;
19171 resultobj
= SWIG_From_int(static_cast< int >(result
));
19178 SWIGINTERN PyObject
*_wrap_CommandEvent_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19179 PyObject
*resultobj
= 0;
19180 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
19181 PyObject
*result
= 0 ;
19184 PyObject
*swig_obj
[1] ;
19186 if (!args
) SWIG_fail
;
19187 swig_obj
[0] = args
;
19188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
19189 if (!SWIG_IsOK(res1
)) {
19190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_GetClientData" "', expected argument " "1"" of type '" "wxCommandEvent *""'");
19192 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
19194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19195 result
= (PyObject
*)wxCommandEvent_GetClientData(arg1
);
19196 wxPyEndAllowThreads(__tstate
);
19197 if (PyErr_Occurred()) SWIG_fail
;
19199 resultobj
= result
;
19206 SWIGINTERN PyObject
*_wrap_CommandEvent_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19207 PyObject
*resultobj
= 0;
19208 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
19209 PyObject
*arg2
= (PyObject
*) 0 ;
19212 PyObject
* obj0
= 0 ;
19213 PyObject
* obj1
= 0 ;
19214 char * kwnames
[] = {
19215 (char *) "self",(char *) "clientData", NULL
19218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
19220 if (!SWIG_IsOK(res1
)) {
19221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_SetClientData" "', expected argument " "1"" of type '" "wxCommandEvent *""'");
19223 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
19226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19227 wxCommandEvent_SetClientData(arg1
,arg2
);
19228 wxPyEndAllowThreads(__tstate
);
19229 if (PyErr_Occurred()) SWIG_fail
;
19231 resultobj
= SWIG_Py_Void();
19238 SWIGINTERN PyObject
*_wrap_CommandEvent_Clone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19239 PyObject
*resultobj
= 0;
19240 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
19241 wxEvent
*result
= 0 ;
19244 PyObject
*swig_obj
[1] ;
19246 if (!args
) SWIG_fail
;
19247 swig_obj
[0] = args
;
19248 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCommandEvent
, 0 | 0 );
19249 if (!SWIG_IsOK(res1
)) {
19250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CommandEvent_Clone" "', expected argument " "1"" of type '" "wxCommandEvent const *""'");
19252 arg1
= reinterpret_cast< wxCommandEvent
* >(argp1
);
19254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19255 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
19256 wxPyEndAllowThreads(__tstate
);
19257 if (PyErr_Occurred()) SWIG_fail
;
19259 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEvent
, 0 | 0 );
19266 SWIGINTERN PyObject
*CommandEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19268 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19269 SWIG_TypeNewClientData(SWIGTYPE_p_wxCommandEvent
, SWIG_NewClientData(obj
));
19270 return SWIG_Py_Void();
19273 SWIGINTERN PyObject
*CommandEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19274 return SWIG_Python_InitShadowInstance(args
);
19277 SWIGINTERN PyObject
*_wrap_new_NotifyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19278 PyObject
*resultobj
= 0;
19279 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19280 int arg2
= (int) 0 ;
19281 wxNotifyEvent
*result
= 0 ;
19286 PyObject
* obj0
= 0 ;
19287 PyObject
* obj1
= 0 ;
19288 char * kwnames
[] = {
19289 (char *) "commandType",(char *) "winid", NULL
19292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19294 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19295 if (!SWIG_IsOK(ecode1
)) {
19296 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NotifyEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19298 arg1
= static_cast< wxEventType
>(val1
);
19301 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19302 if (!SWIG_IsOK(ecode2
)) {
19303 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_NotifyEvent" "', expected argument " "2"" of type '" "int""'");
19305 arg2
= static_cast< int >(val2
);
19308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19309 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
19310 wxPyEndAllowThreads(__tstate
);
19311 if (PyErr_Occurred()) SWIG_fail
;
19313 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNotifyEvent
, SWIG_POINTER_NEW
| 0 );
19320 SWIGINTERN PyObject
*_wrap_NotifyEvent_Veto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19321 PyObject
*resultobj
= 0;
19322 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
19325 PyObject
*swig_obj
[1] ;
19327 if (!args
) SWIG_fail
;
19328 swig_obj
[0] = args
;
19329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotifyEvent
, 0 | 0 );
19330 if (!SWIG_IsOK(res1
)) {
19331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NotifyEvent_Veto" "', expected argument " "1"" of type '" "wxNotifyEvent *""'");
19333 arg1
= reinterpret_cast< wxNotifyEvent
* >(argp1
);
19335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19337 wxPyEndAllowThreads(__tstate
);
19338 if (PyErr_Occurred()) SWIG_fail
;
19340 resultobj
= SWIG_Py_Void();
19347 SWIGINTERN PyObject
*_wrap_NotifyEvent_Allow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19348 PyObject
*resultobj
= 0;
19349 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
19352 PyObject
*swig_obj
[1] ;
19354 if (!args
) SWIG_fail
;
19355 swig_obj
[0] = args
;
19356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotifyEvent
, 0 | 0 );
19357 if (!SWIG_IsOK(res1
)) {
19358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NotifyEvent_Allow" "', expected argument " "1"" of type '" "wxNotifyEvent *""'");
19360 arg1
= reinterpret_cast< wxNotifyEvent
* >(argp1
);
19362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19364 wxPyEndAllowThreads(__tstate
);
19365 if (PyErr_Occurred()) SWIG_fail
;
19367 resultobj
= SWIG_Py_Void();
19374 SWIGINTERN PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19375 PyObject
*resultobj
= 0;
19376 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
19380 PyObject
*swig_obj
[1] ;
19382 if (!args
) SWIG_fail
;
19383 swig_obj
[0] = args
;
19384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNotifyEvent
, 0 | 0 );
19385 if (!SWIG_IsOK(res1
)) {
19386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NotifyEvent_IsAllowed" "', expected argument " "1"" of type '" "wxNotifyEvent *""'");
19388 arg1
= reinterpret_cast< wxNotifyEvent
* >(argp1
);
19390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19391 result
= (bool)(arg1
)->IsAllowed();
19392 wxPyEndAllowThreads(__tstate
);
19393 if (PyErr_Occurred()) SWIG_fail
;
19396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19404 SWIGINTERN PyObject
*NotifyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19406 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19407 SWIG_TypeNewClientData(SWIGTYPE_p_wxNotifyEvent
, SWIG_NewClientData(obj
));
19408 return SWIG_Py_Void();
19411 SWIGINTERN PyObject
*NotifyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19412 return SWIG_Python_InitShadowInstance(args
);
19415 SWIGINTERN PyObject
*_wrap_new_ScrollEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19416 PyObject
*resultobj
= 0;
19417 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19418 int arg2
= (int) 0 ;
19419 int arg3
= (int) 0 ;
19420 int arg4
= (int) 0 ;
19421 wxScrollEvent
*result
= 0 ;
19430 PyObject
* obj0
= 0 ;
19431 PyObject
* obj1
= 0 ;
19432 PyObject
* obj2
= 0 ;
19433 PyObject
* obj3
= 0 ;
19434 char * kwnames
[] = {
19435 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
19438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19440 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19441 if (!SWIG_IsOK(ecode1
)) {
19442 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ScrollEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19444 arg1
= static_cast< wxEventType
>(val1
);
19447 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19448 if (!SWIG_IsOK(ecode2
)) {
19449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollEvent" "', expected argument " "2"" of type '" "int""'");
19451 arg2
= static_cast< int >(val2
);
19454 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19455 if (!SWIG_IsOK(ecode3
)) {
19456 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ScrollEvent" "', expected argument " "3"" of type '" "int""'");
19458 arg3
= static_cast< int >(val3
);
19461 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19462 if (!SWIG_IsOK(ecode4
)) {
19463 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_ScrollEvent" "', expected argument " "4"" of type '" "int""'");
19465 arg4
= static_cast< int >(val4
);
19468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19469 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
19470 wxPyEndAllowThreads(__tstate
);
19471 if (PyErr_Occurred()) SWIG_fail
;
19473 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollEvent
, SWIG_POINTER_NEW
| 0 );
19480 SWIGINTERN PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19481 PyObject
*resultobj
= 0;
19482 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
19486 PyObject
*swig_obj
[1] ;
19488 if (!args
) SWIG_fail
;
19489 swig_obj
[0] = args
;
19490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollEvent
, 0 | 0 );
19491 if (!SWIG_IsOK(res1
)) {
19492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollEvent_GetOrientation" "', expected argument " "1"" of type '" "wxScrollEvent const *""'");
19494 arg1
= reinterpret_cast< wxScrollEvent
* >(argp1
);
19496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19497 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
19498 wxPyEndAllowThreads(__tstate
);
19499 if (PyErr_Occurred()) SWIG_fail
;
19501 resultobj
= SWIG_From_int(static_cast< int >(result
));
19508 SWIGINTERN PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19509 PyObject
*resultobj
= 0;
19510 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
19514 PyObject
*swig_obj
[1] ;
19516 if (!args
) SWIG_fail
;
19517 swig_obj
[0] = args
;
19518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollEvent
, 0 | 0 );
19519 if (!SWIG_IsOK(res1
)) {
19520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollEvent_GetPosition" "', expected argument " "1"" of type '" "wxScrollEvent const *""'");
19522 arg1
= reinterpret_cast< wxScrollEvent
* >(argp1
);
19524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19525 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
19526 wxPyEndAllowThreads(__tstate
);
19527 if (PyErr_Occurred()) SWIG_fail
;
19529 resultobj
= SWIG_From_int(static_cast< int >(result
));
19536 SWIGINTERN PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19537 PyObject
*resultobj
= 0;
19538 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
19544 PyObject
* obj0
= 0 ;
19545 PyObject
* obj1
= 0 ;
19546 char * kwnames
[] = {
19547 (char *) "self",(char *) "orient", NULL
19550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollEvent
, 0 | 0 );
19552 if (!SWIG_IsOK(res1
)) {
19553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollEvent_SetOrientation" "', expected argument " "1"" of type '" "wxScrollEvent *""'");
19555 arg1
= reinterpret_cast< wxScrollEvent
* >(argp1
);
19556 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19557 if (!SWIG_IsOK(ecode2
)) {
19558 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollEvent_SetOrientation" "', expected argument " "2"" of type '" "int""'");
19560 arg2
= static_cast< int >(val2
);
19562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19563 (arg1
)->SetOrientation(arg2
);
19564 wxPyEndAllowThreads(__tstate
);
19565 if (PyErr_Occurred()) SWIG_fail
;
19567 resultobj
= SWIG_Py_Void();
19574 SWIGINTERN PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19575 PyObject
*resultobj
= 0;
19576 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
19582 PyObject
* obj0
= 0 ;
19583 PyObject
* obj1
= 0 ;
19584 char * kwnames
[] = {
19585 (char *) "self",(char *) "pos", NULL
19588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollEvent
, 0 | 0 );
19590 if (!SWIG_IsOK(res1
)) {
19591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollEvent_SetPosition" "', expected argument " "1"" of type '" "wxScrollEvent *""'");
19593 arg1
= reinterpret_cast< wxScrollEvent
* >(argp1
);
19594 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19595 if (!SWIG_IsOK(ecode2
)) {
19596 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
19598 arg2
= static_cast< int >(val2
);
19600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19601 (arg1
)->SetPosition(arg2
);
19602 wxPyEndAllowThreads(__tstate
);
19603 if (PyErr_Occurred()) SWIG_fail
;
19605 resultobj
= SWIG_Py_Void();
19612 SWIGINTERN PyObject
*ScrollEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19614 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19615 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollEvent
, SWIG_NewClientData(obj
));
19616 return SWIG_Py_Void();
19619 SWIGINTERN PyObject
*ScrollEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19620 return SWIG_Python_InitShadowInstance(args
);
19623 SWIGINTERN PyObject
*_wrap_new_ScrollWinEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19624 PyObject
*resultobj
= 0;
19625 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19626 int arg2
= (int) 0 ;
19627 int arg3
= (int) 0 ;
19628 wxScrollWinEvent
*result
= 0 ;
19635 PyObject
* obj0
= 0 ;
19636 PyObject
* obj1
= 0 ;
19637 PyObject
* obj2
= 0 ;
19638 char * kwnames
[] = {
19639 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
19642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19644 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19645 if (!SWIG_IsOK(ecode1
)) {
19646 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ScrollWinEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19648 arg1
= static_cast< wxEventType
>(val1
);
19651 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19652 if (!SWIG_IsOK(ecode2
)) {
19653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrollWinEvent" "', expected argument " "2"" of type '" "int""'");
19655 arg2
= static_cast< int >(val2
);
19658 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19659 if (!SWIG_IsOK(ecode3
)) {
19660 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ScrollWinEvent" "', expected argument " "3"" of type '" "int""'");
19662 arg3
= static_cast< int >(val3
);
19665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19666 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
19667 wxPyEndAllowThreads(__tstate
);
19668 if (PyErr_Occurred()) SWIG_fail
;
19670 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_NEW
| 0 );
19677 SWIGINTERN PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19678 PyObject
*resultobj
= 0;
19679 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
19683 PyObject
*swig_obj
[1] ;
19685 if (!args
) SWIG_fail
;
19686 swig_obj
[0] = args
;
19687 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollWinEvent
, 0 | 0 );
19688 if (!SWIG_IsOK(res1
)) {
19689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollWinEvent_GetOrientation" "', expected argument " "1"" of type '" "wxScrollWinEvent const *""'");
19691 arg1
= reinterpret_cast< wxScrollWinEvent
* >(argp1
);
19693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19694 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
19695 wxPyEndAllowThreads(__tstate
);
19696 if (PyErr_Occurred()) SWIG_fail
;
19698 resultobj
= SWIG_From_int(static_cast< int >(result
));
19705 SWIGINTERN PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19706 PyObject
*resultobj
= 0;
19707 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
19711 PyObject
*swig_obj
[1] ;
19713 if (!args
) SWIG_fail
;
19714 swig_obj
[0] = args
;
19715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrollWinEvent
, 0 | 0 );
19716 if (!SWIG_IsOK(res1
)) {
19717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollWinEvent_GetPosition" "', expected argument " "1"" of type '" "wxScrollWinEvent const *""'");
19719 arg1
= reinterpret_cast< wxScrollWinEvent
* >(argp1
);
19721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19722 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
19723 wxPyEndAllowThreads(__tstate
);
19724 if (PyErr_Occurred()) SWIG_fail
;
19726 resultobj
= SWIG_From_int(static_cast< int >(result
));
19733 SWIGINTERN PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19734 PyObject
*resultobj
= 0;
19735 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
19741 PyObject
* obj0
= 0 ;
19742 PyObject
* obj1
= 0 ;
19743 char * kwnames
[] = {
19744 (char *) "self",(char *) "orient", NULL
19747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollWinEvent
, 0 | 0 );
19749 if (!SWIG_IsOK(res1
)) {
19750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollWinEvent_SetOrientation" "', expected argument " "1"" of type '" "wxScrollWinEvent *""'");
19752 arg1
= reinterpret_cast< wxScrollWinEvent
* >(argp1
);
19753 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19754 if (!SWIG_IsOK(ecode2
)) {
19755 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollWinEvent_SetOrientation" "', expected argument " "2"" of type '" "int""'");
19757 arg2
= static_cast< int >(val2
);
19759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19760 (arg1
)->SetOrientation(arg2
);
19761 wxPyEndAllowThreads(__tstate
);
19762 if (PyErr_Occurred()) SWIG_fail
;
19764 resultobj
= SWIG_Py_Void();
19771 SWIGINTERN PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19772 PyObject
*resultobj
= 0;
19773 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
19779 PyObject
* obj0
= 0 ;
19780 PyObject
* obj1
= 0 ;
19781 char * kwnames
[] = {
19782 (char *) "self",(char *) "pos", NULL
19785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrollWinEvent
, 0 | 0 );
19787 if (!SWIG_IsOK(res1
)) {
19788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrollWinEvent_SetPosition" "', expected argument " "1"" of type '" "wxScrollWinEvent *""'");
19790 arg1
= reinterpret_cast< wxScrollWinEvent
* >(argp1
);
19791 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19792 if (!SWIG_IsOK(ecode2
)) {
19793 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrollWinEvent_SetPosition" "', expected argument " "2"" of type '" "int""'");
19795 arg2
= static_cast< int >(val2
);
19797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19798 (arg1
)->SetPosition(arg2
);
19799 wxPyEndAllowThreads(__tstate
);
19800 if (PyErr_Occurred()) SWIG_fail
;
19802 resultobj
= SWIG_Py_Void();
19809 SWIGINTERN PyObject
*ScrollWinEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19811 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19812 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrollWinEvent
, SWIG_NewClientData(obj
));
19813 return SWIG_Py_Void();
19816 SWIGINTERN PyObject
*ScrollWinEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19817 return SWIG_Python_InitShadowInstance(args
);
19820 SWIGINTERN PyObject
*_wrap_new_MouseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19821 PyObject
*resultobj
= 0;
19822 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19823 wxMouseEvent
*result
= 0 ;
19826 PyObject
* obj0
= 0 ;
19827 char * kwnames
[] = {
19828 (char *) "mouseType", NULL
19831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) SWIG_fail
;
19833 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19834 if (!SWIG_IsOK(ecode1
)) {
19835 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MouseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19837 arg1
= static_cast< wxEventType
>(val1
);
19840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19841 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
19842 wxPyEndAllowThreads(__tstate
);
19843 if (PyErr_Occurred()) SWIG_fail
;
19846 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
19854 SWIGINTERN PyObject
*_wrap_MouseEvent_IsButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19855 PyObject
*resultobj
= 0;
19856 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
19860 PyObject
*swig_obj
[1] ;
19862 if (!args
) SWIG_fail
;
19863 swig_obj
[0] = args
;
19864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
19865 if (!SWIG_IsOK(res1
)) {
19866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_IsButton" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
19868 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
19870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19871 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
19872 wxPyEndAllowThreads(__tstate
);
19873 if (PyErr_Occurred()) SWIG_fail
;
19876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19884 SWIGINTERN PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19885 PyObject
*resultobj
= 0;
19886 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
19887 int arg2
= (int) wxMOUSE_BTN_ANY
;
19893 PyObject
* obj0
= 0 ;
19894 PyObject
* obj1
= 0 ;
19895 char * kwnames
[] = {
19896 (char *) "self",(char *) "but", NULL
19899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
19901 if (!SWIG_IsOK(res1
)) {
19902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ButtonDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
19904 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
19906 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19907 if (!SWIG_IsOK(ecode2
)) {
19908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_ButtonDown" "', expected argument " "2"" of type '" "int""'");
19910 arg2
= static_cast< int >(val2
);
19913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19914 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
19915 wxPyEndAllowThreads(__tstate
);
19916 if (PyErr_Occurred()) SWIG_fail
;
19919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19927 SWIGINTERN PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19928 PyObject
*resultobj
= 0;
19929 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
19930 int arg2
= (int) wxMOUSE_BTN_ANY
;
19936 PyObject
* obj0
= 0 ;
19937 PyObject
* obj1
= 0 ;
19938 char * kwnames
[] = {
19939 (char *) "self",(char *) "but", NULL
19942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
19944 if (!SWIG_IsOK(res1
)) {
19945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ButtonDClick" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
19947 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
19949 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19950 if (!SWIG_IsOK(ecode2
)) {
19951 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_ButtonDClick" "', expected argument " "2"" of type '" "int""'");
19953 arg2
= static_cast< int >(val2
);
19956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19957 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
19958 wxPyEndAllowThreads(__tstate
);
19959 if (PyErr_Occurred()) SWIG_fail
;
19962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19970 SWIGINTERN PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19971 PyObject
*resultobj
= 0;
19972 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
19973 int arg2
= (int) wxMOUSE_BTN_ANY
;
19979 PyObject
* obj0
= 0 ;
19980 PyObject
* obj1
= 0 ;
19981 char * kwnames
[] = {
19982 (char *) "self",(char *) "but", NULL
19985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
19987 if (!SWIG_IsOK(res1
)) {
19988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ButtonUp" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
19990 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
19992 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19993 if (!SWIG_IsOK(ecode2
)) {
19994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_ButtonUp" "', expected argument " "2"" of type '" "int""'");
19996 arg2
= static_cast< int >(val2
);
19999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20000 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
20001 wxPyEndAllowThreads(__tstate
);
20002 if (PyErr_Occurred()) SWIG_fail
;
20005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20013 SWIGINTERN PyObject
*_wrap_MouseEvent_Button(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20014 PyObject
*resultobj
= 0;
20015 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20022 PyObject
* obj0
= 0 ;
20023 PyObject
* obj1
= 0 ;
20024 char * kwnames
[] = {
20025 (char *) "self",(char *) "button", NULL
20028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20029 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20030 if (!SWIG_IsOK(res1
)) {
20031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_Button" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20033 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20034 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20035 if (!SWIG_IsOK(ecode2
)) {
20036 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_Button" "', expected argument " "2"" of type '" "int""'");
20038 arg2
= static_cast< int >(val2
);
20040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20041 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
20042 wxPyEndAllowThreads(__tstate
);
20043 if (PyErr_Occurred()) SWIG_fail
;
20046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20054 SWIGINTERN PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20055 PyObject
*resultobj
= 0;
20056 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20063 PyObject
* obj0
= 0 ;
20064 PyObject
* obj1
= 0 ;
20065 char * kwnames
[] = {
20066 (char *) "self",(char *) "but", NULL
20069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20071 if (!SWIG_IsOK(res1
)) {
20072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ButtonIsDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20074 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20075 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20076 if (!SWIG_IsOK(ecode2
)) {
20077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_ButtonIsDown" "', expected argument " "2"" of type '" "int""'");
20079 arg2
= static_cast< int >(val2
);
20081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20082 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
20083 wxPyEndAllowThreads(__tstate
);
20084 if (PyErr_Occurred()) SWIG_fail
;
20087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20095 SWIGINTERN PyObject
*_wrap_MouseEvent_GetButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20096 PyObject
*resultobj
= 0;
20097 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20101 PyObject
*swig_obj
[1] ;
20103 if (!args
) SWIG_fail
;
20104 swig_obj
[0] = args
;
20105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20106 if (!SWIG_IsOK(res1
)) {
20107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetButton" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20109 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20112 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
20113 wxPyEndAllowThreads(__tstate
);
20114 if (PyErr_Occurred()) SWIG_fail
;
20116 resultobj
= SWIG_From_int(static_cast< int >(result
));
20123 SWIGINTERN PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20124 PyObject
*resultobj
= 0;
20125 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20129 PyObject
*swig_obj
[1] ;
20131 if (!args
) SWIG_fail
;
20132 swig_obj
[0] = args
;
20133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20134 if (!SWIG_IsOK(res1
)) {
20135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ControlDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20137 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20140 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
20141 wxPyEndAllowThreads(__tstate
);
20142 if (PyErr_Occurred()) SWIG_fail
;
20145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20153 SWIGINTERN PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20154 PyObject
*resultobj
= 0;
20155 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20159 PyObject
*swig_obj
[1] ;
20161 if (!args
) SWIG_fail
;
20162 swig_obj
[0] = args
;
20163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20164 if (!SWIG_IsOK(res1
)) {
20165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_MetaDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20167 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20170 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
20171 wxPyEndAllowThreads(__tstate
);
20172 if (PyErr_Occurred()) SWIG_fail
;
20175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20183 SWIGINTERN PyObject
*_wrap_MouseEvent_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20184 PyObject
*resultobj
= 0;
20185 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20189 PyObject
*swig_obj
[1] ;
20191 if (!args
) SWIG_fail
;
20192 swig_obj
[0] = args
;
20193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20194 if (!SWIG_IsOK(res1
)) {
20195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_AltDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20197 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20200 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
20201 wxPyEndAllowThreads(__tstate
);
20202 if (PyErr_Occurred()) SWIG_fail
;
20205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20213 SWIGINTERN PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20214 PyObject
*resultobj
= 0;
20215 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20219 PyObject
*swig_obj
[1] ;
20221 if (!args
) SWIG_fail
;
20222 swig_obj
[0] = args
;
20223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20224 if (!SWIG_IsOK(res1
)) {
20225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_ShiftDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20227 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20230 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
20231 wxPyEndAllowThreads(__tstate
);
20232 if (PyErr_Occurred()) SWIG_fail
;
20235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20243 SWIGINTERN PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20244 PyObject
*resultobj
= 0;
20245 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20249 PyObject
*swig_obj
[1] ;
20251 if (!args
) SWIG_fail
;
20252 swig_obj
[0] = args
;
20253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20254 if (!SWIG_IsOK(res1
)) {
20255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_CmdDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20257 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20260 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
20261 wxPyEndAllowThreads(__tstate
);
20262 if (PyErr_Occurred()) SWIG_fail
;
20265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20273 SWIGINTERN PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20274 PyObject
*resultobj
= 0;
20275 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20279 PyObject
*swig_obj
[1] ;
20281 if (!args
) SWIG_fail
;
20282 swig_obj
[0] = args
;
20283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20284 if (!SWIG_IsOK(res1
)) {
20285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_LeftDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20287 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20290 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
20291 wxPyEndAllowThreads(__tstate
);
20292 if (PyErr_Occurred()) SWIG_fail
;
20295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20303 SWIGINTERN PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20304 PyObject
*resultobj
= 0;
20305 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20309 PyObject
*swig_obj
[1] ;
20311 if (!args
) SWIG_fail
;
20312 swig_obj
[0] = args
;
20313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20314 if (!SWIG_IsOK(res1
)) {
20315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_MiddleDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20317 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20320 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
20321 wxPyEndAllowThreads(__tstate
);
20322 if (PyErr_Occurred()) SWIG_fail
;
20325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20333 SWIGINTERN PyObject
*_wrap_MouseEvent_RightDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20334 PyObject
*resultobj
= 0;
20335 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20339 PyObject
*swig_obj
[1] ;
20341 if (!args
) SWIG_fail
;
20342 swig_obj
[0] = args
;
20343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20344 if (!SWIG_IsOK(res1
)) {
20345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_RightDown" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20347 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20350 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
20351 wxPyEndAllowThreads(__tstate
);
20352 if (PyErr_Occurred()) SWIG_fail
;
20355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20363 SWIGINTERN PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20364 PyObject
*resultobj
= 0;
20365 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20369 PyObject
*swig_obj
[1] ;
20371 if (!args
) SWIG_fail
;
20372 swig_obj
[0] = args
;
20373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20374 if (!SWIG_IsOK(res1
)) {
20375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_LeftUp" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20377 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20380 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
20381 wxPyEndAllowThreads(__tstate
);
20382 if (PyErr_Occurred()) SWIG_fail
;
20385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20393 SWIGINTERN PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20394 PyObject
*resultobj
= 0;
20395 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20399 PyObject
*swig_obj
[1] ;
20401 if (!args
) SWIG_fail
;
20402 swig_obj
[0] = args
;
20403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20404 if (!SWIG_IsOK(res1
)) {
20405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_MiddleUp" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20407 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20410 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
20411 wxPyEndAllowThreads(__tstate
);
20412 if (PyErr_Occurred()) SWIG_fail
;
20415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20423 SWIGINTERN PyObject
*_wrap_MouseEvent_RightUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20424 PyObject
*resultobj
= 0;
20425 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20429 PyObject
*swig_obj
[1] ;
20431 if (!args
) SWIG_fail
;
20432 swig_obj
[0] = args
;
20433 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20434 if (!SWIG_IsOK(res1
)) {
20435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_RightUp" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20437 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20440 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
20441 wxPyEndAllowThreads(__tstate
);
20442 if (PyErr_Occurred()) SWIG_fail
;
20445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20453 SWIGINTERN PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20454 PyObject
*resultobj
= 0;
20455 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20459 PyObject
*swig_obj
[1] ;
20461 if (!args
) SWIG_fail
;
20462 swig_obj
[0] = args
;
20463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20464 if (!SWIG_IsOK(res1
)) {
20465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_LeftDClick" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20467 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20470 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
20471 wxPyEndAllowThreads(__tstate
);
20472 if (PyErr_Occurred()) SWIG_fail
;
20475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20483 SWIGINTERN PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20484 PyObject
*resultobj
= 0;
20485 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20489 PyObject
*swig_obj
[1] ;
20491 if (!args
) SWIG_fail
;
20492 swig_obj
[0] = args
;
20493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20494 if (!SWIG_IsOK(res1
)) {
20495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_MiddleDClick" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20497 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20500 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
20501 wxPyEndAllowThreads(__tstate
);
20502 if (PyErr_Occurred()) SWIG_fail
;
20505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20513 SWIGINTERN PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20514 PyObject
*resultobj
= 0;
20515 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20519 PyObject
*swig_obj
[1] ;
20521 if (!args
) SWIG_fail
;
20522 swig_obj
[0] = args
;
20523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20524 if (!SWIG_IsOK(res1
)) {
20525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_RightDClick" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20527 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20530 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
20531 wxPyEndAllowThreads(__tstate
);
20532 if (PyErr_Occurred()) SWIG_fail
;
20535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20543 SWIGINTERN PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20544 PyObject
*resultobj
= 0;
20545 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20549 PyObject
*swig_obj
[1] ;
20551 if (!args
) SWIG_fail
;
20552 swig_obj
[0] = args
;
20553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20554 if (!SWIG_IsOK(res1
)) {
20555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_LeftIsDown" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
20557 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20560 result
= (bool)(arg1
)->LeftIsDown();
20561 wxPyEndAllowThreads(__tstate
);
20562 if (PyErr_Occurred()) SWIG_fail
;
20565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20573 SWIGINTERN PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20574 PyObject
*resultobj
= 0;
20575 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20579 PyObject
*swig_obj
[1] ;
20581 if (!args
) SWIG_fail
;
20582 swig_obj
[0] = args
;
20583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20584 if (!SWIG_IsOK(res1
)) {
20585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_MiddleIsDown" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
20587 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20590 result
= (bool)(arg1
)->MiddleIsDown();
20591 wxPyEndAllowThreads(__tstate
);
20592 if (PyErr_Occurred()) SWIG_fail
;
20595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20603 SWIGINTERN PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20604 PyObject
*resultobj
= 0;
20605 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20609 PyObject
*swig_obj
[1] ;
20611 if (!args
) SWIG_fail
;
20612 swig_obj
[0] = args
;
20613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20614 if (!SWIG_IsOK(res1
)) {
20615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_RightIsDown" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
20617 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20620 result
= (bool)(arg1
)->RightIsDown();
20621 wxPyEndAllowThreads(__tstate
);
20622 if (PyErr_Occurred()) SWIG_fail
;
20625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20633 SWIGINTERN PyObject
*_wrap_MouseEvent_Dragging(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20634 PyObject
*resultobj
= 0;
20635 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20639 PyObject
*swig_obj
[1] ;
20641 if (!args
) SWIG_fail
;
20642 swig_obj
[0] = args
;
20643 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20644 if (!SWIG_IsOK(res1
)) {
20645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_Dragging" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20647 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20650 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
20651 wxPyEndAllowThreads(__tstate
);
20652 if (PyErr_Occurred()) SWIG_fail
;
20655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20663 SWIGINTERN PyObject
*_wrap_MouseEvent_Moving(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20664 PyObject
*resultobj
= 0;
20665 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20669 PyObject
*swig_obj
[1] ;
20671 if (!args
) SWIG_fail
;
20672 swig_obj
[0] = args
;
20673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20674 if (!SWIG_IsOK(res1
)) {
20675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_Moving" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20677 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20680 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
20681 wxPyEndAllowThreads(__tstate
);
20682 if (PyErr_Occurred()) SWIG_fail
;
20685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20693 SWIGINTERN PyObject
*_wrap_MouseEvent_Entering(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20694 PyObject
*resultobj
= 0;
20695 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20699 PyObject
*swig_obj
[1] ;
20701 if (!args
) SWIG_fail
;
20702 swig_obj
[0] = args
;
20703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20704 if (!SWIG_IsOK(res1
)) {
20705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_Entering" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20707 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20710 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
20711 wxPyEndAllowThreads(__tstate
);
20712 if (PyErr_Occurred()) SWIG_fail
;
20715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20723 SWIGINTERN PyObject
*_wrap_MouseEvent_Leaving(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20724 PyObject
*resultobj
= 0;
20725 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20729 PyObject
*swig_obj
[1] ;
20731 if (!args
) SWIG_fail
;
20732 swig_obj
[0] = args
;
20733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20734 if (!SWIG_IsOK(res1
)) {
20735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_Leaving" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20737 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20740 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
20741 wxPyEndAllowThreads(__tstate
);
20742 if (PyErr_Occurred()) SWIG_fail
;
20745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20753 SWIGINTERN PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20754 PyObject
*resultobj
= 0;
20755 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20759 PyObject
*swig_obj
[1] ;
20761 if (!args
) SWIG_fail
;
20762 swig_obj
[0] = args
;
20763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20764 if (!SWIG_IsOK(res1
)) {
20765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetPosition" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
20767 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20770 result
= (arg1
)->GetPosition();
20771 wxPyEndAllowThreads(__tstate
);
20772 if (PyErr_Occurred()) SWIG_fail
;
20774 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
20781 SWIGINTERN PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20782 PyObject
*resultobj
= 0;
20783 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20784 long *arg2
= (long *) 0 ;
20785 long *arg3
= (long *) 0 ;
20789 int res2
= SWIG_TMPOBJ
;
20791 int res3
= SWIG_TMPOBJ
;
20792 PyObject
*swig_obj
[1] ;
20796 if (!args
) SWIG_fail
;
20797 swig_obj
[0] = args
;
20798 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20799 if (!SWIG_IsOK(res1
)) {
20800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetPositionTuple" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
20802 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20805 (arg1
)->GetPosition(arg2
,arg3
);
20806 wxPyEndAllowThreads(__tstate
);
20807 if (PyErr_Occurred()) SWIG_fail
;
20809 resultobj
= SWIG_Py_Void();
20810 if (SWIG_IsTmpObj(res2
)) {
20811 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
20813 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20814 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
20816 if (SWIG_IsTmpObj(res3
)) {
20817 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
20819 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
20820 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
20828 SWIGINTERN PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20829 PyObject
*resultobj
= 0;
20830 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20837 PyObject
* obj0
= 0 ;
20838 PyObject
* obj1
= 0 ;
20839 char * kwnames
[] = {
20840 (char *) "self",(char *) "dc", NULL
20843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20845 if (!SWIG_IsOK(res1
)) {
20846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetLogicalPosition" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20848 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20849 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 | 0);
20850 if (!SWIG_IsOK(res2
)) {
20851 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MouseEvent_GetLogicalPosition" "', expected argument " "2"" of type '" "wxDC const &""'");
20854 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MouseEvent_GetLogicalPosition" "', expected argument " "2"" of type '" "wxDC const &""'");
20856 arg2
= reinterpret_cast< wxDC
* >(argp2
);
20858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20859 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
20860 wxPyEndAllowThreads(__tstate
);
20861 if (PyErr_Occurred()) SWIG_fail
;
20863 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
20870 SWIGINTERN PyObject
*_wrap_MouseEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20871 PyObject
*resultobj
= 0;
20872 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20876 PyObject
*swig_obj
[1] ;
20878 if (!args
) SWIG_fail
;
20879 swig_obj
[0] = args
;
20880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20881 if (!SWIG_IsOK(res1
)) {
20882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetX" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20884 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20887 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
20888 wxPyEndAllowThreads(__tstate
);
20889 if (PyErr_Occurred()) SWIG_fail
;
20891 resultobj
= SWIG_From_int(static_cast< int >(result
));
20898 SWIGINTERN PyObject
*_wrap_MouseEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20899 PyObject
*resultobj
= 0;
20900 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20904 PyObject
*swig_obj
[1] ;
20906 if (!args
) SWIG_fail
;
20907 swig_obj
[0] = args
;
20908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20909 if (!SWIG_IsOK(res1
)) {
20910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetY" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20912 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20915 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
20916 wxPyEndAllowThreads(__tstate
);
20917 if (PyErr_Occurred()) SWIG_fail
;
20919 resultobj
= SWIG_From_int(static_cast< int >(result
));
20926 SWIGINTERN PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20927 PyObject
*resultobj
= 0;
20928 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20932 PyObject
*swig_obj
[1] ;
20934 if (!args
) SWIG_fail
;
20935 swig_obj
[0] = args
;
20936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20937 if (!SWIG_IsOK(res1
)) {
20938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetWheelRotation" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20940 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20943 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
20944 wxPyEndAllowThreads(__tstate
);
20945 if (PyErr_Occurred()) SWIG_fail
;
20947 resultobj
= SWIG_From_int(static_cast< int >(result
));
20954 SWIGINTERN PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20955 PyObject
*resultobj
= 0;
20956 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20960 PyObject
*swig_obj
[1] ;
20962 if (!args
) SWIG_fail
;
20963 swig_obj
[0] = args
;
20964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20965 if (!SWIG_IsOK(res1
)) {
20966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetWheelDelta" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20968 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20971 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
20972 wxPyEndAllowThreads(__tstate
);
20973 if (PyErr_Occurred()) SWIG_fail
;
20975 resultobj
= SWIG_From_int(static_cast< int >(result
));
20982 SWIGINTERN PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20983 PyObject
*resultobj
= 0;
20984 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
20988 PyObject
*swig_obj
[1] ;
20990 if (!args
) SWIG_fail
;
20991 swig_obj
[0] = args
;
20992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
20993 if (!SWIG_IsOK(res1
)) {
20994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_GetLinesPerAction" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
20996 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
20998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20999 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
21000 wxPyEndAllowThreads(__tstate
);
21001 if (PyErr_Occurred()) SWIG_fail
;
21003 resultobj
= SWIG_From_int(static_cast< int >(result
));
21010 SWIGINTERN PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21011 PyObject
*resultobj
= 0;
21012 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21016 PyObject
*swig_obj
[1] ;
21018 if (!args
) SWIG_fail
;
21019 swig_obj
[0] = args
;
21020 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21021 if (!SWIG_IsOK(res1
)) {
21022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_IsPageScroll" "', expected argument " "1"" of type '" "wxMouseEvent const *""'");
21024 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21027 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
21028 wxPyEndAllowThreads(__tstate
);
21029 if (PyErr_Occurred()) SWIG_fail
;
21032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21040 SWIGINTERN PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21041 PyObject
*resultobj
= 0;
21042 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21048 PyObject
*swig_obj
[2] ;
21050 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_x_set",2,2,swig_obj
)) SWIG_fail
;
21051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21052 if (!SWIG_IsOK(res1
)) {
21053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_x_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21055 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21056 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
21057 if (!SWIG_IsOK(ecode2
)) {
21058 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_x_set" "', expected argument " "2"" of type '" "int""'");
21060 arg2
= static_cast< int >(val2
);
21061 if (arg1
) (arg1
)->m_x
= arg2
;
21063 resultobj
= SWIG_Py_Void();
21070 SWIGINTERN PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21071 PyObject
*resultobj
= 0;
21072 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21076 PyObject
*swig_obj
[1] ;
21078 if (!args
) SWIG_fail
;
21079 swig_obj
[0] = args
;
21080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21081 if (!SWIG_IsOK(res1
)) {
21082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_x_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21084 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21085 result
= (int) ((arg1
)->m_x
);
21086 resultobj
= SWIG_From_int(static_cast< int >(result
));
21093 SWIGINTERN PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21094 PyObject
*resultobj
= 0;
21095 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21101 PyObject
*swig_obj
[2] ;
21103 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_y_set",2,2,swig_obj
)) SWIG_fail
;
21104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21105 if (!SWIG_IsOK(res1
)) {
21106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_y_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21108 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21109 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
21110 if (!SWIG_IsOK(ecode2
)) {
21111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_y_set" "', expected argument " "2"" of type '" "int""'");
21113 arg2
= static_cast< int >(val2
);
21114 if (arg1
) (arg1
)->m_y
= arg2
;
21116 resultobj
= SWIG_Py_Void();
21123 SWIGINTERN PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21124 PyObject
*resultobj
= 0;
21125 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21129 PyObject
*swig_obj
[1] ;
21131 if (!args
) SWIG_fail
;
21132 swig_obj
[0] = args
;
21133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21134 if (!SWIG_IsOK(res1
)) {
21135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_y_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21137 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21138 result
= (int) ((arg1
)->m_y
);
21139 resultobj
= SWIG_From_int(static_cast< int >(result
));
21146 SWIGINTERN PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21147 PyObject
*resultobj
= 0;
21148 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21154 PyObject
*swig_obj
[2] ;
21156 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_leftDown_set",2,2,swig_obj
)) SWIG_fail
;
21157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21158 if (!SWIG_IsOK(res1
)) {
21159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_leftDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21161 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21162 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
21163 if (!SWIG_IsOK(ecode2
)) {
21164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_leftDown_set" "', expected argument " "2"" of type '" "bool""'");
21166 arg2
= static_cast< bool >(val2
);
21167 if (arg1
) (arg1
)->m_leftDown
= arg2
;
21169 resultobj
= SWIG_Py_Void();
21176 SWIGINTERN PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21177 PyObject
*resultobj
= 0;
21178 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21182 PyObject
*swig_obj
[1] ;
21184 if (!args
) SWIG_fail
;
21185 swig_obj
[0] = args
;
21186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21187 if (!SWIG_IsOK(res1
)) {
21188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_leftDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21190 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21191 result
= (bool) ((arg1
)->m_leftDown
);
21193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21201 SWIGINTERN PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21202 PyObject
*resultobj
= 0;
21203 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21209 PyObject
*swig_obj
[2] ;
21211 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_middleDown_set",2,2,swig_obj
)) SWIG_fail
;
21212 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21213 if (!SWIG_IsOK(res1
)) {
21214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_middleDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21216 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21217 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
21218 if (!SWIG_IsOK(ecode2
)) {
21219 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_middleDown_set" "', expected argument " "2"" of type '" "bool""'");
21221 arg2
= static_cast< bool >(val2
);
21222 if (arg1
) (arg1
)->m_middleDown
= arg2
;
21224 resultobj
= SWIG_Py_Void();
21231 SWIGINTERN PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21232 PyObject
*resultobj
= 0;
21233 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21237 PyObject
*swig_obj
[1] ;
21239 if (!args
) SWIG_fail
;
21240 swig_obj
[0] = args
;
21241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21242 if (!SWIG_IsOK(res1
)) {
21243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_middleDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21245 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21246 result
= (bool) ((arg1
)->m_middleDown
);
21248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21256 SWIGINTERN PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21257 PyObject
*resultobj
= 0;
21258 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21264 PyObject
*swig_obj
[2] ;
21266 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_rightDown_set",2,2,swig_obj
)) SWIG_fail
;
21267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21268 if (!SWIG_IsOK(res1
)) {
21269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_rightDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21271 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21272 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
21273 if (!SWIG_IsOK(ecode2
)) {
21274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_rightDown_set" "', expected argument " "2"" of type '" "bool""'");
21276 arg2
= static_cast< bool >(val2
);
21277 if (arg1
) (arg1
)->m_rightDown
= arg2
;
21279 resultobj
= SWIG_Py_Void();
21286 SWIGINTERN PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21287 PyObject
*resultobj
= 0;
21288 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21292 PyObject
*swig_obj
[1] ;
21294 if (!args
) SWIG_fail
;
21295 swig_obj
[0] = args
;
21296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21297 if (!SWIG_IsOK(res1
)) {
21298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_rightDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21300 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21301 result
= (bool) ((arg1
)->m_rightDown
);
21303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21311 SWIGINTERN PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21312 PyObject
*resultobj
= 0;
21313 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21319 PyObject
*swig_obj
[2] ;
21321 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_controlDown_set",2,2,swig_obj
)) SWIG_fail
;
21322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21323 if (!SWIG_IsOK(res1
)) {
21324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_controlDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21326 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21327 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
21328 if (!SWIG_IsOK(ecode2
)) {
21329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_controlDown_set" "', expected argument " "2"" of type '" "bool""'");
21331 arg2
= static_cast< bool >(val2
);
21332 if (arg1
) (arg1
)->m_controlDown
= arg2
;
21334 resultobj
= SWIG_Py_Void();
21341 SWIGINTERN PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21342 PyObject
*resultobj
= 0;
21343 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21347 PyObject
*swig_obj
[1] ;
21349 if (!args
) SWIG_fail
;
21350 swig_obj
[0] = args
;
21351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21352 if (!SWIG_IsOK(res1
)) {
21353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_controlDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21355 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21356 result
= (bool) ((arg1
)->m_controlDown
);
21358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21366 SWIGINTERN PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21367 PyObject
*resultobj
= 0;
21368 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21374 PyObject
*swig_obj
[2] ;
21376 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_shiftDown_set",2,2,swig_obj
)) SWIG_fail
;
21377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21378 if (!SWIG_IsOK(res1
)) {
21379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_shiftDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21381 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21382 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
21383 if (!SWIG_IsOK(ecode2
)) {
21384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_shiftDown_set" "', expected argument " "2"" of type '" "bool""'");
21386 arg2
= static_cast< bool >(val2
);
21387 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
21389 resultobj
= SWIG_Py_Void();
21396 SWIGINTERN PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21397 PyObject
*resultobj
= 0;
21398 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21402 PyObject
*swig_obj
[1] ;
21404 if (!args
) SWIG_fail
;
21405 swig_obj
[0] = args
;
21406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21407 if (!SWIG_IsOK(res1
)) {
21408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_shiftDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21410 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21411 result
= (bool) ((arg1
)->m_shiftDown
);
21413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21421 SWIGINTERN PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21422 PyObject
*resultobj
= 0;
21423 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21429 PyObject
*swig_obj
[2] ;
21431 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_altDown_set",2,2,swig_obj
)) SWIG_fail
;
21432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21433 if (!SWIG_IsOK(res1
)) {
21434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_altDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21436 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21437 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
21438 if (!SWIG_IsOK(ecode2
)) {
21439 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_altDown_set" "', expected argument " "2"" of type '" "bool""'");
21441 arg2
= static_cast< bool >(val2
);
21442 if (arg1
) (arg1
)->m_altDown
= arg2
;
21444 resultobj
= SWIG_Py_Void();
21451 SWIGINTERN PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21452 PyObject
*resultobj
= 0;
21453 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21457 PyObject
*swig_obj
[1] ;
21459 if (!args
) SWIG_fail
;
21460 swig_obj
[0] = args
;
21461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21462 if (!SWIG_IsOK(res1
)) {
21463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_altDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21465 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21466 result
= (bool) ((arg1
)->m_altDown
);
21468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21476 SWIGINTERN PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21477 PyObject
*resultobj
= 0;
21478 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21484 PyObject
*swig_obj
[2] ;
21486 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_metaDown_set",2,2,swig_obj
)) SWIG_fail
;
21487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21488 if (!SWIG_IsOK(res1
)) {
21489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_metaDown_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21491 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21492 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
21493 if (!SWIG_IsOK(ecode2
)) {
21494 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_metaDown_set" "', expected argument " "2"" of type '" "bool""'");
21496 arg2
= static_cast< bool >(val2
);
21497 if (arg1
) (arg1
)->m_metaDown
= arg2
;
21499 resultobj
= SWIG_Py_Void();
21506 SWIGINTERN PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21507 PyObject
*resultobj
= 0;
21508 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21512 PyObject
*swig_obj
[1] ;
21514 if (!args
) SWIG_fail
;
21515 swig_obj
[0] = args
;
21516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21517 if (!SWIG_IsOK(res1
)) {
21518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_metaDown_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21520 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21521 result
= (bool) ((arg1
)->m_metaDown
);
21523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21531 SWIGINTERN PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21532 PyObject
*resultobj
= 0;
21533 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21539 PyObject
*swig_obj
[2] ;
21541 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_wheelRotation_set",2,2,swig_obj
)) SWIG_fail
;
21542 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21543 if (!SWIG_IsOK(res1
)) {
21544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_wheelRotation_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21546 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21547 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
21548 if (!SWIG_IsOK(ecode2
)) {
21549 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_wheelRotation_set" "', expected argument " "2"" of type '" "int""'");
21551 arg2
= static_cast< int >(val2
);
21552 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
21554 resultobj
= SWIG_Py_Void();
21561 SWIGINTERN PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21562 PyObject
*resultobj
= 0;
21563 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21567 PyObject
*swig_obj
[1] ;
21569 if (!args
) SWIG_fail
;
21570 swig_obj
[0] = args
;
21571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21572 if (!SWIG_IsOK(res1
)) {
21573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_wheelRotation_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21575 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21576 result
= (int) ((arg1
)->m_wheelRotation
);
21577 resultobj
= SWIG_From_int(static_cast< int >(result
));
21584 SWIGINTERN PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21585 PyObject
*resultobj
= 0;
21586 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21592 PyObject
*swig_obj
[2] ;
21594 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_wheelDelta_set",2,2,swig_obj
)) SWIG_fail
;
21595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21596 if (!SWIG_IsOK(res1
)) {
21597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_wheelDelta_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21599 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21600 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
21601 if (!SWIG_IsOK(ecode2
)) {
21602 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_wheelDelta_set" "', expected argument " "2"" of type '" "int""'");
21604 arg2
= static_cast< int >(val2
);
21605 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
21607 resultobj
= SWIG_Py_Void();
21614 SWIGINTERN PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21615 PyObject
*resultobj
= 0;
21616 wxMouseEvent
*arg1
= (wxMouseEvent
*) 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_wxMouseEvent
, 0 | 0 );
21625 if (!SWIG_IsOK(res1
)) {
21626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_wheelDelta_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21628 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21629 result
= (int) ((arg1
)->m_wheelDelta
);
21630 resultobj
= SWIG_From_int(static_cast< int >(result
));
21637 SWIGINTERN PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21638 PyObject
*resultobj
= 0;
21639 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21645 PyObject
*swig_obj
[2] ;
21647 if (!SWIG_Python_UnpackTuple(args
,"MouseEvent_m_linesPerAction_set",2,2,swig_obj
)) SWIG_fail
;
21648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21649 if (!SWIG_IsOK(res1
)) {
21650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_linesPerAction_set" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21652 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21653 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
21654 if (!SWIG_IsOK(ecode2
)) {
21655 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MouseEvent_m_linesPerAction_set" "', expected argument " "2"" of type '" "int""'");
21657 arg2
= static_cast< int >(val2
);
21658 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
21660 resultobj
= SWIG_Py_Void();
21667 SWIGINTERN PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21668 PyObject
*resultobj
= 0;
21669 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
21673 PyObject
*swig_obj
[1] ;
21675 if (!args
) SWIG_fail
;
21676 swig_obj
[0] = args
;
21677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseEvent
, 0 | 0 );
21678 if (!SWIG_IsOK(res1
)) {
21679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseEvent_m_linesPerAction_get" "', expected argument " "1"" of type '" "wxMouseEvent *""'");
21681 arg1
= reinterpret_cast< wxMouseEvent
* >(argp1
);
21682 result
= (int) ((arg1
)->m_linesPerAction
);
21683 resultobj
= SWIG_From_int(static_cast< int >(result
));
21690 SWIGINTERN PyObject
*MouseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21692 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21693 SWIG_TypeNewClientData(SWIGTYPE_p_wxMouseEvent
, SWIG_NewClientData(obj
));
21694 return SWIG_Py_Void();
21697 SWIGINTERN PyObject
*MouseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21698 return SWIG_Python_InitShadowInstance(args
);
21701 SWIGINTERN PyObject
*_wrap_new_SetCursorEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21702 PyObject
*resultobj
= 0;
21703 int arg1
= (int) 0 ;
21704 int arg2
= (int) 0 ;
21705 wxSetCursorEvent
*result
= 0 ;
21710 PyObject
* obj0
= 0 ;
21711 PyObject
* obj1
= 0 ;
21712 char * kwnames
[] = {
21713 (char *) "x",(char *) "y", NULL
21716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21718 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21719 if (!SWIG_IsOK(ecode1
)) {
21720 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SetCursorEvent" "', expected argument " "1"" of type '" "int""'");
21722 arg1
= static_cast< int >(val1
);
21725 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21726 if (!SWIG_IsOK(ecode2
)) {
21727 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SetCursorEvent" "', expected argument " "2"" of type '" "int""'");
21729 arg2
= static_cast< int >(val2
);
21732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21733 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
21734 wxPyEndAllowThreads(__tstate
);
21735 if (PyErr_Occurred()) SWIG_fail
;
21737 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSetCursorEvent
, SWIG_POINTER_NEW
| 0 );
21744 SWIGINTERN PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21745 PyObject
*resultobj
= 0;
21746 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
21750 PyObject
*swig_obj
[1] ;
21752 if (!args
) SWIG_fail
;
21753 swig_obj
[0] = args
;
21754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSetCursorEvent
, 0 | 0 );
21755 if (!SWIG_IsOK(res1
)) {
21756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursorEvent_GetX" "', expected argument " "1"" of type '" "wxSetCursorEvent const *""'");
21758 arg1
= reinterpret_cast< wxSetCursorEvent
* >(argp1
);
21760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21761 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
21762 wxPyEndAllowThreads(__tstate
);
21763 if (PyErr_Occurred()) SWIG_fail
;
21765 resultobj
= SWIG_From_int(static_cast< int >(result
));
21772 SWIGINTERN PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21773 PyObject
*resultobj
= 0;
21774 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
21778 PyObject
*swig_obj
[1] ;
21780 if (!args
) SWIG_fail
;
21781 swig_obj
[0] = args
;
21782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSetCursorEvent
, 0 | 0 );
21783 if (!SWIG_IsOK(res1
)) {
21784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursorEvent_GetY" "', expected argument " "1"" of type '" "wxSetCursorEvent const *""'");
21786 arg1
= reinterpret_cast< wxSetCursorEvent
* >(argp1
);
21788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21789 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
21790 wxPyEndAllowThreads(__tstate
);
21791 if (PyErr_Occurred()) SWIG_fail
;
21793 resultobj
= SWIG_From_int(static_cast< int >(result
));
21800 SWIGINTERN PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21801 PyObject
*resultobj
= 0;
21802 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
21803 wxCursor
*arg2
= 0 ;
21808 PyObject
* obj0
= 0 ;
21809 PyObject
* obj1
= 0 ;
21810 char * kwnames
[] = {
21811 (char *) "self",(char *) "cursor", NULL
21814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSetCursorEvent
, 0 | 0 );
21816 if (!SWIG_IsOK(res1
)) {
21817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursorEvent_SetCursor" "', expected argument " "1"" of type '" "wxSetCursorEvent *""'");
21819 arg1
= reinterpret_cast< wxSetCursorEvent
* >(argp1
);
21820 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
21821 if (!SWIG_IsOK(res2
)) {
21822 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SetCursorEvent_SetCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
21825 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SetCursorEvent_SetCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
21827 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
21829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21830 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
21831 wxPyEndAllowThreads(__tstate
);
21832 if (PyErr_Occurred()) SWIG_fail
;
21834 resultobj
= SWIG_Py_Void();
21841 SWIGINTERN PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21842 PyObject
*resultobj
= 0;
21843 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
21844 wxCursor
*result
= 0 ;
21847 PyObject
*swig_obj
[1] ;
21849 if (!args
) SWIG_fail
;
21850 swig_obj
[0] = args
;
21851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSetCursorEvent
, 0 | 0 );
21852 if (!SWIG_IsOK(res1
)) {
21853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursorEvent_GetCursor" "', expected argument " "1"" of type '" "wxSetCursorEvent const *""'");
21855 arg1
= reinterpret_cast< wxSetCursorEvent
* >(argp1
);
21857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21859 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
21860 result
= (wxCursor
*) &_result_ref
;
21862 wxPyEndAllowThreads(__tstate
);
21863 if (PyErr_Occurred()) SWIG_fail
;
21866 wxCursor
* resultptr
= new wxCursor(*result
);
21867 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
21875 SWIGINTERN PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21876 PyObject
*resultobj
= 0;
21877 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
21881 PyObject
*swig_obj
[1] ;
21883 if (!args
) SWIG_fail
;
21884 swig_obj
[0] = args
;
21885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSetCursorEvent
, 0 | 0 );
21886 if (!SWIG_IsOK(res1
)) {
21887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetCursorEvent_HasCursor" "', expected argument " "1"" of type '" "wxSetCursorEvent const *""'");
21889 arg1
= reinterpret_cast< wxSetCursorEvent
* >(argp1
);
21891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21892 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
21893 wxPyEndAllowThreads(__tstate
);
21894 if (PyErr_Occurred()) SWIG_fail
;
21897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21905 SWIGINTERN PyObject
*SetCursorEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21907 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21908 SWIG_TypeNewClientData(SWIGTYPE_p_wxSetCursorEvent
, SWIG_NewClientData(obj
));
21909 return SWIG_Py_Void();
21912 SWIGINTERN PyObject
*SetCursorEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21913 return SWIG_Python_InitShadowInstance(args
);
21916 SWIGINTERN PyObject
*_wrap_new_KeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21917 PyObject
*resultobj
= 0;
21918 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21919 wxKeyEvent
*result
= 0 ;
21922 PyObject
* obj0
= 0 ;
21923 char * kwnames
[] = {
21924 (char *) "eventType", NULL
21927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) SWIG_fail
;
21929 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
21930 if (!SWIG_IsOK(ecode1
)) {
21931 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_KeyEvent" "', expected argument " "1"" of type '" "wxEventType""'");
21933 arg1
= static_cast< wxEventType
>(val1
);
21936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21937 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
21938 wxPyEndAllowThreads(__tstate
);
21939 if (PyErr_Occurred()) SWIG_fail
;
21941 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxKeyEvent
, SWIG_POINTER_NEW
| 0 );
21948 SWIGINTERN PyObject
*_wrap_KeyEvent_GetModifiers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21949 PyObject
*resultobj
= 0;
21950 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
21954 PyObject
*swig_obj
[1] ;
21956 if (!args
) SWIG_fail
;
21957 swig_obj
[0] = args
;
21958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
21959 if (!SWIG_IsOK(res1
)) {
21960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetModifiers" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
21962 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
21964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21965 result
= (int)((wxKeyEvent
const *)arg1
)->GetModifiers();
21966 wxPyEndAllowThreads(__tstate
);
21967 if (PyErr_Occurred()) SWIG_fail
;
21969 resultobj
= SWIG_From_int(static_cast< int >(result
));
21976 SWIGINTERN PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21977 PyObject
*resultobj
= 0;
21978 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
21982 PyObject
*swig_obj
[1] ;
21984 if (!args
) SWIG_fail
;
21985 swig_obj
[0] = args
;
21986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
21987 if (!SWIG_IsOK(res1
)) {
21988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_ControlDown" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
21990 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
21992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21993 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
21994 wxPyEndAllowThreads(__tstate
);
21995 if (PyErr_Occurred()) SWIG_fail
;
21998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22006 SWIGINTERN PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22007 PyObject
*resultobj
= 0;
22008 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22012 PyObject
*swig_obj
[1] ;
22014 if (!args
) SWIG_fail
;
22015 swig_obj
[0] = args
;
22016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22017 if (!SWIG_IsOK(res1
)) {
22018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_MetaDown" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22020 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22023 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
22024 wxPyEndAllowThreads(__tstate
);
22025 if (PyErr_Occurred()) SWIG_fail
;
22028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22036 SWIGINTERN PyObject
*_wrap_KeyEvent_AltDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22037 PyObject
*resultobj
= 0;
22038 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22042 PyObject
*swig_obj
[1] ;
22044 if (!args
) SWIG_fail
;
22045 swig_obj
[0] = args
;
22046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22047 if (!SWIG_IsOK(res1
)) {
22048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_AltDown" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22050 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22053 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
22054 wxPyEndAllowThreads(__tstate
);
22055 if (PyErr_Occurred()) SWIG_fail
;
22058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22066 SWIGINTERN PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22067 PyObject
*resultobj
= 0;
22068 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22072 PyObject
*swig_obj
[1] ;
22074 if (!args
) SWIG_fail
;
22075 swig_obj
[0] = args
;
22076 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22077 if (!SWIG_IsOK(res1
)) {
22078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_ShiftDown" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22080 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22083 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
22084 wxPyEndAllowThreads(__tstate
);
22085 if (PyErr_Occurred()) SWIG_fail
;
22088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22096 SWIGINTERN PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22097 PyObject
*resultobj
= 0;
22098 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22102 PyObject
*swig_obj
[1] ;
22104 if (!args
) SWIG_fail
;
22105 swig_obj
[0] = args
;
22106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22107 if (!SWIG_IsOK(res1
)) {
22108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_CmdDown" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22110 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22113 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
22114 wxPyEndAllowThreads(__tstate
);
22115 if (PyErr_Occurred()) SWIG_fail
;
22118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22126 SWIGINTERN PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22127 PyObject
*resultobj
= 0;
22128 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22132 PyObject
*swig_obj
[1] ;
22134 if (!args
) SWIG_fail
;
22135 swig_obj
[0] = args
;
22136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22137 if (!SWIG_IsOK(res1
)) {
22138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_HasModifiers" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22140 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22143 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
22144 wxPyEndAllowThreads(__tstate
);
22145 if (PyErr_Occurred()) SWIG_fail
;
22148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22156 SWIGINTERN PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22157 PyObject
*resultobj
= 0;
22158 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22162 PyObject
*swig_obj
[1] ;
22164 if (!args
) SWIG_fail
;
22165 swig_obj
[0] = args
;
22166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22167 if (!SWIG_IsOK(res1
)) {
22168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetKeyCode" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22170 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22173 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
22174 wxPyEndAllowThreads(__tstate
);
22175 if (PyErr_Occurred()) SWIG_fail
;
22177 resultobj
= SWIG_From_int(static_cast< int >(result
));
22184 SWIGINTERN PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22185 PyObject
*resultobj
= 0;
22186 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22190 PyObject
*swig_obj
[1] ;
22192 if (!args
) SWIG_fail
;
22193 swig_obj
[0] = args
;
22194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22195 if (!SWIG_IsOK(res1
)) {
22196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetUnicodeKey" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22198 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22201 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
22202 wxPyEndAllowThreads(__tstate
);
22203 if (PyErr_Occurred()) SWIG_fail
;
22205 resultobj
= SWIG_From_int(static_cast< int >(result
));
22212 SWIGINTERN PyObject
*_wrap_KeyEvent_SetUnicodeKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22213 PyObject
*resultobj
= 0;
22214 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22220 PyObject
* obj0
= 0 ;
22221 PyObject
* obj1
= 0 ;
22222 char * kwnames
[] = {
22223 (char *) "self",(char *) "uniChar", NULL
22226 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_SetUnicodeKey",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22227 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22228 if (!SWIG_IsOK(res1
)) {
22229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_SetUnicodeKey" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22231 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22232 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22233 if (!SWIG_IsOK(ecode2
)) {
22234 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_SetUnicodeKey" "', expected argument " "2"" of type '" "int""'");
22236 arg2
= static_cast< int >(val2
);
22238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22239 wxKeyEvent_SetUnicodeKey(arg1
,arg2
);
22240 wxPyEndAllowThreads(__tstate
);
22241 if (PyErr_Occurred()) SWIG_fail
;
22243 resultobj
= SWIG_Py_Void();
22250 SWIGINTERN PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22251 PyObject
*resultobj
= 0;
22252 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22253 unsigned int result
;
22256 PyObject
*swig_obj
[1] ;
22258 if (!args
) SWIG_fail
;
22259 swig_obj
[0] = args
;
22260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22261 if (!SWIG_IsOK(res1
)) {
22262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetRawKeyCode" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22264 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22267 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
22268 wxPyEndAllowThreads(__tstate
);
22269 if (PyErr_Occurred()) SWIG_fail
;
22271 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
22278 SWIGINTERN PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22279 PyObject
*resultobj
= 0;
22280 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22281 unsigned int result
;
22284 PyObject
*swig_obj
[1] ;
22286 if (!args
) SWIG_fail
;
22287 swig_obj
[0] = args
;
22288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22289 if (!SWIG_IsOK(res1
)) {
22290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetRawKeyFlags" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22292 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22295 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
22296 wxPyEndAllowThreads(__tstate
);
22297 if (PyErr_Occurred()) SWIG_fail
;
22299 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
22306 SWIGINTERN PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22307 PyObject
*resultobj
= 0;
22308 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22312 PyObject
*swig_obj
[1] ;
22314 if (!args
) SWIG_fail
;
22315 swig_obj
[0] = args
;
22316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22317 if (!SWIG_IsOK(res1
)) {
22318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetPosition" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22320 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22323 result
= (arg1
)->GetPosition();
22324 wxPyEndAllowThreads(__tstate
);
22325 if (PyErr_Occurred()) SWIG_fail
;
22327 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
22334 SWIGINTERN PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22335 PyObject
*resultobj
= 0;
22336 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22337 long *arg2
= (long *) 0 ;
22338 long *arg3
= (long *) 0 ;
22342 int res2
= SWIG_TMPOBJ
;
22344 int res3
= SWIG_TMPOBJ
;
22345 PyObject
*swig_obj
[1] ;
22349 if (!args
) SWIG_fail
;
22350 swig_obj
[0] = args
;
22351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22352 if (!SWIG_IsOK(res1
)) {
22353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetPositionTuple" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22355 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22358 (arg1
)->GetPosition(arg2
,arg3
);
22359 wxPyEndAllowThreads(__tstate
);
22360 if (PyErr_Occurred()) SWIG_fail
;
22362 resultobj
= SWIG_Py_Void();
22363 if (SWIG_IsTmpObj(res2
)) {
22364 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg2
)));
22366 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22367 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, new_flags
));
22369 if (SWIG_IsTmpObj(res3
)) {
22370 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_long((*arg3
)));
22372 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22373 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, new_flags
));
22381 SWIGINTERN PyObject
*_wrap_KeyEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22382 PyObject
*resultobj
= 0;
22383 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22387 PyObject
*swig_obj
[1] ;
22389 if (!args
) SWIG_fail
;
22390 swig_obj
[0] = args
;
22391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22392 if (!SWIG_IsOK(res1
)) {
22393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetX" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22395 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22398 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
22399 wxPyEndAllowThreads(__tstate
);
22400 if (PyErr_Occurred()) SWIG_fail
;
22402 resultobj
= SWIG_From_int(static_cast< int >(result
));
22409 SWIGINTERN PyObject
*_wrap_KeyEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22410 PyObject
*resultobj
= 0;
22411 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22415 PyObject
*swig_obj
[1] ;
22417 if (!args
) SWIG_fail
;
22418 swig_obj
[0] = args
;
22419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22420 if (!SWIG_IsOK(res1
)) {
22421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_GetY" "', expected argument " "1"" of type '" "wxKeyEvent const *""'");
22423 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22426 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
22427 wxPyEndAllowThreads(__tstate
);
22428 if (PyErr_Occurred()) SWIG_fail
;
22430 resultobj
= SWIG_From_int(static_cast< int >(result
));
22437 SWIGINTERN PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22438 PyObject
*resultobj
= 0;
22439 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22445 PyObject
*swig_obj
[2] ;
22447 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_x_set",2,2,swig_obj
)) SWIG_fail
;
22448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22449 if (!SWIG_IsOK(res1
)) {
22450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_x_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22452 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22453 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
22454 if (!SWIG_IsOK(ecode2
)) {
22455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_x_set" "', expected argument " "2"" of type '" "int""'");
22457 arg2
= static_cast< int >(val2
);
22458 if (arg1
) (arg1
)->m_x
= arg2
;
22460 resultobj
= SWIG_Py_Void();
22467 SWIGINTERN PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22468 PyObject
*resultobj
= 0;
22469 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22473 PyObject
*swig_obj
[1] ;
22475 if (!args
) SWIG_fail
;
22476 swig_obj
[0] = args
;
22477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22478 if (!SWIG_IsOK(res1
)) {
22479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_x_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22481 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22482 result
= (int) ((arg1
)->m_x
);
22483 resultobj
= SWIG_From_int(static_cast< int >(result
));
22490 SWIGINTERN PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22491 PyObject
*resultobj
= 0;
22492 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22498 PyObject
*swig_obj
[2] ;
22500 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_y_set",2,2,swig_obj
)) SWIG_fail
;
22501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22502 if (!SWIG_IsOK(res1
)) {
22503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_y_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22505 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22506 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
22507 if (!SWIG_IsOK(ecode2
)) {
22508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_y_set" "', expected argument " "2"" of type '" "int""'");
22510 arg2
= static_cast< int >(val2
);
22511 if (arg1
) (arg1
)->m_y
= arg2
;
22513 resultobj
= SWIG_Py_Void();
22520 SWIGINTERN PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22521 PyObject
*resultobj
= 0;
22522 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22526 PyObject
*swig_obj
[1] ;
22528 if (!args
) SWIG_fail
;
22529 swig_obj
[0] = args
;
22530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22531 if (!SWIG_IsOK(res1
)) {
22532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_y_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22534 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22535 result
= (int) ((arg1
)->m_y
);
22536 resultobj
= SWIG_From_int(static_cast< int >(result
));
22543 SWIGINTERN PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22544 PyObject
*resultobj
= 0;
22545 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22551 PyObject
*swig_obj
[2] ;
22553 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_keyCode_set",2,2,swig_obj
)) SWIG_fail
;
22554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22555 if (!SWIG_IsOK(res1
)) {
22556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_keyCode_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22558 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22559 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
22560 if (!SWIG_IsOK(ecode2
)) {
22561 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_keyCode_set" "', expected argument " "2"" of type '" "long""'");
22563 arg2
= static_cast< long >(val2
);
22564 if (arg1
) (arg1
)->m_keyCode
= arg2
;
22566 resultobj
= SWIG_Py_Void();
22573 SWIGINTERN PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22574 PyObject
*resultobj
= 0;
22575 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22579 PyObject
*swig_obj
[1] ;
22581 if (!args
) SWIG_fail
;
22582 swig_obj
[0] = args
;
22583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22584 if (!SWIG_IsOK(res1
)) {
22585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_keyCode_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22587 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22588 result
= (long) ((arg1
)->m_keyCode
);
22589 resultobj
= SWIG_From_long(static_cast< long >(result
));
22596 SWIGINTERN PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22597 PyObject
*resultobj
= 0;
22598 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22604 PyObject
*swig_obj
[2] ;
22606 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_controlDown_set",2,2,swig_obj
)) SWIG_fail
;
22607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22608 if (!SWIG_IsOK(res1
)) {
22609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_controlDown_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22611 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22612 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
22613 if (!SWIG_IsOK(ecode2
)) {
22614 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_controlDown_set" "', expected argument " "2"" of type '" "bool""'");
22616 arg2
= static_cast< bool >(val2
);
22617 if (arg1
) (arg1
)->m_controlDown
= arg2
;
22619 resultobj
= SWIG_Py_Void();
22626 SWIGINTERN PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22627 PyObject
*resultobj
= 0;
22628 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22632 PyObject
*swig_obj
[1] ;
22634 if (!args
) SWIG_fail
;
22635 swig_obj
[0] = args
;
22636 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22637 if (!SWIG_IsOK(res1
)) {
22638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_controlDown_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22640 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22641 result
= (bool) ((arg1
)->m_controlDown
);
22643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22651 SWIGINTERN PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22652 PyObject
*resultobj
= 0;
22653 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22659 PyObject
*swig_obj
[2] ;
22661 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_shiftDown_set",2,2,swig_obj
)) SWIG_fail
;
22662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22663 if (!SWIG_IsOK(res1
)) {
22664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_shiftDown_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22666 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22667 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
22668 if (!SWIG_IsOK(ecode2
)) {
22669 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_shiftDown_set" "', expected argument " "2"" of type '" "bool""'");
22671 arg2
= static_cast< bool >(val2
);
22672 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
22674 resultobj
= SWIG_Py_Void();
22681 SWIGINTERN PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22682 PyObject
*resultobj
= 0;
22683 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22687 PyObject
*swig_obj
[1] ;
22689 if (!args
) SWIG_fail
;
22690 swig_obj
[0] = args
;
22691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22692 if (!SWIG_IsOK(res1
)) {
22693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_shiftDown_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22695 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22696 result
= (bool) ((arg1
)->m_shiftDown
);
22698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22706 SWIGINTERN PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22707 PyObject
*resultobj
= 0;
22708 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22714 PyObject
*swig_obj
[2] ;
22716 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_altDown_set",2,2,swig_obj
)) SWIG_fail
;
22717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22718 if (!SWIG_IsOK(res1
)) {
22719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_altDown_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22721 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22722 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
22723 if (!SWIG_IsOK(ecode2
)) {
22724 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_altDown_set" "', expected argument " "2"" of type '" "bool""'");
22726 arg2
= static_cast< bool >(val2
);
22727 if (arg1
) (arg1
)->m_altDown
= arg2
;
22729 resultobj
= SWIG_Py_Void();
22736 SWIGINTERN PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22737 PyObject
*resultobj
= 0;
22738 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22742 PyObject
*swig_obj
[1] ;
22744 if (!args
) SWIG_fail
;
22745 swig_obj
[0] = args
;
22746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22747 if (!SWIG_IsOK(res1
)) {
22748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_altDown_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22750 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22751 result
= (bool) ((arg1
)->m_altDown
);
22753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22761 SWIGINTERN PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22762 PyObject
*resultobj
= 0;
22763 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22769 PyObject
*swig_obj
[2] ;
22771 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_metaDown_set",2,2,swig_obj
)) SWIG_fail
;
22772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22773 if (!SWIG_IsOK(res1
)) {
22774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_metaDown_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22776 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22777 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
22778 if (!SWIG_IsOK(ecode2
)) {
22779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_metaDown_set" "', expected argument " "2"" of type '" "bool""'");
22781 arg2
= static_cast< bool >(val2
);
22782 if (arg1
) (arg1
)->m_metaDown
= arg2
;
22784 resultobj
= SWIG_Py_Void();
22791 SWIGINTERN PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22792 PyObject
*resultobj
= 0;
22793 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22797 PyObject
*swig_obj
[1] ;
22799 if (!args
) SWIG_fail
;
22800 swig_obj
[0] = args
;
22801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22802 if (!SWIG_IsOK(res1
)) {
22803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_metaDown_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22805 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22806 result
= (bool) ((arg1
)->m_metaDown
);
22808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22816 SWIGINTERN PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22817 PyObject
*resultobj
= 0;
22818 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22824 PyObject
*swig_obj
[2] ;
22826 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_scanCode_set",2,2,swig_obj
)) SWIG_fail
;
22827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22828 if (!SWIG_IsOK(res1
)) {
22829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_scanCode_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22831 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22832 ecode2
= SWIG_AsVal_bool(swig_obj
[1], &val2
);
22833 if (!SWIG_IsOK(ecode2
)) {
22834 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_scanCode_set" "', expected argument " "2"" of type '" "bool""'");
22836 arg2
= static_cast< bool >(val2
);
22837 if (arg1
) (arg1
)->m_scanCode
= arg2
;
22839 resultobj
= SWIG_Py_Void();
22846 SWIGINTERN PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22847 PyObject
*resultobj
= 0;
22848 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22852 PyObject
*swig_obj
[1] ;
22854 if (!args
) SWIG_fail
;
22855 swig_obj
[0] = args
;
22856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22857 if (!SWIG_IsOK(res1
)) {
22858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_scanCode_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22860 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22861 result
= (bool) ((arg1
)->m_scanCode
);
22863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22871 SWIGINTERN PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22872 PyObject
*resultobj
= 0;
22873 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22874 unsigned int arg2
;
22877 unsigned int val2
;
22879 PyObject
*swig_obj
[2] ;
22881 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_rawCode_set",2,2,swig_obj
)) SWIG_fail
;
22882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22883 if (!SWIG_IsOK(res1
)) {
22884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_rawCode_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22886 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22887 ecode2
= SWIG_AsVal_unsigned_SS_int(swig_obj
[1], &val2
);
22888 if (!SWIG_IsOK(ecode2
)) {
22889 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_rawCode_set" "', expected argument " "2"" of type '" "unsigned int""'");
22891 arg2
= static_cast< unsigned int >(val2
);
22892 if (arg1
) (arg1
)->m_rawCode
= arg2
;
22894 resultobj
= SWIG_Py_Void();
22901 SWIGINTERN PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22902 PyObject
*resultobj
= 0;
22903 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22904 unsigned int result
;
22907 PyObject
*swig_obj
[1] ;
22909 if (!args
) SWIG_fail
;
22910 swig_obj
[0] = args
;
22911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22912 if (!SWIG_IsOK(res1
)) {
22913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_rawCode_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22915 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22916 result
= (unsigned int) ((arg1
)->m_rawCode
);
22917 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
22924 SWIGINTERN PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22925 PyObject
*resultobj
= 0;
22926 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22927 unsigned int arg2
;
22930 unsigned int val2
;
22932 PyObject
*swig_obj
[2] ;
22934 if (!SWIG_Python_UnpackTuple(args
,"KeyEvent_m_rawFlags_set",2,2,swig_obj
)) SWIG_fail
;
22935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22936 if (!SWIG_IsOK(res1
)) {
22937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_rawFlags_set" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22939 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22940 ecode2
= SWIG_AsVal_unsigned_SS_int(swig_obj
[1], &val2
);
22941 if (!SWIG_IsOK(ecode2
)) {
22942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "KeyEvent_m_rawFlags_set" "', expected argument " "2"" of type '" "unsigned int""'");
22944 arg2
= static_cast< unsigned int >(val2
);
22945 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
22947 resultobj
= SWIG_Py_Void();
22954 SWIGINTERN PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22955 PyObject
*resultobj
= 0;
22956 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
22957 unsigned int result
;
22960 PyObject
*swig_obj
[1] ;
22962 if (!args
) SWIG_fail
;
22963 swig_obj
[0] = args
;
22964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxKeyEvent
, 0 | 0 );
22965 if (!SWIG_IsOK(res1
)) {
22966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "KeyEvent_m_rawFlags_get" "', expected argument " "1"" of type '" "wxKeyEvent *""'");
22968 arg1
= reinterpret_cast< wxKeyEvent
* >(argp1
);
22969 result
= (unsigned int) ((arg1
)->m_rawFlags
);
22970 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
22977 SWIGINTERN PyObject
*KeyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22979 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22980 SWIG_TypeNewClientData(SWIGTYPE_p_wxKeyEvent
, SWIG_NewClientData(obj
));
22981 return SWIG_Py_Void();
22984 SWIGINTERN PyObject
*KeyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22985 return SWIG_Python_InitShadowInstance(args
);
22988 SWIGINTERN PyObject
*_wrap_new_SizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22989 PyObject
*resultobj
= 0;
22990 wxSize
const &arg1_defvalue
= wxDefaultSize
;
22991 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
22992 int arg2
= (int) 0 ;
22993 wxSizeEvent
*result
= 0 ;
22997 PyObject
* obj0
= 0 ;
22998 PyObject
* obj1
= 0 ;
22999 char * kwnames
[] = {
23000 (char *) "sz",(char *) "winid", NULL
23003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23007 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
23011 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23012 if (!SWIG_IsOK(ecode2
)) {
23013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SizeEvent" "', expected argument " "2"" of type '" "int""'");
23015 arg2
= static_cast< int >(val2
);
23018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23019 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
23020 wxPyEndAllowThreads(__tstate
);
23021 if (PyErr_Occurred()) SWIG_fail
;
23023 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizeEvent
, SWIG_POINTER_NEW
| 0 );
23030 SWIGINTERN PyObject
*_wrap_SizeEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23031 PyObject
*resultobj
= 0;
23032 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
23036 PyObject
*swig_obj
[1] ;
23038 if (!args
) SWIG_fail
;
23039 swig_obj
[0] = args
;
23040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
23041 if (!SWIG_IsOK(res1
)) {
23042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_GetSize" "', expected argument " "1"" of type '" "wxSizeEvent const *""'");
23044 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
23046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23047 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
23048 wxPyEndAllowThreads(__tstate
);
23049 if (PyErr_Occurred()) SWIG_fail
;
23051 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23058 SWIGINTERN PyObject
*_wrap_SizeEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23059 PyObject
*resultobj
= 0;
23060 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
23064 PyObject
*swig_obj
[1] ;
23066 if (!args
) SWIG_fail
;
23067 swig_obj
[0] = args
;
23068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
23069 if (!SWIG_IsOK(res1
)) {
23070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_GetRect" "', expected argument " "1"" of type '" "wxSizeEvent const *""'");
23072 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
23074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23075 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
23076 wxPyEndAllowThreads(__tstate
);
23077 if (PyErr_Occurred()) SWIG_fail
;
23079 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
23086 SWIGINTERN PyObject
*_wrap_SizeEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23087 PyObject
*resultobj
= 0;
23088 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
23094 PyObject
* obj0
= 0 ;
23095 PyObject
* obj1
= 0 ;
23096 char * kwnames
[] = {
23097 (char *) "self",(char *) "rect", NULL
23100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
23102 if (!SWIG_IsOK(res1
)) {
23103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_SetRect" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
23105 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
23107 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRect
, 0 | 0);
23108 if (!SWIG_IsOK(res2
)) {
23109 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizeEvent_SetRect" "', expected argument " "2"" of type '" "wxRect""'");
23112 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SizeEvent_SetRect" "', expected argument " "2"" of type '" "wxRect""'");
23114 wxRect
* temp
= reinterpret_cast< wxRect
* >(argp2
);
23116 if (SWIG_IsNewObj(res2
)) delete temp
;
23120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23121 (arg1
)->SetRect(arg2
);
23122 wxPyEndAllowThreads(__tstate
);
23123 if (PyErr_Occurred()) SWIG_fail
;
23125 resultobj
= SWIG_Py_Void();
23132 SWIGINTERN PyObject
*_wrap_SizeEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23133 PyObject
*resultobj
= 0;
23134 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
23140 PyObject
* obj0
= 0 ;
23141 PyObject
* obj1
= 0 ;
23142 char * kwnames
[] = {
23143 (char *) "self",(char *) "size", NULL
23146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
23148 if (!SWIG_IsOK(res1
)) {
23149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_SetSize" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
23151 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
23153 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxSize
, 0 | 0);
23154 if (!SWIG_IsOK(res2
)) {
23155 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizeEvent_SetSize" "', expected argument " "2"" of type '" "wxSize""'");
23158 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SizeEvent_SetSize" "', expected argument " "2"" of type '" "wxSize""'");
23160 wxSize
* temp
= reinterpret_cast< wxSize
* >(argp2
);
23162 if (SWIG_IsNewObj(res2
)) delete temp
;
23166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23167 wxSizeEvent_SetSize(arg1
,arg2
);
23168 wxPyEndAllowThreads(__tstate
);
23169 if (PyErr_Occurred()) SWIG_fail
;
23171 resultobj
= SWIG_Py_Void();
23178 SWIGINTERN PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23179 PyObject
*resultobj
= 0;
23180 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
23181 wxSize
*arg2
= (wxSize
*) 0 ;
23186 PyObject
*swig_obj
[2] ;
23188 if (!SWIG_Python_UnpackTuple(args
,"SizeEvent_m_size_set",2,2,swig_obj
)) SWIG_fail
;
23189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
23190 if (!SWIG_IsOK(res1
)) {
23191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_m_size_set" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
23193 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
23194 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSize
, 0 | 0 );
23195 if (!SWIG_IsOK(res2
)) {
23196 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizeEvent_m_size_set" "', expected argument " "2"" of type '" "wxSize *""'");
23198 arg2
= reinterpret_cast< wxSize
* >(argp2
);
23199 if (arg1
) (arg1
)->m_size
= *arg2
;
23201 resultobj
= SWIG_Py_Void();
23208 SWIGINTERN PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23209 PyObject
*resultobj
= 0;
23210 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
23211 wxSize
*result
= 0 ;
23214 PyObject
*swig_obj
[1] ;
23216 if (!args
) SWIG_fail
;
23217 swig_obj
[0] = args
;
23218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
23219 if (!SWIG_IsOK(res1
)) {
23220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_m_size_get" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
23222 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
23223 result
= (wxSize
*)& ((arg1
)->m_size
);
23224 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
23231 SWIGINTERN PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23232 PyObject
*resultobj
= 0;
23233 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
23234 wxRect
*arg2
= (wxRect
*) 0 ;
23239 PyObject
*swig_obj
[2] ;
23241 if (!SWIG_Python_UnpackTuple(args
,"SizeEvent_m_rect_set",2,2,swig_obj
)) SWIG_fail
;
23242 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
23243 if (!SWIG_IsOK(res1
)) {
23244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_m_rect_set" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
23246 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
23247 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxRect
, 0 | 0 );
23248 if (!SWIG_IsOK(res2
)) {
23249 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizeEvent_m_rect_set" "', expected argument " "2"" of type '" "wxRect *""'");
23251 arg2
= reinterpret_cast< wxRect
* >(argp2
);
23252 if (arg1
) (arg1
)->m_rect
= *arg2
;
23254 resultobj
= SWIG_Py_Void();
23261 SWIGINTERN PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23262 PyObject
*resultobj
= 0;
23263 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
23264 wxRect
*result
= 0 ;
23267 PyObject
*swig_obj
[1] ;
23269 if (!args
) SWIG_fail
;
23270 swig_obj
[0] = args
;
23271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizeEvent
, 0 | 0 );
23272 if (!SWIG_IsOK(res1
)) {
23273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizeEvent_m_rect_get" "', expected argument " "1"" of type '" "wxSizeEvent *""'");
23275 arg1
= reinterpret_cast< wxSizeEvent
* >(argp1
);
23276 result
= (wxRect
*)& ((arg1
)->m_rect
);
23277 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRect
, 0 | 0 );
23284 SWIGINTERN PyObject
*SizeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23286 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23287 SWIG_TypeNewClientData(SWIGTYPE_p_wxSizeEvent
, SWIG_NewClientData(obj
));
23288 return SWIG_Py_Void();
23291 SWIGINTERN PyObject
*SizeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23292 return SWIG_Python_InitShadowInstance(args
);
23295 SWIGINTERN PyObject
*_wrap_new_MoveEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23296 PyObject
*resultobj
= 0;
23297 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
23298 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
23299 int arg2
= (int) 0 ;
23300 wxMoveEvent
*result
= 0 ;
23304 PyObject
* obj0
= 0 ;
23305 PyObject
* obj1
= 0 ;
23306 char * kwnames
[] = {
23307 (char *) "pos",(char *) "winid", NULL
23310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23314 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
23318 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23319 if (!SWIG_IsOK(ecode2
)) {
23320 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MoveEvent" "', expected argument " "2"" of type '" "int""'");
23322 arg2
= static_cast< int >(val2
);
23325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23326 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
23327 wxPyEndAllowThreads(__tstate
);
23328 if (PyErr_Occurred()) SWIG_fail
;
23330 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMoveEvent
, SWIG_POINTER_NEW
| 0 );
23337 SWIGINTERN PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23338 PyObject
*resultobj
= 0;
23339 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
23343 PyObject
*swig_obj
[1] ;
23345 if (!args
) SWIG_fail
;
23346 swig_obj
[0] = args
;
23347 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMoveEvent
, 0 | 0 );
23348 if (!SWIG_IsOK(res1
)) {
23349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MoveEvent_GetPosition" "', expected argument " "1"" of type '" "wxMoveEvent const *""'");
23351 arg1
= reinterpret_cast< wxMoveEvent
* >(argp1
);
23353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23354 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
23355 wxPyEndAllowThreads(__tstate
);
23356 if (PyErr_Occurred()) SWIG_fail
;
23358 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
23365 SWIGINTERN PyObject
*_wrap_MoveEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23366 PyObject
*resultobj
= 0;
23367 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
23371 PyObject
*swig_obj
[1] ;
23373 if (!args
) SWIG_fail
;
23374 swig_obj
[0] = args
;
23375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMoveEvent
, 0 | 0 );
23376 if (!SWIG_IsOK(res1
)) {
23377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MoveEvent_GetRect" "', expected argument " "1"" of type '" "wxMoveEvent const *""'");
23379 arg1
= reinterpret_cast< wxMoveEvent
* >(argp1
);
23381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23382 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
23383 wxPyEndAllowThreads(__tstate
);
23384 if (PyErr_Occurred()) SWIG_fail
;
23386 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
23393 SWIGINTERN PyObject
*_wrap_MoveEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23394 PyObject
*resultobj
= 0;
23395 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
23400 PyObject
* obj0
= 0 ;
23401 PyObject
* obj1
= 0 ;
23402 char * kwnames
[] = {
23403 (char *) "self",(char *) "rect", NULL
23406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMoveEvent
, 0 | 0 );
23408 if (!SWIG_IsOK(res1
)) {
23409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MoveEvent_SetRect" "', expected argument " "1"" of type '" "wxMoveEvent *""'");
23411 arg1
= reinterpret_cast< wxMoveEvent
* >(argp1
);
23414 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
23417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23418 (arg1
)->SetRect((wxRect
const &)*arg2
);
23419 wxPyEndAllowThreads(__tstate
);
23420 if (PyErr_Occurred()) SWIG_fail
;
23422 resultobj
= SWIG_Py_Void();
23429 SWIGINTERN PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23430 PyObject
*resultobj
= 0;
23431 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
23432 wxPoint
*arg2
= 0 ;
23436 PyObject
* obj0
= 0 ;
23437 PyObject
* obj1
= 0 ;
23438 char * kwnames
[] = {
23439 (char *) "self",(char *) "pos", NULL
23442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMoveEvent
, 0 | 0 );
23444 if (!SWIG_IsOK(res1
)) {
23445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MoveEvent_SetPosition" "', expected argument " "1"" of type '" "wxMoveEvent *""'");
23447 arg1
= reinterpret_cast< wxMoveEvent
* >(argp1
);
23450 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23454 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
23455 wxPyEndAllowThreads(__tstate
);
23456 if (PyErr_Occurred()) SWIG_fail
;
23458 resultobj
= SWIG_Py_Void();
23465 SWIGINTERN PyObject
*MoveEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23467 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23468 SWIG_TypeNewClientData(SWIGTYPE_p_wxMoveEvent
, SWIG_NewClientData(obj
));
23469 return SWIG_Py_Void();
23472 SWIGINTERN PyObject
*MoveEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23473 return SWIG_Python_InitShadowInstance(args
);
23476 SWIGINTERN PyObject
*_wrap_new_PaintEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23477 PyObject
*resultobj
= 0;
23478 int arg1
= (int) 0 ;
23479 wxPaintEvent
*result
= 0 ;
23482 PyObject
* obj0
= 0 ;
23483 char * kwnames
[] = {
23484 (char *) "Id", NULL
23487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) SWIG_fail
;
23489 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23490 if (!SWIG_IsOK(ecode1
)) {
23491 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PaintEvent" "', expected argument " "1"" of type '" "int""'");
23493 arg1
= static_cast< int >(val1
);
23496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23497 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
23498 wxPyEndAllowThreads(__tstate
);
23499 if (PyErr_Occurred()) SWIG_fail
;
23501 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaintEvent
, SWIG_POINTER_NEW
| 0 );
23508 SWIGINTERN PyObject
*PaintEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23510 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23511 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaintEvent
, SWIG_NewClientData(obj
));
23512 return SWIG_Py_Void();
23515 SWIGINTERN PyObject
*PaintEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23516 return SWIG_Python_InitShadowInstance(args
);
23519 SWIGINTERN PyObject
*_wrap_new_NcPaintEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23520 PyObject
*resultobj
= 0;
23521 int arg1
= (int) 0 ;
23522 wxNcPaintEvent
*result
= 0 ;
23525 PyObject
* obj0
= 0 ;
23526 char * kwnames
[] = {
23527 (char *) "winid", NULL
23530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) SWIG_fail
;
23532 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23533 if (!SWIG_IsOK(ecode1
)) {
23534 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_NcPaintEvent" "', expected argument " "1"" of type '" "int""'");
23536 arg1
= static_cast< int >(val1
);
23539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23540 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
23541 wxPyEndAllowThreads(__tstate
);
23542 if (PyErr_Occurred()) SWIG_fail
;
23544 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNcPaintEvent
, SWIG_POINTER_NEW
| 0 );
23551 SWIGINTERN PyObject
*NcPaintEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23553 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23554 SWIG_TypeNewClientData(SWIGTYPE_p_wxNcPaintEvent
, SWIG_NewClientData(obj
));
23555 return SWIG_Py_Void();
23558 SWIGINTERN PyObject
*NcPaintEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23559 return SWIG_Python_InitShadowInstance(args
);
23562 SWIGINTERN PyObject
*_wrap_new_EraseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23563 PyObject
*resultobj
= 0;
23564 int arg1
= (int) 0 ;
23565 wxDC
*arg2
= (wxDC
*) NULL
;
23566 wxEraseEvent
*result
= 0 ;
23571 PyObject
* obj0
= 0 ;
23572 PyObject
* obj1
= 0 ;
23573 char * kwnames
[] = {
23574 (char *) "Id",(char *) "dc", NULL
23577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23579 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23580 if (!SWIG_IsOK(ecode1
)) {
23581 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_EraseEvent" "', expected argument " "1"" of type '" "int""'");
23583 arg1
= static_cast< int >(val1
);
23586 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
23587 if (!SWIG_IsOK(res2
)) {
23588 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_EraseEvent" "', expected argument " "2"" of type '" "wxDC *""'");
23590 arg2
= reinterpret_cast< wxDC
* >(argp2
);
23593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23594 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
23595 wxPyEndAllowThreads(__tstate
);
23596 if (PyErr_Occurred()) SWIG_fail
;
23598 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEraseEvent
, SWIG_POINTER_NEW
| 0 );
23605 SWIGINTERN PyObject
*_wrap_EraseEvent_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23606 PyObject
*resultobj
= 0;
23607 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
23611 PyObject
*swig_obj
[1] ;
23613 if (!args
) SWIG_fail
;
23614 swig_obj
[0] = args
;
23615 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEraseEvent
, 0 | 0 );
23616 if (!SWIG_IsOK(res1
)) {
23617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EraseEvent_GetDC" "', expected argument " "1"" of type '" "wxEraseEvent const *""'");
23619 arg1
= reinterpret_cast< wxEraseEvent
* >(argp1
);
23621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23622 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
23623 wxPyEndAllowThreads(__tstate
);
23624 if (PyErr_Occurred()) SWIG_fail
;
23627 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23635 SWIGINTERN PyObject
*EraseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23637 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23638 SWIG_TypeNewClientData(SWIGTYPE_p_wxEraseEvent
, SWIG_NewClientData(obj
));
23639 return SWIG_Py_Void();
23642 SWIGINTERN PyObject
*EraseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23643 return SWIG_Python_InitShadowInstance(args
);
23646 SWIGINTERN PyObject
*_wrap_new_FocusEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23647 PyObject
*resultobj
= 0;
23648 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23649 int arg2
= (int) 0 ;
23650 wxFocusEvent
*result
= 0 ;
23655 PyObject
* obj0
= 0 ;
23656 PyObject
* obj1
= 0 ;
23657 char * kwnames
[] = {
23658 (char *) "type",(char *) "winid", NULL
23661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23663 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23664 if (!SWIG_IsOK(ecode1
)) {
23665 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FocusEvent" "', expected argument " "1"" of type '" "wxEventType""'");
23667 arg1
= static_cast< wxEventType
>(val1
);
23670 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23671 if (!SWIG_IsOK(ecode2
)) {
23672 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FocusEvent" "', expected argument " "2"" of type '" "int""'");
23674 arg2
= static_cast< int >(val2
);
23677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23678 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
23679 wxPyEndAllowThreads(__tstate
);
23680 if (PyErr_Occurred()) SWIG_fail
;
23682 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFocusEvent
, SWIG_POINTER_NEW
| 0 );
23689 SWIGINTERN PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23690 PyObject
*resultobj
= 0;
23691 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
23692 wxWindow
*result
= 0 ;
23695 PyObject
*swig_obj
[1] ;
23697 if (!args
) SWIG_fail
;
23698 swig_obj
[0] = args
;
23699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFocusEvent
, 0 | 0 );
23700 if (!SWIG_IsOK(res1
)) {
23701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FocusEvent_GetWindow" "', expected argument " "1"" of type '" "wxFocusEvent const *""'");
23703 arg1
= reinterpret_cast< wxFocusEvent
* >(argp1
);
23705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23706 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
23707 wxPyEndAllowThreads(__tstate
);
23708 if (PyErr_Occurred()) SWIG_fail
;
23711 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23719 SWIGINTERN PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23720 PyObject
*resultobj
= 0;
23721 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
23722 wxWindow
*arg2
= (wxWindow
*) 0 ;
23727 PyObject
* obj0
= 0 ;
23728 PyObject
* obj1
= 0 ;
23729 char * kwnames
[] = {
23730 (char *) "self",(char *) "win", NULL
23733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFocusEvent
, 0 | 0 );
23735 if (!SWIG_IsOK(res1
)) {
23736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FocusEvent_SetWindow" "', expected argument " "1"" of type '" "wxFocusEvent *""'");
23738 arg1
= reinterpret_cast< wxFocusEvent
* >(argp1
);
23739 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23740 if (!SWIG_IsOK(res2
)) {
23741 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FocusEvent_SetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
23743 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
23745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23746 (arg1
)->SetWindow(arg2
);
23747 wxPyEndAllowThreads(__tstate
);
23748 if (PyErr_Occurred()) SWIG_fail
;
23750 resultobj
= SWIG_Py_Void();
23757 SWIGINTERN PyObject
*FocusEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23759 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23760 SWIG_TypeNewClientData(SWIGTYPE_p_wxFocusEvent
, SWIG_NewClientData(obj
));
23761 return SWIG_Py_Void();
23764 SWIGINTERN PyObject
*FocusEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23765 return SWIG_Python_InitShadowInstance(args
);
23768 SWIGINTERN PyObject
*_wrap_new_ChildFocusEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23769 PyObject
*resultobj
= 0;
23770 wxWindow
*arg1
= (wxWindow
*) NULL
;
23771 wxChildFocusEvent
*result
= 0 ;
23774 PyObject
* obj0
= 0 ;
23775 char * kwnames
[] = {
23776 (char *) "win", NULL
23779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) SWIG_fail
;
23781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23782 if (!SWIG_IsOK(res1
)) {
23783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ChildFocusEvent" "', expected argument " "1"" of type '" "wxWindow *""'");
23785 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23789 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
23790 wxPyEndAllowThreads(__tstate
);
23791 if (PyErr_Occurred()) SWIG_fail
;
23793 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxChildFocusEvent
, SWIG_POINTER_NEW
| 0 );
23800 SWIGINTERN PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23801 PyObject
*resultobj
= 0;
23802 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
23803 wxWindow
*result
= 0 ;
23806 PyObject
*swig_obj
[1] ;
23808 if (!args
) SWIG_fail
;
23809 swig_obj
[0] = args
;
23810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxChildFocusEvent
, 0 | 0 );
23811 if (!SWIG_IsOK(res1
)) {
23812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ChildFocusEvent_GetWindow" "', expected argument " "1"" of type '" "wxChildFocusEvent const *""'");
23814 arg1
= reinterpret_cast< wxChildFocusEvent
* >(argp1
);
23816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23817 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
23818 wxPyEndAllowThreads(__tstate
);
23819 if (PyErr_Occurred()) SWIG_fail
;
23822 resultobj
= wxPyMake_wxObject(result
, (bool)0);
23830 SWIGINTERN PyObject
*ChildFocusEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23832 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23833 SWIG_TypeNewClientData(SWIGTYPE_p_wxChildFocusEvent
, SWIG_NewClientData(obj
));
23834 return SWIG_Py_Void();
23837 SWIGINTERN PyObject
*ChildFocusEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23838 return SWIG_Python_InitShadowInstance(args
);
23841 SWIGINTERN PyObject
*_wrap_new_ActivateEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23842 PyObject
*resultobj
= 0;
23843 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23844 bool arg2
= (bool) true ;
23845 int arg3
= (int) 0 ;
23846 wxActivateEvent
*result
= 0 ;
23853 PyObject
* obj0
= 0 ;
23854 PyObject
* obj1
= 0 ;
23855 PyObject
* obj2
= 0 ;
23856 char * kwnames
[] = {
23857 (char *) "type",(char *) "active",(char *) "Id", NULL
23860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23862 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23863 if (!SWIG_IsOK(ecode1
)) {
23864 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ActivateEvent" "', expected argument " "1"" of type '" "wxEventType""'");
23866 arg1
= static_cast< wxEventType
>(val1
);
23869 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23870 if (!SWIG_IsOK(ecode2
)) {
23871 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ActivateEvent" "', expected argument " "2"" of type '" "bool""'");
23873 arg2
= static_cast< bool >(val2
);
23876 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23877 if (!SWIG_IsOK(ecode3
)) {
23878 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ActivateEvent" "', expected argument " "3"" of type '" "int""'");
23880 arg3
= static_cast< int >(val3
);
23883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23884 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
23885 wxPyEndAllowThreads(__tstate
);
23886 if (PyErr_Occurred()) SWIG_fail
;
23888 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxActivateEvent
, SWIG_POINTER_NEW
| 0 );
23895 SWIGINTERN PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23896 PyObject
*resultobj
= 0;
23897 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
23901 PyObject
*swig_obj
[1] ;
23903 if (!args
) SWIG_fail
;
23904 swig_obj
[0] = args
;
23905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxActivateEvent
, 0 | 0 );
23906 if (!SWIG_IsOK(res1
)) {
23907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ActivateEvent_GetActive" "', expected argument " "1"" of type '" "wxActivateEvent const *""'");
23909 arg1
= reinterpret_cast< wxActivateEvent
* >(argp1
);
23911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23912 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
23913 wxPyEndAllowThreads(__tstate
);
23914 if (PyErr_Occurred()) SWIG_fail
;
23917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23925 SWIGINTERN PyObject
*ActivateEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23927 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23928 SWIG_TypeNewClientData(SWIGTYPE_p_wxActivateEvent
, SWIG_NewClientData(obj
));
23929 return SWIG_Py_Void();
23932 SWIGINTERN PyObject
*ActivateEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23933 return SWIG_Python_InitShadowInstance(args
);
23936 SWIGINTERN PyObject
*_wrap_new_InitDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23937 PyObject
*resultobj
= 0;
23938 int arg1
= (int) 0 ;
23939 wxInitDialogEvent
*result
= 0 ;
23942 PyObject
* obj0
= 0 ;
23943 char * kwnames
[] = {
23944 (char *) "Id", NULL
23947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) SWIG_fail
;
23949 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
23950 if (!SWIG_IsOK(ecode1
)) {
23951 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_InitDialogEvent" "', expected argument " "1"" of type '" "int""'");
23953 arg1
= static_cast< int >(val1
);
23956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23957 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
23958 wxPyEndAllowThreads(__tstate
);
23959 if (PyErr_Occurred()) SWIG_fail
;
23961 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxInitDialogEvent
, SWIG_POINTER_NEW
| 0 );
23968 SWIGINTERN PyObject
*InitDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23970 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23971 SWIG_TypeNewClientData(SWIGTYPE_p_wxInitDialogEvent
, SWIG_NewClientData(obj
));
23972 return SWIG_Py_Void();
23975 SWIGINTERN PyObject
*InitDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23976 return SWIG_Python_InitShadowInstance(args
);
23979 SWIGINTERN PyObject
*_wrap_new_MenuEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23980 PyObject
*resultobj
= 0;
23981 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
23982 int arg2
= (int) 0 ;
23983 wxMenu
*arg3
= (wxMenu
*) NULL
;
23984 wxMenuEvent
*result
= 0 ;
23991 PyObject
* obj0
= 0 ;
23992 PyObject
* obj1
= 0 ;
23993 PyObject
* obj2
= 0 ;
23994 char * kwnames
[] = {
23995 (char *) "type",(char *) "winid",(char *) "menu", NULL
23998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
24000 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24001 if (!SWIG_IsOK(ecode1
)) {
24002 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MenuEvent" "', expected argument " "1"" of type '" "wxEventType""'");
24004 arg1
= static_cast< wxEventType
>(val1
);
24007 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24008 if (!SWIG_IsOK(ecode2
)) {
24009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MenuEvent" "', expected argument " "2"" of type '" "int""'");
24011 arg2
= static_cast< int >(val2
);
24014 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxMenu
, 0 | 0 );
24015 if (!SWIG_IsOK(res3
)) {
24016 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_MenuEvent" "', expected argument " "3"" of type '" "wxMenu *""'");
24018 arg3
= reinterpret_cast< wxMenu
* >(argp3
);
24021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24022 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
24023 wxPyEndAllowThreads(__tstate
);
24024 if (PyErr_Occurred()) SWIG_fail
;
24026 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMenuEvent
, SWIG_POINTER_NEW
| 0 );
24033 SWIGINTERN PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24034 PyObject
*resultobj
= 0;
24035 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
24039 PyObject
*swig_obj
[1] ;
24041 if (!args
) SWIG_fail
;
24042 swig_obj
[0] = args
;
24043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuEvent
, 0 | 0 );
24044 if (!SWIG_IsOK(res1
)) {
24045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuEvent_GetMenuId" "', expected argument " "1"" of type '" "wxMenuEvent const *""'");
24047 arg1
= reinterpret_cast< wxMenuEvent
* >(argp1
);
24049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24050 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
24051 wxPyEndAllowThreads(__tstate
);
24052 if (PyErr_Occurred()) SWIG_fail
;
24054 resultobj
= SWIG_From_int(static_cast< int >(result
));
24061 SWIGINTERN PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24062 PyObject
*resultobj
= 0;
24063 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
24067 PyObject
*swig_obj
[1] ;
24069 if (!args
) SWIG_fail
;
24070 swig_obj
[0] = args
;
24071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuEvent
, 0 | 0 );
24072 if (!SWIG_IsOK(res1
)) {
24073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuEvent_IsPopup" "', expected argument " "1"" of type '" "wxMenuEvent const *""'");
24075 arg1
= reinterpret_cast< wxMenuEvent
* >(argp1
);
24077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24078 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
24079 wxPyEndAllowThreads(__tstate
);
24080 if (PyErr_Occurred()) SWIG_fail
;
24083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24091 SWIGINTERN PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24092 PyObject
*resultobj
= 0;
24093 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
24094 wxMenu
*result
= 0 ;
24097 PyObject
*swig_obj
[1] ;
24099 if (!args
) SWIG_fail
;
24100 swig_obj
[0] = args
;
24101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuEvent
, 0 | 0 );
24102 if (!SWIG_IsOK(res1
)) {
24103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuEvent_GetMenu" "', expected argument " "1"" of type '" "wxMenuEvent const *""'");
24105 arg1
= reinterpret_cast< wxMenuEvent
* >(argp1
);
24107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24108 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
24109 wxPyEndAllowThreads(__tstate
);
24110 if (PyErr_Occurred()) SWIG_fail
;
24113 resultobj
= wxPyMake_wxObject(result
, (bool)0);
24121 SWIGINTERN PyObject
*MenuEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24123 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24124 SWIG_TypeNewClientData(SWIGTYPE_p_wxMenuEvent
, SWIG_NewClientData(obj
));
24125 return SWIG_Py_Void();
24128 SWIGINTERN PyObject
*MenuEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24129 return SWIG_Python_InitShadowInstance(args
);
24132 SWIGINTERN PyObject
*_wrap_new_CloseEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24133 PyObject
*resultobj
= 0;
24134 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24135 int arg2
= (int) 0 ;
24136 wxCloseEvent
*result
= 0 ;
24141 PyObject
* obj0
= 0 ;
24142 PyObject
* obj1
= 0 ;
24143 char * kwnames
[] = {
24144 (char *) "type",(char *) "winid", NULL
24147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24149 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24150 if (!SWIG_IsOK(ecode1
)) {
24151 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CloseEvent" "', expected argument " "1"" of type '" "wxEventType""'");
24153 arg1
= static_cast< wxEventType
>(val1
);
24156 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24157 if (!SWIG_IsOK(ecode2
)) {
24158 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_CloseEvent" "', expected argument " "2"" of type '" "int""'");
24160 arg2
= static_cast< int >(val2
);
24163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24164 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
24165 wxPyEndAllowThreads(__tstate
);
24166 if (PyErr_Occurred()) SWIG_fail
;
24168 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCloseEvent
, SWIG_POINTER_NEW
| 0 );
24175 SWIGINTERN PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24176 PyObject
*resultobj
= 0;
24177 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
24183 PyObject
* obj0
= 0 ;
24184 PyObject
* obj1
= 0 ;
24185 char * kwnames
[] = {
24186 (char *) "self",(char *) "logOff", NULL
24189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
24191 if (!SWIG_IsOK(res1
)) {
24192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_SetLoggingOff" "', expected argument " "1"" of type '" "wxCloseEvent *""'");
24194 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
24195 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24196 if (!SWIG_IsOK(ecode2
)) {
24197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CloseEvent_SetLoggingOff" "', expected argument " "2"" of type '" "bool""'");
24199 arg2
= static_cast< bool >(val2
);
24201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24202 (arg1
)->SetLoggingOff(arg2
);
24203 wxPyEndAllowThreads(__tstate
);
24204 if (PyErr_Occurred()) SWIG_fail
;
24206 resultobj
= SWIG_Py_Void();
24213 SWIGINTERN PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24214 PyObject
*resultobj
= 0;
24215 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
24219 PyObject
*swig_obj
[1] ;
24221 if (!args
) SWIG_fail
;
24222 swig_obj
[0] = args
;
24223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
24224 if (!SWIG_IsOK(res1
)) {
24225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_GetLoggingOff" "', expected argument " "1"" of type '" "wxCloseEvent const *""'");
24227 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
24229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24230 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
24231 wxPyEndAllowThreads(__tstate
);
24232 if (PyErr_Occurred()) SWIG_fail
;
24235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24243 SWIGINTERN PyObject
*_wrap_CloseEvent_Veto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24244 PyObject
*resultobj
= 0;
24245 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
24246 bool arg2
= (bool) true ;
24251 PyObject
* obj0
= 0 ;
24252 PyObject
* obj1
= 0 ;
24253 char * kwnames
[] = {
24254 (char *) "self",(char *) "veto", NULL
24257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
24259 if (!SWIG_IsOK(res1
)) {
24260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_Veto" "', expected argument " "1"" of type '" "wxCloseEvent *""'");
24262 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
24264 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24265 if (!SWIG_IsOK(ecode2
)) {
24266 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CloseEvent_Veto" "', expected argument " "2"" of type '" "bool""'");
24268 arg2
= static_cast< bool >(val2
);
24271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24272 (arg1
)->Veto(arg2
);
24273 wxPyEndAllowThreads(__tstate
);
24274 if (PyErr_Occurred()) SWIG_fail
;
24276 resultobj
= SWIG_Py_Void();
24283 SWIGINTERN PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24284 PyObject
*resultobj
= 0;
24285 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
24289 PyObject
*swig_obj
[1] ;
24291 if (!args
) SWIG_fail
;
24292 swig_obj
[0] = args
;
24293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
24294 if (!SWIG_IsOK(res1
)) {
24295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_GetVeto" "', expected argument " "1"" of type '" "wxCloseEvent const *""'");
24297 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
24299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24300 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
24301 wxPyEndAllowThreads(__tstate
);
24302 if (PyErr_Occurred()) SWIG_fail
;
24305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24313 SWIGINTERN PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24314 PyObject
*resultobj
= 0;
24315 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
24321 PyObject
* obj0
= 0 ;
24322 PyObject
* obj1
= 0 ;
24323 char * kwnames
[] = {
24324 (char *) "self",(char *) "canVeto", NULL
24327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
24329 if (!SWIG_IsOK(res1
)) {
24330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_SetCanVeto" "', expected argument " "1"" of type '" "wxCloseEvent *""'");
24332 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
24333 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24334 if (!SWIG_IsOK(ecode2
)) {
24335 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CloseEvent_SetCanVeto" "', expected argument " "2"" of type '" "bool""'");
24337 arg2
= static_cast< bool >(val2
);
24339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24340 (arg1
)->SetCanVeto(arg2
);
24341 wxPyEndAllowThreads(__tstate
);
24342 if (PyErr_Occurred()) SWIG_fail
;
24344 resultobj
= SWIG_Py_Void();
24351 SWIGINTERN PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24352 PyObject
*resultobj
= 0;
24353 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
24357 PyObject
*swig_obj
[1] ;
24359 if (!args
) SWIG_fail
;
24360 swig_obj
[0] = args
;
24361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCloseEvent
, 0 | 0 );
24362 if (!SWIG_IsOK(res1
)) {
24363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CloseEvent_CanVeto" "', expected argument " "1"" of type '" "wxCloseEvent const *""'");
24365 arg1
= reinterpret_cast< wxCloseEvent
* >(argp1
);
24367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24368 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
24369 wxPyEndAllowThreads(__tstate
);
24370 if (PyErr_Occurred()) SWIG_fail
;
24373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24381 SWIGINTERN PyObject
*CloseEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24383 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24384 SWIG_TypeNewClientData(SWIGTYPE_p_wxCloseEvent
, SWIG_NewClientData(obj
));
24385 return SWIG_Py_Void();
24388 SWIGINTERN PyObject
*CloseEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24389 return SWIG_Python_InitShadowInstance(args
);
24392 SWIGINTERN PyObject
*_wrap_new_ShowEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24393 PyObject
*resultobj
= 0;
24394 int arg1
= (int) 0 ;
24395 bool arg2
= (bool) false ;
24396 wxShowEvent
*result
= 0 ;
24401 PyObject
* obj0
= 0 ;
24402 PyObject
* obj1
= 0 ;
24403 char * kwnames
[] = {
24404 (char *) "winid",(char *) "show", NULL
24407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24409 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24410 if (!SWIG_IsOK(ecode1
)) {
24411 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ShowEvent" "', expected argument " "1"" of type '" "int""'");
24413 arg1
= static_cast< int >(val1
);
24416 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24417 if (!SWIG_IsOK(ecode2
)) {
24418 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ShowEvent" "', expected argument " "2"" of type '" "bool""'");
24420 arg2
= static_cast< bool >(val2
);
24423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24424 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
24425 wxPyEndAllowThreads(__tstate
);
24426 if (PyErr_Occurred()) SWIG_fail
;
24428 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxShowEvent
, SWIG_POINTER_NEW
| 0 );
24435 SWIGINTERN PyObject
*_wrap_ShowEvent_SetShow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24436 PyObject
*resultobj
= 0;
24437 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
24443 PyObject
* obj0
= 0 ;
24444 PyObject
* obj1
= 0 ;
24445 char * kwnames
[] = {
24446 (char *) "self",(char *) "show", NULL
24449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxShowEvent
, 0 | 0 );
24451 if (!SWIG_IsOK(res1
)) {
24452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ShowEvent_SetShow" "', expected argument " "1"" of type '" "wxShowEvent *""'");
24454 arg1
= reinterpret_cast< wxShowEvent
* >(argp1
);
24455 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24456 if (!SWIG_IsOK(ecode2
)) {
24457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ShowEvent_SetShow" "', expected argument " "2"" of type '" "bool""'");
24459 arg2
= static_cast< bool >(val2
);
24461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24462 (arg1
)->SetShow(arg2
);
24463 wxPyEndAllowThreads(__tstate
);
24464 if (PyErr_Occurred()) SWIG_fail
;
24466 resultobj
= SWIG_Py_Void();
24473 SWIGINTERN PyObject
*_wrap_ShowEvent_GetShow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24474 PyObject
*resultobj
= 0;
24475 wxShowEvent
*arg1
= (wxShowEvent
*) 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_wxShowEvent
, 0 | 0 );
24484 if (!SWIG_IsOK(res1
)) {
24485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ShowEvent_GetShow" "', expected argument " "1"" of type '" "wxShowEvent const *""'");
24487 arg1
= reinterpret_cast< wxShowEvent
* >(argp1
);
24489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24490 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
24491 wxPyEndAllowThreads(__tstate
);
24492 if (PyErr_Occurred()) SWIG_fail
;
24495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24503 SWIGINTERN PyObject
*ShowEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24505 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24506 SWIG_TypeNewClientData(SWIGTYPE_p_wxShowEvent
, SWIG_NewClientData(obj
));
24507 return SWIG_Py_Void();
24510 SWIGINTERN PyObject
*ShowEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24511 return SWIG_Python_InitShadowInstance(args
);
24514 SWIGINTERN PyObject
*_wrap_new_IconizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24515 PyObject
*resultobj
= 0;
24516 int arg1
= (int) 0 ;
24517 bool arg2
= (bool) true ;
24518 wxIconizeEvent
*result
= 0 ;
24523 PyObject
* obj0
= 0 ;
24524 PyObject
* obj1
= 0 ;
24525 char * kwnames
[] = {
24526 (char *) "id",(char *) "iconized", NULL
24529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24531 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24532 if (!SWIG_IsOK(ecode1
)) {
24533 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_IconizeEvent" "', expected argument " "1"" of type '" "int""'");
24535 arg1
= static_cast< int >(val1
);
24538 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24539 if (!SWIG_IsOK(ecode2
)) {
24540 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_IconizeEvent" "', expected argument " "2"" of type '" "bool""'");
24542 arg2
= static_cast< bool >(val2
);
24545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24546 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
24547 wxPyEndAllowThreads(__tstate
);
24548 if (PyErr_Occurred()) SWIG_fail
;
24550 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIconizeEvent
, SWIG_POINTER_NEW
| 0 );
24557 SWIGINTERN PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24558 PyObject
*resultobj
= 0;
24559 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
24563 PyObject
*swig_obj
[1] ;
24565 if (!args
) SWIG_fail
;
24566 swig_obj
[0] = args
;
24567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIconizeEvent
, 0 | 0 );
24568 if (!SWIG_IsOK(res1
)) {
24569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IconizeEvent_Iconized" "', expected argument " "1"" of type '" "wxIconizeEvent *""'");
24571 arg1
= reinterpret_cast< wxIconizeEvent
* >(argp1
);
24573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24574 result
= (bool)(arg1
)->Iconized();
24575 wxPyEndAllowThreads(__tstate
);
24576 if (PyErr_Occurred()) SWIG_fail
;
24579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24587 SWIGINTERN PyObject
*IconizeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24589 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24590 SWIG_TypeNewClientData(SWIGTYPE_p_wxIconizeEvent
, SWIG_NewClientData(obj
));
24591 return SWIG_Py_Void();
24594 SWIGINTERN PyObject
*IconizeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24595 return SWIG_Python_InitShadowInstance(args
);
24598 SWIGINTERN PyObject
*_wrap_new_MaximizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24599 PyObject
*resultobj
= 0;
24600 int arg1
= (int) 0 ;
24601 wxMaximizeEvent
*result
= 0 ;
24604 PyObject
* obj0
= 0 ;
24605 char * kwnames
[] = {
24606 (char *) "id", NULL
24609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) SWIG_fail
;
24611 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24612 if (!SWIG_IsOK(ecode1
)) {
24613 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MaximizeEvent" "', expected argument " "1"" of type '" "int""'");
24615 arg1
= static_cast< int >(val1
);
24618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24619 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
24620 wxPyEndAllowThreads(__tstate
);
24621 if (PyErr_Occurred()) SWIG_fail
;
24623 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMaximizeEvent
, SWIG_POINTER_NEW
| 0 );
24630 SWIGINTERN PyObject
*MaximizeEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24632 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24633 SWIG_TypeNewClientData(SWIGTYPE_p_wxMaximizeEvent
, SWIG_NewClientData(obj
));
24634 return SWIG_Py_Void();
24637 SWIGINTERN PyObject
*MaximizeEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24638 return SWIG_Python_InitShadowInstance(args
);
24641 SWIGINTERN PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24642 PyObject
*resultobj
= 0;
24643 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
24647 PyObject
*swig_obj
[1] ;
24649 if (!args
) SWIG_fail
;
24650 swig_obj
[0] = args
;
24651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDropFilesEvent
, 0 | 0 );
24652 if (!SWIG_IsOK(res1
)) {
24653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropFilesEvent_GetPosition" "', expected argument " "1"" of type '" "wxDropFilesEvent *""'");
24655 arg1
= reinterpret_cast< wxDropFilesEvent
* >(argp1
);
24657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24658 result
= (arg1
)->GetPosition();
24659 wxPyEndAllowThreads(__tstate
);
24660 if (PyErr_Occurred()) SWIG_fail
;
24662 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24669 SWIGINTERN PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24670 PyObject
*resultobj
= 0;
24671 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
24675 PyObject
*swig_obj
[1] ;
24677 if (!args
) SWIG_fail
;
24678 swig_obj
[0] = args
;
24679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDropFilesEvent
, 0 | 0 );
24680 if (!SWIG_IsOK(res1
)) {
24681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropFilesEvent_GetNumberOfFiles" "', expected argument " "1"" of type '" "wxDropFilesEvent *""'");
24683 arg1
= reinterpret_cast< wxDropFilesEvent
* >(argp1
);
24685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24686 result
= (int)(arg1
)->GetNumberOfFiles();
24687 wxPyEndAllowThreads(__tstate
);
24688 if (PyErr_Occurred()) SWIG_fail
;
24690 resultobj
= SWIG_From_int(static_cast< int >(result
));
24697 SWIGINTERN PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24698 PyObject
*resultobj
= 0;
24699 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
24700 PyObject
*result
= 0 ;
24703 PyObject
*swig_obj
[1] ;
24705 if (!args
) SWIG_fail
;
24706 swig_obj
[0] = args
;
24707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDropFilesEvent
, 0 | 0 );
24708 if (!SWIG_IsOK(res1
)) {
24709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DropFilesEvent_GetFiles" "', expected argument " "1"" of type '" "wxDropFilesEvent *""'");
24711 arg1
= reinterpret_cast< wxDropFilesEvent
* >(argp1
);
24713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24714 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
24715 wxPyEndAllowThreads(__tstate
);
24716 if (PyErr_Occurred()) SWIG_fail
;
24718 resultobj
= result
;
24725 SWIGINTERN PyObject
*DropFilesEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24727 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24728 SWIG_TypeNewClientData(SWIGTYPE_p_wxDropFilesEvent
, SWIG_NewClientData(obj
));
24729 return SWIG_Py_Void();
24732 SWIGINTERN PyObject
*_wrap_new_UpdateUIEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24733 PyObject
*resultobj
= 0;
24734 int arg1
= (int) 0 ;
24735 wxUpdateUIEvent
*result
= 0 ;
24738 PyObject
* obj0
= 0 ;
24739 char * kwnames
[] = {
24740 (char *) "commandId", NULL
24743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) SWIG_fail
;
24745 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
24746 if (!SWIG_IsOK(ecode1
)) {
24747 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_UpdateUIEvent" "', expected argument " "1"" of type '" "int""'");
24749 arg1
= static_cast< int >(val1
);
24752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24753 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
24754 wxPyEndAllowThreads(__tstate
);
24755 if (PyErr_Occurred()) SWIG_fail
;
24757 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxUpdateUIEvent
, SWIG_POINTER_NEW
| 0 );
24764 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24765 PyObject
*resultobj
= 0;
24766 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24770 PyObject
*swig_obj
[1] ;
24772 if (!args
) SWIG_fail
;
24773 swig_obj
[0] = args
;
24774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24775 if (!SWIG_IsOK(res1
)) {
24776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetChecked" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
24778 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24781 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
24782 wxPyEndAllowThreads(__tstate
);
24783 if (PyErr_Occurred()) SWIG_fail
;
24786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24794 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24795 PyObject
*resultobj
= 0;
24796 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24800 PyObject
*swig_obj
[1] ;
24802 if (!args
) SWIG_fail
;
24803 swig_obj
[0] = args
;
24804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24805 if (!SWIG_IsOK(res1
)) {
24806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetEnabled" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
24808 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24811 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
24812 wxPyEndAllowThreads(__tstate
);
24813 if (PyErr_Occurred()) SWIG_fail
;
24816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24824 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24825 PyObject
*resultobj
= 0;
24826 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24830 PyObject
*swig_obj
[1] ;
24832 if (!args
) SWIG_fail
;
24833 swig_obj
[0] = args
;
24834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24835 if (!SWIG_IsOK(res1
)) {
24836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetShown" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
24838 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24841 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetShown();
24842 wxPyEndAllowThreads(__tstate
);
24843 if (PyErr_Occurred()) SWIG_fail
;
24846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24854 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24855 PyObject
*resultobj
= 0;
24856 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24860 PyObject
*swig_obj
[1] ;
24862 if (!args
) SWIG_fail
;
24863 swig_obj
[0] = args
;
24864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24865 if (!SWIG_IsOK(res1
)) {
24866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetText" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
24868 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24871 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
24872 wxPyEndAllowThreads(__tstate
);
24873 if (PyErr_Occurred()) SWIG_fail
;
24877 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24879 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24888 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24889 PyObject
*resultobj
= 0;
24890 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24894 PyObject
*swig_obj
[1] ;
24896 if (!args
) SWIG_fail
;
24897 swig_obj
[0] = args
;
24898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24899 if (!SWIG_IsOK(res1
)) {
24900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetSetText" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
24902 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24905 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
24906 wxPyEndAllowThreads(__tstate
);
24907 if (PyErr_Occurred()) SWIG_fail
;
24910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24918 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24919 PyObject
*resultobj
= 0;
24920 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24924 PyObject
*swig_obj
[1] ;
24926 if (!args
) SWIG_fail
;
24927 swig_obj
[0] = args
;
24928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24929 if (!SWIG_IsOK(res1
)) {
24930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetSetChecked" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
24932 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24935 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
24936 wxPyEndAllowThreads(__tstate
);
24937 if (PyErr_Occurred()) SWIG_fail
;
24940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24948 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24949 PyObject
*resultobj
= 0;
24950 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24954 PyObject
*swig_obj
[1] ;
24956 if (!args
) SWIG_fail
;
24957 swig_obj
[0] = args
;
24958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24959 if (!SWIG_IsOK(res1
)) {
24960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetSetEnabled" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
24962 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24965 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
24966 wxPyEndAllowThreads(__tstate
);
24967 if (PyErr_Occurred()) SWIG_fail
;
24970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24978 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetSetShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24979 PyObject
*resultobj
= 0;
24980 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
24984 PyObject
*swig_obj
[1] ;
24986 if (!args
) SWIG_fail
;
24987 swig_obj
[0] = args
;
24988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
24989 if (!SWIG_IsOK(res1
)) {
24990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_GetSetShown" "', expected argument " "1"" of type '" "wxUpdateUIEvent const *""'");
24992 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
24994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24995 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetShown();
24996 wxPyEndAllowThreads(__tstate
);
24997 if (PyErr_Occurred()) SWIG_fail
;
25000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25008 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25009 PyObject
*resultobj
= 0;
25010 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
25016 PyObject
* obj0
= 0 ;
25017 PyObject
* obj1
= 0 ;
25018 char * kwnames
[] = {
25019 (char *) "self",(char *) "check", NULL
25022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
25024 if (!SWIG_IsOK(res1
)) {
25025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_Check" "', expected argument " "1"" of type '" "wxUpdateUIEvent *""'");
25027 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
25028 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25029 if (!SWIG_IsOK(ecode2
)) {
25030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "UpdateUIEvent_Check" "', expected argument " "2"" of type '" "bool""'");
25032 arg2
= static_cast< bool >(val2
);
25034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25035 (arg1
)->Check(arg2
);
25036 wxPyEndAllowThreads(__tstate
);
25037 if (PyErr_Occurred()) SWIG_fail
;
25039 resultobj
= SWIG_Py_Void();
25046 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25047 PyObject
*resultobj
= 0;
25048 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
25054 PyObject
* obj0
= 0 ;
25055 PyObject
* obj1
= 0 ;
25056 char * kwnames
[] = {
25057 (char *) "self",(char *) "enable", NULL
25060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
25062 if (!SWIG_IsOK(res1
)) {
25063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_Enable" "', expected argument " "1"" of type '" "wxUpdateUIEvent *""'");
25065 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
25066 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25067 if (!SWIG_IsOK(ecode2
)) {
25068 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "UpdateUIEvent_Enable" "', expected argument " "2"" of type '" "bool""'");
25070 arg2
= static_cast< bool >(val2
);
25072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25073 (arg1
)->Enable(arg2
);
25074 wxPyEndAllowThreads(__tstate
);
25075 if (PyErr_Occurred()) SWIG_fail
;
25077 resultobj
= SWIG_Py_Void();
25084 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25085 PyObject
*resultobj
= 0;
25086 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
25092 PyObject
* obj0
= 0 ;
25093 PyObject
* obj1
= 0 ;
25094 char * kwnames
[] = {
25095 (char *) "self",(char *) "show", NULL
25098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
25100 if (!SWIG_IsOK(res1
)) {
25101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_Show" "', expected argument " "1"" of type '" "wxUpdateUIEvent *""'");
25103 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
25104 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25105 if (!SWIG_IsOK(ecode2
)) {
25106 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "UpdateUIEvent_Show" "', expected argument " "2"" of type '" "bool""'");
25108 arg2
= static_cast< bool >(val2
);
25110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25111 (arg1
)->Show(arg2
);
25112 wxPyEndAllowThreads(__tstate
);
25113 if (PyErr_Occurred()) SWIG_fail
;
25115 resultobj
= SWIG_Py_Void();
25122 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25123 PyObject
*resultobj
= 0;
25124 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
25125 wxString
*arg2
= 0 ;
25128 bool temp2
= false ;
25129 PyObject
* obj0
= 0 ;
25130 PyObject
* obj1
= 0 ;
25131 char * kwnames
[] = {
25132 (char *) "self",(char *) "text", NULL
25135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxUpdateUIEvent
, 0 | 0 );
25137 if (!SWIG_IsOK(res1
)) {
25138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_SetText" "', expected argument " "1"" of type '" "wxUpdateUIEvent *""'");
25140 arg1
= reinterpret_cast< wxUpdateUIEvent
* >(argp1
);
25142 arg2
= wxString_in_helper(obj1
);
25143 if (arg2
== NULL
) SWIG_fail
;
25147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25148 (arg1
)->SetText((wxString
const &)*arg2
);
25149 wxPyEndAllowThreads(__tstate
);
25150 if (PyErr_Occurred()) SWIG_fail
;
25152 resultobj
= SWIG_Py_Void();
25167 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25168 PyObject
*resultobj
= 0;
25172 PyObject
* obj0
= 0 ;
25173 char * kwnames
[] = {
25174 (char *) "updateInterval", NULL
25177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) SWIG_fail
;
25178 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
25179 if (!SWIG_IsOK(ecode1
)) {
25180 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "UpdateUIEvent_SetUpdateInterval" "', expected argument " "1"" of type '" "long""'");
25182 arg1
= static_cast< long >(val1
);
25184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25185 wxUpdateUIEvent::SetUpdateInterval(arg1
);
25186 wxPyEndAllowThreads(__tstate
);
25187 if (PyErr_Occurred()) SWIG_fail
;
25189 resultobj
= SWIG_Py_Void();
25196 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25197 PyObject
*resultobj
= 0;
25200 if (!SWIG_Python_UnpackTuple(args
,"UpdateUIEvent_GetUpdateInterval",0,0,0)) SWIG_fail
;
25202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25203 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
25204 wxPyEndAllowThreads(__tstate
);
25205 if (PyErr_Occurred()) SWIG_fail
;
25207 resultobj
= SWIG_From_long(static_cast< long >(result
));
25214 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25215 PyObject
*resultobj
= 0;
25216 wxWindow
*arg1
= (wxWindow
*) 0 ;
25220 PyObject
* obj0
= 0 ;
25221 char * kwnames
[] = {
25222 (char *) "win", NULL
25225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) SWIG_fail
;
25226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25227 if (!SWIG_IsOK(res1
)) {
25228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "UpdateUIEvent_CanUpdate" "', expected argument " "1"" of type '" "wxWindow *""'");
25230 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25233 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
25234 wxPyEndAllowThreads(__tstate
);
25235 if (PyErr_Occurred()) SWIG_fail
;
25238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25246 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25247 PyObject
*resultobj
= 0;
25249 if (!SWIG_Python_UnpackTuple(args
,"UpdateUIEvent_ResetUpdateTime",0,0,0)) SWIG_fail
;
25251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25252 wxUpdateUIEvent::ResetUpdateTime();
25253 wxPyEndAllowThreads(__tstate
);
25254 if (PyErr_Occurred()) SWIG_fail
;
25256 resultobj
= SWIG_Py_Void();
25263 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25264 PyObject
*resultobj
= 0;
25265 wxUpdateUIMode arg1
;
25268 PyObject
* obj0
= 0 ;
25269 char * kwnames
[] = {
25270 (char *) "mode", NULL
25273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) SWIG_fail
;
25274 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25275 if (!SWIG_IsOK(ecode1
)) {
25276 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "UpdateUIEvent_SetMode" "', expected argument " "1"" of type '" "wxUpdateUIMode""'");
25278 arg1
= static_cast< wxUpdateUIMode
>(val1
);
25280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25281 wxUpdateUIEvent::SetMode(arg1
);
25282 wxPyEndAllowThreads(__tstate
);
25283 if (PyErr_Occurred()) SWIG_fail
;
25285 resultobj
= SWIG_Py_Void();
25292 SWIGINTERN PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25293 PyObject
*resultobj
= 0;
25294 wxUpdateUIMode result
;
25296 if (!SWIG_Python_UnpackTuple(args
,"UpdateUIEvent_GetMode",0,0,0)) SWIG_fail
;
25298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25299 result
= (wxUpdateUIMode
)wxUpdateUIEvent::GetMode();
25300 wxPyEndAllowThreads(__tstate
);
25301 if (PyErr_Occurred()) SWIG_fail
;
25303 resultobj
= SWIG_From_int(static_cast< int >(result
));
25310 SWIGINTERN PyObject
*UpdateUIEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25312 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25313 SWIG_TypeNewClientData(SWIGTYPE_p_wxUpdateUIEvent
, SWIG_NewClientData(obj
));
25314 return SWIG_Py_Void();
25317 SWIGINTERN PyObject
*UpdateUIEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25318 return SWIG_Python_InitShadowInstance(args
);
25321 SWIGINTERN PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25322 PyObject
*resultobj
= 0;
25323 wxSysColourChangedEvent
*result
= 0 ;
25325 if (!SWIG_Python_UnpackTuple(args
,"new_SysColourChangedEvent",0,0,0)) SWIG_fail
;
25327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25328 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
25329 wxPyEndAllowThreads(__tstate
);
25330 if (PyErr_Occurred()) SWIG_fail
;
25332 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSysColourChangedEvent
, SWIG_POINTER_NEW
| 0 );
25339 SWIGINTERN PyObject
*SysColourChangedEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25341 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25342 SWIG_TypeNewClientData(SWIGTYPE_p_wxSysColourChangedEvent
, SWIG_NewClientData(obj
));
25343 return SWIG_Py_Void();
25346 SWIGINTERN PyObject
*SysColourChangedEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25347 return SWIG_Python_InitShadowInstance(args
);
25350 SWIGINTERN PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25351 PyObject
*resultobj
= 0;
25352 int arg1
= (int) 0 ;
25353 wxWindow
*arg2
= (wxWindow
*) NULL
;
25354 wxMouseCaptureChangedEvent
*result
= 0 ;
25359 PyObject
* obj0
= 0 ;
25360 PyObject
* obj1
= 0 ;
25361 char * kwnames
[] = {
25362 (char *) "winid",(char *) "gainedCapture", NULL
25365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25367 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25368 if (!SWIG_IsOK(ecode1
)) {
25369 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MouseCaptureChangedEvent" "', expected argument " "1"" of type '" "int""'");
25371 arg1
= static_cast< int >(val1
);
25374 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25375 if (!SWIG_IsOK(res2
)) {
25376 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_MouseCaptureChangedEvent" "', expected argument " "2"" of type '" "wxWindow *""'");
25378 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25382 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
25383 wxPyEndAllowThreads(__tstate
);
25384 if (PyErr_Occurred()) SWIG_fail
;
25386 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_POINTER_NEW
| 0 );
25393 SWIGINTERN PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25394 PyObject
*resultobj
= 0;
25395 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
25396 wxWindow
*result
= 0 ;
25399 PyObject
*swig_obj
[1] ;
25401 if (!args
) SWIG_fail
;
25402 swig_obj
[0] = args
;
25403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMouseCaptureChangedEvent
, 0 | 0 );
25404 if (!SWIG_IsOK(res1
)) {
25405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MouseCaptureChangedEvent_GetCapturedWindow" "', expected argument " "1"" of type '" "wxMouseCaptureChangedEvent const *""'");
25407 arg1
= reinterpret_cast< wxMouseCaptureChangedEvent
* >(argp1
);
25409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25410 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
25411 wxPyEndAllowThreads(__tstate
);
25412 if (PyErr_Occurred()) SWIG_fail
;
25415 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25423 SWIGINTERN PyObject
*MouseCaptureChangedEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25425 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25426 SWIG_TypeNewClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, SWIG_NewClientData(obj
));
25427 return SWIG_Py_Void();
25430 SWIGINTERN PyObject
*MouseCaptureChangedEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25431 return SWIG_Python_InitShadowInstance(args
);
25434 SWIGINTERN PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25435 PyObject
*resultobj
= 0;
25436 wxDisplayChangedEvent
*result
= 0 ;
25438 if (!SWIG_Python_UnpackTuple(args
,"new_DisplayChangedEvent",0,0,0)) SWIG_fail
;
25440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25441 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
25442 wxPyEndAllowThreads(__tstate
);
25443 if (PyErr_Occurred()) SWIG_fail
;
25445 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDisplayChangedEvent
, SWIG_POINTER_NEW
| 0 );
25452 SWIGINTERN PyObject
*DisplayChangedEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25454 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25455 SWIG_TypeNewClientData(SWIGTYPE_p_wxDisplayChangedEvent
, SWIG_NewClientData(obj
));
25456 return SWIG_Py_Void();
25459 SWIGINTERN PyObject
*DisplayChangedEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25460 return SWIG_Python_InitShadowInstance(args
);
25463 SWIGINTERN PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25464 PyObject
*resultobj
= 0;
25465 int arg1
= (int) 0 ;
25466 wxPaletteChangedEvent
*result
= 0 ;
25469 PyObject
* obj0
= 0 ;
25470 char * kwnames
[] = {
25471 (char *) "id", NULL
25474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) SWIG_fail
;
25476 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25477 if (!SWIG_IsOK(ecode1
)) {
25478 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PaletteChangedEvent" "', expected argument " "1"" of type '" "int""'");
25480 arg1
= static_cast< int >(val1
);
25483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25484 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
25485 wxPyEndAllowThreads(__tstate
);
25486 if (PyErr_Occurred()) SWIG_fail
;
25488 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_POINTER_NEW
| 0 );
25495 SWIGINTERN PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25496 PyObject
*resultobj
= 0;
25497 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
25498 wxWindow
*arg2
= (wxWindow
*) 0 ;
25503 PyObject
* obj0
= 0 ;
25504 PyObject
* obj1
= 0 ;
25505 char * kwnames
[] = {
25506 (char *) "self",(char *) "win", NULL
25509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPaletteChangedEvent
, 0 | 0 );
25511 if (!SWIG_IsOK(res1
)) {
25512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PaletteChangedEvent_SetChangedWindow" "', expected argument " "1"" of type '" "wxPaletteChangedEvent *""'");
25514 arg1
= reinterpret_cast< wxPaletteChangedEvent
* >(argp1
);
25515 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25516 if (!SWIG_IsOK(res2
)) {
25517 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PaletteChangedEvent_SetChangedWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
25519 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
25521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25522 (arg1
)->SetChangedWindow(arg2
);
25523 wxPyEndAllowThreads(__tstate
);
25524 if (PyErr_Occurred()) SWIG_fail
;
25526 resultobj
= SWIG_Py_Void();
25533 SWIGINTERN PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25534 PyObject
*resultobj
= 0;
25535 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
25536 wxWindow
*result
= 0 ;
25539 PyObject
*swig_obj
[1] ;
25541 if (!args
) SWIG_fail
;
25542 swig_obj
[0] = args
;
25543 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPaletteChangedEvent
, 0 | 0 );
25544 if (!SWIG_IsOK(res1
)) {
25545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PaletteChangedEvent_GetChangedWindow" "', expected argument " "1"" of type '" "wxPaletteChangedEvent *""'");
25547 arg1
= reinterpret_cast< wxPaletteChangedEvent
* >(argp1
);
25549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25550 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
25551 wxPyEndAllowThreads(__tstate
);
25552 if (PyErr_Occurred()) SWIG_fail
;
25555 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25563 SWIGINTERN PyObject
*PaletteChangedEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25565 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25566 SWIG_TypeNewClientData(SWIGTYPE_p_wxPaletteChangedEvent
, SWIG_NewClientData(obj
));
25567 return SWIG_Py_Void();
25570 SWIGINTERN PyObject
*PaletteChangedEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25571 return SWIG_Python_InitShadowInstance(args
);
25574 SWIGINTERN PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25575 PyObject
*resultobj
= 0;
25576 int arg1
= (int) 0 ;
25577 wxQueryNewPaletteEvent
*result
= 0 ;
25580 PyObject
* obj0
= 0 ;
25581 char * kwnames
[] = {
25582 (char *) "winid", NULL
25585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) SWIG_fail
;
25587 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
25588 if (!SWIG_IsOK(ecode1
)) {
25589 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryNewPaletteEvent" "', expected argument " "1"" of type '" "int""'");
25591 arg1
= static_cast< int >(val1
);
25594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25595 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
25596 wxPyEndAllowThreads(__tstate
);
25597 if (PyErr_Occurred()) SWIG_fail
;
25599 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_POINTER_NEW
| 0 );
25606 SWIGINTERN PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25607 PyObject
*resultobj
= 0;
25608 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
25614 PyObject
* obj0
= 0 ;
25615 PyObject
* obj1
= 0 ;
25616 char * kwnames
[] = {
25617 (char *) "self",(char *) "realized", NULL
25620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryNewPaletteEvent
, 0 | 0 );
25622 if (!SWIG_IsOK(res1
)) {
25623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryNewPaletteEvent_SetPaletteRealized" "', expected argument " "1"" of type '" "wxQueryNewPaletteEvent *""'");
25625 arg1
= reinterpret_cast< wxQueryNewPaletteEvent
* >(argp1
);
25626 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25627 if (!SWIG_IsOK(ecode2
)) {
25628 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryNewPaletteEvent_SetPaletteRealized" "', expected argument " "2"" of type '" "bool""'");
25630 arg2
= static_cast< bool >(val2
);
25632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25633 (arg1
)->SetPaletteRealized(arg2
);
25634 wxPyEndAllowThreads(__tstate
);
25635 if (PyErr_Occurred()) SWIG_fail
;
25637 resultobj
= SWIG_Py_Void();
25644 SWIGINTERN PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25645 PyObject
*resultobj
= 0;
25646 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
25650 PyObject
*swig_obj
[1] ;
25652 if (!args
) SWIG_fail
;
25653 swig_obj
[0] = args
;
25654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryNewPaletteEvent
, 0 | 0 );
25655 if (!SWIG_IsOK(res1
)) {
25656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryNewPaletteEvent_GetPaletteRealized" "', expected argument " "1"" of type '" "wxQueryNewPaletteEvent const *""'");
25658 arg1
= reinterpret_cast< wxQueryNewPaletteEvent
* >(argp1
);
25660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25661 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
25662 wxPyEndAllowThreads(__tstate
);
25663 if (PyErr_Occurred()) SWIG_fail
;
25666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25674 SWIGINTERN PyObject
*QueryNewPaletteEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25676 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25677 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, SWIG_NewClientData(obj
));
25678 return SWIG_Py_Void();
25681 SWIGINTERN PyObject
*QueryNewPaletteEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25682 return SWIG_Python_InitShadowInstance(args
);
25685 SWIGINTERN PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25686 PyObject
*resultobj
= 0;
25687 wxNavigationKeyEvent
*result
= 0 ;
25689 if (!SWIG_Python_UnpackTuple(args
,"new_NavigationKeyEvent",0,0,0)) SWIG_fail
;
25691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25692 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
25693 wxPyEndAllowThreads(__tstate
);
25694 if (PyErr_Occurred()) SWIG_fail
;
25696 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_POINTER_NEW
| 0 );
25703 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25704 PyObject
*resultobj
= 0;
25705 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
25709 PyObject
*swig_obj
[1] ;
25711 if (!args
) SWIG_fail
;
25712 swig_obj
[0] = args
;
25713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
25714 if (!SWIG_IsOK(res1
)) {
25715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_GetDirection" "', expected argument " "1"" of type '" "wxNavigationKeyEvent const *""'");
25717 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
25719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25720 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
25721 wxPyEndAllowThreads(__tstate
);
25722 if (PyErr_Occurred()) SWIG_fail
;
25725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25733 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25734 PyObject
*resultobj
= 0;
25735 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
25741 PyObject
* obj0
= 0 ;
25742 PyObject
* obj1
= 0 ;
25743 char * kwnames
[] = {
25744 (char *) "self",(char *) "forward", NULL
25747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
25749 if (!SWIG_IsOK(res1
)) {
25750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_SetDirection" "', expected argument " "1"" of type '" "wxNavigationKeyEvent *""'");
25752 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
25753 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25754 if (!SWIG_IsOK(ecode2
)) {
25755 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NavigationKeyEvent_SetDirection" "', expected argument " "2"" of type '" "bool""'");
25757 arg2
= static_cast< bool >(val2
);
25759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25760 (arg1
)->SetDirection(arg2
);
25761 wxPyEndAllowThreads(__tstate
);
25762 if (PyErr_Occurred()) SWIG_fail
;
25764 resultobj
= SWIG_Py_Void();
25771 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25772 PyObject
*resultobj
= 0;
25773 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
25777 PyObject
*swig_obj
[1] ;
25779 if (!args
) SWIG_fail
;
25780 swig_obj
[0] = args
;
25781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
25782 if (!SWIG_IsOK(res1
)) {
25783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_IsWindowChange" "', expected argument " "1"" of type '" "wxNavigationKeyEvent const *""'");
25785 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
25787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25788 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
25789 wxPyEndAllowThreads(__tstate
);
25790 if (PyErr_Occurred()) SWIG_fail
;
25793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25801 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25802 PyObject
*resultobj
= 0;
25803 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
25809 PyObject
* obj0
= 0 ;
25810 PyObject
* obj1
= 0 ;
25811 char * kwnames
[] = {
25812 (char *) "self",(char *) "ischange", NULL
25815 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25816 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
25817 if (!SWIG_IsOK(res1
)) {
25818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_SetWindowChange" "', expected argument " "1"" of type '" "wxNavigationKeyEvent *""'");
25820 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
25821 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25822 if (!SWIG_IsOK(ecode2
)) {
25823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NavigationKeyEvent_SetWindowChange" "', expected argument " "2"" of type '" "bool""'");
25825 arg2
= static_cast< bool >(val2
);
25827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25828 (arg1
)->SetWindowChange(arg2
);
25829 wxPyEndAllowThreads(__tstate
);
25830 if (PyErr_Occurred()) SWIG_fail
;
25832 resultobj
= SWIG_Py_Void();
25839 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_IsFromTab(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25840 PyObject
*resultobj
= 0;
25841 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
25845 PyObject
*swig_obj
[1] ;
25847 if (!args
) SWIG_fail
;
25848 swig_obj
[0] = args
;
25849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
25850 if (!SWIG_IsOK(res1
)) {
25851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_IsFromTab" "', expected argument " "1"" of type '" "wxNavigationKeyEvent const *""'");
25853 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
25855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25856 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsFromTab();
25857 wxPyEndAllowThreads(__tstate
);
25858 if (PyErr_Occurred()) SWIG_fail
;
25861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25869 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_SetFromTab(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25870 PyObject
*resultobj
= 0;
25871 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
25877 PyObject
* obj0
= 0 ;
25878 PyObject
* obj1
= 0 ;
25879 char * kwnames
[] = {
25880 (char *) "self",(char *) "bIs", NULL
25883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFromTab",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
25885 if (!SWIG_IsOK(res1
)) {
25886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_SetFromTab" "', expected argument " "1"" of type '" "wxNavigationKeyEvent *""'");
25888 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
25889 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25890 if (!SWIG_IsOK(ecode2
)) {
25891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NavigationKeyEvent_SetFromTab" "', expected argument " "2"" of type '" "bool""'");
25893 arg2
= static_cast< bool >(val2
);
25895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25896 (arg1
)->SetFromTab(arg2
);
25897 wxPyEndAllowThreads(__tstate
);
25898 if (PyErr_Occurred()) SWIG_fail
;
25900 resultobj
= SWIG_Py_Void();
25907 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25908 PyObject
*resultobj
= 0;
25909 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
25915 PyObject
* obj0
= 0 ;
25916 PyObject
* obj1
= 0 ;
25917 char * kwnames
[] = {
25918 (char *) "self",(char *) "flags", NULL
25921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
25923 if (!SWIG_IsOK(res1
)) {
25924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_SetFlags" "', expected argument " "1"" of type '" "wxNavigationKeyEvent *""'");
25926 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
25927 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
25928 if (!SWIG_IsOK(ecode2
)) {
25929 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "NavigationKeyEvent_SetFlags" "', expected argument " "2"" of type '" "long""'");
25931 arg2
= static_cast< long >(val2
);
25933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25934 (arg1
)->SetFlags(arg2
);
25935 wxPyEndAllowThreads(__tstate
);
25936 if (PyErr_Occurred()) SWIG_fail
;
25938 resultobj
= SWIG_Py_Void();
25945 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25946 PyObject
*resultobj
= 0;
25947 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
25948 wxWindow
*result
= 0 ;
25951 PyObject
*swig_obj
[1] ;
25953 if (!args
) SWIG_fail
;
25954 swig_obj
[0] = args
;
25955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
25956 if (!SWIG_IsOK(res1
)) {
25957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_GetCurrentFocus" "', expected argument " "1"" of type '" "wxNavigationKeyEvent const *""'");
25959 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
25961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25962 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
25963 wxPyEndAllowThreads(__tstate
);
25964 if (PyErr_Occurred()) SWIG_fail
;
25967 resultobj
= wxPyMake_wxObject(result
, (bool)0);
25975 SWIGINTERN PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25976 PyObject
*resultobj
= 0;
25977 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
25978 wxWindow
*arg2
= (wxWindow
*) 0 ;
25983 PyObject
* obj0
= 0 ;
25984 PyObject
* obj1
= 0 ;
25985 char * kwnames
[] = {
25986 (char *) "self",(char *) "win", NULL
25989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxNavigationKeyEvent
, 0 | 0 );
25991 if (!SWIG_IsOK(res1
)) {
25992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NavigationKeyEvent_SetCurrentFocus" "', expected argument " "1"" of type '" "wxNavigationKeyEvent *""'");
25994 arg1
= reinterpret_cast< wxNavigationKeyEvent
* >(argp1
);
25995 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25996 if (!SWIG_IsOK(res2
)) {
25997 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "NavigationKeyEvent_SetCurrentFocus" "', expected argument " "2"" of type '" "wxWindow *""'");
25999 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26002 (arg1
)->SetCurrentFocus(arg2
);
26003 wxPyEndAllowThreads(__tstate
);
26004 if (PyErr_Occurred()) SWIG_fail
;
26006 resultobj
= SWIG_Py_Void();
26013 SWIGINTERN PyObject
*NavigationKeyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26015 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26016 SWIG_TypeNewClientData(SWIGTYPE_p_wxNavigationKeyEvent
, SWIG_NewClientData(obj
));
26017 return SWIG_Py_Void();
26020 SWIGINTERN PyObject
*NavigationKeyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26021 return SWIG_Python_InitShadowInstance(args
);
26024 SWIGINTERN PyObject
*_wrap_new_WindowCreateEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26025 PyObject
*resultobj
= 0;
26026 wxWindow
*arg1
= (wxWindow
*) NULL
;
26027 wxWindowCreateEvent
*result
= 0 ;
26030 PyObject
* obj0
= 0 ;
26031 char * kwnames
[] = {
26032 (char *) "win", NULL
26035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) SWIG_fail
;
26037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26038 if (!SWIG_IsOK(res1
)) {
26039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowCreateEvent" "', expected argument " "1"" of type '" "wxWindow *""'");
26041 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26045 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
26046 wxPyEndAllowThreads(__tstate
);
26047 if (PyErr_Occurred()) SWIG_fail
;
26049 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowCreateEvent
, SWIG_POINTER_NEW
| 0 );
26056 SWIGINTERN PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26057 PyObject
*resultobj
= 0;
26058 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
26059 wxWindow
*result
= 0 ;
26062 PyObject
*swig_obj
[1] ;
26064 if (!args
) SWIG_fail
;
26065 swig_obj
[0] = args
;
26066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindowCreateEvent
, 0 | 0 );
26067 if (!SWIG_IsOK(res1
)) {
26068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "WindowCreateEvent_GetWindow" "', expected argument " "1"" of type '" "wxWindowCreateEvent const *""'");
26070 arg1
= reinterpret_cast< wxWindowCreateEvent
* >(argp1
);
26072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26073 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
26074 wxPyEndAllowThreads(__tstate
);
26075 if (PyErr_Occurred()) SWIG_fail
;
26078 resultobj
= wxPyMake_wxObject(result
, (bool)0);
26086 SWIGINTERN PyObject
*WindowCreateEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26088 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26089 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowCreateEvent
, SWIG_NewClientData(obj
));
26090 return SWIG_Py_Void();
26093 SWIGINTERN PyObject
*WindowCreateEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26094 return SWIG_Python_InitShadowInstance(args
);
26097 SWIGINTERN PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26098 PyObject
*resultobj
= 0;
26099 wxWindow
*arg1
= (wxWindow
*) NULL
;
26100 wxWindowDestroyEvent
*result
= 0 ;
26103 PyObject
* obj0
= 0 ;
26104 char * kwnames
[] = {
26105 (char *) "win", NULL
26108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) SWIG_fail
;
26110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26111 if (!SWIG_IsOK(res1
)) {
26112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_WindowDestroyEvent" "', expected argument " "1"" of type '" "wxWindow *""'");
26114 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26118 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
26119 wxPyEndAllowThreads(__tstate
);
26120 if (PyErr_Occurred()) SWIG_fail
;
26122 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_POINTER_NEW
| 0 );
26129 SWIGINTERN PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26130 PyObject
*resultobj
= 0;
26131 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
26132 wxWindow
*result
= 0 ;
26135 PyObject
*swig_obj
[1] ;
26137 if (!args
) SWIG_fail
;
26138 swig_obj
[0] = args
;
26139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindowDestroyEvent
, 0 | 0 );
26140 if (!SWIG_IsOK(res1
)) {
26141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "WindowDestroyEvent_GetWindow" "', expected argument " "1"" of type '" "wxWindowDestroyEvent const *""'");
26143 arg1
= reinterpret_cast< wxWindowDestroyEvent
* >(argp1
);
26145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26146 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
26147 wxPyEndAllowThreads(__tstate
);
26148 if (PyErr_Occurred()) SWIG_fail
;
26151 resultobj
= wxPyMake_wxObject(result
, (bool)0);
26159 SWIGINTERN PyObject
*WindowDestroyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26161 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26162 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindowDestroyEvent
, SWIG_NewClientData(obj
));
26163 return SWIG_Py_Void();
26166 SWIGINTERN PyObject
*WindowDestroyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26167 return SWIG_Python_InitShadowInstance(args
);
26170 SWIGINTERN PyObject
*_wrap_new_ContextMenuEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26171 PyObject
*resultobj
= 0;
26172 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
26173 int arg2
= (int) 0 ;
26174 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
26175 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
26176 wxContextMenuEvent
*result
= 0 ;
26182 PyObject
* obj0
= 0 ;
26183 PyObject
* obj1
= 0 ;
26184 PyObject
* obj2
= 0 ;
26185 char * kwnames
[] = {
26186 (char *) "type",(char *) "winid",(char *) "pt", NULL
26189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26191 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26192 if (!SWIG_IsOK(ecode1
)) {
26193 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ContextMenuEvent" "', expected argument " "1"" of type '" "wxEventType""'");
26195 arg1
= static_cast< wxEventType
>(val1
);
26198 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26199 if (!SWIG_IsOK(ecode2
)) {
26200 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ContextMenuEvent" "', expected argument " "2"" of type '" "int""'");
26202 arg2
= static_cast< int >(val2
);
26207 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26212 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
26213 wxPyEndAllowThreads(__tstate
);
26214 if (PyErr_Occurred()) SWIG_fail
;
26216 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxContextMenuEvent
, SWIG_POINTER_NEW
| 0 );
26223 SWIGINTERN PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26224 PyObject
*resultobj
= 0;
26225 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
26226 wxPoint
*result
= 0 ;
26229 PyObject
*swig_obj
[1] ;
26231 if (!args
) SWIG_fail
;
26232 swig_obj
[0] = args
;
26233 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxContextMenuEvent
, 0 | 0 );
26234 if (!SWIG_IsOK(res1
)) {
26235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextMenuEvent_GetPosition" "', expected argument " "1"" of type '" "wxContextMenuEvent const *""'");
26237 arg1
= reinterpret_cast< wxContextMenuEvent
* >(argp1
);
26239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26241 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
26242 result
= (wxPoint
*) &_result_ref
;
26244 wxPyEndAllowThreads(__tstate
);
26245 if (PyErr_Occurred()) SWIG_fail
;
26247 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPoint
, 0 | 0 );
26254 SWIGINTERN PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26255 PyObject
*resultobj
= 0;
26256 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
26257 wxPoint
*arg2
= 0 ;
26261 PyObject
* obj0
= 0 ;
26262 PyObject
* obj1
= 0 ;
26263 char * kwnames
[] = {
26264 (char *) "self",(char *) "pos", NULL
26267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxContextMenuEvent
, 0 | 0 );
26269 if (!SWIG_IsOK(res1
)) {
26270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ContextMenuEvent_SetPosition" "', expected argument " "1"" of type '" "wxContextMenuEvent *""'");
26272 arg1
= reinterpret_cast< wxContextMenuEvent
* >(argp1
);
26275 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26279 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
26280 wxPyEndAllowThreads(__tstate
);
26281 if (PyErr_Occurred()) SWIG_fail
;
26283 resultobj
= SWIG_Py_Void();
26290 SWIGINTERN PyObject
*ContextMenuEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26292 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26293 SWIG_TypeNewClientData(SWIGTYPE_p_wxContextMenuEvent
, SWIG_NewClientData(obj
));
26294 return SWIG_Py_Void();
26297 SWIGINTERN PyObject
*ContextMenuEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26298 return SWIG_Python_InitShadowInstance(args
);
26301 SWIGINTERN PyObject
*_wrap_new_IdleEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26302 PyObject
*resultobj
= 0;
26303 wxIdleEvent
*result
= 0 ;
26305 if (!SWIG_Python_UnpackTuple(args
,"new_IdleEvent",0,0,0)) SWIG_fail
;
26307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26308 result
= (wxIdleEvent
*)new wxIdleEvent();
26309 wxPyEndAllowThreads(__tstate
);
26310 if (PyErr_Occurred()) SWIG_fail
;
26312 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIdleEvent
, SWIG_POINTER_NEW
| 0 );
26319 SWIGINTERN PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26320 PyObject
*resultobj
= 0;
26321 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
26322 bool arg2
= (bool) true ;
26327 PyObject
* obj0
= 0 ;
26328 PyObject
* obj1
= 0 ;
26329 char * kwnames
[] = {
26330 (char *) "self",(char *) "needMore", NULL
26333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIdleEvent
, 0 | 0 );
26335 if (!SWIG_IsOK(res1
)) {
26336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IdleEvent_RequestMore" "', expected argument " "1"" of type '" "wxIdleEvent *""'");
26338 arg1
= reinterpret_cast< wxIdleEvent
* >(argp1
);
26340 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26341 if (!SWIG_IsOK(ecode2
)) {
26342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IdleEvent_RequestMore" "', expected argument " "2"" of type '" "bool""'");
26344 arg2
= static_cast< bool >(val2
);
26347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26348 (arg1
)->RequestMore(arg2
);
26349 wxPyEndAllowThreads(__tstate
);
26350 if (PyErr_Occurred()) SWIG_fail
;
26352 resultobj
= SWIG_Py_Void();
26359 SWIGINTERN PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26360 PyObject
*resultobj
= 0;
26361 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
26365 PyObject
*swig_obj
[1] ;
26367 if (!args
) SWIG_fail
;
26368 swig_obj
[0] = args
;
26369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIdleEvent
, 0 | 0 );
26370 if (!SWIG_IsOK(res1
)) {
26371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IdleEvent_MoreRequested" "', expected argument " "1"" of type '" "wxIdleEvent const *""'");
26373 arg1
= reinterpret_cast< wxIdleEvent
* >(argp1
);
26375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26376 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
26377 wxPyEndAllowThreads(__tstate
);
26378 if (PyErr_Occurred()) SWIG_fail
;
26381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26389 SWIGINTERN PyObject
*_wrap_IdleEvent_SetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26390 PyObject
*resultobj
= 0;
26394 PyObject
* obj0
= 0 ;
26395 char * kwnames
[] = {
26396 (char *) "mode", NULL
26399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) SWIG_fail
;
26400 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26401 if (!SWIG_IsOK(ecode1
)) {
26402 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "IdleEvent_SetMode" "', expected argument " "1"" of type '" "wxIdleMode""'");
26404 arg1
= static_cast< wxIdleMode
>(val1
);
26406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26407 wxIdleEvent::SetMode(arg1
);
26408 wxPyEndAllowThreads(__tstate
);
26409 if (PyErr_Occurred()) SWIG_fail
;
26411 resultobj
= SWIG_Py_Void();
26418 SWIGINTERN PyObject
*_wrap_IdleEvent_GetMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26419 PyObject
*resultobj
= 0;
26422 if (!SWIG_Python_UnpackTuple(args
,"IdleEvent_GetMode",0,0,0)) SWIG_fail
;
26424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26425 result
= (wxIdleMode
)wxIdleEvent::GetMode();
26426 wxPyEndAllowThreads(__tstate
);
26427 if (PyErr_Occurred()) SWIG_fail
;
26429 resultobj
= SWIG_From_int(static_cast< int >(result
));
26436 SWIGINTERN PyObject
*_wrap_IdleEvent_CanSend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26437 PyObject
*resultobj
= 0;
26438 wxWindow
*arg1
= (wxWindow
*) 0 ;
26442 PyObject
* obj0
= 0 ;
26443 char * kwnames
[] = {
26444 (char *) "win", NULL
26447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) SWIG_fail
;
26448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26449 if (!SWIG_IsOK(res1
)) {
26450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IdleEvent_CanSend" "', expected argument " "1"" of type '" "wxWindow *""'");
26452 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26455 result
= (bool)wxIdleEvent::CanSend(arg1
);
26456 wxPyEndAllowThreads(__tstate
);
26457 if (PyErr_Occurred()) SWIG_fail
;
26460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26468 SWIGINTERN PyObject
*IdleEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26470 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26471 SWIG_TypeNewClientData(SWIGTYPE_p_wxIdleEvent
, SWIG_NewClientData(obj
));
26472 return SWIG_Py_Void();
26475 SWIGINTERN PyObject
*IdleEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26476 return SWIG_Python_InitShadowInstance(args
);
26479 SWIGINTERN PyObject
*_wrap_new_ClipboardTextEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26480 PyObject
*resultobj
= 0;
26481 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
26482 int arg2
= (int) 0 ;
26483 wxClipboardTextEvent
*result
= 0 ;
26488 PyObject
* obj0
= 0 ;
26489 PyObject
* obj1
= 0 ;
26490 char * kwnames
[] = {
26491 (char *) "type",(char *) "winid", NULL
26494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ClipboardTextEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26496 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26497 if (!SWIG_IsOK(ecode1
)) {
26498 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_ClipboardTextEvent" "', expected argument " "1"" of type '" "wxEventType""'");
26500 arg1
= static_cast< wxEventType
>(val1
);
26503 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26504 if (!SWIG_IsOK(ecode2
)) {
26505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ClipboardTextEvent" "', expected argument " "2"" of type '" "int""'");
26507 arg2
= static_cast< int >(val2
);
26510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26511 result
= (wxClipboardTextEvent
*)new wxClipboardTextEvent(arg1
,arg2
);
26512 wxPyEndAllowThreads(__tstate
);
26513 if (PyErr_Occurred()) SWIG_fail
;
26515 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxClipboardTextEvent
, SWIG_POINTER_NEW
| 0 );
26522 SWIGINTERN PyObject
*ClipboardTextEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26524 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26525 SWIG_TypeNewClientData(SWIGTYPE_p_wxClipboardTextEvent
, SWIG_NewClientData(obj
));
26526 return SWIG_Py_Void();
26529 SWIGINTERN PyObject
*ClipboardTextEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26530 return SWIG_Python_InitShadowInstance(args
);
26533 SWIGINTERN PyObject
*_wrap_new_PyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26534 PyObject
*resultobj
= 0;
26535 int arg1
= (int) 0 ;
26536 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
26537 wxPyEvent
*result
= 0 ;
26542 PyObject
* obj0
= 0 ;
26543 PyObject
* obj1
= 0 ;
26544 char * kwnames
[] = {
26545 (char *) "winid",(char *) "eventType", NULL
26548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26550 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26551 if (!SWIG_IsOK(ecode1
)) {
26552 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyEvent" "', expected argument " "1"" of type '" "int""'");
26554 arg1
= static_cast< int >(val1
);
26557 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26558 if (!SWIG_IsOK(ecode2
)) {
26559 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyEvent" "', expected argument " "2"" of type '" "wxEventType""'");
26561 arg2
= static_cast< wxEventType
>(val2
);
26564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26565 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
26566 wxPyEndAllowThreads(__tstate
);
26567 if (PyErr_Occurred()) SWIG_fail
;
26569 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_NEW
| 0 );
26576 SWIGINTERN PyObject
*_wrap_delete_PyEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26577 PyObject
*resultobj
= 0;
26578 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
26581 PyObject
*swig_obj
[1] ;
26583 if (!args
) SWIG_fail
;
26584 swig_obj
[0] = args
;
26585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyEvent
, SWIG_POINTER_DISOWN
| 0 );
26586 if (!SWIG_IsOK(res1
)) {
26587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyEvent" "', expected argument " "1"" of type '" "wxPyEvent *""'");
26589 arg1
= reinterpret_cast< wxPyEvent
* >(argp1
);
26591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26594 wxPyEndAllowThreads(__tstate
);
26595 if (PyErr_Occurred()) SWIG_fail
;
26597 resultobj
= SWIG_Py_Void();
26604 SWIGINTERN PyObject
*_wrap_PyEvent__SetSelf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26605 PyObject
*resultobj
= 0;
26606 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
26607 PyObject
*arg2
= (PyObject
*) 0 ;
26610 PyObject
* obj0
= 0 ;
26611 PyObject
* obj1
= 0 ;
26612 char * kwnames
[] = {
26613 (char *) "self",(char *) "self", NULL
26616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent__SetSelf",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyEvent
, 0 | 0 );
26618 if (!SWIG_IsOK(res1
)) {
26619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyEvent__SetSelf" "', expected argument " "1"" of type '" "wxPyEvent *""'");
26621 arg1
= reinterpret_cast< wxPyEvent
* >(argp1
);
26624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26625 (arg1
)->SetSelf(arg2
);
26626 wxPyEndAllowThreads(__tstate
);
26627 if (PyErr_Occurred()) SWIG_fail
;
26629 resultobj
= SWIG_Py_Void();
26636 SWIGINTERN PyObject
*_wrap_PyEvent__GetSelf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26637 PyObject
*resultobj
= 0;
26638 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
26639 PyObject
*result
= 0 ;
26642 PyObject
*swig_obj
[1] ;
26644 if (!args
) SWIG_fail
;
26645 swig_obj
[0] = args
;
26646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyEvent
, 0 | 0 );
26647 if (!SWIG_IsOK(res1
)) {
26648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyEvent__GetSelf" "', expected argument " "1"" of type '" "wxPyEvent *""'");
26650 arg1
= reinterpret_cast< wxPyEvent
* >(argp1
);
26652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26653 result
= (PyObject
*)(arg1
)->GetSelf();
26654 wxPyEndAllowThreads(__tstate
);
26655 if (PyErr_Occurred()) SWIG_fail
;
26657 resultobj
= result
;
26664 SWIGINTERN PyObject
*PyEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26666 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26667 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyEvent
, SWIG_NewClientData(obj
));
26668 return SWIG_Py_Void();
26671 SWIGINTERN PyObject
*PyEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26672 return SWIG_Python_InitShadowInstance(args
);
26675 SWIGINTERN PyObject
*_wrap_new_PyCommandEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26676 PyObject
*resultobj
= 0;
26677 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
26678 int arg2
= (int) 0 ;
26679 wxPyCommandEvent
*result
= 0 ;
26684 PyObject
* obj0
= 0 ;
26685 PyObject
* obj1
= 0 ;
26686 char * kwnames
[] = {
26687 (char *) "eventType",(char *) "id", NULL
26690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26692 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
26693 if (!SWIG_IsOK(ecode1
)) {
26694 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_PyCommandEvent" "', expected argument " "1"" of type '" "wxEventType""'");
26696 arg1
= static_cast< wxEventType
>(val1
);
26699 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26700 if (!SWIG_IsOK(ecode2
)) {
26701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyCommandEvent" "', expected argument " "2"" of type '" "int""'");
26703 arg2
= static_cast< int >(val2
);
26706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26707 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
26708 wxPyEndAllowThreads(__tstate
);
26709 if (PyErr_Occurred()) SWIG_fail
;
26711 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_NEW
| 0 );
26718 SWIGINTERN PyObject
*_wrap_delete_PyCommandEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26719 PyObject
*resultobj
= 0;
26720 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
26723 PyObject
*swig_obj
[1] ;
26725 if (!args
) SWIG_fail
;
26726 swig_obj
[0] = args
;
26727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyCommandEvent
, SWIG_POINTER_DISOWN
| 0 );
26728 if (!SWIG_IsOK(res1
)) {
26729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyCommandEvent" "', expected argument " "1"" of type '" "wxPyCommandEvent *""'");
26731 arg1
= reinterpret_cast< wxPyCommandEvent
* >(argp1
);
26733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26736 wxPyEndAllowThreads(__tstate
);
26737 if (PyErr_Occurred()) SWIG_fail
;
26739 resultobj
= SWIG_Py_Void();
26746 SWIGINTERN PyObject
*_wrap_PyCommandEvent__SetSelf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26747 PyObject
*resultobj
= 0;
26748 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
26749 PyObject
*arg2
= (PyObject
*) 0 ;
26752 PyObject
* obj0
= 0 ;
26753 PyObject
* obj1
= 0 ;
26754 char * kwnames
[] = {
26755 (char *) "self",(char *) "self", NULL
26758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent__SetSelf",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyCommandEvent
, 0 | 0 );
26760 if (!SWIG_IsOK(res1
)) {
26761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyCommandEvent__SetSelf" "', expected argument " "1"" of type '" "wxPyCommandEvent *""'");
26763 arg1
= reinterpret_cast< wxPyCommandEvent
* >(argp1
);
26766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26767 (arg1
)->SetSelf(arg2
);
26768 wxPyEndAllowThreads(__tstate
);
26769 if (PyErr_Occurred()) SWIG_fail
;
26771 resultobj
= SWIG_Py_Void();
26778 SWIGINTERN PyObject
*_wrap_PyCommandEvent__GetSelf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26779 PyObject
*resultobj
= 0;
26780 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
26781 PyObject
*result
= 0 ;
26784 PyObject
*swig_obj
[1] ;
26786 if (!args
) SWIG_fail
;
26787 swig_obj
[0] = args
;
26788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyCommandEvent
, 0 | 0 );
26789 if (!SWIG_IsOK(res1
)) {
26790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyCommandEvent__GetSelf" "', expected argument " "1"" of type '" "wxPyCommandEvent *""'");
26792 arg1
= reinterpret_cast< wxPyCommandEvent
* >(argp1
);
26794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26795 result
= (PyObject
*)(arg1
)->GetSelf();
26796 wxPyEndAllowThreads(__tstate
);
26797 if (PyErr_Occurred()) SWIG_fail
;
26799 resultobj
= result
;
26806 SWIGINTERN PyObject
*PyCommandEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26808 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26809 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyCommandEvent
, SWIG_NewClientData(obj
));
26810 return SWIG_Py_Void();
26813 SWIGINTERN PyObject
*PyCommandEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26814 return SWIG_Python_InitShadowInstance(args
);
26817 SWIGINTERN PyObject
*_wrap_new_DateEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26818 PyObject
*resultobj
= 0;
26819 wxWindow
*arg1
= (wxWindow
*) 0 ;
26820 wxDateTime
*arg2
= 0 ;
26822 wxDateEvent
*result
= 0 ;
26829 PyObject
* obj0
= 0 ;
26830 PyObject
* obj1
= 0 ;
26831 PyObject
* obj2
= 0 ;
26832 char * kwnames
[] = {
26833 (char *) "win",(char *) "dt",(char *) "type", NULL
26836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_DateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26838 if (!SWIG_IsOK(res1
)) {
26839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DateEvent" "', expected argument " "1"" of type '" "wxWindow *""'");
26841 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26842 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26843 if (!SWIG_IsOK(res2
)) {
26844 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_DateEvent" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26847 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_DateEvent" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26849 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26850 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
26851 if (!SWIG_IsOK(ecode3
)) {
26852 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_DateEvent" "', expected argument " "3"" of type '" "wxEventType""'");
26854 arg3
= static_cast< wxEventType
>(val3
);
26856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26857 result
= (wxDateEvent
*)new wxDateEvent(arg1
,(wxDateTime
const &)*arg2
,arg3
);
26858 wxPyEndAllowThreads(__tstate
);
26859 if (PyErr_Occurred()) SWIG_fail
;
26861 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateEvent
, SWIG_POINTER_NEW
| 0 );
26868 SWIGINTERN PyObject
*_wrap_DateEvent_GetDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26869 PyObject
*resultobj
= 0;
26870 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
26871 wxDateTime
*result
= 0 ;
26874 PyObject
*swig_obj
[1] ;
26876 if (!args
) SWIG_fail
;
26877 swig_obj
[0] = args
;
26878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDateEvent
, 0 | 0 );
26879 if (!SWIG_IsOK(res1
)) {
26880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateEvent_GetDate" "', expected argument " "1"" of type '" "wxDateEvent const *""'");
26882 arg1
= reinterpret_cast< wxDateEvent
* >(argp1
);
26884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26886 wxDateTime
const &_result_ref
= ((wxDateEvent
const *)arg1
)->GetDate();
26887 result
= (wxDateTime
*) &_result_ref
;
26889 wxPyEndAllowThreads(__tstate
);
26890 if (PyErr_Occurred()) SWIG_fail
;
26892 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDateTime
, 0 | 0 );
26899 SWIGINTERN PyObject
*_wrap_DateEvent_SetDate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26900 PyObject
*resultobj
= 0;
26901 wxDateEvent
*arg1
= (wxDateEvent
*) 0 ;
26902 wxDateTime
*arg2
= 0 ;
26907 PyObject
* obj0
= 0 ;
26908 PyObject
* obj1
= 0 ;
26909 char * kwnames
[] = {
26910 (char *) "self",(char *) "date", NULL
26913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateEvent_SetDate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDateEvent
, 0 | 0 );
26915 if (!SWIG_IsOK(res1
)) {
26916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DateEvent_SetDate" "', expected argument " "1"" of type '" "wxDateEvent *""'");
26918 arg1
= reinterpret_cast< wxDateEvent
* >(argp1
);
26919 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDateTime
, 0 | 0);
26920 if (!SWIG_IsOK(res2
)) {
26921 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "DateEvent_SetDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26924 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "DateEvent_SetDate" "', expected argument " "2"" of type '" "wxDateTime const &""'");
26926 arg2
= reinterpret_cast< wxDateTime
* >(argp2
);
26928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26929 (arg1
)->SetDate((wxDateTime
const &)*arg2
);
26930 wxPyEndAllowThreads(__tstate
);
26931 if (PyErr_Occurred()) SWIG_fail
;
26933 resultobj
= SWIG_Py_Void();
26940 SWIGINTERN PyObject
*DateEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26942 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26943 SWIG_TypeNewClientData(SWIGTYPE_p_wxDateEvent
, SWIG_NewClientData(obj
));
26944 return SWIG_Py_Void();
26947 SWIGINTERN PyObject
*DateEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26948 return SWIG_Python_InitShadowInstance(args
);
26951 SWIGINTERN PyObject
*_wrap_new_PyApp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26952 PyObject
*resultobj
= 0;
26953 wxPyApp
*result
= 0 ;
26955 if (!SWIG_Python_UnpackTuple(args
,"new_PyApp",0,0,0)) SWIG_fail
;
26957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26958 result
= (wxPyApp
*)new_wxPyApp();
26959 wxPyEndAllowThreads(__tstate
);
26960 if (PyErr_Occurred()) SWIG_fail
;
26962 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyApp
, SWIG_POINTER_NEW
| 0 );
26969 SWIGINTERN PyObject
*_wrap_delete_PyApp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26970 PyObject
*resultobj
= 0;
26971 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
26974 PyObject
*swig_obj
[1] ;
26976 if (!args
) SWIG_fail
;
26977 swig_obj
[0] = args
;
26978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, SWIG_POINTER_DISOWN
| 0 );
26979 if (!SWIG_IsOK(res1
)) {
26980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PyApp" "', expected argument " "1"" of type '" "wxPyApp *""'");
26982 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
26984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26987 wxPyEndAllowThreads(__tstate
);
26988 if (PyErr_Occurred()) SWIG_fail
;
26990 resultobj
= SWIG_Py_Void();
26997 SWIGINTERN PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26998 PyObject
*resultobj
= 0;
26999 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27000 PyObject
*arg2
= (PyObject
*) 0 ;
27001 PyObject
*arg3
= (PyObject
*) 0 ;
27007 PyObject
* obj0
= 0 ;
27008 PyObject
* obj1
= 0 ;
27009 PyObject
* obj2
= 0 ;
27010 PyObject
* obj3
= 0 ;
27011 char * kwnames
[] = {
27012 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
27015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27017 if (!SWIG_IsOK(res1
)) {
27018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyApp *""'");
27020 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27023 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27024 if (!SWIG_IsOK(ecode4
)) {
27025 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyApp__setCallbackInfo" "', expected argument " "4"" of type '" "bool""'");
27027 arg4
= static_cast< bool >(val4
);
27029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27030 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
27031 wxPyEndAllowThreads(__tstate
);
27032 if (PyErr_Occurred()) SWIG_fail
;
27034 resultobj
= SWIG_Py_Void();
27041 SWIGINTERN PyObject
*_wrap_PyApp_GetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27042 PyObject
*resultobj
= 0;
27043 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27047 PyObject
*swig_obj
[1] ;
27049 if (!args
) SWIG_fail
;
27050 swig_obj
[0] = args
;
27051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27052 if (!SWIG_IsOK(res1
)) {
27053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetAppName" "', expected argument " "1"" of type '" "wxPyApp const *""'");
27055 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27058 result
= ((wxPyApp
const *)arg1
)->GetAppName();
27059 wxPyEndAllowThreads(__tstate
);
27060 if (PyErr_Occurred()) SWIG_fail
;
27064 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27066 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27075 SWIGINTERN PyObject
*_wrap_PyApp_SetAppName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27076 PyObject
*resultobj
= 0;
27077 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27078 wxString
*arg2
= 0 ;
27081 bool temp2
= false ;
27082 PyObject
* obj0
= 0 ;
27083 PyObject
* obj1
= 0 ;
27084 char * kwnames
[] = {
27085 (char *) "self",(char *) "name", NULL
27088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27090 if (!SWIG_IsOK(res1
)) {
27091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetAppName" "', expected argument " "1"" of type '" "wxPyApp *""'");
27093 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27095 arg2
= wxString_in_helper(obj1
);
27096 if (arg2
== NULL
) SWIG_fail
;
27100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27101 (arg1
)->SetAppName((wxString
const &)*arg2
);
27102 wxPyEndAllowThreads(__tstate
);
27103 if (PyErr_Occurred()) SWIG_fail
;
27105 resultobj
= SWIG_Py_Void();
27120 SWIGINTERN PyObject
*_wrap_PyApp_GetClassName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27121 PyObject
*resultobj
= 0;
27122 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27126 PyObject
*swig_obj
[1] ;
27128 if (!args
) SWIG_fail
;
27129 swig_obj
[0] = args
;
27130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27131 if (!SWIG_IsOK(res1
)) {
27132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetClassName" "', expected argument " "1"" of type '" "wxPyApp const *""'");
27134 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27137 result
= ((wxPyApp
const *)arg1
)->GetClassName();
27138 wxPyEndAllowThreads(__tstate
);
27139 if (PyErr_Occurred()) SWIG_fail
;
27143 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27145 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27154 SWIGINTERN PyObject
*_wrap_PyApp_SetClassName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27155 PyObject
*resultobj
= 0;
27156 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27157 wxString
*arg2
= 0 ;
27160 bool temp2
= false ;
27161 PyObject
* obj0
= 0 ;
27162 PyObject
* obj1
= 0 ;
27163 char * kwnames
[] = {
27164 (char *) "self",(char *) "name", NULL
27167 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27168 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27169 if (!SWIG_IsOK(res1
)) {
27170 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetClassName" "', expected argument " "1"" of type '" "wxPyApp *""'");
27172 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27174 arg2
= wxString_in_helper(obj1
);
27175 if (arg2
== NULL
) SWIG_fail
;
27179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27180 (arg1
)->SetClassName((wxString
const &)*arg2
);
27181 wxPyEndAllowThreads(__tstate
);
27182 if (PyErr_Occurred()) SWIG_fail
;
27184 resultobj
= SWIG_Py_Void();
27199 SWIGINTERN PyObject
*_wrap_PyApp_GetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27200 PyObject
*resultobj
= 0;
27201 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27202 wxString
*result
= 0 ;
27205 PyObject
*swig_obj
[1] ;
27207 if (!args
) SWIG_fail
;
27208 swig_obj
[0] = args
;
27209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27210 if (!SWIG_IsOK(res1
)) {
27211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetVendorName" "', expected argument " "1"" of type '" "wxPyApp const *""'");
27213 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27217 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
27218 result
= (wxString
*) &_result_ref
;
27220 wxPyEndAllowThreads(__tstate
);
27221 if (PyErr_Occurred()) SWIG_fail
;
27225 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27227 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27236 SWIGINTERN PyObject
*_wrap_PyApp_SetVendorName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27237 PyObject
*resultobj
= 0;
27238 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27239 wxString
*arg2
= 0 ;
27242 bool temp2
= false ;
27243 PyObject
* obj0
= 0 ;
27244 PyObject
* obj1
= 0 ;
27245 char * kwnames
[] = {
27246 (char *) "self",(char *) "name", NULL
27249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27251 if (!SWIG_IsOK(res1
)) {
27252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetVendorName" "', expected argument " "1"" of type '" "wxPyApp *""'");
27254 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27256 arg2
= wxString_in_helper(obj1
);
27257 if (arg2
== NULL
) SWIG_fail
;
27261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27262 (arg1
)->SetVendorName((wxString
const &)*arg2
);
27263 wxPyEndAllowThreads(__tstate
);
27264 if (PyErr_Occurred()) SWIG_fail
;
27266 resultobj
= SWIG_Py_Void();
27281 SWIGINTERN PyObject
*_wrap_PyApp_GetTraits(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27282 PyObject
*resultobj
= 0;
27283 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27284 wxAppTraits
*result
= 0 ;
27287 PyObject
*swig_obj
[1] ;
27289 if (!args
) SWIG_fail
;
27290 swig_obj
[0] = args
;
27291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27292 if (!SWIG_IsOK(res1
)) {
27293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetTraits" "', expected argument " "1"" of type '" "wxPyApp *""'");
27295 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27298 result
= (wxAppTraits
*)(arg1
)->GetTraits();
27299 wxPyEndAllowThreads(__tstate
);
27300 if (PyErr_Occurred()) SWIG_fail
;
27302 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAppTraits
, 0 | 0 );
27309 SWIGINTERN PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27310 PyObject
*resultobj
= 0;
27311 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27314 PyObject
*swig_obj
[1] ;
27316 if (!args
) SWIG_fail
;
27317 swig_obj
[0] = args
;
27318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27319 if (!SWIG_IsOK(res1
)) {
27320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_ProcessPendingEvents" "', expected argument " "1"" of type '" "wxPyApp *""'");
27322 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27325 (arg1
)->ProcessPendingEvents();
27326 wxPyEndAllowThreads(__tstate
);
27327 if (PyErr_Occurred()) SWIG_fail
;
27329 resultobj
= SWIG_Py_Void();
27336 SWIGINTERN PyObject
*_wrap_PyApp_Yield(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27337 PyObject
*resultobj
= 0;
27338 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27339 bool arg2
= (bool) false ;
27345 PyObject
* obj0
= 0 ;
27346 PyObject
* obj1
= 0 ;
27347 char * kwnames
[] = {
27348 (char *) "self",(char *) "onlyIfNeeded", NULL
27351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27353 if (!SWIG_IsOK(res1
)) {
27354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_Yield" "', expected argument " "1"" of type '" "wxPyApp *""'");
27356 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27358 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27359 if (!SWIG_IsOK(ecode2
)) {
27360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyApp_Yield" "', expected argument " "2"" of type '" "bool""'");
27362 arg2
= static_cast< bool >(val2
);
27365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27366 result
= (bool)(arg1
)->Yield(arg2
);
27367 wxPyEndAllowThreads(__tstate
);
27368 if (PyErr_Occurred()) SWIG_fail
;
27371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27379 SWIGINTERN PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27380 PyObject
*resultobj
= 0;
27381 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27384 PyObject
*swig_obj
[1] ;
27386 if (!args
) SWIG_fail
;
27387 swig_obj
[0] = args
;
27388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27389 if (!SWIG_IsOK(res1
)) {
27390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_WakeUpIdle" "', expected argument " "1"" of type '" "wxPyApp *""'");
27392 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27395 (arg1
)->WakeUpIdle();
27396 wxPyEndAllowThreads(__tstate
);
27397 if (PyErr_Occurred()) SWIG_fail
;
27399 resultobj
= SWIG_Py_Void();
27406 SWIGINTERN PyObject
*_wrap_PyApp_IsMainLoopRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27407 PyObject
*resultobj
= 0;
27410 if (!SWIG_Python_UnpackTuple(args
,"PyApp_IsMainLoopRunning",0,0,0)) SWIG_fail
;
27412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27413 result
= (bool)wxPyApp::IsMainLoopRunning();
27414 wxPyEndAllowThreads(__tstate
);
27415 if (PyErr_Occurred()) SWIG_fail
;
27418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27426 SWIGINTERN PyObject
*_wrap_PyApp_MainLoop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27427 PyObject
*resultobj
= 0;
27428 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27432 PyObject
*swig_obj
[1] ;
27434 if (!args
) SWIG_fail
;
27435 swig_obj
[0] = args
;
27436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27437 if (!SWIG_IsOK(res1
)) {
27438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_MainLoop" "', expected argument " "1"" of type '" "wxPyApp *""'");
27440 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27443 result
= (int)(arg1
)->MainLoop();
27444 wxPyEndAllowThreads(__tstate
);
27445 if (PyErr_Occurred()) SWIG_fail
;
27447 resultobj
= SWIG_From_int(static_cast< int >(result
));
27454 SWIGINTERN PyObject
*_wrap_PyApp_Exit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27455 PyObject
*resultobj
= 0;
27456 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27459 PyObject
*swig_obj
[1] ;
27461 if (!args
) SWIG_fail
;
27462 swig_obj
[0] = args
;
27463 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27464 if (!SWIG_IsOK(res1
)) {
27465 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_Exit" "', expected argument " "1"" of type '" "wxPyApp *""'");
27467 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27471 wxPyEndAllowThreads(__tstate
);
27472 if (PyErr_Occurred()) SWIG_fail
;
27474 resultobj
= SWIG_Py_Void();
27481 SWIGINTERN PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27482 PyObject
*resultobj
= 0;
27483 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27486 PyObject
*swig_obj
[1] ;
27488 if (!args
) SWIG_fail
;
27489 swig_obj
[0] = args
;
27490 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27491 if (!SWIG_IsOK(res1
)) {
27492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_ExitMainLoop" "', expected argument " "1"" of type '" "wxPyApp *""'");
27494 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27497 (arg1
)->ExitMainLoop();
27498 wxPyEndAllowThreads(__tstate
);
27499 if (PyErr_Occurred()) SWIG_fail
;
27501 resultobj
= SWIG_Py_Void();
27508 SWIGINTERN PyObject
*_wrap_PyApp_Pending(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27509 PyObject
*resultobj
= 0;
27510 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27514 PyObject
*swig_obj
[1] ;
27516 if (!args
) SWIG_fail
;
27517 swig_obj
[0] = args
;
27518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27519 if (!SWIG_IsOK(res1
)) {
27520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_Pending" "', expected argument " "1"" of type '" "wxPyApp *""'");
27522 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27525 result
= (bool)(arg1
)->Pending();
27526 wxPyEndAllowThreads(__tstate
);
27527 if (PyErr_Occurred()) SWIG_fail
;
27530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27538 SWIGINTERN PyObject
*_wrap_PyApp_Dispatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27539 PyObject
*resultobj
= 0;
27540 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27544 PyObject
*swig_obj
[1] ;
27546 if (!args
) SWIG_fail
;
27547 swig_obj
[0] = args
;
27548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27549 if (!SWIG_IsOK(res1
)) {
27550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_Dispatch" "', expected argument " "1"" of type '" "wxPyApp *""'");
27552 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27555 result
= (bool)(arg1
)->Dispatch();
27556 wxPyEndAllowThreads(__tstate
);
27557 if (PyErr_Occurred()) SWIG_fail
;
27560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27568 SWIGINTERN PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27569 PyObject
*resultobj
= 0;
27570 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27574 PyObject
*swig_obj
[1] ;
27576 if (!args
) SWIG_fail
;
27577 swig_obj
[0] = args
;
27578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27579 if (!SWIG_IsOK(res1
)) {
27580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_ProcessIdle" "', expected argument " "1"" of type '" "wxPyApp *""'");
27582 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27585 result
= (bool)(arg1
)->ProcessIdle();
27586 wxPyEndAllowThreads(__tstate
);
27587 if (PyErr_Occurred()) SWIG_fail
;
27590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27598 SWIGINTERN PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27599 PyObject
*resultobj
= 0;
27600 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27601 wxWindow
*arg2
= (wxWindow
*) 0 ;
27602 wxIdleEvent
*arg3
= 0 ;
27610 PyObject
* obj0
= 0 ;
27611 PyObject
* obj1
= 0 ;
27612 PyObject
* obj2
= 0 ;
27613 char * kwnames
[] = {
27614 (char *) "self",(char *) "win",(char *) "event", NULL
27617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27619 if (!SWIG_IsOK(res1
)) {
27620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SendIdleEvents" "', expected argument " "1"" of type '" "wxPyApp *""'");
27622 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27623 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27624 if (!SWIG_IsOK(res2
)) {
27625 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyApp_SendIdleEvents" "', expected argument " "2"" of type '" "wxWindow *""'");
27627 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27628 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxIdleEvent
, 0 );
27629 if (!SWIG_IsOK(res3
)) {
27630 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PyApp_SendIdleEvents" "', expected argument " "3"" of type '" "wxIdleEvent &""'");
27633 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PyApp_SendIdleEvents" "', expected argument " "3"" of type '" "wxIdleEvent &""'");
27635 arg3
= reinterpret_cast< wxIdleEvent
* >(argp3
);
27637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27638 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
27639 wxPyEndAllowThreads(__tstate
);
27640 if (PyErr_Occurred()) SWIG_fail
;
27643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27651 SWIGINTERN PyObject
*_wrap_PyApp_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27652 PyObject
*resultobj
= 0;
27653 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27657 PyObject
*swig_obj
[1] ;
27659 if (!args
) SWIG_fail
;
27660 swig_obj
[0] = args
;
27661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27662 if (!SWIG_IsOK(res1
)) {
27663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_IsActive" "', expected argument " "1"" of type '" "wxPyApp const *""'");
27665 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27668 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
27669 wxPyEndAllowThreads(__tstate
);
27670 if (PyErr_Occurred()) SWIG_fail
;
27673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27681 SWIGINTERN PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27682 PyObject
*resultobj
= 0;
27683 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27684 wxWindow
*arg2
= (wxWindow
*) 0 ;
27689 PyObject
* obj0
= 0 ;
27690 PyObject
* obj1
= 0 ;
27691 char * kwnames
[] = {
27692 (char *) "self",(char *) "win", NULL
27695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27697 if (!SWIG_IsOK(res1
)) {
27698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetTopWindow" "', expected argument " "1"" of type '" "wxPyApp *""'");
27700 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27701 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27702 if (!SWIG_IsOK(res2
)) {
27703 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyApp_SetTopWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27705 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27708 (arg1
)->SetTopWindow(arg2
);
27709 wxPyEndAllowThreads(__tstate
);
27710 if (PyErr_Occurred()) SWIG_fail
;
27712 resultobj
= SWIG_Py_Void();
27719 SWIGINTERN PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27720 PyObject
*resultobj
= 0;
27721 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27722 wxWindow
*result
= 0 ;
27725 PyObject
*swig_obj
[1] ;
27727 if (!args
) SWIG_fail
;
27728 swig_obj
[0] = args
;
27729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27730 if (!SWIG_IsOK(res1
)) {
27731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetTopWindow" "', expected argument " "1"" of type '" "wxPyApp const *""'");
27733 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27736 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
27737 wxPyEndAllowThreads(__tstate
);
27738 if (PyErr_Occurred()) SWIG_fail
;
27741 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27749 SWIGINTERN PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27750 PyObject
*resultobj
= 0;
27751 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27757 PyObject
* obj0
= 0 ;
27758 PyObject
* obj1
= 0 ;
27759 char * kwnames
[] = {
27760 (char *) "self",(char *) "flag", NULL
27763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27765 if (!SWIG_IsOK(res1
)) {
27766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetExitOnFrameDelete" "', expected argument " "1"" of type '" "wxPyApp *""'");
27768 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27769 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27770 if (!SWIG_IsOK(ecode2
)) {
27771 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyApp_SetExitOnFrameDelete" "', expected argument " "2"" of type '" "bool""'");
27773 arg2
= static_cast< bool >(val2
);
27775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27776 (arg1
)->SetExitOnFrameDelete(arg2
);
27777 wxPyEndAllowThreads(__tstate
);
27778 if (PyErr_Occurred()) SWIG_fail
;
27780 resultobj
= SWIG_Py_Void();
27787 SWIGINTERN PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27788 PyObject
*resultobj
= 0;
27789 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27793 PyObject
*swig_obj
[1] ;
27795 if (!args
) SWIG_fail
;
27796 swig_obj
[0] = args
;
27797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27798 if (!SWIG_IsOK(res1
)) {
27799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetExitOnFrameDelete" "', expected argument " "1"" of type '" "wxPyApp const *""'");
27801 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27804 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
27805 wxPyEndAllowThreads(__tstate
);
27806 if (PyErr_Occurred()) SWIG_fail
;
27809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27817 SWIGINTERN PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27818 PyObject
*resultobj
= 0;
27819 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27825 PyObject
* obj0
= 0 ;
27826 PyObject
* obj1
= 0 ;
27827 char * kwnames
[] = {
27828 (char *) "self",(char *) "flag", NULL
27831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27833 if (!SWIG_IsOK(res1
)) {
27834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetUseBestVisual" "', expected argument " "1"" of type '" "wxPyApp *""'");
27836 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27837 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27838 if (!SWIG_IsOK(ecode2
)) {
27839 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyApp_SetUseBestVisual" "', expected argument " "2"" of type '" "bool""'");
27841 arg2
= static_cast< bool >(val2
);
27843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27844 (arg1
)->SetUseBestVisual(arg2
);
27845 wxPyEndAllowThreads(__tstate
);
27846 if (PyErr_Occurred()) SWIG_fail
;
27848 resultobj
= SWIG_Py_Void();
27855 SWIGINTERN PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27856 PyObject
*resultobj
= 0;
27857 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27861 PyObject
*swig_obj
[1] ;
27863 if (!args
) SWIG_fail
;
27864 swig_obj
[0] = args
;
27865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27866 if (!SWIG_IsOK(res1
)) {
27867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetUseBestVisual" "', expected argument " "1"" of type '" "wxPyApp const *""'");
27869 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27872 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
27873 wxPyEndAllowThreads(__tstate
);
27874 if (PyErr_Occurred()) SWIG_fail
;
27877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27885 SWIGINTERN PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27886 PyObject
*resultobj
= 0;
27887 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27893 PyObject
* obj0
= 0 ;
27894 PyObject
* obj1
= 0 ;
27895 char * kwnames
[] = {
27896 (char *) "self",(char *) "mode", NULL
27899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27901 if (!SWIG_IsOK(res1
)) {
27902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetPrintMode" "', expected argument " "1"" of type '" "wxPyApp *""'");
27904 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27905 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27906 if (!SWIG_IsOK(ecode2
)) {
27907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyApp_SetPrintMode" "', expected argument " "2"" of type '" "int""'");
27909 arg2
= static_cast< int >(val2
);
27911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27912 (arg1
)->SetPrintMode(arg2
);
27913 wxPyEndAllowThreads(__tstate
);
27914 if (PyErr_Occurred()) SWIG_fail
;
27916 resultobj
= SWIG_Py_Void();
27923 SWIGINTERN PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27924 PyObject
*resultobj
= 0;
27925 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27929 PyObject
*swig_obj
[1] ;
27931 if (!args
) SWIG_fail
;
27932 swig_obj
[0] = args
;
27933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27934 if (!SWIG_IsOK(res1
)) {
27935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetPrintMode" "', expected argument " "1"" of type '" "wxPyApp const *""'");
27937 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27940 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
27941 wxPyEndAllowThreads(__tstate
);
27942 if (PyErr_Occurred()) SWIG_fail
;
27944 resultobj
= SWIG_From_int(static_cast< int >(result
));
27951 SWIGINTERN PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27952 PyObject
*resultobj
= 0;
27953 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27959 PyObject
* obj0
= 0 ;
27960 PyObject
* obj1
= 0 ;
27961 char * kwnames
[] = {
27962 (char *) "self",(char *) "mode", NULL
27965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
27967 if (!SWIG_IsOK(res1
)) {
27968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_SetAssertMode" "', expected argument " "1"" of type '" "wxPyApp *""'");
27970 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
27971 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27972 if (!SWIG_IsOK(ecode2
)) {
27973 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyApp_SetAssertMode" "', expected argument " "2"" of type '" "int""'");
27975 arg2
= static_cast< int >(val2
);
27977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27978 (arg1
)->SetAssertMode(arg2
);
27979 wxPyEndAllowThreads(__tstate
);
27980 if (PyErr_Occurred()) SWIG_fail
;
27982 resultobj
= SWIG_Py_Void();
27989 SWIGINTERN PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27990 PyObject
*resultobj
= 0;
27991 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
27995 PyObject
*swig_obj
[1] ;
27997 if (!args
) SWIG_fail
;
27998 swig_obj
[0] = args
;
27999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28000 if (!SWIG_IsOK(res1
)) {
28001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp_GetAssertMode" "', expected argument " "1"" of type '" "wxPyApp *""'");
28003 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28006 result
= (int)(arg1
)->GetAssertMode();
28007 wxPyEndAllowThreads(__tstate
);
28008 if (PyErr_Occurred()) SWIG_fail
;
28010 resultobj
= SWIG_From_int(static_cast< int >(result
));
28017 SWIGINTERN PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28018 PyObject
*resultobj
= 0;
28021 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetMacSupportPCMenuShortcuts",0,0,0)) SWIG_fail
;
28023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28024 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
28025 wxPyEndAllowThreads(__tstate
);
28026 if (PyErr_Occurred()) SWIG_fail
;
28029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28037 SWIGINTERN PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28038 PyObject
*resultobj
= 0;
28041 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetMacAboutMenuItemId",0,0,0)) SWIG_fail
;
28043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28044 result
= (long)wxPyApp::GetMacAboutMenuItemId();
28045 wxPyEndAllowThreads(__tstate
);
28046 if (PyErr_Occurred()) SWIG_fail
;
28048 resultobj
= SWIG_From_long(static_cast< long >(result
));
28055 SWIGINTERN PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28056 PyObject
*resultobj
= 0;
28059 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetMacPreferencesMenuItemId",0,0,0)) SWIG_fail
;
28061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28062 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
28063 wxPyEndAllowThreads(__tstate
);
28064 if (PyErr_Occurred()) SWIG_fail
;
28066 resultobj
= SWIG_From_long(static_cast< long >(result
));
28073 SWIGINTERN PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28074 PyObject
*resultobj
= 0;
28077 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetMacExitMenuItemId",0,0,0)) SWIG_fail
;
28079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28080 result
= (long)wxPyApp::GetMacExitMenuItemId();
28081 wxPyEndAllowThreads(__tstate
);
28082 if (PyErr_Occurred()) SWIG_fail
;
28084 resultobj
= SWIG_From_long(static_cast< long >(result
));
28091 SWIGINTERN PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28092 PyObject
*resultobj
= 0;
28095 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetMacHelpMenuTitleName",0,0,0)) SWIG_fail
;
28097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28098 result
= wxPyApp::GetMacHelpMenuTitleName();
28099 wxPyEndAllowThreads(__tstate
);
28100 if (PyErr_Occurred()) SWIG_fail
;
28104 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28106 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28115 SWIGINTERN PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28116 PyObject
*resultobj
= 0;
28120 PyObject
* obj0
= 0 ;
28121 char * kwnames
[] = {
28122 (char *) "val", NULL
28125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) SWIG_fail
;
28126 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
28127 if (!SWIG_IsOK(ecode1
)) {
28128 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PyApp_SetMacSupportPCMenuShortcuts" "', expected argument " "1"" of type '" "bool""'");
28130 arg1
= static_cast< bool >(val1
);
28132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28133 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
28134 wxPyEndAllowThreads(__tstate
);
28135 if (PyErr_Occurred()) SWIG_fail
;
28137 resultobj
= SWIG_Py_Void();
28144 SWIGINTERN PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28145 PyObject
*resultobj
= 0;
28149 PyObject
* obj0
= 0 ;
28150 char * kwnames
[] = {
28151 (char *) "val", NULL
28154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) SWIG_fail
;
28155 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28156 if (!SWIG_IsOK(ecode1
)) {
28157 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PyApp_SetMacAboutMenuItemId" "', expected argument " "1"" of type '" "long""'");
28159 arg1
= static_cast< long >(val1
);
28161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28162 wxPyApp::SetMacAboutMenuItemId(arg1
);
28163 wxPyEndAllowThreads(__tstate
);
28164 if (PyErr_Occurred()) SWIG_fail
;
28166 resultobj
= SWIG_Py_Void();
28173 SWIGINTERN PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28174 PyObject
*resultobj
= 0;
28178 PyObject
* obj0
= 0 ;
28179 char * kwnames
[] = {
28180 (char *) "val", NULL
28183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) SWIG_fail
;
28184 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28185 if (!SWIG_IsOK(ecode1
)) {
28186 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PyApp_SetMacPreferencesMenuItemId" "', expected argument " "1"" of type '" "long""'");
28188 arg1
= static_cast< long >(val1
);
28190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28191 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
28192 wxPyEndAllowThreads(__tstate
);
28193 if (PyErr_Occurred()) SWIG_fail
;
28195 resultobj
= SWIG_Py_Void();
28202 SWIGINTERN PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28203 PyObject
*resultobj
= 0;
28207 PyObject
* obj0
= 0 ;
28208 char * kwnames
[] = {
28209 (char *) "val", NULL
28212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) SWIG_fail
;
28213 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
28214 if (!SWIG_IsOK(ecode1
)) {
28215 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "PyApp_SetMacExitMenuItemId" "', expected argument " "1"" of type '" "long""'");
28217 arg1
= static_cast< long >(val1
);
28219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28220 wxPyApp::SetMacExitMenuItemId(arg1
);
28221 wxPyEndAllowThreads(__tstate
);
28222 if (PyErr_Occurred()) SWIG_fail
;
28224 resultobj
= SWIG_Py_Void();
28231 SWIGINTERN PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28232 PyObject
*resultobj
= 0;
28233 wxString
*arg1
= 0 ;
28234 bool temp1
= false ;
28235 PyObject
* obj0
= 0 ;
28236 char * kwnames
[] = {
28237 (char *) "val", NULL
28240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) SWIG_fail
;
28242 arg1
= wxString_in_helper(obj0
);
28243 if (arg1
== NULL
) SWIG_fail
;
28247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28248 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
28249 wxPyEndAllowThreads(__tstate
);
28250 if (PyErr_Occurred()) SWIG_fail
;
28252 resultobj
= SWIG_Py_Void();
28267 SWIGINTERN PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28268 PyObject
*resultobj
= 0;
28269 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
28272 PyObject
*swig_obj
[1] ;
28274 if (!args
) SWIG_fail
;
28275 swig_obj
[0] = args
;
28276 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyApp
, 0 | 0 );
28277 if (!SWIG_IsOK(res1
)) {
28278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyApp__BootstrapApp" "', expected argument " "1"" of type '" "wxPyApp *""'");
28280 arg1
= reinterpret_cast< wxPyApp
* >(argp1
);
28282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28283 (arg1
)->_BootstrapApp();
28284 wxPyEndAllowThreads(__tstate
);
28285 if (PyErr_Occurred()) SWIG_fail
;
28287 resultobj
= SWIG_Py_Void();
28294 SWIGINTERN PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28295 PyObject
*resultobj
= 0;
28298 if (!SWIG_Python_UnpackTuple(args
,"PyApp_GetComCtl32Version",0,0,0)) SWIG_fail
;
28300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28301 result
= (int)wxPyApp_GetComCtl32Version();
28302 wxPyEndAllowThreads(__tstate
);
28303 if (PyErr_Occurred()) SWIG_fail
;
28305 resultobj
= SWIG_From_int(static_cast< int >(result
));
28312 SWIGINTERN PyObject
*PyApp_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28314 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28315 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyApp
, SWIG_NewClientData(obj
));
28316 return SWIG_Py_Void();
28319 SWIGINTERN PyObject
*PyApp_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28320 return SWIG_Python_InitShadowInstance(args
);
28323 SWIGINTERN PyObject
*_wrap_Exit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28324 PyObject
*resultobj
= 0;
28326 if (!SWIG_Python_UnpackTuple(args
,"Exit",0,0,0)) SWIG_fail
;
28328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28330 wxPyEndAllowThreads(__tstate
);
28331 if (PyErr_Occurred()) SWIG_fail
;
28333 resultobj
= SWIG_Py_Void();
28340 SWIGINTERN PyObject
*_wrap_Yield(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28341 PyObject
*resultobj
= 0;
28344 if (!SWIG_Python_UnpackTuple(args
,"Yield",0,0,0)) SWIG_fail
;
28346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28347 result
= (bool)wxYield();
28348 wxPyEndAllowThreads(__tstate
);
28349 if (PyErr_Occurred()) SWIG_fail
;
28352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28360 SWIGINTERN PyObject
*_wrap_YieldIfNeeded(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28361 PyObject
*resultobj
= 0;
28364 if (!SWIG_Python_UnpackTuple(args
,"YieldIfNeeded",0,0,0)) SWIG_fail
;
28366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28367 result
= (bool)wxYieldIfNeeded();
28368 wxPyEndAllowThreads(__tstate
);
28369 if (PyErr_Occurred()) SWIG_fail
;
28372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28380 SWIGINTERN PyObject
*_wrap_SafeYield(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28381 PyObject
*resultobj
= 0;
28382 wxWindow
*arg1
= (wxWindow
*) NULL
;
28383 bool arg2
= (bool) false ;
28389 PyObject
* obj0
= 0 ;
28390 PyObject
* obj1
= 0 ;
28391 char * kwnames
[] = {
28392 (char *) "win",(char *) "onlyIfNeeded", NULL
28395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28398 if (!SWIG_IsOK(res1
)) {
28399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SafeYield" "', expected argument " "1"" of type '" "wxWindow *""'");
28401 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
28404 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28405 if (!SWIG_IsOK(ecode2
)) {
28406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SafeYield" "', expected argument " "2"" of type '" "bool""'");
28408 arg2
= static_cast< bool >(val2
);
28411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28412 result
= (bool)wxSafeYield(arg1
,arg2
);
28413 wxPyEndAllowThreads(__tstate
);
28414 if (PyErr_Occurred()) SWIG_fail
;
28417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28425 SWIGINTERN PyObject
*_wrap_WakeUpIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28426 PyObject
*resultobj
= 0;
28428 if (!SWIG_Python_UnpackTuple(args
,"WakeUpIdle",0,0,0)) SWIG_fail
;
28430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28432 wxPyEndAllowThreads(__tstate
);
28433 if (PyErr_Occurred()) SWIG_fail
;
28435 resultobj
= SWIG_Py_Void();
28442 SWIGINTERN PyObject
*_wrap_PostEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28443 PyObject
*resultobj
= 0;
28444 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
28445 wxEvent
*arg2
= 0 ;
28450 PyObject
* obj0
= 0 ;
28451 PyObject
* obj1
= 0 ;
28452 char * kwnames
[] = {
28453 (char *) "dest",(char *) "event", NULL
28456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
28458 if (!SWIG_IsOK(res1
)) {
28459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PostEvent" "', expected argument " "1"" of type '" "wxEvtHandler *""'");
28461 arg1
= reinterpret_cast< wxEvtHandler
* >(argp1
);
28462 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxEvent
, 0 );
28463 if (!SWIG_IsOK(res2
)) {
28464 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PostEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
28467 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PostEvent" "', expected argument " "2"" of type '" "wxEvent &""'");
28469 arg2
= reinterpret_cast< wxEvent
* >(argp2
);
28471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28472 wxPostEvent(arg1
,*arg2
);
28473 wxPyEndAllowThreads(__tstate
);
28474 if (PyErr_Occurred()) SWIG_fail
;
28476 resultobj
= SWIG_Py_Void();
28483 SWIGINTERN PyObject
*_wrap_App_CleanUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28484 PyObject
*resultobj
= 0;
28486 if (!SWIG_Python_UnpackTuple(args
,"App_CleanUp",0,0,0)) SWIG_fail
;
28488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28490 wxPyEndAllowThreads(__tstate
);
28491 if (PyErr_Occurred()) SWIG_fail
;
28493 resultobj
= SWIG_Py_Void();
28500 SWIGINTERN PyObject
*_wrap_GetApp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28501 PyObject
*resultobj
= 0;
28502 wxPyApp
*result
= 0 ;
28504 if (!SWIG_Python_UnpackTuple(args
,"GetApp",0,0,0)) SWIG_fail
;
28506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28507 result
= (wxPyApp
*)wxPyGetApp();
28508 wxPyEndAllowThreads(__tstate
);
28509 if (PyErr_Occurred()) SWIG_fail
;
28512 resultobj
= wxPyMake_wxObject(result
, 0);
28520 SWIGINTERN PyObject
*_wrap_SetDefaultPyEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28521 PyObject
*resultobj
= 0;
28522 char *arg1
= (char *) 0 ;
28526 PyObject
* obj0
= 0 ;
28527 char * kwnames
[] = {
28528 (char *) "encoding", NULL
28531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetDefaultPyEncoding",kwnames
,&obj0
)) SWIG_fail
;
28532 res1
= SWIG_AsCharPtrAndSize(obj0
, &buf1
, NULL
, &alloc1
);
28533 if (!SWIG_IsOK(res1
)) {
28534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SetDefaultPyEncoding" "', expected argument " "1"" of type '" "char const *""'");
28538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28539 wxSetDefaultPyEncoding((char const *)arg1
);
28540 wxPyEndAllowThreads(__tstate
);
28541 if (PyErr_Occurred()) SWIG_fail
;
28543 resultobj
= SWIG_Py_Void();
28544 if (alloc1
== SWIG_NEWOBJ
) delete[] buf1
;
28547 if (alloc1
== SWIG_NEWOBJ
) delete[] buf1
;
28552 SWIGINTERN PyObject
*_wrap_GetDefaultPyEncoding(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28553 PyObject
*resultobj
= 0;
28556 if (!SWIG_Python_UnpackTuple(args
,"GetDefaultPyEncoding",0,0,0)) SWIG_fail
;
28558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28559 result
= (char *)wxGetDefaultPyEncoding();
28560 wxPyEndAllowThreads(__tstate
);
28561 if (PyErr_Occurred()) SWIG_fail
;
28563 resultobj
= SWIG_FromCharPtr(result
);
28570 SWIGINTERN PyObject
*_wrap_new_EventLoop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28571 PyObject
*resultobj
= 0;
28572 wxEventLoop
*result
= 0 ;
28574 if (!SWIG_Python_UnpackTuple(args
,"new_EventLoop",0,0,0)) SWIG_fail
;
28576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28577 result
= (wxEventLoop
*)new wxEventLoop();
28578 wxPyEndAllowThreads(__tstate
);
28579 if (PyErr_Occurred()) SWIG_fail
;
28581 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_NEW
| 0 );
28588 SWIGINTERN PyObject
*_wrap_delete_EventLoop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28589 PyObject
*resultobj
= 0;
28590 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
28593 PyObject
*swig_obj
[1] ;
28595 if (!args
) SWIG_fail
;
28596 swig_obj
[0] = args
;
28597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoop
, SWIG_POINTER_DISOWN
| 0 );
28598 if (!SWIG_IsOK(res1
)) {
28599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EventLoop" "', expected argument " "1"" of type '" "wxEventLoop *""'");
28601 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
28603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28606 wxPyEndAllowThreads(__tstate
);
28607 if (PyErr_Occurred()) SWIG_fail
;
28609 resultobj
= SWIG_Py_Void();
28616 SWIGINTERN PyObject
*_wrap_EventLoop_Run(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28617 PyObject
*resultobj
= 0;
28618 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
28622 PyObject
*swig_obj
[1] ;
28624 if (!args
) SWIG_fail
;
28625 swig_obj
[0] = args
;
28626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
28627 if (!SWIG_IsOK(res1
)) {
28628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_Run" "', expected argument " "1"" of type '" "wxEventLoop *""'");
28630 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
28632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28633 result
= (int)(arg1
)->Run();
28634 wxPyEndAllowThreads(__tstate
);
28635 if (PyErr_Occurred()) SWIG_fail
;
28637 resultobj
= SWIG_From_int(static_cast< int >(result
));
28644 SWIGINTERN PyObject
*_wrap_EventLoop_Exit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28645 PyObject
*resultobj
= 0;
28646 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
28647 int arg2
= (int) 0 ;
28652 PyObject
* obj0
= 0 ;
28653 PyObject
* obj1
= 0 ;
28654 char * kwnames
[] = {
28655 (char *) "self",(char *) "rc", NULL
28658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:EventLoop_Exit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
28660 if (!SWIG_IsOK(res1
)) {
28661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_Exit" "', expected argument " "1"" of type '" "wxEventLoop *""'");
28663 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
28665 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28666 if (!SWIG_IsOK(ecode2
)) {
28667 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "EventLoop_Exit" "', expected argument " "2"" of type '" "int""'");
28669 arg2
= static_cast< int >(val2
);
28672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28673 (arg1
)->Exit(arg2
);
28674 wxPyEndAllowThreads(__tstate
);
28675 if (PyErr_Occurred()) SWIG_fail
;
28677 resultobj
= SWIG_Py_Void();
28684 SWIGINTERN PyObject
*_wrap_EventLoop_Pending(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28685 PyObject
*resultobj
= 0;
28686 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
28690 PyObject
*swig_obj
[1] ;
28692 if (!args
) SWIG_fail
;
28693 swig_obj
[0] = args
;
28694 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
28695 if (!SWIG_IsOK(res1
)) {
28696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_Pending" "', expected argument " "1"" of type '" "wxEventLoop const *""'");
28698 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
28700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28701 result
= (bool)((wxEventLoop
const *)arg1
)->Pending();
28702 wxPyEndAllowThreads(__tstate
);
28703 if (PyErr_Occurred()) SWIG_fail
;
28706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28714 SWIGINTERN PyObject
*_wrap_EventLoop_Dispatch(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28715 PyObject
*resultobj
= 0;
28716 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
28720 PyObject
*swig_obj
[1] ;
28722 if (!args
) SWIG_fail
;
28723 swig_obj
[0] = args
;
28724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
28725 if (!SWIG_IsOK(res1
)) {
28726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_Dispatch" "', expected argument " "1"" of type '" "wxEventLoop *""'");
28728 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
28730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28731 result
= (bool)(arg1
)->Dispatch();
28732 wxPyEndAllowThreads(__tstate
);
28733 if (PyErr_Occurred()) SWIG_fail
;
28736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28744 SWIGINTERN PyObject
*_wrap_EventLoop_IsRunning(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28745 PyObject
*resultobj
= 0;
28746 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
28750 PyObject
*swig_obj
[1] ;
28752 if (!args
) SWIG_fail
;
28753 swig_obj
[0] = args
;
28754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
28755 if (!SWIG_IsOK(res1
)) {
28756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_IsRunning" "', expected argument " "1"" of type '" "wxEventLoop const *""'");
28758 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
28760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28761 result
= (bool)((wxEventLoop
const *)arg1
)->IsRunning();
28762 wxPyEndAllowThreads(__tstate
);
28763 if (PyErr_Occurred()) SWIG_fail
;
28766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28774 SWIGINTERN PyObject
*_wrap_EventLoop_GetActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28775 PyObject
*resultobj
= 0;
28776 wxEventLoop
*result
= 0 ;
28778 if (!SWIG_Python_UnpackTuple(args
,"EventLoop_GetActive",0,0,0)) SWIG_fail
;
28780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28781 result
= (wxEventLoop
*)wxEventLoop::GetActive();
28782 wxPyEndAllowThreads(__tstate
);
28783 if (PyErr_Occurred()) SWIG_fail
;
28785 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEventLoop
, 0 | 0 );
28792 SWIGINTERN PyObject
*_wrap_EventLoop_SetActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28793 PyObject
*resultobj
= 0;
28794 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
28797 PyObject
* obj0
= 0 ;
28798 char * kwnames
[] = {
28799 (char *) "loop", NULL
28802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EventLoop_SetActive",kwnames
,&obj0
)) SWIG_fail
;
28803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
28804 if (!SWIG_IsOK(res1
)) {
28805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "EventLoop_SetActive" "', expected argument " "1"" of type '" "wxEventLoop *""'");
28807 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
28809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28810 wxEventLoop::SetActive(arg1
);
28811 wxPyEndAllowThreads(__tstate
);
28812 if (PyErr_Occurred()) SWIG_fail
;
28814 resultobj
= SWIG_Py_Void();
28821 SWIGINTERN PyObject
*EventLoop_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28823 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28824 SWIG_TypeNewClientData(SWIGTYPE_p_wxEventLoop
, SWIG_NewClientData(obj
));
28825 return SWIG_Py_Void();
28828 SWIGINTERN PyObject
*EventLoop_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28829 return SWIG_Python_InitShadowInstance(args
);
28832 SWIGINTERN PyObject
*_wrap_new_EventLoopActivator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28833 PyObject
*resultobj
= 0;
28834 wxEventLoop
*arg1
= (wxEventLoop
*) 0 ;
28835 wxEventLoopActivator
*result
= 0 ;
28838 PyObject
* obj0
= 0 ;
28839 char * kwnames
[] = {
28840 (char *) "evtLoop", NULL
28843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_EventLoopActivator",kwnames
,&obj0
)) SWIG_fail
;
28844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxEventLoop
, 0 | 0 );
28845 if (!SWIG_IsOK(res1
)) {
28846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_EventLoopActivator" "', expected argument " "1"" of type '" "wxEventLoop *""'");
28848 arg1
= reinterpret_cast< wxEventLoop
* >(argp1
);
28850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28851 result
= (wxEventLoopActivator
*)new wxEventLoopActivator(arg1
);
28852 wxPyEndAllowThreads(__tstate
);
28853 if (PyErr_Occurred()) SWIG_fail
;
28855 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxEventLoopActivator
, SWIG_POINTER_NEW
| 0 );
28862 SWIGINTERN PyObject
*_wrap_delete_EventLoopActivator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28863 PyObject
*resultobj
= 0;
28864 wxEventLoopActivator
*arg1
= (wxEventLoopActivator
*) 0 ;
28867 PyObject
*swig_obj
[1] ;
28869 if (!args
) SWIG_fail
;
28870 swig_obj
[0] = args
;
28871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxEventLoopActivator
, SWIG_POINTER_DISOWN
| 0 );
28872 if (!SWIG_IsOK(res1
)) {
28873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_EventLoopActivator" "', expected argument " "1"" of type '" "wxEventLoopActivator *""'");
28875 arg1
= reinterpret_cast< wxEventLoopActivator
* >(argp1
);
28877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28880 wxPyEndAllowThreads(__tstate
);
28881 if (PyErr_Occurred()) SWIG_fail
;
28883 resultobj
= SWIG_Py_Void();
28890 SWIGINTERN PyObject
*EventLoopActivator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28892 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28893 SWIG_TypeNewClientData(SWIGTYPE_p_wxEventLoopActivator
, SWIG_NewClientData(obj
));
28894 return SWIG_Py_Void();
28897 SWIGINTERN PyObject
*EventLoopActivator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28898 return SWIG_Python_InitShadowInstance(args
);
28901 SWIGINTERN PyObject
*_wrap_new_AcceleratorEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28902 PyObject
*resultobj
= 0;
28903 int arg1
= (int) 0 ;
28904 int arg2
= (int) 0 ;
28905 int arg3
= (int) 0 ;
28906 wxAcceleratorEntry
*result
= 0 ;
28913 PyObject
* obj0
= 0 ;
28914 PyObject
* obj1
= 0 ;
28915 PyObject
* obj2
= 0 ;
28916 char * kwnames
[] = {
28917 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
28920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28922 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
28923 if (!SWIG_IsOK(ecode1
)) {
28924 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_AcceleratorEntry" "', expected argument " "1"" of type '" "int""'");
28926 arg1
= static_cast< int >(val1
);
28929 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28930 if (!SWIG_IsOK(ecode2
)) {
28931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_AcceleratorEntry" "', expected argument " "2"" of type '" "int""'");
28933 arg2
= static_cast< int >(val2
);
28936 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28937 if (!SWIG_IsOK(ecode3
)) {
28938 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_AcceleratorEntry" "', expected argument " "3"" of type '" "int""'");
28940 arg3
= static_cast< int >(val3
);
28943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28944 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
28945 wxPyEndAllowThreads(__tstate
);
28946 if (PyErr_Occurred()) SWIG_fail
;
28948 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_NEW
| 0 );
28955 SWIGINTERN PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28956 PyObject
*resultobj
= 0;
28957 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
28960 PyObject
*swig_obj
[1] ;
28962 if (!args
) SWIG_fail
;
28963 swig_obj
[0] = args
;
28964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, SWIG_POINTER_DISOWN
| 0 );
28965 if (!SWIG_IsOK(res1
)) {
28966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AcceleratorEntry" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
28968 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
28970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28973 wxPyEndAllowThreads(__tstate
);
28974 if (PyErr_Occurred()) SWIG_fail
;
28976 resultobj
= SWIG_Py_Void();
28983 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28984 PyObject
*resultobj
= 0;
28985 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
28997 PyObject
* obj0
= 0 ;
28998 PyObject
* obj1
= 0 ;
28999 PyObject
* obj2
= 0 ;
29000 PyObject
* obj3
= 0 ;
29001 char * kwnames
[] = {
29002 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
29005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
29006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
29007 if (!SWIG_IsOK(res1
)) {
29008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_Set" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
29010 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
29011 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29012 if (!SWIG_IsOK(ecode2
)) {
29013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "AcceleratorEntry_Set" "', expected argument " "2"" of type '" "int""'");
29015 arg2
= static_cast< int >(val2
);
29016 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29017 if (!SWIG_IsOK(ecode3
)) {
29018 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "AcceleratorEntry_Set" "', expected argument " "3"" of type '" "int""'");
29020 arg3
= static_cast< int >(val3
);
29021 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
29022 if (!SWIG_IsOK(ecode4
)) {
29023 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "AcceleratorEntry_Set" "', expected argument " "4"" of type '" "int""'");
29025 arg4
= static_cast< int >(val4
);
29027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29028 (arg1
)->Set(arg2
,arg3
,arg4
);
29029 wxPyEndAllowThreads(__tstate
);
29030 if (PyErr_Occurred()) SWIG_fail
;
29032 resultobj
= SWIG_Py_Void();
29039 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29040 PyObject
*resultobj
= 0;
29041 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
29045 PyObject
*swig_obj
[1] ;
29047 if (!args
) SWIG_fail
;
29048 swig_obj
[0] = args
;
29049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
29050 if (!SWIG_IsOK(res1
)) {
29051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_GetFlags" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
29053 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
29055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29056 result
= (int)(arg1
)->GetFlags();
29057 wxPyEndAllowThreads(__tstate
);
29058 if (PyErr_Occurred()) SWIG_fail
;
29060 resultobj
= SWIG_From_int(static_cast< int >(result
));
29067 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29068 PyObject
*resultobj
= 0;
29069 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
29073 PyObject
*swig_obj
[1] ;
29075 if (!args
) SWIG_fail
;
29076 swig_obj
[0] = args
;
29077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
29078 if (!SWIG_IsOK(res1
)) {
29079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_GetKeyCode" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
29081 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
29083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29084 result
= (int)(arg1
)->GetKeyCode();
29085 wxPyEndAllowThreads(__tstate
);
29086 if (PyErr_Occurred()) SWIG_fail
;
29088 resultobj
= SWIG_From_int(static_cast< int >(result
));
29095 SWIGINTERN PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29096 PyObject
*resultobj
= 0;
29097 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
29101 PyObject
*swig_obj
[1] ;
29103 if (!args
) SWIG_fail
;
29104 swig_obj
[0] = args
;
29105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
29106 if (!SWIG_IsOK(res1
)) {
29107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorEntry_GetCommand" "', expected argument " "1"" of type '" "wxAcceleratorEntry *""'");
29109 arg1
= reinterpret_cast< wxAcceleratorEntry
* >(argp1
);
29111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29112 result
= (int)(arg1
)->GetCommand();
29113 wxPyEndAllowThreads(__tstate
);
29114 if (PyErr_Occurred()) SWIG_fail
;
29116 resultobj
= SWIG_From_int(static_cast< int >(result
));
29123 SWIGINTERN PyObject
*AcceleratorEntry_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29125 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29126 SWIG_TypeNewClientData(SWIGTYPE_p_wxAcceleratorEntry
, SWIG_NewClientData(obj
));
29127 return SWIG_Py_Void();
29130 SWIGINTERN PyObject
*AcceleratorEntry_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29131 return SWIG_Python_InitShadowInstance(args
);
29134 SWIGINTERN PyObject
*_wrap_new_AcceleratorTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29135 PyObject
*resultobj
= 0;
29137 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
29138 wxAcceleratorTable
*result
= 0 ;
29139 PyObject
* obj0
= 0 ;
29140 char * kwnames
[] = {
29144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) SWIG_fail
;
29146 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
29147 if (arg2
) arg1
= PyList_Size(obj0
);
29151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29152 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
29153 wxPyEndAllowThreads(__tstate
);
29154 if (PyErr_Occurred()) SWIG_fail
;
29156 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_NEW
| 0 );
29163 SWIGINTERN PyObject
*_wrap_delete_AcceleratorTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29164 PyObject
*resultobj
= 0;
29165 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
29168 PyObject
*swig_obj
[1] ;
29170 if (!args
) SWIG_fail
;
29171 swig_obj
[0] = args
;
29172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorTable
, SWIG_POINTER_DISOWN
| 0 );
29173 if (!SWIG_IsOK(res1
)) {
29174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_AcceleratorTable" "', expected argument " "1"" of type '" "wxAcceleratorTable *""'");
29176 arg1
= reinterpret_cast< wxAcceleratorTable
* >(argp1
);
29178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29181 wxPyEndAllowThreads(__tstate
);
29182 if (PyErr_Occurred()) SWIG_fail
;
29184 resultobj
= SWIG_Py_Void();
29191 SWIGINTERN PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29192 PyObject
*resultobj
= 0;
29193 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
29197 PyObject
*swig_obj
[1] ;
29199 if (!args
) SWIG_fail
;
29200 swig_obj
[0] = args
;
29201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxAcceleratorTable
, 0 | 0 );
29202 if (!SWIG_IsOK(res1
)) {
29203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "AcceleratorTable_Ok" "', expected argument " "1"" of type '" "wxAcceleratorTable const *""'");
29205 arg1
= reinterpret_cast< wxAcceleratorTable
* >(argp1
);
29207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29208 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
29209 wxPyEndAllowThreads(__tstate
);
29210 if (PyErr_Occurred()) SWIG_fail
;
29213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29221 SWIGINTERN PyObject
*AcceleratorTable_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29223 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29224 SWIG_TypeNewClientData(SWIGTYPE_p_wxAcceleratorTable
, SWIG_NewClientData(obj
));
29225 return SWIG_Py_Void();
29228 SWIGINTERN PyObject
*AcceleratorTable_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29229 return SWIG_Python_InitShadowInstance(args
);
29232 SWIGINTERN
int NullAcceleratorTable_set(PyObject
*) {
29233 SWIG_Error(SWIG_AttributeError
,"Variable NullAcceleratorTable is read-only.");
29238 SWIGINTERN PyObject
*NullAcceleratorTable_get(void) {
29239 PyObject
*pyobj
= 0;
29241 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0 );
29246 SWIGINTERN PyObject
*_wrap_GetAccelFromString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29247 PyObject
*resultobj
= 0;
29248 wxString
*arg1
= 0 ;
29249 wxAcceleratorEntry
*result
= 0 ;
29250 bool temp1
= false ;
29251 PyObject
* obj0
= 0 ;
29252 char * kwnames
[] = {
29253 (char *) "label", NULL
29256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) SWIG_fail
;
29258 arg1
= wxString_in_helper(obj0
);
29259 if (arg1
== NULL
) SWIG_fail
;
29263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29264 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
29265 wxPyEndAllowThreads(__tstate
);
29266 if (PyErr_Occurred()) SWIG_fail
;
29268 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
29283 SWIGINTERN
int PanelNameStr_set(PyObject
*) {
29284 SWIG_Error(SWIG_AttributeError
,"Variable PanelNameStr is read-only.");
29289 SWIGINTERN PyObject
*PanelNameStr_get(void) {
29290 PyObject
*pyobj
= 0;
29294 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
29296 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
29303 SWIGINTERN PyObject
*_wrap_new_VisualAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29304 PyObject
*resultobj
= 0;
29305 wxVisualAttributes
*result
= 0 ;
29307 if (!SWIG_Python_UnpackTuple(args
,"new_VisualAttributes",0,0,0)) SWIG_fail
;
29309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29310 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
29311 wxPyEndAllowThreads(__tstate
);
29312 if (PyErr_Occurred()) SWIG_fail
;
29314 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_NEW
| 0 );
29321 SWIGINTERN PyObject
*_wrap_delete_VisualAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29322 PyObject
*resultobj
= 0;
29323 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
29326 PyObject
*swig_obj
[1] ;
29328 if (!args
) SWIG_fail
;
29329 swig_obj
[0] = args
;
29330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_DISOWN
| 0 );
29331 if (!SWIG_IsOK(res1
)) {
29332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_VisualAttributes" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
29334 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
29336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29337 delete_wxVisualAttributes(arg1
);
29339 wxPyEndAllowThreads(__tstate
);
29340 if (PyErr_Occurred()) SWIG_fail
;
29342 resultobj
= SWIG_Py_Void();
29349 SWIGINTERN PyObject
*_wrap_VisualAttributes_font_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29350 PyObject
*resultobj
= 0;
29351 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
29352 wxFont
*arg2
= (wxFont
*) 0 ;
29357 PyObject
*swig_obj
[2] ;
29359 if (!SWIG_Python_UnpackTuple(args
,"VisualAttributes_font_set",2,2,swig_obj
)) SWIG_fail
;
29360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
29361 if (!SWIG_IsOK(res1
)) {
29362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_font_set" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
29364 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
29365 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxFont
, 0 | 0 );
29366 if (!SWIG_IsOK(res2
)) {
29367 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VisualAttributes_font_set" "', expected argument " "2"" of type '" "wxFont *""'");
29369 arg2
= reinterpret_cast< wxFont
* >(argp2
);
29370 if (arg1
) (arg1
)->font
= *arg2
;
29372 resultobj
= SWIG_Py_Void();
29379 SWIGINTERN PyObject
*_wrap_VisualAttributes_font_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29380 PyObject
*resultobj
= 0;
29381 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
29382 wxFont
*result
= 0 ;
29385 PyObject
*swig_obj
[1] ;
29387 if (!args
) SWIG_fail
;
29388 swig_obj
[0] = args
;
29389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
29390 if (!SWIG_IsOK(res1
)) {
29391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_font_get" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
29393 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
29394 result
= (wxFont
*)& ((arg1
)->font
);
29395 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFont
, 0 | 0 );
29402 SWIGINTERN PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29403 PyObject
*resultobj
= 0;
29404 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
29405 wxColour
*arg2
= (wxColour
*) 0 ;
29410 PyObject
*swig_obj
[2] ;
29412 if (!SWIG_Python_UnpackTuple(args
,"VisualAttributes_colFg_set",2,2,swig_obj
)) SWIG_fail
;
29413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
29414 if (!SWIG_IsOK(res1
)) {
29415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_colFg_set" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
29417 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
29418 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxColour
, 0 | 0 );
29419 if (!SWIG_IsOK(res2
)) {
29420 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VisualAttributes_colFg_set" "', expected argument " "2"" of type '" "wxColour *""'");
29422 arg2
= reinterpret_cast< wxColour
* >(argp2
);
29423 if (arg1
) (arg1
)->colFg
= *arg2
;
29425 resultobj
= SWIG_Py_Void();
29432 SWIGINTERN PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29433 PyObject
*resultobj
= 0;
29434 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
29435 wxColour
*result
= 0 ;
29438 PyObject
*swig_obj
[1] ;
29440 if (!args
) SWIG_fail
;
29441 swig_obj
[0] = args
;
29442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
29443 if (!SWIG_IsOK(res1
)) {
29444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_colFg_get" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
29446 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
29447 result
= (wxColour
*)& ((arg1
)->colFg
);
29448 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
29455 SWIGINTERN PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29456 PyObject
*resultobj
= 0;
29457 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
29458 wxColour
*arg2
= (wxColour
*) 0 ;
29463 PyObject
*swig_obj
[2] ;
29465 if (!SWIG_Python_UnpackTuple(args
,"VisualAttributes_colBg_set",2,2,swig_obj
)) SWIG_fail
;
29466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
29467 if (!SWIG_IsOK(res1
)) {
29468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_colBg_set" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
29470 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
29471 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxColour
, 0 | 0 );
29472 if (!SWIG_IsOK(res2
)) {
29473 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VisualAttributes_colBg_set" "', expected argument " "2"" of type '" "wxColour *""'");
29475 arg2
= reinterpret_cast< wxColour
* >(argp2
);
29476 if (arg1
) (arg1
)->colBg
= *arg2
;
29478 resultobj
= SWIG_Py_Void();
29485 SWIGINTERN PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29486 PyObject
*resultobj
= 0;
29487 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
29488 wxColour
*result
= 0 ;
29491 PyObject
*swig_obj
[1] ;
29493 if (!args
) SWIG_fail
;
29494 swig_obj
[0] = args
;
29495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxVisualAttributes
, 0 | 0 );
29496 if (!SWIG_IsOK(res1
)) {
29497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VisualAttributes_colBg_get" "', expected argument " "1"" of type '" "wxVisualAttributes *""'");
29499 arg1
= reinterpret_cast< wxVisualAttributes
* >(argp1
);
29500 result
= (wxColour
*)& ((arg1
)->colBg
);
29501 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
29508 SWIGINTERN PyObject
*VisualAttributes_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29510 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29511 SWIG_TypeNewClientData(SWIGTYPE_p_wxVisualAttributes
, SWIG_NewClientData(obj
));
29512 return SWIG_Py_Void();
29515 SWIGINTERN PyObject
*VisualAttributes_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29516 return SWIG_Python_InitShadowInstance(args
);
29519 SWIGINTERN PyObject
*_wrap_new_Window(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29520 PyObject
*resultobj
= 0;
29521 wxWindow
*arg1
= (wxWindow
*) 0 ;
29522 int arg2
= (int) (int)-1 ;
29523 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29524 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29525 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29526 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29527 long arg5
= (long) 0 ;
29528 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
29529 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29530 wxWindow
*result
= 0 ;
29539 bool temp6
= false ;
29540 PyObject
* obj0
= 0 ;
29541 PyObject
* obj1
= 0 ;
29542 PyObject
* obj2
= 0 ;
29543 PyObject
* obj3
= 0 ;
29544 PyObject
* obj4
= 0 ;
29545 PyObject
* obj5
= 0 ;
29546 char * kwnames
[] = {
29547 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29552 if (!SWIG_IsOK(res1
)) {
29553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Window" "', expected argument " "1"" of type '" "wxWindow *""'");
29555 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29557 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29558 if (!SWIG_IsOK(ecode2
)) {
29559 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Window" "', expected argument " "2"" of type '" "int""'");
29561 arg2
= static_cast< int >(val2
);
29566 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29572 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29576 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
29577 if (!SWIG_IsOK(ecode5
)) {
29578 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Window" "', expected argument " "5"" of type '" "long""'");
29580 arg5
= static_cast< long >(val5
);
29584 arg6
= wxString_in_helper(obj5
);
29585 if (arg6
== NULL
) SWIG_fail
;
29590 if (!wxPyCheckForApp()) SWIG_fail
;
29591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29592 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29593 wxPyEndAllowThreads(__tstate
);
29594 if (PyErr_Occurred()) SWIG_fail
;
29596 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindow
, SWIG_POINTER_NEW
| 0 );
29611 SWIGINTERN PyObject
*_wrap_new_PreWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29612 PyObject
*resultobj
= 0;
29613 wxWindow
*result
= 0 ;
29615 if (!SWIG_Python_UnpackTuple(args
,"new_PreWindow",0,0,0)) SWIG_fail
;
29617 if (!wxPyCheckForApp()) SWIG_fail
;
29618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29619 result
= (wxWindow
*)new wxWindow();
29620 wxPyEndAllowThreads(__tstate
);
29621 if (PyErr_Occurred()) SWIG_fail
;
29623 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxWindow
, SWIG_POINTER_OWN
| 0 );
29630 SWIGINTERN PyObject
*_wrap_Window_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29631 PyObject
*resultobj
= 0;
29632 wxWindow
*arg1
= (wxWindow
*) 0 ;
29633 wxWindow
*arg2
= (wxWindow
*) 0 ;
29634 int arg3
= (int) (int)-1 ;
29635 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29636 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29637 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29638 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29639 long arg6
= (long) 0 ;
29640 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
29641 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29653 bool temp7
= false ;
29654 PyObject
* obj0
= 0 ;
29655 PyObject
* obj1
= 0 ;
29656 PyObject
* obj2
= 0 ;
29657 PyObject
* obj3
= 0 ;
29658 PyObject
* obj4
= 0 ;
29659 PyObject
* obj5
= 0 ;
29660 PyObject
* obj6
= 0 ;
29661 char * kwnames
[] = {
29662 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29667 if (!SWIG_IsOK(res1
)) {
29668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Create" "', expected argument " "1"" of type '" "wxWindow *""'");
29670 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29671 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29672 if (!SWIG_IsOK(res2
)) {
29673 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
29675 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29677 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29678 if (!SWIG_IsOK(ecode3
)) {
29679 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_Create" "', expected argument " "3"" of type '" "int""'");
29681 arg3
= static_cast< int >(val3
);
29686 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29692 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29696 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29697 if (!SWIG_IsOK(ecode6
)) {
29698 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Window_Create" "', expected argument " "6"" of type '" "long""'");
29700 arg6
= static_cast< long >(val6
);
29704 arg7
= wxString_in_helper(obj6
);
29705 if (arg7
== NULL
) SWIG_fail
;
29710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29711 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29712 wxPyEndAllowThreads(__tstate
);
29713 if (PyErr_Occurred()) SWIG_fail
;
29716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29732 SWIGINTERN PyObject
*_wrap_Window_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29733 PyObject
*resultobj
= 0;
29734 wxWindow
*arg1
= (wxWindow
*) 0 ;
29735 bool arg2
= (bool) false ;
29741 PyObject
* obj0
= 0 ;
29742 PyObject
* obj1
= 0 ;
29743 char * kwnames
[] = {
29744 (char *) "self",(char *) "force", NULL
29747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29749 if (!SWIG_IsOK(res1
)) {
29750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Close" "', expected argument " "1"" of type '" "wxWindow *""'");
29752 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29754 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29755 if (!SWIG_IsOK(ecode2
)) {
29756 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Close" "', expected argument " "2"" of type '" "bool""'");
29758 arg2
= static_cast< bool >(val2
);
29761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29762 result
= (bool)(arg1
)->Close(arg2
);
29763 wxPyEndAllowThreads(__tstate
);
29764 if (PyErr_Occurred()) SWIG_fail
;
29767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29775 SWIGINTERN PyObject
*_wrap_Window_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29776 PyObject
*resultobj
= 0;
29777 wxWindow
*arg1
= (wxWindow
*) 0 ;
29781 PyObject
*swig_obj
[1] ;
29783 if (!args
) SWIG_fail
;
29784 swig_obj
[0] = args
;
29785 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29786 if (!SWIG_IsOK(res1
)) {
29787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Destroy" "', expected argument " "1"" of type '" "wxWindow *""'");
29789 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29792 result
= (bool)(arg1
)->Destroy();
29793 wxPyEndAllowThreads(__tstate
);
29794 if (PyErr_Occurred()) SWIG_fail
;
29797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29805 SWIGINTERN PyObject
*_wrap_Window_DestroyChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29806 PyObject
*resultobj
= 0;
29807 wxWindow
*arg1
= (wxWindow
*) 0 ;
29811 PyObject
*swig_obj
[1] ;
29813 if (!args
) SWIG_fail
;
29814 swig_obj
[0] = args
;
29815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29816 if (!SWIG_IsOK(res1
)) {
29817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_DestroyChildren" "', expected argument " "1"" of type '" "wxWindow *""'");
29819 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29822 result
= (bool)(arg1
)->DestroyChildren();
29823 wxPyEndAllowThreads(__tstate
);
29824 if (PyErr_Occurred()) SWIG_fail
;
29827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29835 SWIGINTERN PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29836 PyObject
*resultobj
= 0;
29837 wxWindow
*arg1
= (wxWindow
*) 0 ;
29841 PyObject
*swig_obj
[1] ;
29843 if (!args
) SWIG_fail
;
29844 swig_obj
[0] = args
;
29845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29846 if (!SWIG_IsOK(res1
)) {
29847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsBeingDeleted" "', expected argument " "1"" of type '" "wxWindow const *""'");
29849 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29852 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
29853 wxPyEndAllowThreads(__tstate
);
29854 if (PyErr_Occurred()) SWIG_fail
;
29857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29865 SWIGINTERN PyObject
*_wrap_Window_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29866 PyObject
*resultobj
= 0;
29867 wxWindow
*arg1
= (wxWindow
*) 0 ;
29868 wxString
*arg2
= 0 ;
29871 bool temp2
= false ;
29872 PyObject
* obj0
= 0 ;
29873 PyObject
* obj1
= 0 ;
29874 char * kwnames
[] = {
29875 (char *) "self",(char *) "label", NULL
29878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29880 if (!SWIG_IsOK(res1
)) {
29881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetLabel" "', expected argument " "1"" of type '" "wxWindow *""'");
29883 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29885 arg2
= wxString_in_helper(obj1
);
29886 if (arg2
== NULL
) SWIG_fail
;
29890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29891 (arg1
)->SetLabel((wxString
const &)*arg2
);
29892 wxPyEndAllowThreads(__tstate
);
29893 if (PyErr_Occurred()) SWIG_fail
;
29895 resultobj
= SWIG_Py_Void();
29910 SWIGINTERN PyObject
*_wrap_Window_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29911 PyObject
*resultobj
= 0;
29912 wxWindow
*arg1
= (wxWindow
*) 0 ;
29916 PyObject
*swig_obj
[1] ;
29918 if (!args
) SWIG_fail
;
29919 swig_obj
[0] = args
;
29920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29921 if (!SWIG_IsOK(res1
)) {
29922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetLabel" "', expected argument " "1"" of type '" "wxWindow const *""'");
29924 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29927 result
= ((wxWindow
const *)arg1
)->GetLabel();
29928 wxPyEndAllowThreads(__tstate
);
29929 if (PyErr_Occurred()) SWIG_fail
;
29933 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29935 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29944 SWIGINTERN PyObject
*_wrap_Window_SetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29945 PyObject
*resultobj
= 0;
29946 wxWindow
*arg1
= (wxWindow
*) 0 ;
29947 wxString
*arg2
= 0 ;
29950 bool temp2
= false ;
29951 PyObject
* obj0
= 0 ;
29952 PyObject
* obj1
= 0 ;
29953 char * kwnames
[] = {
29954 (char *) "self",(char *) "name", NULL
29957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29959 if (!SWIG_IsOK(res1
)) {
29960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetName" "', expected argument " "1"" of type '" "wxWindow *""'");
29962 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
29964 arg2
= wxString_in_helper(obj1
);
29965 if (arg2
== NULL
) SWIG_fail
;
29969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29970 (arg1
)->SetName((wxString
const &)*arg2
);
29971 wxPyEndAllowThreads(__tstate
);
29972 if (PyErr_Occurred()) SWIG_fail
;
29974 resultobj
= SWIG_Py_Void();
29989 SWIGINTERN PyObject
*_wrap_Window_GetName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29990 PyObject
*resultobj
= 0;
29991 wxWindow
*arg1
= (wxWindow
*) 0 ;
29995 PyObject
*swig_obj
[1] ;
29997 if (!args
) SWIG_fail
;
29998 swig_obj
[0] = args
;
29999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30000 if (!SWIG_IsOK(res1
)) {
30001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetName" "', expected argument " "1"" of type '" "wxWindow const *""'");
30003 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30006 result
= ((wxWindow
const *)arg1
)->GetName();
30007 wxPyEndAllowThreads(__tstate
);
30008 if (PyErr_Occurred()) SWIG_fail
;
30012 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30014 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30023 SWIGINTERN PyObject
*_wrap_Window_SetWindowVariant(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30024 PyObject
*resultobj
= 0;
30025 wxWindow
*arg1
= (wxWindow
*) 0 ;
30026 wxWindowVariant arg2
;
30031 PyObject
* obj0
= 0 ;
30032 PyObject
* obj1
= 0 ;
30033 char * kwnames
[] = {
30034 (char *) "self",(char *) "variant", NULL
30037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30039 if (!SWIG_IsOK(res1
)) {
30040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetWindowVariant" "', expected argument " "1"" of type '" "wxWindow *""'");
30042 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30043 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30044 if (!SWIG_IsOK(ecode2
)) {
30045 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetWindowVariant" "', expected argument " "2"" of type '" "wxWindowVariant""'");
30047 arg2
= static_cast< wxWindowVariant
>(val2
);
30049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30050 (arg1
)->SetWindowVariant(arg2
);
30051 wxPyEndAllowThreads(__tstate
);
30052 if (PyErr_Occurred()) SWIG_fail
;
30054 resultobj
= SWIG_Py_Void();
30061 SWIGINTERN PyObject
*_wrap_Window_GetWindowVariant(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30062 PyObject
*resultobj
= 0;
30063 wxWindow
*arg1
= (wxWindow
*) 0 ;
30064 wxWindowVariant result
;
30067 PyObject
*swig_obj
[1] ;
30069 if (!args
) SWIG_fail
;
30070 swig_obj
[0] = args
;
30071 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30072 if (!SWIG_IsOK(res1
)) {
30073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetWindowVariant" "', expected argument " "1"" of type '" "wxWindow const *""'");
30075 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30078 result
= (wxWindowVariant
)((wxWindow
const *)arg1
)->GetWindowVariant();
30079 wxPyEndAllowThreads(__tstate
);
30080 if (PyErr_Occurred()) SWIG_fail
;
30082 resultobj
= SWIG_From_int(static_cast< int >(result
));
30089 SWIGINTERN PyObject
*_wrap_Window_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30090 PyObject
*resultobj
= 0;
30091 wxWindow
*arg1
= (wxWindow
*) 0 ;
30097 PyObject
* obj0
= 0 ;
30098 PyObject
* obj1
= 0 ;
30099 char * kwnames
[] = {
30100 (char *) "self",(char *) "winid", NULL
30103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30105 if (!SWIG_IsOK(res1
)) {
30106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetId" "', expected argument " "1"" of type '" "wxWindow *""'");
30108 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30109 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30110 if (!SWIG_IsOK(ecode2
)) {
30111 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetId" "', expected argument " "2"" of type '" "int""'");
30113 arg2
= static_cast< int >(val2
);
30115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30116 (arg1
)->SetId(arg2
);
30117 wxPyEndAllowThreads(__tstate
);
30118 if (PyErr_Occurred()) SWIG_fail
;
30120 resultobj
= SWIG_Py_Void();
30127 SWIGINTERN PyObject
*_wrap_Window_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30128 PyObject
*resultobj
= 0;
30129 wxWindow
*arg1
= (wxWindow
*) 0 ;
30133 PyObject
*swig_obj
[1] ;
30135 if (!args
) SWIG_fail
;
30136 swig_obj
[0] = args
;
30137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30138 if (!SWIG_IsOK(res1
)) {
30139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetId" "', expected argument " "1"" of type '" "wxWindow const *""'");
30141 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30144 result
= (int)((wxWindow
const *)arg1
)->GetId();
30145 wxPyEndAllowThreads(__tstate
);
30146 if (PyErr_Occurred()) SWIG_fail
;
30148 resultobj
= SWIG_From_int(static_cast< int >(result
));
30155 SWIGINTERN PyObject
*_wrap_Window_NewControlId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30156 PyObject
*resultobj
= 0;
30159 if (!SWIG_Python_UnpackTuple(args
,"Window_NewControlId",0,0,0)) SWIG_fail
;
30161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30162 result
= (int)wxWindow::NewControlId();
30163 wxPyEndAllowThreads(__tstate
);
30164 if (PyErr_Occurred()) SWIG_fail
;
30166 resultobj
= SWIG_From_int(static_cast< int >(result
));
30173 SWIGINTERN PyObject
*_wrap_Window_NextControlId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30174 PyObject
*resultobj
= 0;
30179 PyObject
* obj0
= 0 ;
30180 char * kwnames
[] = {
30181 (char *) "winid", NULL
30184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) SWIG_fail
;
30185 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30186 if (!SWIG_IsOK(ecode1
)) {
30187 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Window_NextControlId" "', expected argument " "1"" of type '" "int""'");
30189 arg1
= static_cast< int >(val1
);
30191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30192 result
= (int)wxWindow::NextControlId(arg1
);
30193 wxPyEndAllowThreads(__tstate
);
30194 if (PyErr_Occurred()) SWIG_fail
;
30196 resultobj
= SWIG_From_int(static_cast< int >(result
));
30203 SWIGINTERN PyObject
*_wrap_Window_PrevControlId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30204 PyObject
*resultobj
= 0;
30209 PyObject
* obj0
= 0 ;
30210 char * kwnames
[] = {
30211 (char *) "winid", NULL
30214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) SWIG_fail
;
30215 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
30216 if (!SWIG_IsOK(ecode1
)) {
30217 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Window_PrevControlId" "', expected argument " "1"" of type '" "int""'");
30219 arg1
= static_cast< int >(val1
);
30221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30222 result
= (int)wxWindow::PrevControlId(arg1
);
30223 wxPyEndAllowThreads(__tstate
);
30224 if (PyErr_Occurred()) SWIG_fail
;
30226 resultobj
= SWIG_From_int(static_cast< int >(result
));
30233 SWIGINTERN PyObject
*_wrap_Window_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30234 PyObject
*resultobj
= 0;
30235 wxWindow
*arg1
= (wxWindow
*) 0 ;
30240 PyObject
* obj0
= 0 ;
30241 PyObject
* obj1
= 0 ;
30242 char * kwnames
[] = {
30243 (char *) "self",(char *) "size", NULL
30246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30248 if (!SWIG_IsOK(res1
)) {
30249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSize" "', expected argument " "1"" of type '" "wxWindow *""'");
30251 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30254 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
30257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30258 (arg1
)->SetSize((wxSize
const &)*arg2
);
30259 wxPyEndAllowThreads(__tstate
);
30260 if (PyErr_Occurred()) SWIG_fail
;
30262 resultobj
= SWIG_Py_Void();
30269 SWIGINTERN PyObject
*_wrap_Window_SetDimensions(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30270 PyObject
*resultobj
= 0;
30271 wxWindow
*arg1
= (wxWindow
*) 0 ;
30276 int arg6
= (int) wxSIZE_AUTO
;
30289 PyObject
* obj0
= 0 ;
30290 PyObject
* obj1
= 0 ;
30291 PyObject
* obj2
= 0 ;
30292 PyObject
* obj3
= 0 ;
30293 PyObject
* obj4
= 0 ;
30294 PyObject
* obj5
= 0 ;
30295 char * kwnames
[] = {
30296 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
30299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
30300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30301 if (!SWIG_IsOK(res1
)) {
30302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetDimensions" "', expected argument " "1"" of type '" "wxWindow *""'");
30304 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30305 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30306 if (!SWIG_IsOK(ecode2
)) {
30307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetDimensions" "', expected argument " "2"" of type '" "int""'");
30309 arg2
= static_cast< int >(val2
);
30310 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30311 if (!SWIG_IsOK(ecode3
)) {
30312 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetDimensions" "', expected argument " "3"" of type '" "int""'");
30314 arg3
= static_cast< int >(val3
);
30315 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30316 if (!SWIG_IsOK(ecode4
)) {
30317 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_SetDimensions" "', expected argument " "4"" of type '" "int""'");
30319 arg4
= static_cast< int >(val4
);
30320 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
30321 if (!SWIG_IsOK(ecode5
)) {
30322 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Window_SetDimensions" "', expected argument " "5"" of type '" "int""'");
30324 arg5
= static_cast< int >(val5
);
30326 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
30327 if (!SWIG_IsOK(ecode6
)) {
30328 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Window_SetDimensions" "', expected argument " "6"" of type '" "int""'");
30330 arg6
= static_cast< int >(val6
);
30333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30334 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
30335 wxPyEndAllowThreads(__tstate
);
30336 if (PyErr_Occurred()) SWIG_fail
;
30338 resultobj
= SWIG_Py_Void();
30345 SWIGINTERN PyObject
*_wrap_Window_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30346 PyObject
*resultobj
= 0;
30347 wxWindow
*arg1
= (wxWindow
*) 0 ;
30349 int arg3
= (int) wxSIZE_AUTO
;
30355 PyObject
* obj0
= 0 ;
30356 PyObject
* obj1
= 0 ;
30357 PyObject
* obj2
= 0 ;
30358 char * kwnames
[] = {
30359 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
30362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30364 if (!SWIG_IsOK(res1
)) {
30365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetRect" "', expected argument " "1"" of type '" "wxWindow *""'");
30367 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30370 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
30373 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30374 if (!SWIG_IsOK(ecode3
)) {
30375 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetRect" "', expected argument " "3"" of type '" "int""'");
30377 arg3
= static_cast< int >(val3
);
30380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30381 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
30382 wxPyEndAllowThreads(__tstate
);
30383 if (PyErr_Occurred()) SWIG_fail
;
30385 resultobj
= SWIG_Py_Void();
30392 SWIGINTERN PyObject
*_wrap_Window_SetSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30393 PyObject
*resultobj
= 0;
30394 wxWindow
*arg1
= (wxWindow
*) 0 ;
30403 PyObject
* obj0
= 0 ;
30404 PyObject
* obj1
= 0 ;
30405 PyObject
* obj2
= 0 ;
30406 char * kwnames
[] = {
30407 (char *) "self",(char *) "width",(char *) "height", NULL
30410 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30411 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30412 if (!SWIG_IsOK(res1
)) {
30413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSizeWH" "', expected argument " "1"" of type '" "wxWindow *""'");
30415 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30416 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30417 if (!SWIG_IsOK(ecode2
)) {
30418 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetSizeWH" "', expected argument " "2"" of type '" "int""'");
30420 arg2
= static_cast< int >(val2
);
30421 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30422 if (!SWIG_IsOK(ecode3
)) {
30423 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetSizeWH" "', expected argument " "3"" of type '" "int""'");
30425 arg3
= static_cast< int >(val3
);
30427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30428 (arg1
)->SetSize(arg2
,arg3
);
30429 wxPyEndAllowThreads(__tstate
);
30430 if (PyErr_Occurred()) SWIG_fail
;
30432 resultobj
= SWIG_Py_Void();
30439 SWIGINTERN PyObject
*_wrap_Window_Move(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30440 PyObject
*resultobj
= 0;
30441 wxWindow
*arg1
= (wxWindow
*) 0 ;
30442 wxPoint
*arg2
= 0 ;
30443 int arg3
= (int) wxSIZE_USE_EXISTING
;
30449 PyObject
* obj0
= 0 ;
30450 PyObject
* obj1
= 0 ;
30451 PyObject
* obj2
= 0 ;
30452 char * kwnames
[] = {
30453 (char *) "self",(char *) "pt",(char *) "flags", NULL
30456 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30457 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30458 if (!SWIG_IsOK(res1
)) {
30459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Move" "', expected argument " "1"" of type '" "wxWindow *""'");
30461 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30464 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30467 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30468 if (!SWIG_IsOK(ecode3
)) {
30469 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_Move" "', expected argument " "3"" of type '" "int""'");
30471 arg3
= static_cast< int >(val3
);
30474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30475 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
30476 wxPyEndAllowThreads(__tstate
);
30477 if (PyErr_Occurred()) SWIG_fail
;
30479 resultobj
= SWIG_Py_Void();
30486 SWIGINTERN PyObject
*_wrap_Window_MoveXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30487 PyObject
*resultobj
= 0;
30488 wxWindow
*arg1
= (wxWindow
*) 0 ;
30491 int arg4
= (int) wxSIZE_USE_EXISTING
;
30500 PyObject
* obj0
= 0 ;
30501 PyObject
* obj1
= 0 ;
30502 PyObject
* obj2
= 0 ;
30503 PyObject
* obj3
= 0 ;
30504 char * kwnames
[] = {
30505 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
30508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
30509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30510 if (!SWIG_IsOK(res1
)) {
30511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_MoveXY" "', expected argument " "1"" of type '" "wxWindow *""'");
30513 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30514 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30515 if (!SWIG_IsOK(ecode2
)) {
30516 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_MoveXY" "', expected argument " "2"" of type '" "int""'");
30518 arg2
= static_cast< int >(val2
);
30519 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30520 if (!SWIG_IsOK(ecode3
)) {
30521 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_MoveXY" "', expected argument " "3"" of type '" "int""'");
30523 arg3
= static_cast< int >(val3
);
30525 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
30526 if (!SWIG_IsOK(ecode4
)) {
30527 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_MoveXY" "', expected argument " "4"" of type '" "int""'");
30529 arg4
= static_cast< int >(val4
);
30532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30533 (arg1
)->Move(arg2
,arg3
,arg4
);
30534 wxPyEndAllowThreads(__tstate
);
30535 if (PyErr_Occurred()) SWIG_fail
;
30537 resultobj
= SWIG_Py_Void();
30544 SWIGINTERN PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30545 PyObject
*resultobj
= 0;
30546 wxWindow
*arg1
= (wxWindow
*) 0 ;
30547 wxSize
const &arg2_defvalue
= wxDefaultSize
;
30548 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
30552 PyObject
* obj0
= 0 ;
30553 PyObject
* obj1
= 0 ;
30554 char * kwnames
[] = {
30555 (char *) "self",(char *) "size", NULL
30558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30560 if (!SWIG_IsOK(res1
)) {
30561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetBestFittingSize" "', expected argument " "1"" of type '" "wxWindow *""'");
30563 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30567 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
30571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30572 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
30573 wxPyEndAllowThreads(__tstate
);
30574 if (PyErr_Occurred()) SWIG_fail
;
30576 resultobj
= SWIG_Py_Void();
30583 SWIGINTERN PyObject
*_wrap_Window_Raise(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30584 PyObject
*resultobj
= 0;
30585 wxWindow
*arg1
= (wxWindow
*) 0 ;
30588 PyObject
*swig_obj
[1] ;
30590 if (!args
) SWIG_fail
;
30591 swig_obj
[0] = args
;
30592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30593 if (!SWIG_IsOK(res1
)) {
30594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Raise" "', expected argument " "1"" of type '" "wxWindow *""'");
30596 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30600 wxPyEndAllowThreads(__tstate
);
30601 if (PyErr_Occurred()) SWIG_fail
;
30603 resultobj
= SWIG_Py_Void();
30610 SWIGINTERN PyObject
*_wrap_Window_Lower(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30611 PyObject
*resultobj
= 0;
30612 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_Lower" "', expected argument " "1"" of type '" "wxWindow *""'");
30623 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30627 wxPyEndAllowThreads(__tstate
);
30628 if (PyErr_Occurred()) SWIG_fail
;
30630 resultobj
= SWIG_Py_Void();
30637 SWIGINTERN PyObject
*_wrap_Window_SetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30638 PyObject
*resultobj
= 0;
30639 wxWindow
*arg1
= (wxWindow
*) 0 ;
30644 PyObject
* obj0
= 0 ;
30645 PyObject
* obj1
= 0 ;
30646 char * kwnames
[] = {
30647 (char *) "self",(char *) "size", NULL
30650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30652 if (!SWIG_IsOK(res1
)) {
30653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetClientSize" "', expected argument " "1"" of type '" "wxWindow *""'");
30655 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30658 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
30661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30662 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
30663 wxPyEndAllowThreads(__tstate
);
30664 if (PyErr_Occurred()) SWIG_fail
;
30666 resultobj
= SWIG_Py_Void();
30673 SWIGINTERN PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30674 PyObject
*resultobj
= 0;
30675 wxWindow
*arg1
= (wxWindow
*) 0 ;
30684 PyObject
* obj0
= 0 ;
30685 PyObject
* obj1
= 0 ;
30686 PyObject
* obj2
= 0 ;
30687 char * kwnames
[] = {
30688 (char *) "self",(char *) "width",(char *) "height", NULL
30691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30693 if (!SWIG_IsOK(res1
)) {
30694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetClientSizeWH" "', expected argument " "1"" of type '" "wxWindow *""'");
30696 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30697 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30698 if (!SWIG_IsOK(ecode2
)) {
30699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetClientSizeWH" "', expected argument " "2"" of type '" "int""'");
30701 arg2
= static_cast< int >(val2
);
30702 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
30703 if (!SWIG_IsOK(ecode3
)) {
30704 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetClientSizeWH" "', expected argument " "3"" of type '" "int""'");
30706 arg3
= static_cast< int >(val3
);
30708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30709 (arg1
)->SetClientSize(arg2
,arg3
);
30710 wxPyEndAllowThreads(__tstate
);
30711 if (PyErr_Occurred()) SWIG_fail
;
30713 resultobj
= SWIG_Py_Void();
30720 SWIGINTERN PyObject
*_wrap_Window_SetClientRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30721 PyObject
*resultobj
= 0;
30722 wxWindow
*arg1
= (wxWindow
*) 0 ;
30727 PyObject
* obj0
= 0 ;
30728 PyObject
* obj1
= 0 ;
30729 char * kwnames
[] = {
30730 (char *) "self",(char *) "rect", NULL
30733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30735 if (!SWIG_IsOK(res1
)) {
30736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetClientRect" "', expected argument " "1"" of type '" "wxWindow *""'");
30738 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30741 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
30744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30745 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
30746 wxPyEndAllowThreads(__tstate
);
30747 if (PyErr_Occurred()) SWIG_fail
;
30749 resultobj
= SWIG_Py_Void();
30756 SWIGINTERN PyObject
*_wrap_Window_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30757 PyObject
*resultobj
= 0;
30758 wxWindow
*arg1
= (wxWindow
*) 0 ;
30762 PyObject
*swig_obj
[1] ;
30764 if (!args
) SWIG_fail
;
30765 swig_obj
[0] = args
;
30766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30767 if (!SWIG_IsOK(res1
)) {
30768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetPosition" "', expected argument " "1"" of type '" "wxWindow const *""'");
30770 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30773 result
= ((wxWindow
const *)arg1
)->GetPosition();
30774 wxPyEndAllowThreads(__tstate
);
30775 if (PyErr_Occurred()) SWIG_fail
;
30777 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
30784 SWIGINTERN PyObject
*_wrap_Window_GetPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30785 PyObject
*resultobj
= 0;
30786 wxWindow
*arg1
= (wxWindow
*) 0 ;
30787 int *arg2
= (int *) 0 ;
30788 int *arg3
= (int *) 0 ;
30792 int res2
= SWIG_TMPOBJ
;
30794 int res3
= SWIG_TMPOBJ
;
30795 PyObject
*swig_obj
[1] ;
30799 if (!args
) SWIG_fail
;
30800 swig_obj
[0] = args
;
30801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30802 if (!SWIG_IsOK(res1
)) {
30803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetPositionTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
30805 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30808 ((wxWindow
const *)arg1
)->GetPosition(arg2
,arg3
);
30809 wxPyEndAllowThreads(__tstate
);
30810 if (PyErr_Occurred()) SWIG_fail
;
30812 resultobj
= SWIG_Py_Void();
30813 if (SWIG_IsTmpObj(res2
)) {
30814 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
30816 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30817 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
30819 if (SWIG_IsTmpObj(res3
)) {
30820 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30822 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30823 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30831 SWIGINTERN PyObject
*_wrap_Window_GetScreenPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30832 PyObject
*resultobj
= 0;
30833 wxWindow
*arg1
= (wxWindow
*) 0 ;
30837 PyObject
*swig_obj
[1] ;
30839 if (!args
) SWIG_fail
;
30840 swig_obj
[0] = args
;
30841 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30842 if (!SWIG_IsOK(res1
)) {
30843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScreenPosition" "', expected argument " "1"" of type '" "wxWindow const *""'");
30845 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30848 result
= ((wxWindow
const *)arg1
)->GetScreenPosition();
30849 wxPyEndAllowThreads(__tstate
);
30850 if (PyErr_Occurred()) SWIG_fail
;
30852 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
30859 SWIGINTERN PyObject
*_wrap_Window_GetScreenPositionTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30860 PyObject
*resultobj
= 0;
30861 wxWindow
*arg1
= (wxWindow
*) 0 ;
30862 int *arg2
= (int *) 0 ;
30863 int *arg3
= (int *) 0 ;
30867 int res2
= SWIG_TMPOBJ
;
30869 int res3
= SWIG_TMPOBJ
;
30870 PyObject
*swig_obj
[1] ;
30874 if (!args
) SWIG_fail
;
30875 swig_obj
[0] = args
;
30876 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30877 if (!SWIG_IsOK(res1
)) {
30878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScreenPositionTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
30880 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30883 ((wxWindow
const *)arg1
)->GetScreenPosition(arg2
,arg3
);
30884 wxPyEndAllowThreads(__tstate
);
30885 if (PyErr_Occurred()) SWIG_fail
;
30887 resultobj
= SWIG_Py_Void();
30888 if (SWIG_IsTmpObj(res2
)) {
30889 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
30891 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30892 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
30894 if (SWIG_IsTmpObj(res3
)) {
30895 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
30897 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30898 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
30906 SWIGINTERN PyObject
*_wrap_Window_GetScreenRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30907 PyObject
*resultobj
= 0;
30908 wxWindow
*arg1
= (wxWindow
*) 0 ;
30912 PyObject
*swig_obj
[1] ;
30914 if (!args
) SWIG_fail
;
30915 swig_obj
[0] = args
;
30916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30917 if (!SWIG_IsOK(res1
)) {
30918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScreenRect" "', expected argument " "1"" of type '" "wxWindow const *""'");
30920 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30923 result
= ((wxWindow
const *)arg1
)->GetScreenRect();
30924 wxPyEndAllowThreads(__tstate
);
30925 if (PyErr_Occurred()) SWIG_fail
;
30927 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
30934 SWIGINTERN PyObject
*_wrap_Window_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30935 PyObject
*resultobj
= 0;
30936 wxWindow
*arg1
= (wxWindow
*) 0 ;
30940 PyObject
*swig_obj
[1] ;
30942 if (!args
) SWIG_fail
;
30943 swig_obj
[0] = args
;
30944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30945 if (!SWIG_IsOK(res1
)) {
30946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
30948 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30951 result
= ((wxWindow
const *)arg1
)->GetSize();
30952 wxPyEndAllowThreads(__tstate
);
30953 if (PyErr_Occurred()) SWIG_fail
;
30955 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
30962 SWIGINTERN PyObject
*_wrap_Window_GetSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30963 PyObject
*resultobj
= 0;
30964 wxWindow
*arg1
= (wxWindow
*) 0 ;
30965 int *arg2
= (int *) 0 ;
30966 int *arg3
= (int *) 0 ;
30970 int res2
= SWIG_TMPOBJ
;
30972 int res3
= SWIG_TMPOBJ
;
30973 PyObject
*swig_obj
[1] ;
30977 if (!args
) SWIG_fail
;
30978 swig_obj
[0] = args
;
30979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30980 if (!SWIG_IsOK(res1
)) {
30981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetSizeTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
30983 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
30985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30986 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
30987 wxPyEndAllowThreads(__tstate
);
30988 if (PyErr_Occurred()) SWIG_fail
;
30990 resultobj
= SWIG_Py_Void();
30991 if (SWIG_IsTmpObj(res2
)) {
30992 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
30994 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
30995 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
30997 if (SWIG_IsTmpObj(res3
)) {
30998 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31000 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31001 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31009 SWIGINTERN PyObject
*_wrap_Window_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31010 PyObject
*resultobj
= 0;
31011 wxWindow
*arg1
= (wxWindow
*) 0 ;
31015 PyObject
*swig_obj
[1] ;
31017 if (!args
) SWIG_fail
;
31018 swig_obj
[0] = args
;
31019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31020 if (!SWIG_IsOK(res1
)) {
31021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetRect" "', expected argument " "1"" of type '" "wxWindow const *""'");
31023 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31026 result
= ((wxWindow
const *)arg1
)->GetRect();
31027 wxPyEndAllowThreads(__tstate
);
31028 if (PyErr_Occurred()) SWIG_fail
;
31030 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
31037 SWIGINTERN PyObject
*_wrap_Window_GetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31038 PyObject
*resultobj
= 0;
31039 wxWindow
*arg1
= (wxWindow
*) 0 ;
31043 PyObject
*swig_obj
[1] ;
31045 if (!args
) SWIG_fail
;
31046 swig_obj
[0] = args
;
31047 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31048 if (!SWIG_IsOK(res1
)) {
31049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetClientSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
31051 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31054 result
= ((wxWindow
const *)arg1
)->GetClientSize();
31055 wxPyEndAllowThreads(__tstate
);
31056 if (PyErr_Occurred()) SWIG_fail
;
31058 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
31065 SWIGINTERN PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31066 PyObject
*resultobj
= 0;
31067 wxWindow
*arg1
= (wxWindow
*) 0 ;
31068 int *arg2
= (int *) 0 ;
31069 int *arg3
= (int *) 0 ;
31073 int res2
= SWIG_TMPOBJ
;
31075 int res3
= SWIG_TMPOBJ
;
31076 PyObject
*swig_obj
[1] ;
31080 if (!args
) SWIG_fail
;
31081 swig_obj
[0] = args
;
31082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31083 if (!SWIG_IsOK(res1
)) {
31084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetClientSizeTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
31086 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31089 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
31090 wxPyEndAllowThreads(__tstate
);
31091 if (PyErr_Occurred()) SWIG_fail
;
31093 resultobj
= SWIG_Py_Void();
31094 if (SWIG_IsTmpObj(res2
)) {
31095 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
31097 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31098 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
31100 if (SWIG_IsTmpObj(res3
)) {
31101 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31103 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31104 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31112 SWIGINTERN PyObject
*_wrap_Window_GetClientAreaOrigin(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_GetClientAreaOrigin" "', expected argument " "1"" of type '" "wxWindow const *""'");
31126 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31129 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
31130 wxPyEndAllowThreads(__tstate
);
31131 if (PyErr_Occurred()) SWIG_fail
;
31133 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
31140 SWIGINTERN PyObject
*_wrap_Window_GetClientRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31141 PyObject
*resultobj
= 0;
31142 wxWindow
*arg1
= (wxWindow
*) 0 ;
31146 PyObject
*swig_obj
[1] ;
31148 if (!args
) SWIG_fail
;
31149 swig_obj
[0] = args
;
31150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31151 if (!SWIG_IsOK(res1
)) {
31152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetClientRect" "', expected argument " "1"" of type '" "wxWindow const *""'");
31154 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31157 result
= ((wxWindow
const *)arg1
)->GetClientRect();
31158 wxPyEndAllowThreads(__tstate
);
31159 if (PyErr_Occurred()) SWIG_fail
;
31161 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
31168 SWIGINTERN PyObject
*_wrap_Window_GetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31169 PyObject
*resultobj
= 0;
31170 wxWindow
*arg1
= (wxWindow
*) 0 ;
31174 PyObject
*swig_obj
[1] ;
31176 if (!args
) SWIG_fail
;
31177 swig_obj
[0] = args
;
31178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31179 if (!SWIG_IsOK(res1
)) {
31180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBestSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
31182 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31185 result
= ((wxWindow
const *)arg1
)->GetBestSize();
31186 wxPyEndAllowThreads(__tstate
);
31187 if (PyErr_Occurred()) SWIG_fail
;
31189 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
31196 SWIGINTERN PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31197 PyObject
*resultobj
= 0;
31198 wxWindow
*arg1
= (wxWindow
*) 0 ;
31199 int *arg2
= (int *) 0 ;
31200 int *arg3
= (int *) 0 ;
31204 int res2
= SWIG_TMPOBJ
;
31206 int res3
= SWIG_TMPOBJ
;
31207 PyObject
*swig_obj
[1] ;
31211 if (!args
) SWIG_fail
;
31212 swig_obj
[0] = args
;
31213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31214 if (!SWIG_IsOK(res1
)) {
31215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBestSizeTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
31217 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31220 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
31221 wxPyEndAllowThreads(__tstate
);
31222 if (PyErr_Occurred()) SWIG_fail
;
31224 resultobj
= SWIG_Py_Void();
31225 if (SWIG_IsTmpObj(res2
)) {
31226 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
31228 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31229 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
31231 if (SWIG_IsTmpObj(res3
)) {
31232 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
31234 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
31235 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
31243 SWIGINTERN PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31244 PyObject
*resultobj
= 0;
31245 wxWindow
*arg1
= (wxWindow
*) 0 ;
31248 PyObject
*swig_obj
[1] ;
31250 if (!args
) SWIG_fail
;
31251 swig_obj
[0] = args
;
31252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31253 if (!SWIG_IsOK(res1
)) {
31254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_InvalidateBestSize" "', expected argument " "1"" of type '" "wxWindow *""'");
31256 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31259 (arg1
)->InvalidateBestSize();
31260 wxPyEndAllowThreads(__tstate
);
31261 if (PyErr_Occurred()) SWIG_fail
;
31263 resultobj
= SWIG_Py_Void();
31270 SWIGINTERN PyObject
*_wrap_Window_CacheBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31271 PyObject
*resultobj
= 0;
31272 wxWindow
*arg1
= (wxWindow
*) 0 ;
31277 PyObject
* obj0
= 0 ;
31278 PyObject
* obj1
= 0 ;
31279 char * kwnames
[] = {
31280 (char *) "self",(char *) "size", NULL
31283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_CacheBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31285 if (!SWIG_IsOK(res1
)) {
31286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_CacheBestSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
31288 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31291 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
31294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31295 ((wxWindow
const *)arg1
)->CacheBestSize((wxSize
const &)*arg2
);
31296 wxPyEndAllowThreads(__tstate
);
31297 if (PyErr_Occurred()) SWIG_fail
;
31299 resultobj
= SWIG_Py_Void();
31306 SWIGINTERN PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31307 PyObject
*resultobj
= 0;
31308 wxWindow
*arg1
= (wxWindow
*) 0 ;
31312 PyObject
*swig_obj
[1] ;
31314 if (!args
) SWIG_fail
;
31315 swig_obj
[0] = args
;
31316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31317 if (!SWIG_IsOK(res1
)) {
31318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBestFittingSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
31320 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31323 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
31324 wxPyEndAllowThreads(__tstate
);
31325 if (PyErr_Occurred()) SWIG_fail
;
31327 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
31334 SWIGINTERN PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31335 PyObject
*resultobj
= 0;
31336 wxWindow
*arg1
= (wxWindow
*) 0 ;
31340 PyObject
*swig_obj
[1] ;
31342 if (!args
) SWIG_fail
;
31343 swig_obj
[0] = args
;
31344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31345 if (!SWIG_IsOK(res1
)) {
31346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetAdjustedBestSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
31348 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31351 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
31352 wxPyEndAllowThreads(__tstate
);
31353 if (PyErr_Occurred()) SWIG_fail
;
31355 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
31362 SWIGINTERN PyObject
*_wrap_Window_Center(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31363 PyObject
*resultobj
= 0;
31364 wxWindow
*arg1
= (wxWindow
*) 0 ;
31365 int arg2
= (int) wxBOTH
;
31370 PyObject
* obj0
= 0 ;
31371 PyObject
* obj1
= 0 ;
31372 char * kwnames
[] = {
31373 (char *) "self",(char *) "direction", NULL
31376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31378 if (!SWIG_IsOK(res1
)) {
31379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Center" "', expected argument " "1"" of type '" "wxWindow *""'");
31381 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31383 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31384 if (!SWIG_IsOK(ecode2
)) {
31385 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Center" "', expected argument " "2"" of type '" "int""'");
31387 arg2
= static_cast< int >(val2
);
31390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31391 (arg1
)->Center(arg2
);
31392 wxPyEndAllowThreads(__tstate
);
31393 if (PyErr_Occurred()) SWIG_fail
;
31395 resultobj
= SWIG_Py_Void();
31402 SWIGINTERN PyObject
*_wrap_Window_CenterOnParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31403 PyObject
*resultobj
= 0;
31404 wxWindow
*arg1
= (wxWindow
*) 0 ;
31405 int arg2
= (int) wxBOTH
;
31410 PyObject
* obj0
= 0 ;
31411 PyObject
* obj1
= 0 ;
31412 char * kwnames
[] = {
31413 (char *) "self",(char *) "dir", NULL
31416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31418 if (!SWIG_IsOK(res1
)) {
31419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_CenterOnParent" "', expected argument " "1"" of type '" "wxWindow *""'");
31421 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31423 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31424 if (!SWIG_IsOK(ecode2
)) {
31425 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_CenterOnParent" "', expected argument " "2"" of type '" "int""'");
31427 arg2
= static_cast< int >(val2
);
31430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31431 (arg1
)->CenterOnParent(arg2
);
31432 wxPyEndAllowThreads(__tstate
);
31433 if (PyErr_Occurred()) SWIG_fail
;
31435 resultobj
= SWIG_Py_Void();
31442 SWIGINTERN PyObject
*_wrap_Window_Fit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31443 PyObject
*resultobj
= 0;
31444 wxWindow
*arg1
= (wxWindow
*) 0 ;
31447 PyObject
*swig_obj
[1] ;
31449 if (!args
) SWIG_fail
;
31450 swig_obj
[0] = args
;
31451 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31452 if (!SWIG_IsOK(res1
)) {
31453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Fit" "', expected argument " "1"" of type '" "wxWindow *""'");
31455 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31459 wxPyEndAllowThreads(__tstate
);
31460 if (PyErr_Occurred()) SWIG_fail
;
31462 resultobj
= SWIG_Py_Void();
31469 SWIGINTERN PyObject
*_wrap_Window_FitInside(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31470 PyObject
*resultobj
= 0;
31471 wxWindow
*arg1
= (wxWindow
*) 0 ;
31474 PyObject
*swig_obj
[1] ;
31476 if (!args
) SWIG_fail
;
31477 swig_obj
[0] = args
;
31478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31479 if (!SWIG_IsOK(res1
)) {
31480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_FitInside" "', expected argument " "1"" of type '" "wxWindow *""'");
31482 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31485 (arg1
)->FitInside();
31486 wxPyEndAllowThreads(__tstate
);
31487 if (PyErr_Occurred()) SWIG_fail
;
31489 resultobj
= SWIG_Py_Void();
31496 SWIGINTERN PyObject
*_wrap_Window_SetSizeHints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31497 PyObject
*resultobj
= 0;
31498 wxWindow
*arg1
= (wxWindow
*) 0 ;
31501 int arg4
= (int) -1 ;
31502 int arg5
= (int) -1 ;
31503 int arg6
= (int) -1 ;
31504 int arg7
= (int) -1 ;
31519 PyObject
* obj0
= 0 ;
31520 PyObject
* obj1
= 0 ;
31521 PyObject
* obj2
= 0 ;
31522 PyObject
* obj3
= 0 ;
31523 PyObject
* obj4
= 0 ;
31524 PyObject
* obj5
= 0 ;
31525 PyObject
* obj6
= 0 ;
31526 char * kwnames
[] = {
31527 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
31530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31532 if (!SWIG_IsOK(res1
)) {
31533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSizeHints" "', expected argument " "1"" of type '" "wxWindow *""'");
31535 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31536 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31537 if (!SWIG_IsOK(ecode2
)) {
31538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetSizeHints" "', expected argument " "2"" of type '" "int""'");
31540 arg2
= static_cast< int >(val2
);
31541 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31542 if (!SWIG_IsOK(ecode3
)) {
31543 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetSizeHints" "', expected argument " "3"" of type '" "int""'");
31545 arg3
= static_cast< int >(val3
);
31547 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31548 if (!SWIG_IsOK(ecode4
)) {
31549 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_SetSizeHints" "', expected argument " "4"" of type '" "int""'");
31551 arg4
= static_cast< int >(val4
);
31554 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31555 if (!SWIG_IsOK(ecode5
)) {
31556 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Window_SetSizeHints" "', expected argument " "5"" of type '" "int""'");
31558 arg5
= static_cast< int >(val5
);
31561 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
31562 if (!SWIG_IsOK(ecode6
)) {
31563 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Window_SetSizeHints" "', expected argument " "6"" of type '" "int""'");
31565 arg6
= static_cast< int >(val6
);
31568 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
31569 if (!SWIG_IsOK(ecode7
)) {
31570 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Window_SetSizeHints" "', expected argument " "7"" of type '" "int""'");
31572 arg7
= static_cast< int >(val7
);
31575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31576 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
31577 wxPyEndAllowThreads(__tstate
);
31578 if (PyErr_Occurred()) SWIG_fail
;
31580 resultobj
= SWIG_Py_Void();
31587 SWIGINTERN PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31588 PyObject
*resultobj
= 0;
31589 wxWindow
*arg1
= (wxWindow
*) 0 ;
31591 wxSize
const &arg3_defvalue
= wxDefaultSize
;
31592 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
31593 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31594 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31600 PyObject
* obj0
= 0 ;
31601 PyObject
* obj1
= 0 ;
31602 PyObject
* obj2
= 0 ;
31603 PyObject
* obj3
= 0 ;
31604 char * kwnames
[] = {
31605 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
31608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
31609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31610 if (!SWIG_IsOK(res1
)) {
31611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSizeHintsSz" "', expected argument " "1"" of type '" "wxWindow *""'");
31613 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31616 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
31621 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
31627 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31632 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
31633 wxPyEndAllowThreads(__tstate
);
31634 if (PyErr_Occurred()) SWIG_fail
;
31636 resultobj
= SWIG_Py_Void();
31643 SWIGINTERN PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31644 PyObject
*resultobj
= 0;
31645 wxWindow
*arg1
= (wxWindow
*) 0 ;
31648 int arg4
= (int) -1 ;
31649 int arg5
= (int) -1 ;
31660 PyObject
* obj0
= 0 ;
31661 PyObject
* obj1
= 0 ;
31662 PyObject
* obj2
= 0 ;
31663 PyObject
* obj3
= 0 ;
31664 PyObject
* obj4
= 0 ;
31665 char * kwnames
[] = {
31666 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
31669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
31670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31671 if (!SWIG_IsOK(res1
)) {
31672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetVirtualSizeHints" "', expected argument " "1"" of type '" "wxWindow *""'");
31674 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31675 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31676 if (!SWIG_IsOK(ecode2
)) {
31677 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetVirtualSizeHints" "', expected argument " "2"" of type '" "int""'");
31679 arg2
= static_cast< int >(val2
);
31680 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
31681 if (!SWIG_IsOK(ecode3
)) {
31682 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetVirtualSizeHints" "', expected argument " "3"" of type '" "int""'");
31684 arg3
= static_cast< int >(val3
);
31686 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
31687 if (!SWIG_IsOK(ecode4
)) {
31688 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_SetVirtualSizeHints" "', expected argument " "4"" of type '" "int""'");
31690 arg4
= static_cast< int >(val4
);
31693 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
31694 if (!SWIG_IsOK(ecode5
)) {
31695 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Window_SetVirtualSizeHints" "', expected argument " "5"" of type '" "int""'");
31697 arg5
= static_cast< int >(val5
);
31700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31701 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
31702 wxPyEndAllowThreads(__tstate
);
31703 if (PyErr_Occurred()) SWIG_fail
;
31705 resultobj
= SWIG_Py_Void();
31712 SWIGINTERN PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31713 PyObject
*resultobj
= 0;
31714 wxWindow
*arg1
= (wxWindow
*) 0 ;
31716 wxSize
const &arg3_defvalue
= wxDefaultSize
;
31717 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
31722 PyObject
* obj0
= 0 ;
31723 PyObject
* obj1
= 0 ;
31724 PyObject
* obj2
= 0 ;
31725 char * kwnames
[] = {
31726 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
31729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31730 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31731 if (!SWIG_IsOK(res1
)) {
31732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetVirtualSizeHintsSz" "', expected argument " "1"" of type '" "wxWindow *""'");
31734 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31737 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
31742 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
31746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31747 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
31748 wxPyEndAllowThreads(__tstate
);
31749 if (PyErr_Occurred()) SWIG_fail
;
31751 resultobj
= SWIG_Py_Void();
31758 SWIGINTERN PyObject
*_wrap_Window_GetMaxSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31759 PyObject
*resultobj
= 0;
31760 wxWindow
*arg1
= (wxWindow
*) 0 ;
31764 PyObject
*swig_obj
[1] ;
31766 if (!args
) SWIG_fail
;
31767 swig_obj
[0] = args
;
31768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31769 if (!SWIG_IsOK(res1
)) {
31770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMaxSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
31772 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31775 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
31776 wxPyEndAllowThreads(__tstate
);
31777 if (PyErr_Occurred()) SWIG_fail
;
31779 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
31786 SWIGINTERN PyObject
*_wrap_Window_GetMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31787 PyObject
*resultobj
= 0;
31788 wxWindow
*arg1
= (wxWindow
*) 0 ;
31792 PyObject
*swig_obj
[1] ;
31794 if (!args
) SWIG_fail
;
31795 swig_obj
[0] = args
;
31796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31797 if (!SWIG_IsOK(res1
)) {
31798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMinSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
31800 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31803 result
= ((wxWindow
const *)arg1
)->GetMinSize();
31804 wxPyEndAllowThreads(__tstate
);
31805 if (PyErr_Occurred()) SWIG_fail
;
31807 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
31814 SWIGINTERN PyObject
*_wrap_Window_SetMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31815 PyObject
*resultobj
= 0;
31816 wxWindow
*arg1
= (wxWindow
*) 0 ;
31821 PyObject
* obj0
= 0 ;
31822 PyObject
* obj1
= 0 ;
31823 char * kwnames
[] = {
31824 (char *) "self",(char *) "minSize", NULL
31827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31829 if (!SWIG_IsOK(res1
)) {
31830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetMinSize" "', expected argument " "1"" of type '" "wxWindow *""'");
31832 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31835 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
31838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31839 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
31840 wxPyEndAllowThreads(__tstate
);
31841 if (PyErr_Occurred()) SWIG_fail
;
31843 resultobj
= SWIG_Py_Void();
31850 SWIGINTERN PyObject
*_wrap_Window_SetMaxSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31851 PyObject
*resultobj
= 0;
31852 wxWindow
*arg1
= (wxWindow
*) 0 ;
31857 PyObject
* obj0
= 0 ;
31858 PyObject
* obj1
= 0 ;
31859 char * kwnames
[] = {
31860 (char *) "self",(char *) "maxSize", NULL
31863 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31864 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31865 if (!SWIG_IsOK(res1
)) {
31866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetMaxSize" "', expected argument " "1"" of type '" "wxWindow *""'");
31868 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31871 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
31874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31875 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
31876 wxPyEndAllowThreads(__tstate
);
31877 if (PyErr_Occurred()) SWIG_fail
;
31879 resultobj
= SWIG_Py_Void();
31886 SWIGINTERN PyObject
*_wrap_Window_GetMinWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31887 PyObject
*resultobj
= 0;
31888 wxWindow
*arg1
= (wxWindow
*) 0 ;
31892 PyObject
*swig_obj
[1] ;
31894 if (!args
) SWIG_fail
;
31895 swig_obj
[0] = args
;
31896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31897 if (!SWIG_IsOK(res1
)) {
31898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMinWidth" "', expected argument " "1"" of type '" "wxWindow const *""'");
31900 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31903 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
31904 wxPyEndAllowThreads(__tstate
);
31905 if (PyErr_Occurred()) SWIG_fail
;
31907 resultobj
= SWIG_From_int(static_cast< int >(result
));
31914 SWIGINTERN PyObject
*_wrap_Window_GetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31915 PyObject
*resultobj
= 0;
31916 wxWindow
*arg1
= (wxWindow
*) 0 ;
31920 PyObject
*swig_obj
[1] ;
31922 if (!args
) SWIG_fail
;
31923 swig_obj
[0] = args
;
31924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31925 if (!SWIG_IsOK(res1
)) {
31926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMinHeight" "', expected argument " "1"" of type '" "wxWindow const *""'");
31928 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31931 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
31932 wxPyEndAllowThreads(__tstate
);
31933 if (PyErr_Occurred()) SWIG_fail
;
31935 resultobj
= SWIG_From_int(static_cast< int >(result
));
31942 SWIGINTERN PyObject
*_wrap_Window_GetMaxWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31943 PyObject
*resultobj
= 0;
31944 wxWindow
*arg1
= (wxWindow
*) 0 ;
31948 PyObject
*swig_obj
[1] ;
31950 if (!args
) SWIG_fail
;
31951 swig_obj
[0] = args
;
31952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31953 if (!SWIG_IsOK(res1
)) {
31954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMaxWidth" "', expected argument " "1"" of type '" "wxWindow const *""'");
31956 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31959 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
31960 wxPyEndAllowThreads(__tstate
);
31961 if (PyErr_Occurred()) SWIG_fail
;
31963 resultobj
= SWIG_From_int(static_cast< int >(result
));
31970 SWIGINTERN PyObject
*_wrap_Window_GetMaxHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31971 PyObject
*resultobj
= 0;
31972 wxWindow
*arg1
= (wxWindow
*) 0 ;
31976 PyObject
*swig_obj
[1] ;
31978 if (!args
) SWIG_fail
;
31979 swig_obj
[0] = args
;
31980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31981 if (!SWIG_IsOK(res1
)) {
31982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetMaxHeight" "', expected argument " "1"" of type '" "wxWindow const *""'");
31984 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
31986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31987 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
31988 wxPyEndAllowThreads(__tstate
);
31989 if (PyErr_Occurred()) SWIG_fail
;
31991 resultobj
= SWIG_From_int(static_cast< int >(result
));
31998 SWIGINTERN PyObject
*_wrap_Window_SetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31999 PyObject
*resultobj
= 0;
32000 wxWindow
*arg1
= (wxWindow
*) 0 ;
32005 PyObject
* obj0
= 0 ;
32006 PyObject
* obj1
= 0 ;
32007 char * kwnames
[] = {
32008 (char *) "self",(char *) "size", NULL
32011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32013 if (!SWIG_IsOK(res1
)) {
32014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetVirtualSize" "', expected argument " "1"" of type '" "wxWindow *""'");
32016 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32019 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
32022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32023 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
32024 wxPyEndAllowThreads(__tstate
);
32025 if (PyErr_Occurred()) SWIG_fail
;
32027 resultobj
= SWIG_Py_Void();
32034 SWIGINTERN PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32035 PyObject
*resultobj
= 0;
32036 wxWindow
*arg1
= (wxWindow
*) 0 ;
32045 PyObject
* obj0
= 0 ;
32046 PyObject
* obj1
= 0 ;
32047 PyObject
* obj2
= 0 ;
32048 char * kwnames
[] = {
32049 (char *) "self",(char *) "w",(char *) "h", NULL
32052 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
32053 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32054 if (!SWIG_IsOK(res1
)) {
32055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetVirtualSizeWH" "', expected argument " "1"" of type '" "wxWindow *""'");
32057 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32058 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32059 if (!SWIG_IsOK(ecode2
)) {
32060 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetVirtualSizeWH" "', expected argument " "2"" of type '" "int""'");
32062 arg2
= static_cast< int >(val2
);
32063 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
32064 if (!SWIG_IsOK(ecode3
)) {
32065 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetVirtualSizeWH" "', expected argument " "3"" of type '" "int""'");
32067 arg3
= static_cast< int >(val3
);
32069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32070 (arg1
)->SetVirtualSize(arg2
,arg3
);
32071 wxPyEndAllowThreads(__tstate
);
32072 if (PyErr_Occurred()) SWIG_fail
;
32074 resultobj
= SWIG_Py_Void();
32081 SWIGINTERN PyObject
*_wrap_Window_GetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32082 PyObject
*resultobj
= 0;
32083 wxWindow
*arg1
= (wxWindow
*) 0 ;
32087 PyObject
*swig_obj
[1] ;
32089 if (!args
) SWIG_fail
;
32090 swig_obj
[0] = args
;
32091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32092 if (!SWIG_IsOK(res1
)) {
32093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetVirtualSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
32095 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32098 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
32099 wxPyEndAllowThreads(__tstate
);
32100 if (PyErr_Occurred()) SWIG_fail
;
32102 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
32109 SWIGINTERN PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32110 PyObject
*resultobj
= 0;
32111 wxWindow
*arg1
= (wxWindow
*) 0 ;
32112 int *arg2
= (int *) 0 ;
32113 int *arg3
= (int *) 0 ;
32117 int res2
= SWIG_TMPOBJ
;
32119 int res3
= SWIG_TMPOBJ
;
32120 PyObject
*swig_obj
[1] ;
32124 if (!args
) SWIG_fail
;
32125 swig_obj
[0] = args
;
32126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32127 if (!SWIG_IsOK(res1
)) {
32128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetVirtualSizeTuple" "', expected argument " "1"" of type '" "wxWindow const *""'");
32130 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32133 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
32134 wxPyEndAllowThreads(__tstate
);
32135 if (PyErr_Occurred()) SWIG_fail
;
32137 resultobj
= SWIG_Py_Void();
32138 if (SWIG_IsTmpObj(res2
)) {
32139 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
32141 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32142 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
32144 if (SWIG_IsTmpObj(res3
)) {
32145 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
32147 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
32148 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
32156 SWIGINTERN PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32157 PyObject
*resultobj
= 0;
32158 wxWindow
*arg1
= (wxWindow
*) 0 ;
32162 PyObject
*swig_obj
[1] ;
32164 if (!args
) SWIG_fail
;
32165 swig_obj
[0] = args
;
32166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32167 if (!SWIG_IsOK(res1
)) {
32168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBestVirtualSize" "', expected argument " "1"" of type '" "wxWindow const *""'");
32170 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32173 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
32174 wxPyEndAllowThreads(__tstate
);
32175 if (PyErr_Occurred()) SWIG_fail
;
32177 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
32184 SWIGINTERN PyObject
*_wrap_Window_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32185 PyObject
*resultobj
= 0;
32186 wxWindow
*arg1
= (wxWindow
*) 0 ;
32187 bool arg2
= (bool) true ;
32193 PyObject
* obj0
= 0 ;
32194 PyObject
* obj1
= 0 ;
32195 char * kwnames
[] = {
32196 (char *) "self",(char *) "show", NULL
32199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32201 if (!SWIG_IsOK(res1
)) {
32202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Show" "', expected argument " "1"" of type '" "wxWindow *""'");
32204 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32206 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
32207 if (!SWIG_IsOK(ecode2
)) {
32208 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Show" "', expected argument " "2"" of type '" "bool""'");
32210 arg2
= static_cast< bool >(val2
);
32213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32214 result
= (bool)(arg1
)->Show(arg2
);
32215 wxPyEndAllowThreads(__tstate
);
32216 if (PyErr_Occurred()) SWIG_fail
;
32219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32227 SWIGINTERN PyObject
*_wrap_Window_Hide(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32228 PyObject
*resultobj
= 0;
32229 wxWindow
*arg1
= (wxWindow
*) 0 ;
32233 PyObject
*swig_obj
[1] ;
32235 if (!args
) SWIG_fail
;
32236 swig_obj
[0] = args
;
32237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32238 if (!SWIG_IsOK(res1
)) {
32239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Hide" "', expected argument " "1"" of type '" "wxWindow *""'");
32241 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32244 result
= (bool)(arg1
)->Hide();
32245 wxPyEndAllowThreads(__tstate
);
32246 if (PyErr_Occurred()) SWIG_fail
;
32249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32257 SWIGINTERN PyObject
*_wrap_Window_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32258 PyObject
*resultobj
= 0;
32259 wxWindow
*arg1
= (wxWindow
*) 0 ;
32260 bool arg2
= (bool) true ;
32266 PyObject
* obj0
= 0 ;
32267 PyObject
* obj1
= 0 ;
32268 char * kwnames
[] = {
32269 (char *) "self",(char *) "enable", NULL
32272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32274 if (!SWIG_IsOK(res1
)) {
32275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Enable" "', expected argument " "1"" of type '" "wxWindow *""'");
32277 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32279 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
32280 if (!SWIG_IsOK(ecode2
)) {
32281 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Enable" "', expected argument " "2"" of type '" "bool""'");
32283 arg2
= static_cast< bool >(val2
);
32286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32287 result
= (bool)(arg1
)->Enable(arg2
);
32288 wxPyEndAllowThreads(__tstate
);
32289 if (PyErr_Occurred()) SWIG_fail
;
32292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32300 SWIGINTERN PyObject
*_wrap_Window_Disable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32301 PyObject
*resultobj
= 0;
32302 wxWindow
*arg1
= (wxWindow
*) 0 ;
32306 PyObject
*swig_obj
[1] ;
32308 if (!args
) SWIG_fail
;
32309 swig_obj
[0] = args
;
32310 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32311 if (!SWIG_IsOK(res1
)) {
32312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Disable" "', expected argument " "1"" of type '" "wxWindow *""'");
32314 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32317 result
= (bool)(arg1
)->Disable();
32318 wxPyEndAllowThreads(__tstate
);
32319 if (PyErr_Occurred()) SWIG_fail
;
32322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32330 SWIGINTERN PyObject
*_wrap_Window_IsShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32331 PyObject
*resultobj
= 0;
32332 wxWindow
*arg1
= (wxWindow
*) 0 ;
32336 PyObject
*swig_obj
[1] ;
32338 if (!args
) SWIG_fail
;
32339 swig_obj
[0] = args
;
32340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32341 if (!SWIG_IsOK(res1
)) {
32342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsShown" "', expected argument " "1"" of type '" "wxWindow const *""'");
32344 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32347 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
32348 wxPyEndAllowThreads(__tstate
);
32349 if (PyErr_Occurred()) SWIG_fail
;
32352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32360 SWIGINTERN PyObject
*_wrap_Window_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32361 PyObject
*resultobj
= 0;
32362 wxWindow
*arg1
= (wxWindow
*) 0 ;
32366 PyObject
*swig_obj
[1] ;
32368 if (!args
) SWIG_fail
;
32369 swig_obj
[0] = args
;
32370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32371 if (!SWIG_IsOK(res1
)) {
32372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsEnabled" "', expected argument " "1"" of type '" "wxWindow const *""'");
32374 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32377 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
32378 wxPyEndAllowThreads(__tstate
);
32379 if (PyErr_Occurred()) SWIG_fail
;
32382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32390 SWIGINTERN PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32391 PyObject
*resultobj
= 0;
32392 wxWindow
*arg1
= (wxWindow
*) 0 ;
32398 PyObject
* obj0
= 0 ;
32399 PyObject
* obj1
= 0 ;
32400 char * kwnames
[] = {
32401 (char *) "self",(char *) "style", NULL
32404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32406 if (!SWIG_IsOK(res1
)) {
32407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetWindowStyleFlag" "', expected argument " "1"" of type '" "wxWindow *""'");
32409 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32410 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32411 if (!SWIG_IsOK(ecode2
)) {
32412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetWindowStyleFlag" "', expected argument " "2"" of type '" "long""'");
32414 arg2
= static_cast< long >(val2
);
32416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32417 (arg1
)->SetWindowStyleFlag(arg2
);
32418 wxPyEndAllowThreads(__tstate
);
32419 if (PyErr_Occurred()) SWIG_fail
;
32421 resultobj
= SWIG_Py_Void();
32428 SWIGINTERN PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32429 PyObject
*resultobj
= 0;
32430 wxWindow
*arg1
= (wxWindow
*) 0 ;
32434 PyObject
*swig_obj
[1] ;
32436 if (!args
) SWIG_fail
;
32437 swig_obj
[0] = args
;
32438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32439 if (!SWIG_IsOK(res1
)) {
32440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetWindowStyleFlag" "', expected argument " "1"" of type '" "wxWindow const *""'");
32442 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32445 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
32446 wxPyEndAllowThreads(__tstate
);
32447 if (PyErr_Occurred()) SWIG_fail
;
32449 resultobj
= SWIG_From_long(static_cast< long >(result
));
32456 SWIGINTERN PyObject
*_wrap_Window_HasFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32457 PyObject
*resultobj
= 0;
32458 wxWindow
*arg1
= (wxWindow
*) 0 ;
32465 PyObject
* obj0
= 0 ;
32466 PyObject
* obj1
= 0 ;
32467 char * kwnames
[] = {
32468 (char *) "self",(char *) "flag", NULL
32471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32473 if (!SWIG_IsOK(res1
)) {
32474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HasFlag" "', expected argument " "1"" of type '" "wxWindow const *""'");
32476 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32477 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32478 if (!SWIG_IsOK(ecode2
)) {
32479 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_HasFlag" "', expected argument " "2"" of type '" "int""'");
32481 arg2
= static_cast< int >(val2
);
32483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32484 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
32485 wxPyEndAllowThreads(__tstate
);
32486 if (PyErr_Occurred()) SWIG_fail
;
32489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32497 SWIGINTERN PyObject
*_wrap_Window_IsRetained(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32498 PyObject
*resultobj
= 0;
32499 wxWindow
*arg1
= (wxWindow
*) 0 ;
32503 PyObject
*swig_obj
[1] ;
32505 if (!args
) SWIG_fail
;
32506 swig_obj
[0] = args
;
32507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32508 if (!SWIG_IsOK(res1
)) {
32509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsRetained" "', expected argument " "1"" of type '" "wxWindow const *""'");
32511 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32514 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
32515 wxPyEndAllowThreads(__tstate
);
32516 if (PyErr_Occurred()) SWIG_fail
;
32519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32527 SWIGINTERN PyObject
*_wrap_Window_SetExtraStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32528 PyObject
*resultobj
= 0;
32529 wxWindow
*arg1
= (wxWindow
*) 0 ;
32535 PyObject
* obj0
= 0 ;
32536 PyObject
* obj1
= 0 ;
32537 char * kwnames
[] = {
32538 (char *) "self",(char *) "exStyle", NULL
32541 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32542 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32543 if (!SWIG_IsOK(res1
)) {
32544 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetExtraStyle" "', expected argument " "1"" of type '" "wxWindow *""'");
32546 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32547 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
32548 if (!SWIG_IsOK(ecode2
)) {
32549 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetExtraStyle" "', expected argument " "2"" of type '" "long""'");
32551 arg2
= static_cast< long >(val2
);
32553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32554 (arg1
)->SetExtraStyle(arg2
);
32555 wxPyEndAllowThreads(__tstate
);
32556 if (PyErr_Occurred()) SWIG_fail
;
32558 resultobj
= SWIG_Py_Void();
32565 SWIGINTERN PyObject
*_wrap_Window_GetExtraStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32566 PyObject
*resultobj
= 0;
32567 wxWindow
*arg1
= (wxWindow
*) 0 ;
32571 PyObject
*swig_obj
[1] ;
32573 if (!args
) SWIG_fail
;
32574 swig_obj
[0] = args
;
32575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32576 if (!SWIG_IsOK(res1
)) {
32577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetExtraStyle" "', expected argument " "1"" of type '" "wxWindow const *""'");
32579 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32582 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
32583 wxPyEndAllowThreads(__tstate
);
32584 if (PyErr_Occurred()) SWIG_fail
;
32586 resultobj
= SWIG_From_long(static_cast< long >(result
));
32593 SWIGINTERN PyObject
*_wrap_Window_MakeModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32594 PyObject
*resultobj
= 0;
32595 wxWindow
*arg1
= (wxWindow
*) 0 ;
32596 bool arg2
= (bool) true ;
32601 PyObject
* obj0
= 0 ;
32602 PyObject
* obj1
= 0 ;
32603 char * kwnames
[] = {
32604 (char *) "self",(char *) "modal", NULL
32607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32609 if (!SWIG_IsOK(res1
)) {
32610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_MakeModal" "', expected argument " "1"" of type '" "wxWindow *""'");
32612 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32614 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
32615 if (!SWIG_IsOK(ecode2
)) {
32616 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_MakeModal" "', expected argument " "2"" of type '" "bool""'");
32618 arg2
= static_cast< bool >(val2
);
32621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32622 (arg1
)->MakeModal(arg2
);
32623 wxPyEndAllowThreads(__tstate
);
32624 if (PyErr_Occurred()) SWIG_fail
;
32626 resultobj
= SWIG_Py_Void();
32633 SWIGINTERN PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32634 PyObject
*resultobj
= 0;
32635 wxWindow
*arg1
= (wxWindow
*) 0 ;
32641 PyObject
* obj0
= 0 ;
32642 PyObject
* obj1
= 0 ;
32643 char * kwnames
[] = {
32644 (char *) "self",(char *) "enableTheme", NULL
32647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32649 if (!SWIG_IsOK(res1
)) {
32650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetThemeEnabled" "', expected argument " "1"" of type '" "wxWindow *""'");
32652 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32653 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
32654 if (!SWIG_IsOK(ecode2
)) {
32655 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetThemeEnabled" "', expected argument " "2"" of type '" "bool""'");
32657 arg2
= static_cast< bool >(val2
);
32659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32660 (arg1
)->SetThemeEnabled(arg2
);
32661 wxPyEndAllowThreads(__tstate
);
32662 if (PyErr_Occurred()) SWIG_fail
;
32664 resultobj
= SWIG_Py_Void();
32671 SWIGINTERN PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32672 PyObject
*resultobj
= 0;
32673 wxWindow
*arg1
= (wxWindow
*) 0 ;
32677 PyObject
*swig_obj
[1] ;
32679 if (!args
) SWIG_fail
;
32680 swig_obj
[0] = args
;
32681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32682 if (!SWIG_IsOK(res1
)) {
32683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetThemeEnabled" "', expected argument " "1"" of type '" "wxWindow const *""'");
32685 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32688 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
32689 wxPyEndAllowThreads(__tstate
);
32690 if (PyErr_Occurred()) SWIG_fail
;
32693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32701 SWIGINTERN PyObject
*_wrap_Window_SetFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32702 PyObject
*resultobj
= 0;
32703 wxWindow
*arg1
= (wxWindow
*) 0 ;
32706 PyObject
*swig_obj
[1] ;
32708 if (!args
) SWIG_fail
;
32709 swig_obj
[0] = args
;
32710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32711 if (!SWIG_IsOK(res1
)) {
32712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetFocus" "', expected argument " "1"" of type '" "wxWindow *""'");
32714 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32717 (arg1
)->SetFocus();
32718 wxPyEndAllowThreads(__tstate
);
32719 if (PyErr_Occurred()) SWIG_fail
;
32721 resultobj
= SWIG_Py_Void();
32728 SWIGINTERN PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32729 PyObject
*resultobj
= 0;
32730 wxWindow
*arg1
= (wxWindow
*) 0 ;
32733 PyObject
*swig_obj
[1] ;
32735 if (!args
) SWIG_fail
;
32736 swig_obj
[0] = args
;
32737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32738 if (!SWIG_IsOK(res1
)) {
32739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetFocusFromKbd" "', expected argument " "1"" of type '" "wxWindow *""'");
32741 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32744 (arg1
)->SetFocusFromKbd();
32745 wxPyEndAllowThreads(__tstate
);
32746 if (PyErr_Occurred()) SWIG_fail
;
32748 resultobj
= SWIG_Py_Void();
32755 SWIGINTERN PyObject
*_wrap_Window_FindFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32756 PyObject
*resultobj
= 0;
32757 wxWindow
*result
= 0 ;
32759 if (!SWIG_Python_UnpackTuple(args
,"Window_FindFocus",0,0,0)) SWIG_fail
;
32761 if (!wxPyCheckForApp()) SWIG_fail
;
32762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32763 result
= (wxWindow
*)wxWindow::FindFocus();
32764 wxPyEndAllowThreads(__tstate
);
32765 if (PyErr_Occurred()) SWIG_fail
;
32768 resultobj
= wxPyMake_wxObject(result
, 0);
32776 SWIGINTERN PyObject
*_wrap_Window_AcceptsFocus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32777 PyObject
*resultobj
= 0;
32778 wxWindow
*arg1
= (wxWindow
*) 0 ;
32782 PyObject
*swig_obj
[1] ;
32784 if (!args
) SWIG_fail
;
32785 swig_obj
[0] = args
;
32786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32787 if (!SWIG_IsOK(res1
)) {
32788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_AcceptsFocus" "', expected argument " "1"" of type '" "wxWindow const *""'");
32790 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32793 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
32794 wxPyEndAllowThreads(__tstate
);
32795 if (PyErr_Occurred()) SWIG_fail
;
32798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32806 SWIGINTERN PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32807 PyObject
*resultobj
= 0;
32808 wxWindow
*arg1
= (wxWindow
*) 0 ;
32812 PyObject
*swig_obj
[1] ;
32814 if (!args
) SWIG_fail
;
32815 swig_obj
[0] = args
;
32816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32817 if (!SWIG_IsOK(res1
)) {
32818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_AcceptsFocusFromKeyboard" "', expected argument " "1"" of type '" "wxWindow const *""'");
32820 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32823 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
32824 wxPyEndAllowThreads(__tstate
);
32825 if (PyErr_Occurred()) SWIG_fail
;
32828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32836 SWIGINTERN PyObject
*_wrap_Window_GetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
32837 PyObject
*resultobj
= 0;
32838 wxWindow
*arg1
= (wxWindow
*) 0 ;
32839 wxWindow
*result
= 0 ;
32842 PyObject
*swig_obj
[1] ;
32844 if (!args
) SWIG_fail
;
32845 swig_obj
[0] = args
;
32846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32847 if (!SWIG_IsOK(res1
)) {
32848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetDefaultItem" "', expected argument " "1"" of type '" "wxWindow const *""'");
32850 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32853 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
32854 wxPyEndAllowThreads(__tstate
);
32855 if (PyErr_Occurred()) SWIG_fail
;
32858 resultobj
= wxPyMake_wxObject(result
, 0);
32866 SWIGINTERN PyObject
*_wrap_Window_SetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32867 PyObject
*resultobj
= 0;
32868 wxWindow
*arg1
= (wxWindow
*) 0 ;
32869 wxWindow
*arg2
= (wxWindow
*) 0 ;
32870 wxWindow
*result
= 0 ;
32875 PyObject
* obj0
= 0 ;
32876 PyObject
* obj1
= 0 ;
32877 char * kwnames
[] = {
32878 (char *) "self",(char *) "child", NULL
32881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32883 if (!SWIG_IsOK(res1
)) {
32884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetDefaultItem" "', expected argument " "1"" of type '" "wxWindow *""'");
32886 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32887 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32888 if (!SWIG_IsOK(res2
)) {
32889 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
32891 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32894 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
32895 wxPyEndAllowThreads(__tstate
);
32896 if (PyErr_Occurred()) SWIG_fail
;
32899 resultobj
= wxPyMake_wxObject(result
, 0);
32907 SWIGINTERN PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32908 PyObject
*resultobj
= 0;
32909 wxWindow
*arg1
= (wxWindow
*) 0 ;
32910 wxWindow
*arg2
= (wxWindow
*) 0 ;
32915 PyObject
* obj0
= 0 ;
32916 PyObject
* obj1
= 0 ;
32917 char * kwnames
[] = {
32918 (char *) "self",(char *) "win", NULL
32921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32923 if (!SWIG_IsOK(res1
)) {
32924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxWindow *""'");
32926 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32927 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32928 if (!SWIG_IsOK(res2
)) {
32929 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
32931 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
32933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32934 (arg1
)->SetTmpDefaultItem(arg2
);
32935 wxPyEndAllowThreads(__tstate
);
32936 if (PyErr_Occurred()) SWIG_fail
;
32938 resultobj
= SWIG_Py_Void();
32945 SWIGINTERN PyObject
*_wrap_Window_Navigate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32946 PyObject
*resultobj
= 0;
32947 wxWindow
*arg1
= (wxWindow
*) 0 ;
32948 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
32954 PyObject
* obj0
= 0 ;
32955 PyObject
* obj1
= 0 ;
32956 char * kwnames
[] = {
32957 (char *) "self",(char *) "flags", NULL
32960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
32961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
32962 if (!SWIG_IsOK(res1
)) {
32963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Navigate" "', expected argument " "1"" of type '" "wxWindow *""'");
32965 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
32967 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
32968 if (!SWIG_IsOK(ecode2
)) {
32969 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Navigate" "', expected argument " "2"" of type '" "int""'");
32971 arg2
= static_cast< int >(val2
);
32974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32975 result
= (bool)(arg1
)->Navigate(arg2
);
32976 wxPyEndAllowThreads(__tstate
);
32977 if (PyErr_Occurred()) SWIG_fail
;
32980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32988 SWIGINTERN PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
32989 PyObject
*resultobj
= 0;
32990 wxWindow
*arg1
= (wxWindow
*) 0 ;
32991 wxWindow
*arg2
= (wxWindow
*) 0 ;
32996 PyObject
* obj0
= 0 ;
32997 PyObject
* obj1
= 0 ;
32998 char * kwnames
[] = {
32999 (char *) "self",(char *) "win", NULL
33002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33004 if (!SWIG_IsOK(res1
)) {
33005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_MoveAfterInTabOrder" "', expected argument " "1"" of type '" "wxWindow *""'");
33007 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33008 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33009 if (!SWIG_IsOK(res2
)) {
33010 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_MoveAfterInTabOrder" "', expected argument " "2"" of type '" "wxWindow *""'");
33012 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33015 (arg1
)->MoveAfterInTabOrder(arg2
);
33016 wxPyEndAllowThreads(__tstate
);
33017 if (PyErr_Occurred()) SWIG_fail
;
33019 resultobj
= SWIG_Py_Void();
33026 SWIGINTERN PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33027 PyObject
*resultobj
= 0;
33028 wxWindow
*arg1
= (wxWindow
*) 0 ;
33029 wxWindow
*arg2
= (wxWindow
*) 0 ;
33034 PyObject
* obj0
= 0 ;
33035 PyObject
* obj1
= 0 ;
33036 char * kwnames
[] = {
33037 (char *) "self",(char *) "win", NULL
33040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33042 if (!SWIG_IsOK(res1
)) {
33043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_MoveBeforeInTabOrder" "', expected argument " "1"" of type '" "wxWindow *""'");
33045 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33046 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33047 if (!SWIG_IsOK(res2
)) {
33048 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_MoveBeforeInTabOrder" "', expected argument " "2"" of type '" "wxWindow *""'");
33050 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33053 (arg1
)->MoveBeforeInTabOrder(arg2
);
33054 wxPyEndAllowThreads(__tstate
);
33055 if (PyErr_Occurred()) SWIG_fail
;
33057 resultobj
= SWIG_Py_Void();
33064 SWIGINTERN PyObject
*_wrap_Window_GetChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33065 PyObject
*resultobj
= 0;
33066 wxWindow
*arg1
= (wxWindow
*) 0 ;
33067 PyObject
*result
= 0 ;
33070 PyObject
*swig_obj
[1] ;
33072 if (!args
) SWIG_fail
;
33073 swig_obj
[0] = args
;
33074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33075 if (!SWIG_IsOK(res1
)) {
33076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetChildren" "', expected argument " "1"" of type '" "wxWindow *""'");
33078 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33081 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
33082 wxPyEndAllowThreads(__tstate
);
33083 if (PyErr_Occurred()) SWIG_fail
;
33085 resultobj
= result
;
33092 SWIGINTERN PyObject
*_wrap_Window_GetParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33093 PyObject
*resultobj
= 0;
33094 wxWindow
*arg1
= (wxWindow
*) 0 ;
33095 wxWindow
*result
= 0 ;
33098 PyObject
*swig_obj
[1] ;
33100 if (!args
) SWIG_fail
;
33101 swig_obj
[0] = args
;
33102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33103 if (!SWIG_IsOK(res1
)) {
33104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetParent" "', expected argument " "1"" of type '" "wxWindow const *""'");
33106 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33109 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
33110 wxPyEndAllowThreads(__tstate
);
33111 if (PyErr_Occurred()) SWIG_fail
;
33114 resultobj
= wxPyMake_wxObject(result
, 0);
33122 SWIGINTERN PyObject
*_wrap_Window_GetGrandParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33123 PyObject
*resultobj
= 0;
33124 wxWindow
*arg1
= (wxWindow
*) 0 ;
33125 wxWindow
*result
= 0 ;
33128 PyObject
*swig_obj
[1] ;
33130 if (!args
) SWIG_fail
;
33131 swig_obj
[0] = args
;
33132 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33133 if (!SWIG_IsOK(res1
)) {
33134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetGrandParent" "', expected argument " "1"" of type '" "wxWindow const *""'");
33136 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33139 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
33140 wxPyEndAllowThreads(__tstate
);
33141 if (PyErr_Occurred()) SWIG_fail
;
33144 resultobj
= wxPyMake_wxObject(result
, 0);
33152 SWIGINTERN PyObject
*_wrap_Window_IsTopLevel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33153 PyObject
*resultobj
= 0;
33154 wxWindow
*arg1
= (wxWindow
*) 0 ;
33158 PyObject
*swig_obj
[1] ;
33160 if (!args
) SWIG_fail
;
33161 swig_obj
[0] = args
;
33162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33163 if (!SWIG_IsOK(res1
)) {
33164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsTopLevel" "', expected argument " "1"" of type '" "wxWindow const *""'");
33166 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33169 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
33170 wxPyEndAllowThreads(__tstate
);
33171 if (PyErr_Occurred()) SWIG_fail
;
33174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33182 SWIGINTERN PyObject
*_wrap_Window_Reparent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33183 PyObject
*resultobj
= 0;
33184 wxWindow
*arg1
= (wxWindow
*) 0 ;
33185 wxWindow
*arg2
= (wxWindow
*) 0 ;
33191 PyObject
* obj0
= 0 ;
33192 PyObject
* obj1
= 0 ;
33193 char * kwnames
[] = {
33194 (char *) "self",(char *) "newParent", NULL
33197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33199 if (!SWIG_IsOK(res1
)) {
33200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Reparent" "', expected argument " "1"" of type '" "wxWindow *""'");
33202 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33203 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33204 if (!SWIG_IsOK(res2
)) {
33205 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_Reparent" "', expected argument " "2"" of type '" "wxWindow *""'");
33207 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33210 result
= (bool)(arg1
)->Reparent(arg2
);
33211 wxPyEndAllowThreads(__tstate
);
33212 if (PyErr_Occurred()) SWIG_fail
;
33215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33223 SWIGINTERN PyObject
*_wrap_Window_AddChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33224 PyObject
*resultobj
= 0;
33225 wxWindow
*arg1
= (wxWindow
*) 0 ;
33226 wxWindow
*arg2
= (wxWindow
*) 0 ;
33231 PyObject
* obj0
= 0 ;
33232 PyObject
* obj1
= 0 ;
33233 char * kwnames
[] = {
33234 (char *) "self",(char *) "child", NULL
33237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33239 if (!SWIG_IsOK(res1
)) {
33240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_AddChild" "', expected argument " "1"" of type '" "wxWindow *""'");
33242 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33243 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33244 if (!SWIG_IsOK(res2
)) {
33245 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_AddChild" "', expected argument " "2"" of type '" "wxWindow *""'");
33247 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33250 (arg1
)->AddChild(arg2
);
33251 wxPyEndAllowThreads(__tstate
);
33252 if (PyErr_Occurred()) SWIG_fail
;
33254 resultobj
= SWIG_Py_Void();
33261 SWIGINTERN PyObject
*_wrap_Window_RemoveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33262 PyObject
*resultobj
= 0;
33263 wxWindow
*arg1
= (wxWindow
*) 0 ;
33264 wxWindow
*arg2
= (wxWindow
*) 0 ;
33269 PyObject
* obj0
= 0 ;
33270 PyObject
* obj1
= 0 ;
33271 char * kwnames
[] = {
33272 (char *) "self",(char *) "child", NULL
33275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33277 if (!SWIG_IsOK(res1
)) {
33278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_RemoveChild" "', expected argument " "1"" of type '" "wxWindow *""'");
33280 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33281 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33282 if (!SWIG_IsOK(res2
)) {
33283 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_RemoveChild" "', expected argument " "2"" of type '" "wxWindow *""'");
33285 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
33287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33288 (arg1
)->RemoveChild(arg2
);
33289 wxPyEndAllowThreads(__tstate
);
33290 if (PyErr_Occurred()) SWIG_fail
;
33292 resultobj
= SWIG_Py_Void();
33299 SWIGINTERN PyObject
*_wrap_Window_SetDoubleBuffered(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33300 PyObject
*resultobj
= 0;
33301 wxWindow
*arg1
= (wxWindow
*) 0 ;
33307 PyObject
* obj0
= 0 ;
33308 PyObject
* obj1
= 0 ;
33309 char * kwnames
[] = {
33310 (char *) "self",(char *) "on", NULL
33313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDoubleBuffered",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33315 if (!SWIG_IsOK(res1
)) {
33316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetDoubleBuffered" "', expected argument " "1"" of type '" "wxWindow *""'");
33318 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33319 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33320 if (!SWIG_IsOK(ecode2
)) {
33321 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetDoubleBuffered" "', expected argument " "2"" of type '" "bool""'");
33323 arg2
= static_cast< bool >(val2
);
33325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33326 (arg1
)->SetDoubleBuffered(arg2
);
33327 wxPyEndAllowThreads(__tstate
);
33328 if (PyErr_Occurred()) SWIG_fail
;
33330 resultobj
= SWIG_Py_Void();
33337 SWIGINTERN PyObject
*_wrap_Window_FindWindowById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33338 PyObject
*resultobj
= 0;
33339 wxWindow
*arg1
= (wxWindow
*) 0 ;
33341 wxWindow
*result
= 0 ;
33346 PyObject
* obj0
= 0 ;
33347 PyObject
* obj1
= 0 ;
33348 char * kwnames
[] = {
33349 (char *) "self",(char *) "winid", NULL
33352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33354 if (!SWIG_IsOK(res1
)) {
33355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_FindWindowById" "', expected argument " "1"" of type '" "wxWindow *""'");
33357 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33358 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
33359 if (!SWIG_IsOK(ecode2
)) {
33360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_FindWindowById" "', expected argument " "2"" of type '" "long""'");
33362 arg2
= static_cast< long >(val2
);
33364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33365 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
33366 wxPyEndAllowThreads(__tstate
);
33367 if (PyErr_Occurred()) SWIG_fail
;
33370 resultobj
= wxPyMake_wxObject(result
, 0);
33378 SWIGINTERN PyObject
*_wrap_Window_FindWindowByName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33379 PyObject
*resultobj
= 0;
33380 wxWindow
*arg1
= (wxWindow
*) 0 ;
33381 wxString
*arg2
= 0 ;
33382 wxWindow
*result
= 0 ;
33385 bool temp2
= false ;
33386 PyObject
* obj0
= 0 ;
33387 PyObject
* obj1
= 0 ;
33388 char * kwnames
[] = {
33389 (char *) "self",(char *) "name", NULL
33392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33394 if (!SWIG_IsOK(res1
)) {
33395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_FindWindowByName" "', expected argument " "1"" of type '" "wxWindow *""'");
33397 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33399 arg2
= wxString_in_helper(obj1
);
33400 if (arg2
== NULL
) SWIG_fail
;
33404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33405 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
33406 wxPyEndAllowThreads(__tstate
);
33407 if (PyErr_Occurred()) SWIG_fail
;
33410 resultobj
= wxPyMake_wxObject(result
, 0);
33426 SWIGINTERN PyObject
*_wrap_Window_GetEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33427 PyObject
*resultobj
= 0;
33428 wxWindow
*arg1
= (wxWindow
*) 0 ;
33429 wxEvtHandler
*result
= 0 ;
33432 PyObject
*swig_obj
[1] ;
33434 if (!args
) SWIG_fail
;
33435 swig_obj
[0] = args
;
33436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33437 if (!SWIG_IsOK(res1
)) {
33438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetEventHandler" "', expected argument " "1"" of type '" "wxWindow const *""'");
33440 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33443 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
33444 wxPyEndAllowThreads(__tstate
);
33445 if (PyErr_Occurred()) SWIG_fail
;
33448 resultobj
= wxPyMake_wxObject(result
, 0);
33456 SWIGINTERN PyObject
*_wrap_Window_SetEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33457 PyObject
*resultobj
= 0;
33458 wxWindow
*arg1
= (wxWindow
*) 0 ;
33459 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
33464 PyObject
* obj0
= 0 ;
33465 PyObject
* obj1
= 0 ;
33466 char * kwnames
[] = {
33467 (char *) "self",(char *) "handler", NULL
33470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33472 if (!SWIG_IsOK(res1
)) {
33473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetEventHandler" "', expected argument " "1"" of type '" "wxWindow *""'");
33475 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33476 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
33477 if (!SWIG_IsOK(res2
)) {
33478 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetEventHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
33480 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
33482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33483 (arg1
)->SetEventHandler(arg2
);
33484 wxPyEndAllowThreads(__tstate
);
33485 if (PyErr_Occurred()) SWIG_fail
;
33487 resultobj
= SWIG_Py_Void();
33494 SWIGINTERN PyObject
*_wrap_Window_PushEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33495 PyObject
*resultobj
= 0;
33496 wxWindow
*arg1
= (wxWindow
*) 0 ;
33497 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
33502 PyObject
* obj0
= 0 ;
33503 PyObject
* obj1
= 0 ;
33504 char * kwnames
[] = {
33505 (char *) "self",(char *) "handler", NULL
33508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33510 if (!SWIG_IsOK(res1
)) {
33511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PushEventHandler" "', expected argument " "1"" of type '" "wxWindow *""'");
33513 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33514 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
33515 if (!SWIG_IsOK(res2
)) {
33516 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_PushEventHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
33518 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
33520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33521 (arg1
)->PushEventHandler(arg2
);
33522 wxPyEndAllowThreads(__tstate
);
33523 if (PyErr_Occurred()) SWIG_fail
;
33525 resultobj
= SWIG_Py_Void();
33532 SWIGINTERN PyObject
*_wrap_Window_PopEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33533 PyObject
*resultobj
= 0;
33534 wxWindow
*arg1
= (wxWindow
*) 0 ;
33535 bool arg2
= (bool) false ;
33536 wxEvtHandler
*result
= 0 ;
33541 PyObject
* obj0
= 0 ;
33542 PyObject
* obj1
= 0 ;
33543 char * kwnames
[] = {
33544 (char *) "self",(char *) "deleteHandler", NULL
33547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33549 if (!SWIG_IsOK(res1
)) {
33550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PopEventHandler" "', expected argument " "1"" of type '" "wxWindow *""'");
33552 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33554 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
33555 if (!SWIG_IsOK(ecode2
)) {
33556 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_PopEventHandler" "', expected argument " "2"" of type '" "bool""'");
33558 arg2
= static_cast< bool >(val2
);
33561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33562 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
33563 wxPyEndAllowThreads(__tstate
);
33564 if (PyErr_Occurred()) SWIG_fail
;
33567 resultobj
= wxPyMake_wxObject(result
, 0);
33575 SWIGINTERN PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33576 PyObject
*resultobj
= 0;
33577 wxWindow
*arg1
= (wxWindow
*) 0 ;
33578 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
33584 PyObject
* obj0
= 0 ;
33585 PyObject
* obj1
= 0 ;
33586 char * kwnames
[] = {
33587 (char *) "self",(char *) "handler", NULL
33590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33592 if (!SWIG_IsOK(res1
)) {
33593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_RemoveEventHandler" "', expected argument " "1"" of type '" "wxWindow *""'");
33595 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33596 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
33597 if (!SWIG_IsOK(res2
)) {
33598 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_RemoveEventHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
33600 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
33602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33603 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
33604 wxPyEndAllowThreads(__tstate
);
33605 if (PyErr_Occurred()) SWIG_fail
;
33608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33616 SWIGINTERN PyObject
*_wrap_Window_SetValidator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33617 PyObject
*resultobj
= 0;
33618 wxWindow
*arg1
= (wxWindow
*) 0 ;
33619 wxValidator
*arg2
= 0 ;
33624 PyObject
* obj0
= 0 ;
33625 PyObject
* obj1
= 0 ;
33626 char * kwnames
[] = {
33627 (char *) "self",(char *) "validator", NULL
33630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33632 if (!SWIG_IsOK(res1
)) {
33633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetValidator" "', expected argument " "1"" of type '" "wxWindow *""'");
33635 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33636 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxValidator
, 0 | 0);
33637 if (!SWIG_IsOK(res2
)) {
33638 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetValidator" "', expected argument " "2"" of type '" "wxValidator const &""'");
33641 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_SetValidator" "', expected argument " "2"" of type '" "wxValidator const &""'");
33643 arg2
= reinterpret_cast< wxValidator
* >(argp2
);
33645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33646 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
33647 wxPyEndAllowThreads(__tstate
);
33648 if (PyErr_Occurred()) SWIG_fail
;
33650 resultobj
= SWIG_Py_Void();
33657 SWIGINTERN PyObject
*_wrap_Window_GetValidator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33658 PyObject
*resultobj
= 0;
33659 wxWindow
*arg1
= (wxWindow
*) 0 ;
33660 wxValidator
*result
= 0 ;
33663 PyObject
*swig_obj
[1] ;
33665 if (!args
) SWIG_fail
;
33666 swig_obj
[0] = args
;
33667 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33668 if (!SWIG_IsOK(res1
)) {
33669 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetValidator" "', expected argument " "1"" of type '" "wxWindow *""'");
33671 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33674 result
= (wxValidator
*)(arg1
)->GetValidator();
33675 wxPyEndAllowThreads(__tstate
);
33676 if (PyErr_Occurred()) SWIG_fail
;
33679 resultobj
= wxPyMake_wxObject(result
, (bool)0);
33687 SWIGINTERN PyObject
*_wrap_Window_Validate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33688 PyObject
*resultobj
= 0;
33689 wxWindow
*arg1
= (wxWindow
*) 0 ;
33693 PyObject
*swig_obj
[1] ;
33695 if (!args
) SWIG_fail
;
33696 swig_obj
[0] = args
;
33697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33698 if (!SWIG_IsOK(res1
)) {
33699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Validate" "', expected argument " "1"" of type '" "wxWindow *""'");
33701 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33704 result
= (bool)(arg1
)->Validate();
33705 wxPyEndAllowThreads(__tstate
);
33706 if (PyErr_Occurred()) SWIG_fail
;
33709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33717 SWIGINTERN PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33718 PyObject
*resultobj
= 0;
33719 wxWindow
*arg1
= (wxWindow
*) 0 ;
33723 PyObject
*swig_obj
[1] ;
33725 if (!args
) SWIG_fail
;
33726 swig_obj
[0] = args
;
33727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33728 if (!SWIG_IsOK(res1
)) {
33729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_TransferDataToWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
33731 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33734 result
= (bool)(arg1
)->TransferDataToWindow();
33735 wxPyEndAllowThreads(__tstate
);
33736 if (PyErr_Occurred()) SWIG_fail
;
33739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33747 SWIGINTERN PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33748 PyObject
*resultobj
= 0;
33749 wxWindow
*arg1
= (wxWindow
*) 0 ;
33753 PyObject
*swig_obj
[1] ;
33755 if (!args
) SWIG_fail
;
33756 swig_obj
[0] = args
;
33757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33758 if (!SWIG_IsOK(res1
)) {
33759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_TransferDataFromWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
33761 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33764 result
= (bool)(arg1
)->TransferDataFromWindow();
33765 wxPyEndAllowThreads(__tstate
);
33766 if (PyErr_Occurred()) SWIG_fail
;
33769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33777 SWIGINTERN PyObject
*_wrap_Window_InitDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33778 PyObject
*resultobj
= 0;
33779 wxWindow
*arg1
= (wxWindow
*) 0 ;
33782 PyObject
*swig_obj
[1] ;
33784 if (!args
) SWIG_fail
;
33785 swig_obj
[0] = args
;
33786 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33787 if (!SWIG_IsOK(res1
)) {
33788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_InitDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
33790 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33793 (arg1
)->InitDialog();
33794 wxPyEndAllowThreads(__tstate
);
33795 if (PyErr_Occurred()) SWIG_fail
;
33797 resultobj
= SWIG_Py_Void();
33804 SWIGINTERN PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33805 PyObject
*resultobj
= 0;
33806 wxWindow
*arg1
= (wxWindow
*) 0 ;
33807 wxAcceleratorTable
*arg2
= 0 ;
33812 PyObject
* obj0
= 0 ;
33813 PyObject
* obj1
= 0 ;
33814 char * kwnames
[] = {
33815 (char *) "self",(char *) "accel", NULL
33818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33820 if (!SWIG_IsOK(res1
)) {
33821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetAcceleratorTable" "', expected argument " "1"" of type '" "wxWindow *""'");
33823 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33824 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxAcceleratorTable
, 0 | 0);
33825 if (!SWIG_IsOK(res2
)) {
33826 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetAcceleratorTable" "', expected argument " "2"" of type '" "wxAcceleratorTable const &""'");
33829 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_SetAcceleratorTable" "', expected argument " "2"" of type '" "wxAcceleratorTable const &""'");
33831 arg2
= reinterpret_cast< wxAcceleratorTable
* >(argp2
);
33833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33834 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
33835 wxPyEndAllowThreads(__tstate
);
33836 if (PyErr_Occurred()) SWIG_fail
;
33838 resultobj
= SWIG_Py_Void();
33845 SWIGINTERN PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
33846 PyObject
*resultobj
= 0;
33847 wxWindow
*arg1
= (wxWindow
*) 0 ;
33848 wxAcceleratorTable
*result
= 0 ;
33851 PyObject
*swig_obj
[1] ;
33853 if (!args
) SWIG_fail
;
33854 swig_obj
[0] = args
;
33855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33856 if (!SWIG_IsOK(res1
)) {
33857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetAcceleratorTable" "', expected argument " "1"" of type '" "wxWindow *""'");
33859 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33862 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
33863 wxPyEndAllowThreads(__tstate
);
33864 if (PyErr_Occurred()) SWIG_fail
;
33866 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorTable
, 0 | 0 );
33873 SWIGINTERN PyObject
*_wrap_Window_RegisterHotKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33874 PyObject
*resultobj
= 0;
33875 wxWindow
*arg1
= (wxWindow
*) 0 ;
33888 PyObject
* obj0
= 0 ;
33889 PyObject
* obj1
= 0 ;
33890 PyObject
* obj2
= 0 ;
33891 PyObject
* obj3
= 0 ;
33892 char * kwnames
[] = {
33893 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
33896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
33897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33898 if (!SWIG_IsOK(res1
)) {
33899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_RegisterHotKey" "', expected argument " "1"" of type '" "wxWindow *""'");
33901 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33902 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33903 if (!SWIG_IsOK(ecode2
)) {
33904 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_RegisterHotKey" "', expected argument " "2"" of type '" "int""'");
33906 arg2
= static_cast< int >(val2
);
33907 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
33908 if (!SWIG_IsOK(ecode3
)) {
33909 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_RegisterHotKey" "', expected argument " "3"" of type '" "int""'");
33911 arg3
= static_cast< int >(val3
);
33912 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
33913 if (!SWIG_IsOK(ecode4
)) {
33914 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_RegisterHotKey" "', expected argument " "4"" of type '" "int""'");
33916 arg4
= static_cast< int >(val4
);
33918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33919 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
33920 wxPyEndAllowThreads(__tstate
);
33921 if (PyErr_Occurred()) SWIG_fail
;
33924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33932 SWIGINTERN PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33933 PyObject
*resultobj
= 0;
33934 wxWindow
*arg1
= (wxWindow
*) 0 ;
33941 PyObject
* obj0
= 0 ;
33942 PyObject
* obj1
= 0 ;
33943 char * kwnames
[] = {
33944 (char *) "self",(char *) "hotkeyId", NULL
33947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33949 if (!SWIG_IsOK(res1
)) {
33950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_UnregisterHotKey" "', expected argument " "1"" of type '" "wxWindow *""'");
33952 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33953 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
33954 if (!SWIG_IsOK(ecode2
)) {
33955 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_UnregisterHotKey" "', expected argument " "2"" of type '" "int""'");
33957 arg2
= static_cast< int >(val2
);
33959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33960 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
33961 wxPyEndAllowThreads(__tstate
);
33962 if (PyErr_Occurred()) SWIG_fail
;
33965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33973 SWIGINTERN PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
33974 PyObject
*resultobj
= 0;
33975 wxWindow
*arg1
= (wxWindow
*) 0 ;
33976 wxPoint
*arg2
= 0 ;
33981 PyObject
* obj0
= 0 ;
33982 PyObject
* obj1
= 0 ;
33983 char * kwnames
[] = {
33984 (char *) "self",(char *) "pt", NULL
33987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
33988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
33989 if (!SWIG_IsOK(res1
)) {
33990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ConvertDialogPointToPixels" "', expected argument " "1"" of type '" "wxWindow *""'");
33992 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
33995 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33999 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
34000 wxPyEndAllowThreads(__tstate
);
34001 if (PyErr_Occurred()) SWIG_fail
;
34003 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
34010 SWIGINTERN PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34011 PyObject
*resultobj
= 0;
34012 wxWindow
*arg1
= (wxWindow
*) 0 ;
34018 PyObject
* obj0
= 0 ;
34019 PyObject
* obj1
= 0 ;
34020 char * kwnames
[] = {
34021 (char *) "self",(char *) "sz", NULL
34024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34026 if (!SWIG_IsOK(res1
)) {
34027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ConvertDialogSizeToPixels" "', expected argument " "1"" of type '" "wxWindow *""'");
34029 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34032 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
34035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34036 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
34037 wxPyEndAllowThreads(__tstate
);
34038 if (PyErr_Occurred()) SWIG_fail
;
34040 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
34047 SWIGINTERN PyObject
*_wrap_Window_DLG_PNT(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34048 PyObject
*resultobj
= 0;
34049 wxWindow
*arg1
= (wxWindow
*) 0 ;
34050 wxPoint
*arg2
= 0 ;
34055 PyObject
* obj0
= 0 ;
34056 PyObject
* obj1
= 0 ;
34057 char * kwnames
[] = {
34058 (char *) "self",(char *) "pt", NULL
34061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34063 if (!SWIG_IsOK(res1
)) {
34064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_DLG_PNT" "', expected argument " "1"" of type '" "wxWindow *""'");
34066 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34069 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34073 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
34074 wxPyEndAllowThreads(__tstate
);
34075 if (PyErr_Occurred()) SWIG_fail
;
34077 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
34084 SWIGINTERN PyObject
*_wrap_Window_DLG_SZE(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34085 PyObject
*resultobj
= 0;
34086 wxWindow
*arg1
= (wxWindow
*) 0 ;
34092 PyObject
* obj0
= 0 ;
34093 PyObject
* obj1
= 0 ;
34094 char * kwnames
[] = {
34095 (char *) "self",(char *) "sz", NULL
34098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34100 if (!SWIG_IsOK(res1
)) {
34101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_DLG_SZE" "', expected argument " "1"" of type '" "wxWindow *""'");
34103 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34106 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
34109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34110 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
34111 wxPyEndAllowThreads(__tstate
);
34112 if (PyErr_Occurred()) SWIG_fail
;
34114 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
34121 SWIGINTERN PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34122 PyObject
*resultobj
= 0;
34123 wxWindow
*arg1
= (wxWindow
*) 0 ;
34124 wxPoint
*arg2
= 0 ;
34129 PyObject
* obj0
= 0 ;
34130 PyObject
* obj1
= 0 ;
34131 char * kwnames
[] = {
34132 (char *) "self",(char *) "pt", NULL
34135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34137 if (!SWIG_IsOK(res1
)) {
34138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ConvertPixelPointToDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
34140 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34143 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34147 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
34148 wxPyEndAllowThreads(__tstate
);
34149 if (PyErr_Occurred()) SWIG_fail
;
34151 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
34158 SWIGINTERN PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34159 PyObject
*resultobj
= 0;
34160 wxWindow
*arg1
= (wxWindow
*) 0 ;
34166 PyObject
* obj0
= 0 ;
34167 PyObject
* obj1
= 0 ;
34168 char * kwnames
[] = {
34169 (char *) "self",(char *) "sz", NULL
34172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34174 if (!SWIG_IsOK(res1
)) {
34175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ConvertPixelSizeToDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
34177 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34180 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
34183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34184 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
34185 wxPyEndAllowThreads(__tstate
);
34186 if (PyErr_Occurred()) SWIG_fail
;
34188 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
34195 SWIGINTERN PyObject
*_wrap_Window_WarpPointer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34196 PyObject
*resultobj
= 0;
34197 wxWindow
*arg1
= (wxWindow
*) 0 ;
34206 PyObject
* obj0
= 0 ;
34207 PyObject
* obj1
= 0 ;
34208 PyObject
* obj2
= 0 ;
34209 char * kwnames
[] = {
34210 (char *) "self",(char *) "x",(char *) "y", NULL
34213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34215 if (!SWIG_IsOK(res1
)) {
34216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_WarpPointer" "', expected argument " "1"" of type '" "wxWindow *""'");
34218 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34219 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34220 if (!SWIG_IsOK(ecode2
)) {
34221 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_WarpPointer" "', expected argument " "2"" of type '" "int""'");
34223 arg2
= static_cast< int >(val2
);
34224 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34225 if (!SWIG_IsOK(ecode3
)) {
34226 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_WarpPointer" "', expected argument " "3"" of type '" "int""'");
34228 arg3
= static_cast< int >(val3
);
34230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34231 (arg1
)->WarpPointer(arg2
,arg3
);
34232 wxPyEndAllowThreads(__tstate
);
34233 if (PyErr_Occurred()) SWIG_fail
;
34235 resultobj
= SWIG_Py_Void();
34242 SWIGINTERN PyObject
*_wrap_Window_CaptureMouse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34243 PyObject
*resultobj
= 0;
34244 wxWindow
*arg1
= (wxWindow
*) 0 ;
34247 PyObject
*swig_obj
[1] ;
34249 if (!args
) SWIG_fail
;
34250 swig_obj
[0] = args
;
34251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34252 if (!SWIG_IsOK(res1
)) {
34253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_CaptureMouse" "', expected argument " "1"" of type '" "wxWindow *""'");
34255 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34258 (arg1
)->CaptureMouse();
34259 wxPyEndAllowThreads(__tstate
);
34260 if (PyErr_Occurred()) SWIG_fail
;
34262 resultobj
= SWIG_Py_Void();
34269 SWIGINTERN PyObject
*_wrap_Window_ReleaseMouse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34270 PyObject
*resultobj
= 0;
34271 wxWindow
*arg1
= (wxWindow
*) 0 ;
34274 PyObject
*swig_obj
[1] ;
34276 if (!args
) SWIG_fail
;
34277 swig_obj
[0] = args
;
34278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34279 if (!SWIG_IsOK(res1
)) {
34280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ReleaseMouse" "', expected argument " "1"" of type '" "wxWindow *""'");
34282 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34285 (arg1
)->ReleaseMouse();
34286 wxPyEndAllowThreads(__tstate
);
34287 if (PyErr_Occurred()) SWIG_fail
;
34289 resultobj
= SWIG_Py_Void();
34296 SWIGINTERN PyObject
*_wrap_Window_GetCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34297 PyObject
*resultobj
= 0;
34298 wxWindow
*result
= 0 ;
34300 if (!SWIG_Python_UnpackTuple(args
,"Window_GetCapture",0,0,0)) SWIG_fail
;
34302 if (!wxPyCheckForApp()) SWIG_fail
;
34303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34304 result
= (wxWindow
*)wxWindow::GetCapture();
34305 wxPyEndAllowThreads(__tstate
);
34306 if (PyErr_Occurred()) SWIG_fail
;
34309 resultobj
= wxPyMake_wxObject(result
, 0);
34317 SWIGINTERN PyObject
*_wrap_Window_HasCapture(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34318 PyObject
*resultobj
= 0;
34319 wxWindow
*arg1
= (wxWindow
*) 0 ;
34323 PyObject
*swig_obj
[1] ;
34325 if (!args
) SWIG_fail
;
34326 swig_obj
[0] = args
;
34327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34328 if (!SWIG_IsOK(res1
)) {
34329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HasCapture" "', expected argument " "1"" of type '" "wxWindow const *""'");
34331 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34334 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
34335 wxPyEndAllowThreads(__tstate
);
34336 if (PyErr_Occurred()) SWIG_fail
;
34339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34347 SWIGINTERN PyObject
*_wrap_Window_Refresh(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34348 PyObject
*resultobj
= 0;
34349 wxWindow
*arg1
= (wxWindow
*) 0 ;
34350 bool arg2
= (bool) true ;
34351 wxRect
*arg3
= (wxRect
*) NULL
;
34358 PyObject
* obj0
= 0 ;
34359 PyObject
* obj1
= 0 ;
34360 PyObject
* obj2
= 0 ;
34361 char * kwnames
[] = {
34362 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
34365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34367 if (!SWIG_IsOK(res1
)) {
34368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Refresh" "', expected argument " "1"" of type '" "wxWindow *""'");
34370 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34372 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
34373 if (!SWIG_IsOK(ecode2
)) {
34374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_Refresh" "', expected argument " "2"" of type '" "bool""'");
34376 arg2
= static_cast< bool >(val2
);
34379 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
34380 if (!SWIG_IsOK(res3
)) {
34381 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Window_Refresh" "', expected argument " "3"" of type '" "wxRect const *""'");
34383 arg3
= reinterpret_cast< wxRect
* >(argp3
);
34386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34387 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
34388 wxPyEndAllowThreads(__tstate
);
34389 if (PyErr_Occurred()) SWIG_fail
;
34391 resultobj
= SWIG_Py_Void();
34398 SWIGINTERN PyObject
*_wrap_Window_RefreshRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34399 PyObject
*resultobj
= 0;
34400 wxWindow
*arg1
= (wxWindow
*) 0 ;
34402 bool arg3
= (bool) true ;
34408 PyObject
* obj0
= 0 ;
34409 PyObject
* obj1
= 0 ;
34410 PyObject
* obj2
= 0 ;
34411 char * kwnames
[] = {
34412 (char *) "self",(char *) "rect",(char *) "eraseBackground", NULL
34415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_RefreshRect",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
34416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34417 if (!SWIG_IsOK(res1
)) {
34418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_RefreshRect" "', expected argument " "1"" of type '" "wxWindow *""'");
34420 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34423 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
34426 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
34427 if (!SWIG_IsOK(ecode3
)) {
34428 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_RefreshRect" "', expected argument " "3"" of type '" "bool""'");
34430 arg3
= static_cast< bool >(val3
);
34433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34434 (arg1
)->RefreshRect((wxRect
const &)*arg2
,arg3
);
34435 wxPyEndAllowThreads(__tstate
);
34436 if (PyErr_Occurred()) SWIG_fail
;
34438 resultobj
= SWIG_Py_Void();
34445 SWIGINTERN PyObject
*_wrap_Window_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34446 PyObject
*resultobj
= 0;
34447 wxWindow
*arg1
= (wxWindow
*) 0 ;
34450 PyObject
*swig_obj
[1] ;
34452 if (!args
) SWIG_fail
;
34453 swig_obj
[0] = args
;
34454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34455 if (!SWIG_IsOK(res1
)) {
34456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Update" "', expected argument " "1"" of type '" "wxWindow *""'");
34458 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34462 wxPyEndAllowThreads(__tstate
);
34463 if (PyErr_Occurred()) SWIG_fail
;
34465 resultobj
= SWIG_Py_Void();
34472 SWIGINTERN PyObject
*_wrap_Window_ClearBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34473 PyObject
*resultobj
= 0;
34474 wxWindow
*arg1
= (wxWindow
*) 0 ;
34477 PyObject
*swig_obj
[1] ;
34479 if (!args
) SWIG_fail
;
34480 swig_obj
[0] = args
;
34481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34482 if (!SWIG_IsOK(res1
)) {
34483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ClearBackground" "', expected argument " "1"" of type '" "wxWindow *""'");
34485 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34488 (arg1
)->ClearBackground();
34489 wxPyEndAllowThreads(__tstate
);
34490 if (PyErr_Occurred()) SWIG_fail
;
34492 resultobj
= SWIG_Py_Void();
34499 SWIGINTERN PyObject
*_wrap_Window_Freeze(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34500 PyObject
*resultobj
= 0;
34501 wxWindow
*arg1
= (wxWindow
*) 0 ;
34504 PyObject
*swig_obj
[1] ;
34506 if (!args
) SWIG_fail
;
34507 swig_obj
[0] = args
;
34508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34509 if (!SWIG_IsOK(res1
)) {
34510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Freeze" "', expected argument " "1"" of type '" "wxWindow *""'");
34512 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34516 wxPyEndAllowThreads(__tstate
);
34517 if (PyErr_Occurred()) SWIG_fail
;
34519 resultobj
= SWIG_Py_Void();
34526 SWIGINTERN PyObject
*_wrap_Window_Thaw(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34527 PyObject
*resultobj
= 0;
34528 wxWindow
*arg1
= (wxWindow
*) 0 ;
34531 PyObject
*swig_obj
[1] ;
34533 if (!args
) SWIG_fail
;
34534 swig_obj
[0] = args
;
34535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34536 if (!SWIG_IsOK(res1
)) {
34537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Thaw" "', expected argument " "1"" of type '" "wxWindow *""'");
34539 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34543 wxPyEndAllowThreads(__tstate
);
34544 if (PyErr_Occurred()) SWIG_fail
;
34546 resultobj
= SWIG_Py_Void();
34553 SWIGINTERN PyObject
*_wrap_Window_PrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34554 PyObject
*resultobj
= 0;
34555 wxWindow
*arg1
= (wxWindow
*) 0 ;
34561 PyObject
* obj0
= 0 ;
34562 PyObject
* obj1
= 0 ;
34563 char * kwnames
[] = {
34564 (char *) "self",(char *) "dc", NULL
34567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34569 if (!SWIG_IsOK(res1
)) {
34570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PrepareDC" "', expected argument " "1"" of type '" "wxWindow *""'");
34572 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34573 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
34574 if (!SWIG_IsOK(res2
)) {
34575 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_PrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
34578 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_PrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
34580 arg2
= reinterpret_cast< wxDC
* >(argp2
);
34582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34583 (arg1
)->PrepareDC(*arg2
);
34584 wxPyEndAllowThreads(__tstate
);
34585 if (PyErr_Occurred()) SWIG_fail
;
34587 resultobj
= SWIG_Py_Void();
34594 SWIGINTERN PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34595 PyObject
*resultobj
= 0;
34596 wxWindow
*arg1
= (wxWindow
*) 0 ;
34597 wxRegion
*result
= 0 ;
34600 PyObject
*swig_obj
[1] ;
34602 if (!args
) SWIG_fail
;
34603 swig_obj
[0] = args
;
34604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34605 if (!SWIG_IsOK(res1
)) {
34606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetUpdateRegion" "', expected argument " "1"" of type '" "wxWindow *""'");
34608 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34612 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
34613 result
= (wxRegion
*) &_result_ref
;
34615 wxPyEndAllowThreads(__tstate
);
34616 if (PyErr_Occurred()) SWIG_fail
;
34618 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxRegion
, 0 | 0 );
34625 SWIGINTERN PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34626 PyObject
*resultobj
= 0;
34627 wxWindow
*arg1
= (wxWindow
*) 0 ;
34631 PyObject
*swig_obj
[1] ;
34633 if (!args
) SWIG_fail
;
34634 swig_obj
[0] = args
;
34635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34636 if (!SWIG_IsOK(res1
)) {
34637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetUpdateClientRect" "', expected argument " "1"" of type '" "wxWindow const *""'");
34639 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34642 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
34643 wxPyEndAllowThreads(__tstate
);
34644 if (PyErr_Occurred()) SWIG_fail
;
34646 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
34653 SWIGINTERN PyObject
*_wrap_Window_IsExposed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34654 PyObject
*resultobj
= 0;
34655 wxWindow
*arg1
= (wxWindow
*) 0 ;
34658 int arg4
= (int) 1 ;
34659 int arg5
= (int) 1 ;
34671 PyObject
* obj0
= 0 ;
34672 PyObject
* obj1
= 0 ;
34673 PyObject
* obj2
= 0 ;
34674 PyObject
* obj3
= 0 ;
34675 PyObject
* obj4
= 0 ;
34676 char * kwnames
[] = {
34677 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
34680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
34681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34682 if (!SWIG_IsOK(res1
)) {
34683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsExposed" "', expected argument " "1"" of type '" "wxWindow const *""'");
34685 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34686 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
34687 if (!SWIG_IsOK(ecode2
)) {
34688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_IsExposed" "', expected argument " "2"" of type '" "int""'");
34690 arg2
= static_cast< int >(val2
);
34691 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
34692 if (!SWIG_IsOK(ecode3
)) {
34693 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_IsExposed" "', expected argument " "3"" of type '" "int""'");
34695 arg3
= static_cast< int >(val3
);
34697 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
34698 if (!SWIG_IsOK(ecode4
)) {
34699 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_IsExposed" "', expected argument " "4"" of type '" "int""'");
34701 arg4
= static_cast< int >(val4
);
34704 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
34705 if (!SWIG_IsOK(ecode5
)) {
34706 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Window_IsExposed" "', expected argument " "5"" of type '" "int""'");
34708 arg5
= static_cast< int >(val5
);
34711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34712 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
34713 wxPyEndAllowThreads(__tstate
);
34714 if (PyErr_Occurred()) SWIG_fail
;
34717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34725 SWIGINTERN PyObject
*_wrap_Window_IsExposedPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34726 PyObject
*resultobj
= 0;
34727 wxWindow
*arg1
= (wxWindow
*) 0 ;
34728 wxPoint
*arg2
= 0 ;
34733 PyObject
* obj0
= 0 ;
34734 PyObject
* obj1
= 0 ;
34735 char * kwnames
[] = {
34736 (char *) "self",(char *) "pt", NULL
34739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34741 if (!SWIG_IsOK(res1
)) {
34742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsExposedPoint" "', expected argument " "1"" of type '" "wxWindow const *""'");
34744 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34747 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34751 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
34752 wxPyEndAllowThreads(__tstate
);
34753 if (PyErr_Occurred()) SWIG_fail
;
34756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34764 SWIGINTERN PyObject
*_wrap_Window_IsExposedRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34765 PyObject
*resultobj
= 0;
34766 wxWindow
*arg1
= (wxWindow
*) 0 ;
34772 PyObject
* obj0
= 0 ;
34773 PyObject
* obj1
= 0 ;
34774 char * kwnames
[] = {
34775 (char *) "self",(char *) "rect", NULL
34778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34780 if (!SWIG_IsOK(res1
)) {
34781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_IsExposedRect" "', expected argument " "1"" of type '" "wxWindow const *""'");
34783 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34786 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
34789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34790 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
34791 wxPyEndAllowThreads(__tstate
);
34792 if (PyErr_Occurred()) SWIG_fail
;
34795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34803 SWIGINTERN PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
34804 PyObject
*resultobj
= 0;
34805 wxWindow
*arg1
= (wxWindow
*) 0 ;
34806 SwigValueWrapper
<wxVisualAttributes
> result
;
34809 PyObject
*swig_obj
[1] ;
34811 if (!args
) SWIG_fail
;
34812 swig_obj
[0] = args
;
34813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34814 if (!SWIG_IsOK(res1
)) {
34815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxWindow const *""'");
34817 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34820 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
34821 wxPyEndAllowThreads(__tstate
);
34822 if (PyErr_Occurred()) SWIG_fail
;
34824 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
34831 SWIGINTERN PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34832 PyObject
*resultobj
= 0;
34833 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
34834 SwigValueWrapper
<wxVisualAttributes
> result
;
34837 PyObject
* obj0
= 0 ;
34838 char * kwnames
[] = {
34839 (char *) "variant", NULL
34842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
34844 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
34845 if (!SWIG_IsOK(ecode1
)) {
34846 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Window_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
34848 arg1
= static_cast< wxWindowVariant
>(val1
);
34851 if (!wxPyCheckForApp()) SWIG_fail
;
34852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34853 result
= wxWindow::GetClassDefaultAttributes(arg1
);
34854 wxPyEndAllowThreads(__tstate
);
34855 if (PyErr_Occurred()) SWIG_fail
;
34857 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
34864 SWIGINTERN PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34865 PyObject
*resultobj
= 0;
34866 wxWindow
*arg1
= (wxWindow
*) 0 ;
34867 wxColour
*arg2
= 0 ;
34872 PyObject
* obj0
= 0 ;
34873 PyObject
* obj1
= 0 ;
34874 char * kwnames
[] = {
34875 (char *) "self",(char *) "colour", NULL
34878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34880 if (!SWIG_IsOK(res1
)) {
34881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetBackgroundColour" "', expected argument " "1"" of type '" "wxWindow *""'");
34883 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34886 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34890 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
34891 wxPyEndAllowThreads(__tstate
);
34892 if (PyErr_Occurred()) SWIG_fail
;
34895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34903 SWIGINTERN PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34904 PyObject
*resultobj
= 0;
34905 wxWindow
*arg1
= (wxWindow
*) 0 ;
34906 wxColour
*arg2
= 0 ;
34910 PyObject
* obj0
= 0 ;
34911 PyObject
* obj1
= 0 ;
34912 char * kwnames
[] = {
34913 (char *) "self",(char *) "colour", NULL
34916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34918 if (!SWIG_IsOK(res1
)) {
34919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetOwnBackgroundColour" "', expected argument " "1"" of type '" "wxWindow *""'");
34921 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34924 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34928 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
34929 wxPyEndAllowThreads(__tstate
);
34930 if (PyErr_Occurred()) SWIG_fail
;
34932 resultobj
= SWIG_Py_Void();
34939 SWIGINTERN PyObject
*_wrap_Window_SetForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34940 PyObject
*resultobj
= 0;
34941 wxWindow
*arg1
= (wxWindow
*) 0 ;
34942 wxColour
*arg2
= 0 ;
34947 PyObject
* obj0
= 0 ;
34948 PyObject
* obj1
= 0 ;
34949 char * kwnames
[] = {
34950 (char *) "self",(char *) "colour", NULL
34953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34955 if (!SWIG_IsOK(res1
)) {
34956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetForegroundColour" "', expected argument " "1"" of type '" "wxWindow *""'");
34958 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34961 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
34964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34965 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
34966 wxPyEndAllowThreads(__tstate
);
34967 if (PyErr_Occurred()) SWIG_fail
;
34970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34978 SWIGINTERN PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
34979 PyObject
*resultobj
= 0;
34980 wxWindow
*arg1
= (wxWindow
*) 0 ;
34981 wxColour
*arg2
= 0 ;
34985 PyObject
* obj0
= 0 ;
34986 PyObject
* obj1
= 0 ;
34987 char * kwnames
[] = {
34988 (char *) "self",(char *) "colour", NULL
34991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
34992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
34993 if (!SWIG_IsOK(res1
)) {
34994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetOwnForegroundColour" "', expected argument " "1"" of type '" "wxWindow *""'");
34996 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
34999 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
35002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35003 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
35004 wxPyEndAllowThreads(__tstate
);
35005 if (PyErr_Occurred()) SWIG_fail
;
35007 resultobj
= SWIG_Py_Void();
35014 SWIGINTERN PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35015 PyObject
*resultobj
= 0;
35016 wxWindow
*arg1
= (wxWindow
*) 0 ;
35020 PyObject
*swig_obj
[1] ;
35022 if (!args
) SWIG_fail
;
35023 swig_obj
[0] = args
;
35024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35025 if (!SWIG_IsOK(res1
)) {
35026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBackgroundColour" "', expected argument " "1"" of type '" "wxWindow const *""'");
35028 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35031 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
35032 wxPyEndAllowThreads(__tstate
);
35033 if (PyErr_Occurred()) SWIG_fail
;
35035 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
35042 SWIGINTERN PyObject
*_wrap_Window_GetForegroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35043 PyObject
*resultobj
= 0;
35044 wxWindow
*arg1
= (wxWindow
*) 0 ;
35048 PyObject
*swig_obj
[1] ;
35050 if (!args
) SWIG_fail
;
35051 swig_obj
[0] = args
;
35052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35053 if (!SWIG_IsOK(res1
)) {
35054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetForegroundColour" "', expected argument " "1"" of type '" "wxWindow const *""'");
35056 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35059 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
35060 wxPyEndAllowThreads(__tstate
);
35061 if (PyErr_Occurred()) SWIG_fail
;
35063 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
35070 SWIGINTERN PyObject
*_wrap_Window_InheritsBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35071 PyObject
*resultobj
= 0;
35072 wxWindow
*arg1
= (wxWindow
*) 0 ;
35076 PyObject
*swig_obj
[1] ;
35078 if (!args
) SWIG_fail
;
35079 swig_obj
[0] = args
;
35080 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35081 if (!SWIG_IsOK(res1
)) {
35082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_InheritsBackgroundColour" "', expected argument " "1"" of type '" "wxWindow const *""'");
35084 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35087 result
= (bool)((wxWindow
const *)arg1
)->InheritsBackgroundColour();
35088 wxPyEndAllowThreads(__tstate
);
35089 if (PyErr_Occurred()) SWIG_fail
;
35092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35100 SWIGINTERN PyObject
*_wrap_Window_UseBgCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35101 PyObject
*resultobj
= 0;
35102 wxWindow
*arg1
= (wxWindow
*) 0 ;
35106 PyObject
*swig_obj
[1] ;
35108 if (!args
) SWIG_fail
;
35109 swig_obj
[0] = args
;
35110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35111 if (!SWIG_IsOK(res1
)) {
35112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_UseBgCol" "', expected argument " "1"" of type '" "wxWindow const *""'");
35114 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35117 result
= (bool)((wxWindow
const *)arg1
)->UseBgCol();
35118 wxPyEndAllowThreads(__tstate
);
35119 if (PyErr_Occurred()) SWIG_fail
;
35122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35130 SWIGINTERN PyObject
*_wrap_Window_SetBackgroundStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35131 PyObject
*resultobj
= 0;
35132 wxWindow
*arg1
= (wxWindow
*) 0 ;
35133 wxBackgroundStyle arg2
;
35139 PyObject
* obj0
= 0 ;
35140 PyObject
* obj1
= 0 ;
35141 char * kwnames
[] = {
35142 (char *) "self",(char *) "style", NULL
35145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35147 if (!SWIG_IsOK(res1
)) {
35148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetBackgroundStyle" "', expected argument " "1"" of type '" "wxWindow *""'");
35150 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35151 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35152 if (!SWIG_IsOK(ecode2
)) {
35153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetBackgroundStyle" "', expected argument " "2"" of type '" "wxBackgroundStyle""'");
35155 arg2
= static_cast< wxBackgroundStyle
>(val2
);
35157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35158 result
= (bool)(arg1
)->SetBackgroundStyle(arg2
);
35159 wxPyEndAllowThreads(__tstate
);
35160 if (PyErr_Occurred()) SWIG_fail
;
35163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35171 SWIGINTERN PyObject
*_wrap_Window_GetBackgroundStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35172 PyObject
*resultobj
= 0;
35173 wxWindow
*arg1
= (wxWindow
*) 0 ;
35174 wxBackgroundStyle result
;
35177 PyObject
*swig_obj
[1] ;
35179 if (!args
) SWIG_fail
;
35180 swig_obj
[0] = args
;
35181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35182 if (!SWIG_IsOK(res1
)) {
35183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBackgroundStyle" "', expected argument " "1"" of type '" "wxWindow const *""'");
35185 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35188 result
= (wxBackgroundStyle
)((wxWindow
const *)arg1
)->GetBackgroundStyle();
35189 wxPyEndAllowThreads(__tstate
);
35190 if (PyErr_Occurred()) SWIG_fail
;
35192 resultobj
= SWIG_From_int(static_cast< int >(result
));
35199 SWIGINTERN PyObject
*_wrap_Window_HasTransparentBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35200 PyObject
*resultobj
= 0;
35201 wxWindow
*arg1
= (wxWindow
*) 0 ;
35205 PyObject
*swig_obj
[1] ;
35207 if (!args
) SWIG_fail
;
35208 swig_obj
[0] = args
;
35209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35210 if (!SWIG_IsOK(res1
)) {
35211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HasTransparentBackground" "', expected argument " "1"" of type '" "wxWindow *""'");
35213 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35216 result
= (bool)(arg1
)->HasTransparentBackground();
35217 wxPyEndAllowThreads(__tstate
);
35218 if (PyErr_Occurred()) SWIG_fail
;
35221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35229 SWIGINTERN PyObject
*_wrap_Window_SetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35230 PyObject
*resultobj
= 0;
35231 wxWindow
*arg1
= (wxWindow
*) 0 ;
35232 wxCursor
*arg2
= 0 ;
35238 PyObject
* obj0
= 0 ;
35239 PyObject
* obj1
= 0 ;
35240 char * kwnames
[] = {
35241 (char *) "self",(char *) "cursor", NULL
35244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35246 if (!SWIG_IsOK(res1
)) {
35247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetCursor" "', expected argument " "1"" of type '" "wxWindow *""'");
35249 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35250 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCursor
, 0 | 0);
35251 if (!SWIG_IsOK(res2
)) {
35252 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
35255 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_SetCursor" "', expected argument " "2"" of type '" "wxCursor const &""'");
35257 arg2
= reinterpret_cast< wxCursor
* >(argp2
);
35259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35260 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
35261 wxPyEndAllowThreads(__tstate
);
35262 if (PyErr_Occurred()) SWIG_fail
;
35265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35273 SWIGINTERN PyObject
*_wrap_Window_GetCursor(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35274 PyObject
*resultobj
= 0;
35275 wxWindow
*arg1
= (wxWindow
*) 0 ;
35279 PyObject
*swig_obj
[1] ;
35281 if (!args
) SWIG_fail
;
35282 swig_obj
[0] = args
;
35283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35284 if (!SWIG_IsOK(res1
)) {
35285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetCursor" "', expected argument " "1"" of type '" "wxWindow *""'");
35287 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35290 result
= (arg1
)->GetCursor();
35291 wxPyEndAllowThreads(__tstate
);
35292 if (PyErr_Occurred()) SWIG_fail
;
35294 resultobj
= SWIG_NewPointerObj((new wxCursor(static_cast< const wxCursor
& >(result
))), SWIGTYPE_p_wxCursor
, SWIG_POINTER_OWN
| 0 );
35301 SWIGINTERN PyObject
*_wrap_Window_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35302 PyObject
*resultobj
= 0;
35303 wxWindow
*arg1
= (wxWindow
*) 0 ;
35310 PyObject
* obj0
= 0 ;
35311 PyObject
* obj1
= 0 ;
35312 char * kwnames
[] = {
35313 (char *) "self",(char *) "font", NULL
35316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35318 if (!SWIG_IsOK(res1
)) {
35319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetFont" "', expected argument " "1"" of type '" "wxWindow *""'");
35321 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35322 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
35323 if (!SWIG_IsOK(res2
)) {
35324 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
35327 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
35329 arg2
= reinterpret_cast< wxFont
* >(argp2
);
35331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35332 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
35333 wxPyEndAllowThreads(__tstate
);
35334 if (PyErr_Occurred()) SWIG_fail
;
35337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35345 SWIGINTERN PyObject
*_wrap_Window_SetOwnFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35346 PyObject
*resultobj
= 0;
35347 wxWindow
*arg1
= (wxWindow
*) 0 ;
35353 PyObject
* obj0
= 0 ;
35354 PyObject
* obj1
= 0 ;
35355 char * kwnames
[] = {
35356 (char *) "self",(char *) "font", NULL
35359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35361 if (!SWIG_IsOK(res1
)) {
35362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetOwnFont" "', expected argument " "1"" of type '" "wxWindow *""'");
35364 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35365 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
35366 if (!SWIG_IsOK(res2
)) {
35367 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetOwnFont" "', expected argument " "2"" of type '" "wxFont const &""'");
35370 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_SetOwnFont" "', expected argument " "2"" of type '" "wxFont const &""'");
35372 arg2
= reinterpret_cast< wxFont
* >(argp2
);
35374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35375 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
35376 wxPyEndAllowThreads(__tstate
);
35377 if (PyErr_Occurred()) SWIG_fail
;
35379 resultobj
= SWIG_Py_Void();
35386 SWIGINTERN PyObject
*_wrap_Window_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35387 PyObject
*resultobj
= 0;
35388 wxWindow
*arg1
= (wxWindow
*) 0 ;
35392 PyObject
*swig_obj
[1] ;
35394 if (!args
) SWIG_fail
;
35395 swig_obj
[0] = args
;
35396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35397 if (!SWIG_IsOK(res1
)) {
35398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetFont" "', expected argument " "1"" of type '" "wxWindow *""'");
35400 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35403 result
= (arg1
)->GetFont();
35404 wxPyEndAllowThreads(__tstate
);
35405 if (PyErr_Occurred()) SWIG_fail
;
35407 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
35414 SWIGINTERN PyObject
*_wrap_Window_SetCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35415 PyObject
*resultobj
= 0;
35416 wxWindow
*arg1
= (wxWindow
*) 0 ;
35417 wxCaret
*arg2
= (wxCaret
*) 0 ;
35421 PyObject
* obj0
= 0 ;
35422 PyObject
* obj1
= 0 ;
35423 char * kwnames
[] = {
35424 (char *) "self",(char *) "caret", NULL
35427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35429 if (!SWIG_IsOK(res1
)) {
35430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetCaret" "', expected argument " "1"" of type '" "wxWindow *""'");
35432 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35433 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxCaret
, SWIG_POINTER_DISOWN
| 0 );
35434 if (!SWIG_IsOK(res2
)) {
35435 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetCaret" "', expected argument " "2"" of type '" "wxCaret *""'");
35438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35439 (arg1
)->SetCaret(arg2
);
35440 wxPyEndAllowThreads(__tstate
);
35441 if (PyErr_Occurred()) SWIG_fail
;
35443 resultobj
= SWIG_Py_Void();
35450 SWIGINTERN PyObject
*_wrap_Window_GetCaret(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35451 PyObject
*resultobj
= 0;
35452 wxWindow
*arg1
= (wxWindow
*) 0 ;
35453 wxCaret
*result
= 0 ;
35456 PyObject
*swig_obj
[1] ;
35458 if (!args
) SWIG_fail
;
35459 swig_obj
[0] = args
;
35460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35461 if (!SWIG_IsOK(res1
)) {
35462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetCaret" "', expected argument " "1"" of type '" "wxWindow const *""'");
35464 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35467 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
35468 wxPyEndAllowThreads(__tstate
);
35469 if (PyErr_Occurred()) SWIG_fail
;
35471 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCaret
, 0 | 0 );
35478 SWIGINTERN PyObject
*_wrap_Window_GetCharHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35479 PyObject
*resultobj
= 0;
35480 wxWindow
*arg1
= (wxWindow
*) 0 ;
35484 PyObject
*swig_obj
[1] ;
35486 if (!args
) SWIG_fail
;
35487 swig_obj
[0] = args
;
35488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35489 if (!SWIG_IsOK(res1
)) {
35490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetCharHeight" "', expected argument " "1"" of type '" "wxWindow const *""'");
35492 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35495 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
35496 wxPyEndAllowThreads(__tstate
);
35497 if (PyErr_Occurred()) SWIG_fail
;
35499 resultobj
= SWIG_From_int(static_cast< int >(result
));
35506 SWIGINTERN PyObject
*_wrap_Window_GetCharWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
35507 PyObject
*resultobj
= 0;
35508 wxWindow
*arg1
= (wxWindow
*) 0 ;
35512 PyObject
*swig_obj
[1] ;
35514 if (!args
) SWIG_fail
;
35515 swig_obj
[0] = args
;
35516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35517 if (!SWIG_IsOK(res1
)) {
35518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetCharWidth" "', expected argument " "1"" of type '" "wxWindow const *""'");
35520 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35523 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
35524 wxPyEndAllowThreads(__tstate
);
35525 if (PyErr_Occurred()) SWIG_fail
;
35527 resultobj
= SWIG_From_int(static_cast< int >(result
));
35534 SWIGINTERN PyObject
*_wrap_Window_GetTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35535 PyObject
*resultobj
= 0;
35536 wxWindow
*arg1
= (wxWindow
*) 0 ;
35537 wxString
*arg2
= 0 ;
35538 int *arg3
= (int *) 0 ;
35539 int *arg4
= (int *) 0 ;
35542 bool temp2
= false ;
35544 int res3
= SWIG_TMPOBJ
;
35546 int res4
= SWIG_TMPOBJ
;
35547 PyObject
* obj0
= 0 ;
35548 PyObject
* obj1
= 0 ;
35549 char * kwnames
[] = {
35550 (char *) "self",(char *) "string", NULL
35555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35557 if (!SWIG_IsOK(res1
)) {
35558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetTextExtent" "', expected argument " "1"" of type '" "wxWindow *""'");
35560 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35562 arg2
= wxString_in_helper(obj1
);
35563 if (arg2
== NULL
) SWIG_fail
;
35567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35568 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
35569 wxPyEndAllowThreads(__tstate
);
35570 if (PyErr_Occurred()) SWIG_fail
;
35572 resultobj
= SWIG_Py_Void();
35573 if (SWIG_IsTmpObj(res3
)) {
35574 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
35576 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35577 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
35579 if (SWIG_IsTmpObj(res4
)) {
35580 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
35582 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35583 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
35599 SWIGINTERN PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35600 PyObject
*resultobj
= 0;
35601 wxWindow
*arg1
= (wxWindow
*) 0 ;
35602 wxString
*arg2
= 0 ;
35603 int *arg3
= (int *) 0 ;
35604 int *arg4
= (int *) 0 ;
35605 int *arg5
= (int *) 0 ;
35606 int *arg6
= (int *) 0 ;
35607 wxFont
*arg7
= (wxFont
*) NULL
;
35610 bool temp2
= false ;
35612 int res3
= SWIG_TMPOBJ
;
35614 int res4
= SWIG_TMPOBJ
;
35616 int res5
= SWIG_TMPOBJ
;
35618 int res6
= SWIG_TMPOBJ
;
35621 PyObject
* obj0
= 0 ;
35622 PyObject
* obj1
= 0 ;
35623 PyObject
* obj2
= 0 ;
35624 char * kwnames
[] = {
35625 (char *) "self",(char *) "string",(char *) "font", NULL
35632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35634 if (!SWIG_IsOK(res1
)) {
35635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetFullTextExtent" "', expected argument " "1"" of type '" "wxWindow *""'");
35637 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35639 arg2
= wxString_in_helper(obj1
);
35640 if (arg2
== NULL
) SWIG_fail
;
35644 res7
= SWIG_ConvertPtr(obj2
, &argp7
,SWIGTYPE_p_wxFont
, 0 | 0 );
35645 if (!SWIG_IsOK(res7
)) {
35646 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "Window_GetFullTextExtent" "', expected argument " "7"" of type '" "wxFont const *""'");
35648 arg7
= reinterpret_cast< wxFont
* >(argp7
);
35651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35652 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
35653 wxPyEndAllowThreads(__tstate
);
35654 if (PyErr_Occurred()) SWIG_fail
;
35656 resultobj
= SWIG_Py_Void();
35657 if (SWIG_IsTmpObj(res3
)) {
35658 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
35660 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35661 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
35663 if (SWIG_IsTmpObj(res4
)) {
35664 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
35666 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35667 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
35669 if (SWIG_IsTmpObj(res5
)) {
35670 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
35672 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35673 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
35675 if (SWIG_IsTmpObj(res6
)) {
35676 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg6
)));
35678 int new_flags
= SWIG_IsNewObj(res6
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35679 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg6
), SWIGTYPE_p_int
, new_flags
));
35695 SWIGINTERN PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35696 PyObject
*resultobj
= 0;
35697 wxWindow
*arg1
= (wxWindow
*) 0 ;
35698 int *arg2
= (int *) 0 ;
35699 int *arg3
= (int *) 0 ;
35706 PyObject
* obj0
= 0 ;
35707 PyObject
* obj1
= 0 ;
35708 PyObject
* obj2
= 0 ;
35709 char * kwnames
[] = {
35710 (char *) "self",(char *) "x",(char *) "y", NULL
35713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35715 if (!SWIG_IsOK(res1
)) {
35716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ClientToScreenXY" "', expected argument " "1"" of type '" "wxWindow const *""'");
35718 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35719 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_int
,0))))) {
35721 int ecode
= SWIG_AsVal_int(obj1
, &val
);
35722 if (!SWIG_IsOK(ecode
)) {
35723 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "Window_ClientToScreenXY" "', expected argument " "2"" of type '" "int""'");
35725 temp2
= static_cast< int >(val
);
35727 res2
= SWIG_AddTmpMask(ecode
);
35729 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_int
,0))))) {
35731 int ecode
= SWIG_AsVal_int(obj2
, &val
);
35732 if (!SWIG_IsOK(ecode
)) {
35733 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "Window_ClientToScreenXY" "', expected argument " "3"" of type '" "int""'");
35735 temp3
= static_cast< int >(val
);
35737 res3
= SWIG_AddTmpMask(ecode
);
35740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35741 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
35742 wxPyEndAllowThreads(__tstate
);
35743 if (PyErr_Occurred()) SWIG_fail
;
35745 resultobj
= SWIG_Py_Void();
35746 if (SWIG_IsTmpObj(res2
)) {
35747 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
35749 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35750 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
35752 if (SWIG_IsTmpObj(res3
)) {
35753 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
35755 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35756 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
35764 SWIGINTERN PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35765 PyObject
*resultobj
= 0;
35766 wxWindow
*arg1
= (wxWindow
*) 0 ;
35767 int *arg2
= (int *) 0 ;
35768 int *arg3
= (int *) 0 ;
35775 PyObject
* obj0
= 0 ;
35776 PyObject
* obj1
= 0 ;
35777 PyObject
* obj2
= 0 ;
35778 char * kwnames
[] = {
35779 (char *) "self",(char *) "x",(char *) "y", NULL
35782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35784 if (!SWIG_IsOK(res1
)) {
35785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ScreenToClientXY" "', expected argument " "1"" of type '" "wxWindow const *""'");
35787 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35788 if (!(SWIG_IsOK((res2
= SWIG_ConvertPtr(obj1
,SWIG_as_voidptrptr(&arg2
),SWIGTYPE_p_int
,0))))) {
35790 int ecode
= SWIG_AsVal_int(obj1
, &val
);
35791 if (!SWIG_IsOK(ecode
)) {
35792 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "Window_ScreenToClientXY" "', expected argument " "2"" of type '" "int""'");
35794 temp2
= static_cast< int >(val
);
35796 res2
= SWIG_AddTmpMask(ecode
);
35798 if (!(SWIG_IsOK((res3
= SWIG_ConvertPtr(obj2
,SWIG_as_voidptrptr(&arg3
),SWIGTYPE_p_int
,0))))) {
35800 int ecode
= SWIG_AsVal_int(obj2
, &val
);
35801 if (!SWIG_IsOK(ecode
)) {
35802 SWIG_exception_fail(SWIG_ArgError(ecode
), "in method '" "Window_ScreenToClientXY" "', expected argument " "3"" of type '" "int""'");
35804 temp3
= static_cast< int >(val
);
35806 res3
= SWIG_AddTmpMask(ecode
);
35809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35810 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
35811 wxPyEndAllowThreads(__tstate
);
35812 if (PyErr_Occurred()) SWIG_fail
;
35814 resultobj
= SWIG_Py_Void();
35815 if (SWIG_IsTmpObj(res2
)) {
35816 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
35818 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35819 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
35821 if (SWIG_IsTmpObj(res3
)) {
35822 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
35824 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
35825 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
35833 SWIGINTERN PyObject
*_wrap_Window_ClientToScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35834 PyObject
*resultobj
= 0;
35835 wxWindow
*arg1
= (wxWindow
*) 0 ;
35836 wxPoint
*arg2
= 0 ;
35841 PyObject
* obj0
= 0 ;
35842 PyObject
* obj1
= 0 ;
35843 char * kwnames
[] = {
35844 (char *) "self",(char *) "pt", NULL
35847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35849 if (!SWIG_IsOK(res1
)) {
35850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ClientToScreen" "', expected argument " "1"" of type '" "wxWindow const *""'");
35852 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35855 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35859 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
35860 wxPyEndAllowThreads(__tstate
);
35861 if (PyErr_Occurred()) SWIG_fail
;
35863 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
35870 SWIGINTERN PyObject
*_wrap_Window_ScreenToClient(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35871 PyObject
*resultobj
= 0;
35872 wxWindow
*arg1
= (wxWindow
*) 0 ;
35873 wxPoint
*arg2
= 0 ;
35878 PyObject
* obj0
= 0 ;
35879 PyObject
* obj1
= 0 ;
35880 char * kwnames
[] = {
35881 (char *) "self",(char *) "pt", NULL
35884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35886 if (!SWIG_IsOK(res1
)) {
35887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ScreenToClient" "', expected argument " "1"" of type '" "wxWindow const *""'");
35889 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35892 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35896 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
35897 wxPyEndAllowThreads(__tstate
);
35898 if (PyErr_Occurred()) SWIG_fail
;
35900 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
35907 SWIGINTERN PyObject
*_wrap_Window_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35908 PyObject
*resultobj
= 0;
35909 wxWindow
*arg1
= (wxWindow
*) 0 ;
35919 PyObject
* obj0
= 0 ;
35920 PyObject
* obj1
= 0 ;
35921 PyObject
* obj2
= 0 ;
35922 char * kwnames
[] = {
35923 (char *) "self",(char *) "x",(char *) "y", NULL
35926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
35927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35928 if (!SWIG_IsOK(res1
)) {
35929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HitTestXY" "', expected argument " "1"" of type '" "wxWindow const *""'");
35931 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35932 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
35933 if (!SWIG_IsOK(ecode2
)) {
35934 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_HitTestXY" "', expected argument " "2"" of type '" "int""'");
35936 arg2
= static_cast< int >(val2
);
35937 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
35938 if (!SWIG_IsOK(ecode3
)) {
35939 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_HitTestXY" "', expected argument " "3"" of type '" "int""'");
35941 arg3
= static_cast< int >(val3
);
35943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35944 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
35945 wxPyEndAllowThreads(__tstate
);
35946 if (PyErr_Occurred()) SWIG_fail
;
35948 resultobj
= SWIG_From_int(static_cast< int >(result
));
35955 SWIGINTERN PyObject
*_wrap_Window_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
35956 PyObject
*resultobj
= 0;
35957 wxWindow
*arg1
= (wxWindow
*) 0 ;
35958 wxPoint
*arg2
= 0 ;
35963 PyObject
* obj0
= 0 ;
35964 PyObject
* obj1
= 0 ;
35965 char * kwnames
[] = {
35966 (char *) "self",(char *) "pt", NULL
35969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
35970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
35971 if (!SWIG_IsOK(res1
)) {
35972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HitTest" "', expected argument " "1"" of type '" "wxWindow const *""'");
35974 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
35977 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
35980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35981 result
= (wxHitTest
)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
35982 wxPyEndAllowThreads(__tstate
);
35983 if (PyErr_Occurred()) SWIG_fail
;
35985 resultobj
= SWIG_From_int(static_cast< int >(result
));
35992 SWIGINTERN PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
35993 PyObject
*resultobj
= 0;
35994 wxWindow
*arg1
= (wxWindow
*) 0 ;
36002 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
36003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36004 if (!SWIG_IsOK(res1
)) {
36005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBorder" "', expected argument " "1"" of type '" "wxWindow const *""'");
36007 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36008 ecode2
= SWIG_AsVal_long(swig_obj
[1], &val2
);
36009 if (!SWIG_IsOK(ecode2
)) {
36010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_GetBorder" "', expected argument " "2"" of type '" "long""'");
36012 arg2
= static_cast< long >(val2
);
36014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36015 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder(arg2
);
36016 wxPyEndAllowThreads(__tstate
);
36017 if (PyErr_Occurred()) SWIG_fail
;
36019 resultobj
= SWIG_From_int(static_cast< int >(result
));
36026 SWIGINTERN PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
36027 PyObject
*resultobj
= 0;
36028 wxWindow
*arg1
= (wxWindow
*) 0 ;
36033 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
36034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36035 if (!SWIG_IsOK(res1
)) {
36036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetBorder" "', expected argument " "1"" of type '" "wxWindow const *""'");
36038 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36041 result
= (wxBorder
)((wxWindow
const *)arg1
)->GetBorder();
36042 wxPyEndAllowThreads(__tstate
);
36043 if (PyErr_Occurred()) SWIG_fail
;
36045 resultobj
= SWIG_From_int(static_cast< int >(result
));
36052 SWIGINTERN PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
36056 if (!(argc
= SWIG_Python_UnpackTuple(args
,"Window_GetBorder",0,2,argv
))) SWIG_fail
;
36059 return _wrap_Window_GetBorder__SWIG_1(self
, argc
, argv
);
36062 return _wrap_Window_GetBorder__SWIG_0(self
, argc
, argv
);
36066 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'Window_GetBorder'");
36071 SWIGINTERN PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36072 PyObject
*resultobj
= 0;
36073 wxWindow
*arg1
= (wxWindow
*) 0 ;
36074 long arg2
= (long) wxUPDATE_UI_NONE
;
36079 PyObject
* obj0
= 0 ;
36080 PyObject
* obj1
= 0 ;
36081 char * kwnames
[] = {
36082 (char *) "self",(char *) "flags", NULL
36085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36087 if (!SWIG_IsOK(res1
)) {
36088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_UpdateWindowUI" "', expected argument " "1"" of type '" "wxWindow *""'");
36090 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36092 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
36093 if (!SWIG_IsOK(ecode2
)) {
36094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_UpdateWindowUI" "', expected argument " "2"" of type '" "long""'");
36096 arg2
= static_cast< long >(val2
);
36099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36100 (arg1
)->UpdateWindowUI(arg2
);
36101 wxPyEndAllowThreads(__tstate
);
36102 if (PyErr_Occurred()) SWIG_fail
;
36104 resultobj
= SWIG_Py_Void();
36111 SWIGINTERN PyObject
*_wrap_Window_PopupMenuXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36112 PyObject
*resultobj
= 0;
36113 wxWindow
*arg1
= (wxWindow
*) 0 ;
36114 wxMenu
*arg2
= (wxMenu
*) 0 ;
36115 int arg3
= (int) -1 ;
36116 int arg4
= (int) -1 ;
36126 PyObject
* obj0
= 0 ;
36127 PyObject
* obj1
= 0 ;
36128 PyObject
* obj2
= 0 ;
36129 PyObject
* obj3
= 0 ;
36130 char * kwnames
[] = {
36131 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
36134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36136 if (!SWIG_IsOK(res1
)) {
36137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PopupMenuXY" "', expected argument " "1"" of type '" "wxWindow *""'");
36139 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36140 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
36141 if (!SWIG_IsOK(res2
)) {
36142 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_PopupMenuXY" "', expected argument " "2"" of type '" "wxMenu *""'");
36144 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
36146 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36147 if (!SWIG_IsOK(ecode3
)) {
36148 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_PopupMenuXY" "', expected argument " "3"" of type '" "int""'");
36150 arg3
= static_cast< int >(val3
);
36153 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36154 if (!SWIG_IsOK(ecode4
)) {
36155 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_PopupMenuXY" "', expected argument " "4"" of type '" "int""'");
36157 arg4
= static_cast< int >(val4
);
36160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36161 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
36162 wxPyEndAllowThreads(__tstate
);
36163 if (PyErr_Occurred()) SWIG_fail
;
36166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36174 SWIGINTERN PyObject
*_wrap_Window_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36175 PyObject
*resultobj
= 0;
36176 wxWindow
*arg1
= (wxWindow
*) 0 ;
36177 wxMenu
*arg2
= (wxMenu
*) 0 ;
36178 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
36179 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
36186 PyObject
* obj0
= 0 ;
36187 PyObject
* obj1
= 0 ;
36188 PyObject
* obj2
= 0 ;
36189 char * kwnames
[] = {
36190 (char *) "self",(char *) "menu",(char *) "pos", NULL
36193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36195 if (!SWIG_IsOK(res1
)) {
36196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PopupMenu" "', expected argument " "1"" of type '" "wxWindow *""'");
36198 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36199 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
36200 if (!SWIG_IsOK(res2
)) {
36201 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
36203 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
36207 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
36211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36212 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
36213 wxPyEndAllowThreads(__tstate
);
36214 if (PyErr_Occurred()) SWIG_fail
;
36217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36225 SWIGINTERN PyObject
*_wrap_Window_GetHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36226 PyObject
*resultobj
= 0;
36227 wxWindow
*arg1
= (wxWindow
*) 0 ;
36231 PyObject
*swig_obj
[1] ;
36233 if (!args
) SWIG_fail
;
36234 swig_obj
[0] = args
;
36235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36236 if (!SWIG_IsOK(res1
)) {
36237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetHandle" "', expected argument " "1"" of type '" "wxWindow *""'");
36239 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36242 result
= (long)wxWindow_GetHandle(arg1
);
36243 wxPyEndAllowThreads(__tstate
);
36244 if (PyErr_Occurred()) SWIG_fail
;
36246 resultobj
= SWIG_From_long(static_cast< long >(result
));
36253 SWIGINTERN PyObject
*_wrap_Window_AssociateHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36254 PyObject
*resultobj
= 0;
36255 wxWindow
*arg1
= (wxWindow
*) 0 ;
36261 PyObject
* obj0
= 0 ;
36262 PyObject
* obj1
= 0 ;
36263 char * kwnames
[] = {
36264 (char *) "self",(char *) "handle", NULL
36267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AssociateHandle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36269 if (!SWIG_IsOK(res1
)) {
36270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_AssociateHandle" "', expected argument " "1"" of type '" "wxWindow *""'");
36272 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36273 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
36274 if (!SWIG_IsOK(ecode2
)) {
36275 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_AssociateHandle" "', expected argument " "2"" of type '" "long""'");
36277 arg2
= static_cast< long >(val2
);
36279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36280 wxWindow_AssociateHandle(arg1
,arg2
);
36281 wxPyEndAllowThreads(__tstate
);
36282 if (PyErr_Occurred()) SWIG_fail
;
36284 resultobj
= SWIG_Py_Void();
36291 SWIGINTERN PyObject
*_wrap_Window_DissociateHandle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36292 PyObject
*resultobj
= 0;
36293 wxWindow
*arg1
= (wxWindow
*) 0 ;
36296 PyObject
*swig_obj
[1] ;
36298 if (!args
) SWIG_fail
;
36299 swig_obj
[0] = args
;
36300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36301 if (!SWIG_IsOK(res1
)) {
36302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_DissociateHandle" "', expected argument " "1"" of type '" "wxWindow *""'");
36304 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36307 (arg1
)->DissociateHandle();
36308 wxPyEndAllowThreads(__tstate
);
36309 if (PyErr_Occurred()) SWIG_fail
;
36311 resultobj
= SWIG_Py_Void();
36318 SWIGINTERN PyObject
*_wrap_Window_HasScrollbar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36319 PyObject
*resultobj
= 0;
36320 wxWindow
*arg1
= (wxWindow
*) 0 ;
36327 PyObject
* obj0
= 0 ;
36328 PyObject
* obj1
= 0 ;
36329 char * kwnames
[] = {
36330 (char *) "self",(char *) "orient", NULL
36333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36335 if (!SWIG_IsOK(res1
)) {
36336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_HasScrollbar" "', expected argument " "1"" of type '" "wxWindow const *""'");
36338 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36339 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36340 if (!SWIG_IsOK(ecode2
)) {
36341 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_HasScrollbar" "', expected argument " "2"" of type '" "int""'");
36343 arg2
= static_cast< int >(val2
);
36345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36346 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
36347 wxPyEndAllowThreads(__tstate
);
36348 if (PyErr_Occurred()) SWIG_fail
;
36351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36359 SWIGINTERN PyObject
*_wrap_Window_SetScrollbar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36360 PyObject
*resultobj
= 0;
36361 wxWindow
*arg1
= (wxWindow
*) 0 ;
36366 bool arg6
= (bool) true ;
36379 PyObject
* obj0
= 0 ;
36380 PyObject
* obj1
= 0 ;
36381 PyObject
* obj2
= 0 ;
36382 PyObject
* obj3
= 0 ;
36383 PyObject
* obj4
= 0 ;
36384 PyObject
* obj5
= 0 ;
36385 char * kwnames
[] = {
36386 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
36389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
36390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36391 if (!SWIG_IsOK(res1
)) {
36392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetScrollbar" "', expected argument " "1"" of type '" "wxWindow *""'");
36394 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36395 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36396 if (!SWIG_IsOK(ecode2
)) {
36397 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetScrollbar" "', expected argument " "2"" of type '" "int""'");
36399 arg2
= static_cast< int >(val2
);
36400 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36401 if (!SWIG_IsOK(ecode3
)) {
36402 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetScrollbar" "', expected argument " "3"" of type '" "int""'");
36404 arg3
= static_cast< int >(val3
);
36405 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
36406 if (!SWIG_IsOK(ecode4
)) {
36407 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_SetScrollbar" "', expected argument " "4"" of type '" "int""'");
36409 arg4
= static_cast< int >(val4
);
36410 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
36411 if (!SWIG_IsOK(ecode5
)) {
36412 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Window_SetScrollbar" "', expected argument " "5"" of type '" "int""'");
36414 arg5
= static_cast< int >(val5
);
36416 ecode6
= SWIG_AsVal_bool(obj5
, &val6
);
36417 if (!SWIG_IsOK(ecode6
)) {
36418 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Window_SetScrollbar" "', expected argument " "6"" of type '" "bool""'");
36420 arg6
= static_cast< bool >(val6
);
36423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36424 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
36425 wxPyEndAllowThreads(__tstate
);
36426 if (PyErr_Occurred()) SWIG_fail
;
36428 resultobj
= SWIG_Py_Void();
36435 SWIGINTERN PyObject
*_wrap_Window_SetScrollPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36436 PyObject
*resultobj
= 0;
36437 wxWindow
*arg1
= (wxWindow
*) 0 ;
36440 bool arg4
= (bool) true ;
36449 PyObject
* obj0
= 0 ;
36450 PyObject
* obj1
= 0 ;
36451 PyObject
* obj2
= 0 ;
36452 PyObject
* obj3
= 0 ;
36453 char * kwnames
[] = {
36454 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
36457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36459 if (!SWIG_IsOK(res1
)) {
36460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetScrollPos" "', expected argument " "1"" of type '" "wxWindow *""'");
36462 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36463 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36464 if (!SWIG_IsOK(ecode2
)) {
36465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetScrollPos" "', expected argument " "2"" of type '" "int""'");
36467 arg2
= static_cast< int >(val2
);
36468 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36469 if (!SWIG_IsOK(ecode3
)) {
36470 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetScrollPos" "', expected argument " "3"" of type '" "int""'");
36472 arg3
= static_cast< int >(val3
);
36474 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
36475 if (!SWIG_IsOK(ecode4
)) {
36476 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Window_SetScrollPos" "', expected argument " "4"" of type '" "bool""'");
36478 arg4
= static_cast< bool >(val4
);
36481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36482 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
36483 wxPyEndAllowThreads(__tstate
);
36484 if (PyErr_Occurred()) SWIG_fail
;
36486 resultobj
= SWIG_Py_Void();
36493 SWIGINTERN PyObject
*_wrap_Window_GetScrollPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36494 PyObject
*resultobj
= 0;
36495 wxWindow
*arg1
= (wxWindow
*) 0 ;
36502 PyObject
* obj0
= 0 ;
36503 PyObject
* obj1
= 0 ;
36504 char * kwnames
[] = {
36505 (char *) "self",(char *) "orientation", NULL
36508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36510 if (!SWIG_IsOK(res1
)) {
36511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScrollPos" "', expected argument " "1"" of type '" "wxWindow const *""'");
36513 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36514 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36515 if (!SWIG_IsOK(ecode2
)) {
36516 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_GetScrollPos" "', expected argument " "2"" of type '" "int""'");
36518 arg2
= static_cast< int >(val2
);
36520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36521 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
36522 wxPyEndAllowThreads(__tstate
);
36523 if (PyErr_Occurred()) SWIG_fail
;
36525 resultobj
= SWIG_From_int(static_cast< int >(result
));
36532 SWIGINTERN PyObject
*_wrap_Window_GetScrollThumb(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36533 PyObject
*resultobj
= 0;
36534 wxWindow
*arg1
= (wxWindow
*) 0 ;
36541 PyObject
* obj0
= 0 ;
36542 PyObject
* obj1
= 0 ;
36543 char * kwnames
[] = {
36544 (char *) "self",(char *) "orientation", NULL
36547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36549 if (!SWIG_IsOK(res1
)) {
36550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScrollThumb" "', expected argument " "1"" of type '" "wxWindow const *""'");
36552 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36553 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36554 if (!SWIG_IsOK(ecode2
)) {
36555 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_GetScrollThumb" "', expected argument " "2"" of type '" "int""'");
36557 arg2
= static_cast< int >(val2
);
36559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36560 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
36561 wxPyEndAllowThreads(__tstate
);
36562 if (PyErr_Occurred()) SWIG_fail
;
36564 resultobj
= SWIG_From_int(static_cast< int >(result
));
36571 SWIGINTERN PyObject
*_wrap_Window_GetScrollRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36572 PyObject
*resultobj
= 0;
36573 wxWindow
*arg1
= (wxWindow
*) 0 ;
36580 PyObject
* obj0
= 0 ;
36581 PyObject
* obj1
= 0 ;
36582 char * kwnames
[] = {
36583 (char *) "self",(char *) "orientation", NULL
36586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36588 if (!SWIG_IsOK(res1
)) {
36589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetScrollRange" "', expected argument " "1"" of type '" "wxWindow const *""'");
36591 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36592 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36593 if (!SWIG_IsOK(ecode2
)) {
36594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_GetScrollRange" "', expected argument " "2"" of type '" "int""'");
36596 arg2
= static_cast< int >(val2
);
36598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36599 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
36600 wxPyEndAllowThreads(__tstate
);
36601 if (PyErr_Occurred()) SWIG_fail
;
36603 resultobj
= SWIG_From_int(static_cast< int >(result
));
36610 SWIGINTERN PyObject
*_wrap_Window_ScrollWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36611 PyObject
*resultobj
= 0;
36612 wxWindow
*arg1
= (wxWindow
*) 0 ;
36615 wxRect
*arg4
= (wxRect
*) NULL
;
36624 PyObject
* obj0
= 0 ;
36625 PyObject
* obj1
= 0 ;
36626 PyObject
* obj2
= 0 ;
36627 PyObject
* obj3
= 0 ;
36628 char * kwnames
[] = {
36629 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
36632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
36633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36634 if (!SWIG_IsOK(res1
)) {
36635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ScrollWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
36637 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36638 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36639 if (!SWIG_IsOK(ecode2
)) {
36640 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_ScrollWindow" "', expected argument " "2"" of type '" "int""'");
36642 arg2
= static_cast< int >(val2
);
36643 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
36644 if (!SWIG_IsOK(ecode3
)) {
36645 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_ScrollWindow" "', expected argument " "3"" of type '" "int""'");
36647 arg3
= static_cast< int >(val3
);
36649 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
36650 if (!SWIG_IsOK(res4
)) {
36651 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Window_ScrollWindow" "', expected argument " "4"" of type '" "wxRect const *""'");
36653 arg4
= reinterpret_cast< wxRect
* >(argp4
);
36656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36657 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
36658 wxPyEndAllowThreads(__tstate
);
36659 if (PyErr_Occurred()) SWIG_fail
;
36661 resultobj
= SWIG_Py_Void();
36668 SWIGINTERN PyObject
*_wrap_Window_ScrollLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36669 PyObject
*resultobj
= 0;
36670 wxWindow
*arg1
= (wxWindow
*) 0 ;
36677 PyObject
* obj0
= 0 ;
36678 PyObject
* obj1
= 0 ;
36679 char * kwnames
[] = {
36680 (char *) "self",(char *) "lines", NULL
36683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36685 if (!SWIG_IsOK(res1
)) {
36686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ScrollLines" "', expected argument " "1"" of type '" "wxWindow *""'");
36688 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36689 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36690 if (!SWIG_IsOK(ecode2
)) {
36691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_ScrollLines" "', expected argument " "2"" of type '" "int""'");
36693 arg2
= static_cast< int >(val2
);
36695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36696 result
= (bool)(arg1
)->ScrollLines(arg2
);
36697 wxPyEndAllowThreads(__tstate
);
36698 if (PyErr_Occurred()) SWIG_fail
;
36701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36709 SWIGINTERN PyObject
*_wrap_Window_ScrollPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36710 PyObject
*resultobj
= 0;
36711 wxWindow
*arg1
= (wxWindow
*) 0 ;
36718 PyObject
* obj0
= 0 ;
36719 PyObject
* obj1
= 0 ;
36720 char * kwnames
[] = {
36721 (char *) "self",(char *) "pages", NULL
36724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36726 if (!SWIG_IsOK(res1
)) {
36727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ScrollPages" "', expected argument " "1"" of type '" "wxWindow *""'");
36729 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36730 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
36731 if (!SWIG_IsOK(ecode2
)) {
36732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_ScrollPages" "', expected argument " "2"" of type '" "int""'");
36734 arg2
= static_cast< int >(val2
);
36736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36737 result
= (bool)(arg1
)->ScrollPages(arg2
);
36738 wxPyEndAllowThreads(__tstate
);
36739 if (PyErr_Occurred()) SWIG_fail
;
36742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36750 SWIGINTERN PyObject
*_wrap_Window_LineUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36751 PyObject
*resultobj
= 0;
36752 wxWindow
*arg1
= (wxWindow
*) 0 ;
36756 PyObject
*swig_obj
[1] ;
36758 if (!args
) SWIG_fail
;
36759 swig_obj
[0] = args
;
36760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36761 if (!SWIG_IsOK(res1
)) {
36762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_LineUp" "', expected argument " "1"" of type '" "wxWindow *""'");
36764 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36767 result
= (bool)(arg1
)->LineUp();
36768 wxPyEndAllowThreads(__tstate
);
36769 if (PyErr_Occurred()) SWIG_fail
;
36772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36780 SWIGINTERN PyObject
*_wrap_Window_LineDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36781 PyObject
*resultobj
= 0;
36782 wxWindow
*arg1
= (wxWindow
*) 0 ;
36786 PyObject
*swig_obj
[1] ;
36788 if (!args
) SWIG_fail
;
36789 swig_obj
[0] = args
;
36790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36791 if (!SWIG_IsOK(res1
)) {
36792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_LineDown" "', expected argument " "1"" of type '" "wxWindow *""'");
36794 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36797 result
= (bool)(arg1
)->LineDown();
36798 wxPyEndAllowThreads(__tstate
);
36799 if (PyErr_Occurred()) SWIG_fail
;
36802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36810 SWIGINTERN PyObject
*_wrap_Window_PageUp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36811 PyObject
*resultobj
= 0;
36812 wxWindow
*arg1
= (wxWindow
*) 0 ;
36816 PyObject
*swig_obj
[1] ;
36818 if (!args
) SWIG_fail
;
36819 swig_obj
[0] = args
;
36820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36821 if (!SWIG_IsOK(res1
)) {
36822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PageUp" "', expected argument " "1"" of type '" "wxWindow *""'");
36824 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36827 result
= (bool)(arg1
)->PageUp();
36828 wxPyEndAllowThreads(__tstate
);
36829 if (PyErr_Occurred()) SWIG_fail
;
36832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36840 SWIGINTERN PyObject
*_wrap_Window_PageDown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
36841 PyObject
*resultobj
= 0;
36842 wxWindow
*arg1
= (wxWindow
*) 0 ;
36846 PyObject
*swig_obj
[1] ;
36848 if (!args
) SWIG_fail
;
36849 swig_obj
[0] = args
;
36850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36851 if (!SWIG_IsOK(res1
)) {
36852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_PageDown" "', expected argument " "1"" of type '" "wxWindow *""'");
36854 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36857 result
= (bool)(arg1
)->PageDown();
36858 wxPyEndAllowThreads(__tstate
);
36859 if (PyErr_Occurred()) SWIG_fail
;
36862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36870 SWIGINTERN PyObject
*_wrap_Window_SetHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36871 PyObject
*resultobj
= 0;
36872 wxWindow
*arg1
= (wxWindow
*) 0 ;
36873 wxString
*arg2
= 0 ;
36876 bool temp2
= false ;
36877 PyObject
* obj0
= 0 ;
36878 PyObject
* obj1
= 0 ;
36879 char * kwnames
[] = {
36880 (char *) "self",(char *) "text", NULL
36883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36885 if (!SWIG_IsOK(res1
)) {
36886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetHelpText" "', expected argument " "1"" of type '" "wxWindow *""'");
36888 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36890 arg2
= wxString_in_helper(obj1
);
36891 if (arg2
== NULL
) SWIG_fail
;
36895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36896 (arg1
)->SetHelpText((wxString
const &)*arg2
);
36897 wxPyEndAllowThreads(__tstate
);
36898 if (PyErr_Occurred()) SWIG_fail
;
36900 resultobj
= SWIG_Py_Void();
36915 SWIGINTERN PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36916 PyObject
*resultobj
= 0;
36917 wxWindow
*arg1
= (wxWindow
*) 0 ;
36918 wxString
*arg2
= 0 ;
36921 bool temp2
= false ;
36922 PyObject
* obj0
= 0 ;
36923 PyObject
* obj1
= 0 ;
36924 char * kwnames
[] = {
36925 (char *) "self",(char *) "text", NULL
36928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
36929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36930 if (!SWIG_IsOK(res1
)) {
36931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetHelpTextForId" "', expected argument " "1"" of type '" "wxWindow *""'");
36933 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36935 arg2
= wxString_in_helper(obj1
);
36936 if (arg2
== NULL
) SWIG_fail
;
36940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36941 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
36942 wxPyEndAllowThreads(__tstate
);
36943 if (PyErr_Occurred()) SWIG_fail
;
36945 resultobj
= SWIG_Py_Void();
36960 SWIGINTERN PyObject
*_wrap_Window_GetHelpTextAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
36961 PyObject
*resultobj
= 0;
36962 wxWindow
*arg1
= (wxWindow
*) 0 ;
36963 wxPoint
*arg2
= 0 ;
36964 wxHelpEvent::Origin arg3
;
36971 PyObject
* obj0
= 0 ;
36972 PyObject
* obj1
= 0 ;
36973 PyObject
* obj2
= 0 ;
36974 char * kwnames
[] = {
36975 (char *) "self",(char *) "pt",(char *) "origin", NULL
36978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_GetHelpTextAtPoint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
36979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
36980 if (!SWIG_IsOK(res1
)) {
36981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetHelpTextAtPoint" "', expected argument " "1"" of type '" "wxWindow const *""'");
36983 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
36986 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
36989 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHelpEvent__Origin
, 0 | 0);
36990 if (!SWIG_IsOK(res3
)) {
36991 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Window_GetHelpTextAtPoint" "', expected argument " "3"" of type '" "wxHelpEvent::Origin""'");
36994 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Window_GetHelpTextAtPoint" "', expected argument " "3"" of type '" "wxHelpEvent::Origin""'");
36996 wxHelpEvent::Origin
* temp
= reinterpret_cast< wxHelpEvent::Origin
* >(argp3
);
36998 if (SWIG_IsNewObj(res3
)) delete temp
;
37002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37003 result
= ((wxWindow
const *)arg1
)->GetHelpTextAtPoint((wxPoint
const &)*arg2
,arg3
);
37004 wxPyEndAllowThreads(__tstate
);
37005 if (PyErr_Occurred()) SWIG_fail
;
37009 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37011 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37020 SWIGINTERN PyObject
*_wrap_Window_GetHelpText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37021 PyObject
*resultobj
= 0;
37022 wxWindow
*arg1
= (wxWindow
*) 0 ;
37026 PyObject
*swig_obj
[1] ;
37028 if (!args
) SWIG_fail
;
37029 swig_obj
[0] = args
;
37030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37031 if (!SWIG_IsOK(res1
)) {
37032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetHelpText" "', expected argument " "1"" of type '" "wxWindow const *""'");
37034 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37037 result
= ((wxWindow
const *)arg1
)->GetHelpText();
37038 wxPyEndAllowThreads(__tstate
);
37039 if (PyErr_Occurred()) SWIG_fail
;
37043 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
37045 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
37054 SWIGINTERN PyObject
*_wrap_Window_SetToolTipString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37055 PyObject
*resultobj
= 0;
37056 wxWindow
*arg1
= (wxWindow
*) 0 ;
37057 wxString
*arg2
= 0 ;
37060 bool temp2
= false ;
37061 PyObject
* obj0
= 0 ;
37062 PyObject
* obj1
= 0 ;
37063 char * kwnames
[] = {
37064 (char *) "self",(char *) "tip", NULL
37067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37069 if (!SWIG_IsOK(res1
)) {
37070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetToolTipString" "', expected argument " "1"" of type '" "wxWindow *""'");
37072 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37074 arg2
= wxString_in_helper(obj1
);
37075 if (arg2
== NULL
) SWIG_fail
;
37079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37080 (arg1
)->SetToolTip((wxString
const &)*arg2
);
37081 wxPyEndAllowThreads(__tstate
);
37082 if (PyErr_Occurred()) SWIG_fail
;
37084 resultobj
= SWIG_Py_Void();
37099 SWIGINTERN PyObject
*_wrap_Window_SetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37100 PyObject
*resultobj
= 0;
37101 wxWindow
*arg1
= (wxWindow
*) 0 ;
37102 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
37106 PyObject
* obj0
= 0 ;
37107 PyObject
* obj1
= 0 ;
37108 char * kwnames
[] = {
37109 (char *) "self",(char *) "tip", NULL
37112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37114 if (!SWIG_IsOK(res1
)) {
37115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetToolTip" "', expected argument " "1"" of type '" "wxWindow *""'");
37117 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37118 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxToolTip
, SWIG_POINTER_DISOWN
| 0 );
37119 if (!SWIG_IsOK(res2
)) {
37120 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetToolTip" "', expected argument " "2"" of type '" "wxToolTip *""'");
37123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37124 (arg1
)->SetToolTip(arg2
);
37125 wxPyEndAllowThreads(__tstate
);
37126 if (PyErr_Occurred()) SWIG_fail
;
37128 resultobj
= SWIG_Py_Void();
37135 SWIGINTERN PyObject
*_wrap_Window_GetToolTip(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37136 PyObject
*resultobj
= 0;
37137 wxWindow
*arg1
= (wxWindow
*) 0 ;
37138 wxToolTip
*result
= 0 ;
37141 PyObject
*swig_obj
[1] ;
37143 if (!args
) SWIG_fail
;
37144 swig_obj
[0] = args
;
37145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37146 if (!SWIG_IsOK(res1
)) {
37147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetToolTip" "', expected argument " "1"" of type '" "wxWindow const *""'");
37149 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37152 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
37153 wxPyEndAllowThreads(__tstate
);
37154 if (PyErr_Occurred()) SWIG_fail
;
37157 resultobj
= wxPyMake_wxObject(result
, (bool)0);
37165 SWIGINTERN PyObject
*_wrap_Window_SetDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37166 PyObject
*resultobj
= 0;
37167 wxWindow
*arg1
= (wxWindow
*) 0 ;
37168 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
37172 PyObject
* obj0
= 0 ;
37173 PyObject
* obj1
= 0 ;
37174 char * kwnames
[] = {
37175 (char *) "self",(char *) "dropTarget", NULL
37178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37180 if (!SWIG_IsOK(res1
)) {
37181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetDropTarget" "', expected argument " "1"" of type '" "wxWindow *""'");
37183 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37184 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyDropTarget
, SWIG_POINTER_DISOWN
| 0 );
37185 if (!SWIG_IsOK(res2
)) {
37186 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetDropTarget" "', expected argument " "2"" of type '" "wxPyDropTarget *""'");
37189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37190 (arg1
)->SetDropTarget(arg2
);
37191 wxPyEndAllowThreads(__tstate
);
37192 if (PyErr_Occurred()) SWIG_fail
;
37194 resultobj
= SWIG_Py_Void();
37201 SWIGINTERN PyObject
*_wrap_Window_GetDropTarget(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37202 PyObject
*resultobj
= 0;
37203 wxWindow
*arg1
= (wxWindow
*) 0 ;
37204 wxPyDropTarget
*result
= 0 ;
37207 PyObject
*swig_obj
[1] ;
37209 if (!args
) SWIG_fail
;
37210 swig_obj
[0] = args
;
37211 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37212 if (!SWIG_IsOK(res1
)) {
37213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetDropTarget" "', expected argument " "1"" of type '" "wxWindow const *""'");
37215 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37218 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
37219 wxPyEndAllowThreads(__tstate
);
37220 if (PyErr_Occurred()) SWIG_fail
;
37222 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyDropTarget
, 0 | 0 );
37229 SWIGINTERN PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37230 PyObject
*resultobj
= 0;
37231 wxWindow
*arg1
= (wxWindow
*) 0 ;
37237 PyObject
* obj0
= 0 ;
37238 PyObject
* obj1
= 0 ;
37239 char * kwnames
[] = {
37240 (char *) "self",(char *) "accept", NULL
37243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37245 if (!SWIG_IsOK(res1
)) {
37246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_DragAcceptFiles" "', expected argument " "1"" of type '" "wxWindow *""'");
37248 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37249 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37250 if (!SWIG_IsOK(ecode2
)) {
37251 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_DragAcceptFiles" "', expected argument " "2"" of type '" "bool""'");
37253 arg2
= static_cast< bool >(val2
);
37255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37256 wxWindow_DragAcceptFiles(arg1
,arg2
);
37257 wxPyEndAllowThreads(__tstate
);
37258 if (PyErr_Occurred()) SWIG_fail
;
37260 resultobj
= SWIG_Py_Void();
37267 SWIGINTERN PyObject
*_wrap_Window_SetConstraints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37268 PyObject
*resultobj
= 0;
37269 wxWindow
*arg1
= (wxWindow
*) 0 ;
37270 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
37274 PyObject
* obj0
= 0 ;
37275 PyObject
* obj1
= 0 ;
37276 char * kwnames
[] = {
37277 (char *) "self",(char *) "constraints", NULL
37280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37282 if (!SWIG_IsOK(res1
)) {
37283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetConstraints" "', expected argument " "1"" of type '" "wxWindow *""'");
37285 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37286 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_DISOWN
| 0 );
37287 if (!SWIG_IsOK(res2
)) {
37288 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetConstraints" "', expected argument " "2"" of type '" "wxLayoutConstraints *""'");
37291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37292 (arg1
)->SetConstraints(arg2
);
37293 wxPyEndAllowThreads(__tstate
);
37294 if (PyErr_Occurred()) SWIG_fail
;
37296 resultobj
= SWIG_Py_Void();
37303 SWIGINTERN PyObject
*_wrap_Window_GetConstraints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37304 PyObject
*resultobj
= 0;
37305 wxWindow
*arg1
= (wxWindow
*) 0 ;
37306 wxLayoutConstraints
*result
= 0 ;
37309 PyObject
*swig_obj
[1] ;
37311 if (!args
) SWIG_fail
;
37312 swig_obj
[0] = args
;
37313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37314 if (!SWIG_IsOK(res1
)) {
37315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetConstraints" "', expected argument " "1"" of type '" "wxWindow const *""'");
37317 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37320 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
37321 wxPyEndAllowThreads(__tstate
);
37322 if (PyErr_Occurred()) SWIG_fail
;
37324 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
37331 SWIGINTERN PyObject
*_wrap_Window_SetAutoLayout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37332 PyObject
*resultobj
= 0;
37333 wxWindow
*arg1
= (wxWindow
*) 0 ;
37339 PyObject
* obj0
= 0 ;
37340 PyObject
* obj1
= 0 ;
37341 char * kwnames
[] = {
37342 (char *) "self",(char *) "autoLayout", NULL
37345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37347 if (!SWIG_IsOK(res1
)) {
37348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetAutoLayout" "', expected argument " "1"" of type '" "wxWindow *""'");
37350 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37351 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
37352 if (!SWIG_IsOK(ecode2
)) {
37353 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_SetAutoLayout" "', expected argument " "2"" of type '" "bool""'");
37355 arg2
= static_cast< bool >(val2
);
37357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37358 (arg1
)->SetAutoLayout(arg2
);
37359 wxPyEndAllowThreads(__tstate
);
37360 if (PyErr_Occurred()) SWIG_fail
;
37362 resultobj
= SWIG_Py_Void();
37369 SWIGINTERN PyObject
*_wrap_Window_GetAutoLayout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37370 PyObject
*resultobj
= 0;
37371 wxWindow
*arg1
= (wxWindow
*) 0 ;
37375 PyObject
*swig_obj
[1] ;
37377 if (!args
) SWIG_fail
;
37378 swig_obj
[0] = args
;
37379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37380 if (!SWIG_IsOK(res1
)) {
37381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetAutoLayout" "', expected argument " "1"" of type '" "wxWindow const *""'");
37383 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37386 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
37387 wxPyEndAllowThreads(__tstate
);
37388 if (PyErr_Occurred()) SWIG_fail
;
37391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37399 SWIGINTERN PyObject
*_wrap_Window_Layout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37400 PyObject
*resultobj
= 0;
37401 wxWindow
*arg1
= (wxWindow
*) 0 ;
37405 PyObject
*swig_obj
[1] ;
37407 if (!args
) SWIG_fail
;
37408 swig_obj
[0] = args
;
37409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37410 if (!SWIG_IsOK(res1
)) {
37411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_Layout" "', expected argument " "1"" of type '" "wxWindow *""'");
37413 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37416 result
= (bool)(arg1
)->Layout();
37417 wxPyEndAllowThreads(__tstate
);
37418 if (PyErr_Occurred()) SWIG_fail
;
37421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37429 SWIGINTERN PyObject
*_wrap_Window_SetSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37430 PyObject
*resultobj
= 0;
37431 wxWindow
*arg1
= (wxWindow
*) 0 ;
37432 wxSizer
*arg2
= (wxSizer
*) 0 ;
37433 bool arg3
= (bool) true ;
37439 PyObject
* obj0
= 0 ;
37440 PyObject
* obj1
= 0 ;
37441 PyObject
* obj2
= 0 ;
37442 char * kwnames
[] = {
37443 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
37446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37448 if (!SWIG_IsOK(res1
)) {
37449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSizer" "', expected argument " "1"" of type '" "wxWindow *""'");
37451 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37452 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
37453 if (!SWIG_IsOK(res2
)) {
37454 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetSizer" "', expected argument " "2"" of type '" "wxSizer *""'");
37457 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37458 if (!SWIG_IsOK(ecode3
)) {
37459 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetSizer" "', expected argument " "3"" of type '" "bool""'");
37461 arg3
= static_cast< bool >(val3
);
37464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37465 (arg1
)->SetSizer(arg2
,arg3
);
37466 wxPyEndAllowThreads(__tstate
);
37467 if (PyErr_Occurred()) SWIG_fail
;
37469 resultobj
= SWIG_Py_Void();
37476 SWIGINTERN PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37477 PyObject
*resultobj
= 0;
37478 wxWindow
*arg1
= (wxWindow
*) 0 ;
37479 wxSizer
*arg2
= (wxSizer
*) 0 ;
37480 bool arg3
= (bool) true ;
37486 PyObject
* obj0
= 0 ;
37487 PyObject
* obj1
= 0 ;
37488 PyObject
* obj2
= 0 ;
37489 char * kwnames
[] = {
37490 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
37493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
37494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37495 if (!SWIG_IsOK(res1
)) {
37496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetSizerAndFit" "', expected argument " "1"" of type '" "wxWindow *""'");
37498 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37499 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
37500 if (!SWIG_IsOK(res2
)) {
37501 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetSizerAndFit" "', expected argument " "2"" of type '" "wxSizer *""'");
37504 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
37505 if (!SWIG_IsOK(ecode3
)) {
37506 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Window_SetSizerAndFit" "', expected argument " "3"" of type '" "bool""'");
37508 arg3
= static_cast< bool >(val3
);
37511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37512 (arg1
)->SetSizerAndFit(arg2
,arg3
);
37513 wxPyEndAllowThreads(__tstate
);
37514 if (PyErr_Occurred()) SWIG_fail
;
37516 resultobj
= SWIG_Py_Void();
37523 SWIGINTERN PyObject
*_wrap_Window_GetSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37524 PyObject
*resultobj
= 0;
37525 wxWindow
*arg1
= (wxWindow
*) 0 ;
37526 wxSizer
*result
= 0 ;
37529 PyObject
*swig_obj
[1] ;
37531 if (!args
) SWIG_fail
;
37532 swig_obj
[0] = args
;
37533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37534 if (!SWIG_IsOK(res1
)) {
37535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetSizer" "', expected argument " "1"" of type '" "wxWindow const *""'");
37537 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37540 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
37541 wxPyEndAllowThreads(__tstate
);
37542 if (PyErr_Occurred()) SWIG_fail
;
37545 resultobj
= wxPyMake_wxObject(result
, (bool)0);
37553 SWIGINTERN PyObject
*_wrap_Window_SetContainingSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37554 PyObject
*resultobj
= 0;
37555 wxWindow
*arg1
= (wxWindow
*) 0 ;
37556 wxSizer
*arg2
= (wxSizer
*) 0 ;
37561 PyObject
* obj0
= 0 ;
37562 PyObject
* obj1
= 0 ;
37563 char * kwnames
[] = {
37564 (char *) "self",(char *) "sizer", NULL
37567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37569 if (!SWIG_IsOK(res1
)) {
37570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_SetContainingSizer" "', expected argument " "1"" of type '" "wxWindow *""'");
37572 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37573 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
37574 if (!SWIG_IsOK(res2
)) {
37575 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Window_SetContainingSizer" "', expected argument " "2"" of type '" "wxSizer *""'");
37577 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
37579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37580 (arg1
)->SetContainingSizer(arg2
);
37581 wxPyEndAllowThreads(__tstate
);
37582 if (PyErr_Occurred()) SWIG_fail
;
37584 resultobj
= SWIG_Py_Void();
37591 SWIGINTERN PyObject
*_wrap_Window_GetContainingSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37592 PyObject
*resultobj
= 0;
37593 wxWindow
*arg1
= (wxWindow
*) 0 ;
37594 wxSizer
*result
= 0 ;
37597 PyObject
*swig_obj
[1] ;
37599 if (!args
) SWIG_fail
;
37600 swig_obj
[0] = args
;
37601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37602 if (!SWIG_IsOK(res1
)) {
37603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_GetContainingSizer" "', expected argument " "1"" of type '" "wxWindow const *""'");
37605 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37608 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
37609 wxPyEndAllowThreads(__tstate
);
37610 if (PyErr_Occurred()) SWIG_fail
;
37613 resultobj
= wxPyMake_wxObject(result
, (bool)0);
37621 SWIGINTERN PyObject
*_wrap_Window_InheritAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37622 PyObject
*resultobj
= 0;
37623 wxWindow
*arg1
= (wxWindow
*) 0 ;
37626 PyObject
*swig_obj
[1] ;
37628 if (!args
) SWIG_fail
;
37629 swig_obj
[0] = args
;
37630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37631 if (!SWIG_IsOK(res1
)) {
37632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_InheritAttributes" "', expected argument " "1"" of type '" "wxWindow *""'");
37634 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37637 (arg1
)->InheritAttributes();
37638 wxPyEndAllowThreads(__tstate
);
37639 if (PyErr_Occurred()) SWIG_fail
;
37641 resultobj
= SWIG_Py_Void();
37648 SWIGINTERN PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37649 PyObject
*resultobj
= 0;
37650 wxWindow
*arg1
= (wxWindow
*) 0 ;
37654 PyObject
*swig_obj
[1] ;
37656 if (!args
) SWIG_fail
;
37657 swig_obj
[0] = args
;
37658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37659 if (!SWIG_IsOK(res1
)) {
37660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_ShouldInheritColours" "', expected argument " "1"" of type '" "wxWindow const *""'");
37662 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37665 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
37666 wxPyEndAllowThreads(__tstate
);
37667 if (PyErr_Occurred()) SWIG_fail
;
37670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37678 SWIGINTERN PyObject
*Window_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37680 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
37681 SWIG_TypeNewClientData(SWIGTYPE_p_wxWindow
, SWIG_NewClientData(obj
));
37682 return SWIG_Py_Void();
37685 SWIGINTERN PyObject
*Window_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37686 return SWIG_Python_InitShadowInstance(args
);
37689 SWIGINTERN PyObject
*_wrap_FindWindowById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37690 PyObject
*resultobj
= 0;
37692 wxWindow
*arg2
= (wxWindow
*) NULL
;
37693 wxWindow
*result
= 0 ;
37698 PyObject
* obj0
= 0 ;
37699 PyObject
* obj1
= 0 ;
37700 char * kwnames
[] = {
37701 (char *) "id",(char *) "parent", NULL
37704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37705 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
37706 if (!SWIG_IsOK(ecode1
)) {
37707 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "FindWindowById" "', expected argument " "1"" of type '" "long""'");
37709 arg1
= static_cast< long >(val1
);
37711 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37712 if (!SWIG_IsOK(res2
)) {
37713 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindWindowById" "', expected argument " "2"" of type '" "wxWindow const *""'");
37715 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37718 if (!wxPyCheckForApp()) SWIG_fail
;
37719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37720 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
37721 wxPyEndAllowThreads(__tstate
);
37722 if (PyErr_Occurred()) SWIG_fail
;
37725 resultobj
= wxPyMake_wxObject(result
, 0);
37733 SWIGINTERN PyObject
*_wrap_FindWindowByName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37734 PyObject
*resultobj
= 0;
37735 wxString
*arg1
= 0 ;
37736 wxWindow
*arg2
= (wxWindow
*) NULL
;
37737 wxWindow
*result
= 0 ;
37738 bool temp1
= false ;
37741 PyObject
* obj0
= 0 ;
37742 PyObject
* obj1
= 0 ;
37743 char * kwnames
[] = {
37744 (char *) "name",(char *) "parent", NULL
37747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37749 arg1
= wxString_in_helper(obj0
);
37750 if (arg1
== NULL
) SWIG_fail
;
37754 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37755 if (!SWIG_IsOK(res2
)) {
37756 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindWindowByName" "', expected argument " "2"" of type '" "wxWindow const *""'");
37758 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37761 if (!wxPyCheckForApp()) SWIG_fail
;
37762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37763 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
37764 wxPyEndAllowThreads(__tstate
);
37765 if (PyErr_Occurred()) SWIG_fail
;
37768 resultobj
= wxPyMake_wxObject(result
, 0);
37784 SWIGINTERN PyObject
*_wrap_FindWindowByLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37785 PyObject
*resultobj
= 0;
37786 wxString
*arg1
= 0 ;
37787 wxWindow
*arg2
= (wxWindow
*) NULL
;
37788 wxWindow
*result
= 0 ;
37789 bool temp1
= false ;
37792 PyObject
* obj0
= 0 ;
37793 PyObject
* obj1
= 0 ;
37794 char * kwnames
[] = {
37795 (char *) "label",(char *) "parent", NULL
37798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37800 arg1
= wxString_in_helper(obj0
);
37801 if (arg1
== NULL
) SWIG_fail
;
37805 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37806 if (!SWIG_IsOK(res2
)) {
37807 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindWindowByLabel" "', expected argument " "2"" of type '" "wxWindow const *""'");
37809 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37812 if (!wxPyCheckForApp()) SWIG_fail
;
37813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37814 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
37815 wxPyEndAllowThreads(__tstate
);
37816 if (PyErr_Occurred()) SWIG_fail
;
37819 resultobj
= wxPyMake_wxObject(result
, 0);
37835 SWIGINTERN PyObject
*_wrap_Window_FromHWND(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37836 PyObject
*resultobj
= 0;
37837 wxWindow
*arg1
= (wxWindow
*) 0 ;
37838 unsigned long arg2
;
37839 wxWindow
*result
= 0 ;
37842 unsigned long val2
;
37844 PyObject
* obj0
= 0 ;
37845 PyObject
* obj1
= 0 ;
37846 char * kwnames
[] = {
37847 (char *) "parent",(char *) "_hWnd", NULL
37850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37852 if (!SWIG_IsOK(res1
)) {
37853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Window_FromHWND" "', expected argument " "1"" of type '" "wxWindow *""'");
37855 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
37856 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
37857 if (!SWIG_IsOK(ecode2
)) {
37858 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Window_FromHWND" "', expected argument " "2"" of type '" "unsigned long""'");
37860 arg2
= static_cast< unsigned long >(val2
);
37862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37863 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
37864 wxPyEndAllowThreads(__tstate
);
37865 if (PyErr_Occurred()) SWIG_fail
;
37868 resultobj
= wxPyMake_wxObject(result
, 0);
37876 SWIGINTERN PyObject
*_wrap_GetTopLevelWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37877 PyObject
*resultobj
= 0;
37878 PyObject
*result
= 0 ;
37880 if (!SWIG_Python_UnpackTuple(args
,"GetTopLevelWindows",0,0,0)) SWIG_fail
;
37882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37883 result
= (PyObject
*)GetTopLevelWindows();
37884 wxPyEndAllowThreads(__tstate
);
37885 if (PyErr_Occurred()) SWIG_fail
;
37887 resultobj
= result
;
37894 SWIGINTERN PyObject
*_wrap_new_Validator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37895 PyObject
*resultobj
= 0;
37896 wxValidator
*result
= 0 ;
37898 if (!SWIG_Python_UnpackTuple(args
,"new_Validator",0,0,0)) SWIG_fail
;
37900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37901 result
= (wxValidator
*)new wxValidator();
37902 wxPyEndAllowThreads(__tstate
);
37903 if (PyErr_Occurred()) SWIG_fail
;
37905 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxValidator
, SWIG_POINTER_NEW
| 0 );
37912 SWIGINTERN PyObject
*_wrap_Validator_Clone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37913 PyObject
*resultobj
= 0;
37914 wxValidator
*arg1
= (wxValidator
*) 0 ;
37915 wxValidator
*result
= 0 ;
37918 PyObject
*swig_obj
[1] ;
37920 if (!args
) SWIG_fail
;
37921 swig_obj
[0] = args
;
37922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
37923 if (!SWIG_IsOK(res1
)) {
37924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_Clone" "', expected argument " "1"" of type '" "wxValidator *""'");
37926 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
37928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37929 result
= (wxValidator
*)(arg1
)->Clone();
37930 wxPyEndAllowThreads(__tstate
);
37931 if (PyErr_Occurred()) SWIG_fail
;
37934 resultobj
= wxPyMake_wxObject(result
, 0);
37942 SWIGINTERN PyObject
*_wrap_Validator_Validate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
37943 PyObject
*resultobj
= 0;
37944 wxValidator
*arg1
= (wxValidator
*) 0 ;
37945 wxWindow
*arg2
= (wxWindow
*) 0 ;
37951 PyObject
* obj0
= 0 ;
37952 PyObject
* obj1
= 0 ;
37953 char * kwnames
[] = {
37954 (char *) "self",(char *) "parent", NULL
37957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
37958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
37959 if (!SWIG_IsOK(res1
)) {
37960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_Validate" "', expected argument " "1"" of type '" "wxValidator *""'");
37962 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
37963 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
37964 if (!SWIG_IsOK(res2
)) {
37965 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Validator_Validate" "', expected argument " "2"" of type '" "wxWindow *""'");
37967 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
37969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37970 result
= (bool)(arg1
)->Validate(arg2
);
37971 wxPyEndAllowThreads(__tstate
);
37972 if (PyErr_Occurred()) SWIG_fail
;
37975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37983 SWIGINTERN PyObject
*_wrap_Validator_TransferToWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
37984 PyObject
*resultobj
= 0;
37985 wxValidator
*arg1
= (wxValidator
*) 0 ;
37989 PyObject
*swig_obj
[1] ;
37991 if (!args
) SWIG_fail
;
37992 swig_obj
[0] = args
;
37993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
37994 if (!SWIG_IsOK(res1
)) {
37995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_TransferToWindow" "', expected argument " "1"" of type '" "wxValidator *""'");
37997 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
37999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38000 result
= (bool)(arg1
)->TransferToWindow();
38001 wxPyEndAllowThreads(__tstate
);
38002 if (PyErr_Occurred()) SWIG_fail
;
38005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38013 SWIGINTERN PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38014 PyObject
*resultobj
= 0;
38015 wxValidator
*arg1
= (wxValidator
*) 0 ;
38019 PyObject
*swig_obj
[1] ;
38021 if (!args
) SWIG_fail
;
38022 swig_obj
[0] = args
;
38023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
38024 if (!SWIG_IsOK(res1
)) {
38025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_TransferFromWindow" "', expected argument " "1"" of type '" "wxValidator *""'");
38027 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
38029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38030 result
= (bool)(arg1
)->TransferFromWindow();
38031 wxPyEndAllowThreads(__tstate
);
38032 if (PyErr_Occurred()) SWIG_fail
;
38035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38043 SWIGINTERN PyObject
*_wrap_Validator_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38044 PyObject
*resultobj
= 0;
38045 wxValidator
*arg1
= (wxValidator
*) 0 ;
38046 wxWindow
*result
= 0 ;
38049 PyObject
*swig_obj
[1] ;
38051 if (!args
) SWIG_fail
;
38052 swig_obj
[0] = args
;
38053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
38054 if (!SWIG_IsOK(res1
)) {
38055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_GetWindow" "', expected argument " "1"" of type '" "wxValidator *""'");
38057 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
38059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38060 result
= (wxWindow
*)(arg1
)->GetWindow();
38061 wxPyEndAllowThreads(__tstate
);
38062 if (PyErr_Occurred()) SWIG_fail
;
38065 resultobj
= wxPyMake_wxObject(result
, 0);
38073 SWIGINTERN PyObject
*_wrap_Validator_SetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38074 PyObject
*resultobj
= 0;
38075 wxValidator
*arg1
= (wxValidator
*) 0 ;
38076 wxWindow
*arg2
= (wxWindow
*) 0 ;
38081 PyObject
* obj0
= 0 ;
38082 PyObject
* obj1
= 0 ;
38083 char * kwnames
[] = {
38084 (char *) "self",(char *) "window", NULL
38087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxValidator
, 0 | 0 );
38089 if (!SWIG_IsOK(res1
)) {
38090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Validator_SetWindow" "', expected argument " "1"" of type '" "wxValidator *""'");
38092 arg1
= reinterpret_cast< wxValidator
* >(argp1
);
38093 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
38094 if (!SWIG_IsOK(res2
)) {
38095 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Validator_SetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
38097 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
38099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38100 (arg1
)->SetWindow(arg2
);
38101 wxPyEndAllowThreads(__tstate
);
38102 if (PyErr_Occurred()) SWIG_fail
;
38104 resultobj
= SWIG_Py_Void();
38111 SWIGINTERN PyObject
*_wrap_Validator_IsSilent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38112 PyObject
*resultobj
= 0;
38115 if (!SWIG_Python_UnpackTuple(args
,"Validator_IsSilent",0,0,0)) SWIG_fail
;
38117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38118 result
= (bool)wxValidator::IsSilent();
38119 wxPyEndAllowThreads(__tstate
);
38120 if (PyErr_Occurred()) SWIG_fail
;
38123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38131 SWIGINTERN PyObject
*_wrap_Validator_SetBellOnError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38132 PyObject
*resultobj
= 0;
38133 int arg1
= (int) true ;
38136 PyObject
* obj0
= 0 ;
38137 char * kwnames
[] = {
38138 (char *) "doIt", NULL
38141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) SWIG_fail
;
38143 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
38144 if (!SWIG_IsOK(ecode1
)) {
38145 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Validator_SetBellOnError" "', expected argument " "1"" of type '" "int""'");
38147 arg1
= static_cast< int >(val1
);
38150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38151 wxValidator::SetBellOnError(arg1
);
38152 wxPyEndAllowThreads(__tstate
);
38153 if (PyErr_Occurred()) SWIG_fail
;
38155 resultobj
= SWIG_Py_Void();
38162 SWIGINTERN PyObject
*Validator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38164 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38165 SWIG_TypeNewClientData(SWIGTYPE_p_wxValidator
, SWIG_NewClientData(obj
));
38166 return SWIG_Py_Void();
38169 SWIGINTERN PyObject
*Validator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38170 return SWIG_Python_InitShadowInstance(args
);
38173 SWIGINTERN PyObject
*_wrap_new_PyValidator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38174 PyObject
*resultobj
= 0;
38175 wxPyValidator
*result
= 0 ;
38177 if (!SWIG_Python_UnpackTuple(args
,"new_PyValidator",0,0,0)) SWIG_fail
;
38179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38180 result
= (wxPyValidator
*)new wxPyValidator();
38181 wxPyEndAllowThreads(__tstate
);
38182 if (PyErr_Occurred()) SWIG_fail
;
38184 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyValidator
, SWIG_POINTER_NEW
| 0 );
38191 SWIGINTERN PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38192 PyObject
*resultobj
= 0;
38193 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
38194 PyObject
*arg2
= (PyObject
*) 0 ;
38195 PyObject
*arg3
= (PyObject
*) 0 ;
38196 int arg4
= (int) true ;
38201 PyObject
* obj0
= 0 ;
38202 PyObject
* obj1
= 0 ;
38203 PyObject
* obj2
= 0 ;
38204 PyObject
* obj3
= 0 ;
38205 char * kwnames
[] = {
38206 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
38209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyValidator
, 0 | 0 );
38211 if (!SWIG_IsOK(res1
)) {
38212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyValidator__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyValidator *""'");
38214 arg1
= reinterpret_cast< wxPyValidator
* >(argp1
);
38218 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
38219 if (!SWIG_IsOK(ecode4
)) {
38220 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyValidator__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
38222 arg4
= static_cast< int >(val4
);
38225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38226 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
38227 wxPyEndAllowThreads(__tstate
);
38228 if (PyErr_Occurred()) SWIG_fail
;
38230 resultobj
= SWIG_Py_Void();
38237 SWIGINTERN PyObject
*PyValidator_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38239 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
38240 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyValidator
, SWIG_NewClientData(obj
));
38241 return SWIG_Py_Void();
38244 SWIGINTERN PyObject
*PyValidator_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38245 return SWIG_Python_InitShadowInstance(args
);
38248 SWIGINTERN
int DefaultValidator_set(PyObject
*) {
38249 SWIG_Error(SWIG_AttributeError
,"Variable DefaultValidator is read-only.");
38254 SWIGINTERN PyObject
*DefaultValidator_get(void) {
38255 PyObject
*pyobj
= 0;
38257 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0 );
38262 SWIGINTERN PyObject
*_wrap_new_Menu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38263 PyObject
*resultobj
= 0;
38264 wxString
const &arg1_defvalue
= wxPyEmptyString
;
38265 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
38266 long arg2
= (long) 0 ;
38267 wxMenu
*result
= 0 ;
38268 bool temp1
= false ;
38271 PyObject
* obj0
= 0 ;
38272 PyObject
* obj1
= 0 ;
38273 char * kwnames
[] = {
38274 (char *) "title",(char *) "style", NULL
38277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38280 arg1
= wxString_in_helper(obj0
);
38281 if (arg1
== NULL
) SWIG_fail
;
38286 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
38287 if (!SWIG_IsOK(ecode2
)) {
38288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Menu" "', expected argument " "2"" of type '" "long""'");
38290 arg2
= static_cast< long >(val2
);
38293 if (!wxPyCheckForApp()) SWIG_fail
;
38294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38295 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
38296 wxPyEndAllowThreads(__tstate
);
38297 if (PyErr_Occurred()) SWIG_fail
;
38299 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMenu
, SWIG_POINTER_NEW
| 0 );
38314 SWIGINTERN PyObject
*_wrap_Menu_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38315 PyObject
*resultobj
= 0;
38316 wxMenu
*arg1
= (wxMenu
*) 0 ;
38318 wxString
*arg3
= 0 ;
38319 wxString
const &arg4_defvalue
= wxPyEmptyString
;
38320 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
38321 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
38322 wxMenuItem
*result
= 0 ;
38327 bool temp3
= false ;
38328 bool temp4
= false ;
38331 PyObject
* obj0
= 0 ;
38332 PyObject
* obj1
= 0 ;
38333 PyObject
* obj2
= 0 ;
38334 PyObject
* obj3
= 0 ;
38335 PyObject
* obj4
= 0 ;
38336 char * kwnames
[] = {
38337 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
38340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38342 if (!SWIG_IsOK(res1
)) {
38343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Append" "', expected argument " "1"" of type '" "wxMenu *""'");
38345 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38346 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38347 if (!SWIG_IsOK(ecode2
)) {
38348 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Append" "', expected argument " "2"" of type '" "int""'");
38350 arg2
= static_cast< int >(val2
);
38352 arg3
= wxString_in_helper(obj2
);
38353 if (arg3
== NULL
) SWIG_fail
;
38358 arg4
= wxString_in_helper(obj3
);
38359 if (arg4
== NULL
) SWIG_fail
;
38364 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
38365 if (!SWIG_IsOK(ecode5
)) {
38366 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Menu_Append" "', expected argument " "5"" of type '" "wxItemKind""'");
38368 arg5
= static_cast< wxItemKind
>(val5
);
38371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38372 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
38373 wxPyEndAllowThreads(__tstate
);
38374 if (PyErr_Occurred()) SWIG_fail
;
38377 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38401 SWIGINTERN PyObject
*_wrap_Menu_AppendSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38402 PyObject
*resultobj
= 0;
38403 wxMenu
*arg1
= (wxMenu
*) 0 ;
38404 wxMenuItem
*result
= 0 ;
38407 PyObject
*swig_obj
[1] ;
38409 if (!args
) SWIG_fail
;
38410 swig_obj
[0] = args
;
38411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38412 if (!SWIG_IsOK(res1
)) {
38413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendSeparator" "', expected argument " "1"" of type '" "wxMenu *""'");
38415 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38418 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
38419 wxPyEndAllowThreads(__tstate
);
38420 if (PyErr_Occurred()) SWIG_fail
;
38423 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38431 SWIGINTERN PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38432 PyObject
*resultobj
= 0;
38433 wxMenu
*arg1
= (wxMenu
*) 0 ;
38435 wxString
*arg3
= 0 ;
38436 wxString
const &arg4_defvalue
= wxPyEmptyString
;
38437 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
38438 wxMenuItem
*result
= 0 ;
38443 bool temp3
= false ;
38444 bool temp4
= false ;
38445 PyObject
* obj0
= 0 ;
38446 PyObject
* obj1
= 0 ;
38447 PyObject
* obj2
= 0 ;
38448 PyObject
* obj3
= 0 ;
38449 char * kwnames
[] = {
38450 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
38453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38455 if (!SWIG_IsOK(res1
)) {
38456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendCheckItem" "', expected argument " "1"" of type '" "wxMenu *""'");
38458 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38459 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38460 if (!SWIG_IsOK(ecode2
)) {
38461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_AppendCheckItem" "', expected argument " "2"" of type '" "int""'");
38463 arg2
= static_cast< int >(val2
);
38465 arg3
= wxString_in_helper(obj2
);
38466 if (arg3
== NULL
) SWIG_fail
;
38471 arg4
= wxString_in_helper(obj3
);
38472 if (arg4
== NULL
) SWIG_fail
;
38477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38478 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
38479 wxPyEndAllowThreads(__tstate
);
38480 if (PyErr_Occurred()) SWIG_fail
;
38483 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38507 SWIGINTERN PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38508 PyObject
*resultobj
= 0;
38509 wxMenu
*arg1
= (wxMenu
*) 0 ;
38511 wxString
*arg3
= 0 ;
38512 wxString
const &arg4_defvalue
= wxPyEmptyString
;
38513 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
38514 wxMenuItem
*result
= 0 ;
38519 bool temp3
= false ;
38520 bool temp4
= false ;
38521 PyObject
* obj0
= 0 ;
38522 PyObject
* obj1
= 0 ;
38523 PyObject
* obj2
= 0 ;
38524 PyObject
* obj3
= 0 ;
38525 char * kwnames
[] = {
38526 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
38529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38531 if (!SWIG_IsOK(res1
)) {
38532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendRadioItem" "', expected argument " "1"" of type '" "wxMenu *""'");
38534 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38535 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38536 if (!SWIG_IsOK(ecode2
)) {
38537 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_AppendRadioItem" "', expected argument " "2"" of type '" "int""'");
38539 arg2
= static_cast< int >(val2
);
38541 arg3
= wxString_in_helper(obj2
);
38542 if (arg3
== NULL
) SWIG_fail
;
38547 arg4
= wxString_in_helper(obj3
);
38548 if (arg4
== NULL
) SWIG_fail
;
38553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38554 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
38555 wxPyEndAllowThreads(__tstate
);
38556 if (PyErr_Occurred()) SWIG_fail
;
38559 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38583 SWIGINTERN PyObject
*_wrap_Menu_AppendMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38584 PyObject
*resultobj
= 0;
38585 wxMenu
*arg1
= (wxMenu
*) 0 ;
38587 wxString
*arg3
= 0 ;
38588 wxMenu
*arg4
= (wxMenu
*) 0 ;
38589 wxString
const &arg5_defvalue
= wxPyEmptyString
;
38590 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
38591 wxMenuItem
*result
= 0 ;
38596 bool temp3
= false ;
38599 bool temp5
= false ;
38600 PyObject
* obj0
= 0 ;
38601 PyObject
* obj1
= 0 ;
38602 PyObject
* obj2
= 0 ;
38603 PyObject
* obj3
= 0 ;
38604 PyObject
* obj4
= 0 ;
38605 char * kwnames
[] = {
38606 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
38609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
38610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38611 if (!SWIG_IsOK(res1
)) {
38612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendMenu" "', expected argument " "1"" of type '" "wxMenu *""'");
38614 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38615 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
38616 if (!SWIG_IsOK(ecode2
)) {
38617 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_AppendMenu" "', expected argument " "2"" of type '" "int""'");
38619 arg2
= static_cast< int >(val2
);
38621 arg3
= wxString_in_helper(obj2
);
38622 if (arg3
== NULL
) SWIG_fail
;
38625 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38626 if (!SWIG_IsOK(res4
)) {
38627 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Menu_AppendMenu" "', expected argument " "4"" of type '" "wxMenu *""'");
38629 arg4
= reinterpret_cast< wxMenu
* >(argp4
);
38632 arg5
= wxString_in_helper(obj4
);
38633 if (arg5
== NULL
) SWIG_fail
;
38638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38639 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
38640 wxPyEndAllowThreads(__tstate
);
38641 if (PyErr_Occurred()) SWIG_fail
;
38644 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38668 SWIGINTERN PyObject
*_wrap_Menu_AppendSubMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38669 PyObject
*resultobj
= 0;
38670 wxMenu
*arg1
= (wxMenu
*) 0 ;
38671 wxMenu
*arg2
= (wxMenu
*) 0 ;
38672 wxString
*arg3
= 0 ;
38673 wxString
const &arg4_defvalue
= wxPyEmptyString
;
38674 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
38675 wxMenuItem
*result
= 0 ;
38680 bool temp3
= false ;
38681 bool temp4
= false ;
38682 PyObject
* obj0
= 0 ;
38683 PyObject
* obj1
= 0 ;
38684 PyObject
* obj2
= 0 ;
38685 PyObject
* obj3
= 0 ;
38686 char * kwnames
[] = {
38687 (char *) "self",(char *) "submenu",(char *) "text",(char *) "help", NULL
38690 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendSubMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
38691 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38692 if (!SWIG_IsOK(res1
)) {
38693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendSubMenu" "', expected argument " "1"" of type '" "wxMenu *""'");
38695 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38696 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38697 if (!SWIG_IsOK(res2
)) {
38698 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_AppendSubMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
38700 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
38702 arg3
= wxString_in_helper(obj2
);
38703 if (arg3
== NULL
) SWIG_fail
;
38708 arg4
= wxString_in_helper(obj3
);
38709 if (arg4
== NULL
) SWIG_fail
;
38714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38715 result
= (wxMenuItem
*)(arg1
)->AppendSubMenu(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
38716 wxPyEndAllowThreads(__tstate
);
38717 if (PyErr_Occurred()) SWIG_fail
;
38720 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38744 SWIGINTERN PyObject
*_wrap_Menu_AppendItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38745 PyObject
*resultobj
= 0;
38746 wxMenu
*arg1
= (wxMenu
*) 0 ;
38747 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
38748 wxMenuItem
*result
= 0 ;
38752 PyObject
* obj0
= 0 ;
38753 PyObject
* obj1
= 0 ;
38754 char * kwnames
[] = {
38755 (char *) "self",(char *) "item", NULL
38758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38760 if (!SWIG_IsOK(res1
)) {
38761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_AppendItem" "', expected argument " "1"" of type '" "wxMenu *""'");
38763 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38764 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_DISOWN
| 0 );
38765 if (!SWIG_IsOK(res2
)) {
38766 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_AppendItem" "', expected argument " "2"" of type '" "wxMenuItem *""'");
38769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38770 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
38771 wxPyEndAllowThreads(__tstate
);
38772 if (PyErr_Occurred()) SWIG_fail
;
38775 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38783 SWIGINTERN PyObject
*_wrap_Menu_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38784 PyObject
*resultobj
= 0;
38785 wxMenu
*arg1
= (wxMenu
*) 0 ;
38787 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
38788 wxMenuItem
*result
= 0 ;
38794 PyObject
* obj0
= 0 ;
38795 PyObject
* obj1
= 0 ;
38796 PyObject
* obj2
= 0 ;
38797 char * kwnames
[] = {
38798 (char *) "self",(char *) "pos",(char *) "item", NULL
38801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
38802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38803 if (!SWIG_IsOK(res1
)) {
38804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_InsertItem" "', expected argument " "1"" of type '" "wxMenu *""'");
38806 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38807 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
38808 if (!SWIG_IsOK(ecode2
)) {
38809 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_InsertItem" "', expected argument " "2"" of type '" "size_t""'");
38811 arg2
= static_cast< size_t >(val2
);
38812 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_DISOWN
| 0 );
38813 if (!SWIG_IsOK(res3
)) {
38814 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Menu_InsertItem" "', expected argument " "3"" of type '" "wxMenuItem *""'");
38817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38818 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
38819 wxPyEndAllowThreads(__tstate
);
38820 if (PyErr_Occurred()) SWIG_fail
;
38823 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38831 SWIGINTERN PyObject
*_wrap_Menu_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38832 PyObject
*resultobj
= 0;
38833 wxMenu
*arg1
= (wxMenu
*) 0 ;
38834 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
38835 wxMenuItem
*result
= 0 ;
38839 PyObject
* obj0
= 0 ;
38840 PyObject
* obj1
= 0 ;
38841 char * kwnames
[] = {
38842 (char *) "self",(char *) "item", NULL
38845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
38846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38847 if (!SWIG_IsOK(res1
)) {
38848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_PrependItem" "', expected argument " "1"" of type '" "wxMenu *""'");
38850 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38851 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_DISOWN
| 0 );
38852 if (!SWIG_IsOK(res2
)) {
38853 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_PrependItem" "', expected argument " "2"" of type '" "wxMenuItem *""'");
38856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38857 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
38858 wxPyEndAllowThreads(__tstate
);
38859 if (PyErr_Occurred()) SWIG_fail
;
38862 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38870 SWIGINTERN PyObject
*_wrap_Menu_Break(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
38871 PyObject
*resultobj
= 0;
38872 wxMenu
*arg1
= (wxMenu
*) 0 ;
38875 PyObject
*swig_obj
[1] ;
38877 if (!args
) SWIG_fail
;
38878 swig_obj
[0] = args
;
38879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38880 if (!SWIG_IsOK(res1
)) {
38881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Break" "', expected argument " "1"" of type '" "wxMenu *""'");
38883 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38887 wxPyEndAllowThreads(__tstate
);
38888 if (PyErr_Occurred()) SWIG_fail
;
38890 resultobj
= SWIG_Py_Void();
38897 SWIGINTERN PyObject
*_wrap_Menu_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38898 PyObject
*resultobj
= 0;
38899 wxMenu
*arg1
= (wxMenu
*) 0 ;
38902 wxString
*arg4
= 0 ;
38903 wxString
const &arg5_defvalue
= wxPyEmptyString
;
38904 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
38905 wxItemKind arg6
= (wxItemKind
) wxITEM_NORMAL
;
38906 wxMenuItem
*result
= 0 ;
38913 bool temp4
= false ;
38914 bool temp5
= false ;
38917 PyObject
* obj0
= 0 ;
38918 PyObject
* obj1
= 0 ;
38919 PyObject
* obj2
= 0 ;
38920 PyObject
* obj3
= 0 ;
38921 PyObject
* obj4
= 0 ;
38922 PyObject
* obj5
= 0 ;
38923 char * kwnames
[] = {
38924 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
38927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
38928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
38929 if (!SWIG_IsOK(res1
)) {
38930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Insert" "', expected argument " "1"" of type '" "wxMenu *""'");
38932 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
38933 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
38934 if (!SWIG_IsOK(ecode2
)) {
38935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Insert" "', expected argument " "2"" of type '" "size_t""'");
38937 arg2
= static_cast< size_t >(val2
);
38938 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
38939 if (!SWIG_IsOK(ecode3
)) {
38940 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_Insert" "', expected argument " "3"" of type '" "int""'");
38942 arg3
= static_cast< int >(val3
);
38944 arg4
= wxString_in_helper(obj3
);
38945 if (arg4
== NULL
) SWIG_fail
;
38950 arg5
= wxString_in_helper(obj4
);
38951 if (arg5
== NULL
) SWIG_fail
;
38956 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
38957 if (!SWIG_IsOK(ecode6
)) {
38958 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Menu_Insert" "', expected argument " "6"" of type '" "wxItemKind""'");
38960 arg6
= static_cast< wxItemKind
>(val6
);
38963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38964 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
);
38965 wxPyEndAllowThreads(__tstate
);
38966 if (PyErr_Occurred()) SWIG_fail
;
38969 resultobj
= wxPyMake_wxObject(result
, (bool)0);
38993 SWIGINTERN PyObject
*_wrap_Menu_InsertSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
38994 PyObject
*resultobj
= 0;
38995 wxMenu
*arg1
= (wxMenu
*) 0 ;
38997 wxMenuItem
*result
= 0 ;
39002 PyObject
* obj0
= 0 ;
39003 PyObject
* obj1
= 0 ;
39004 char * kwnames
[] = {
39005 (char *) "self",(char *) "pos", NULL
39008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39010 if (!SWIG_IsOK(res1
)) {
39011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_InsertSeparator" "', expected argument " "1"" of type '" "wxMenu *""'");
39013 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39014 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
39015 if (!SWIG_IsOK(ecode2
)) {
39016 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_InsertSeparator" "', expected argument " "2"" of type '" "size_t""'");
39018 arg2
= static_cast< size_t >(val2
);
39020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39021 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
39022 wxPyEndAllowThreads(__tstate
);
39023 if (PyErr_Occurred()) SWIG_fail
;
39026 resultobj
= wxPyMake_wxObject(result
, (bool)0);
39034 SWIGINTERN PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39035 PyObject
*resultobj
= 0;
39036 wxMenu
*arg1
= (wxMenu
*) 0 ;
39039 wxString
*arg4
= 0 ;
39040 wxString
const &arg5_defvalue
= wxPyEmptyString
;
39041 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
39042 wxMenuItem
*result
= 0 ;
39049 bool temp4
= false ;
39050 bool temp5
= false ;
39051 PyObject
* obj0
= 0 ;
39052 PyObject
* obj1
= 0 ;
39053 PyObject
* obj2
= 0 ;
39054 PyObject
* obj3
= 0 ;
39055 PyObject
* obj4
= 0 ;
39056 char * kwnames
[] = {
39057 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
39060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39062 if (!SWIG_IsOK(res1
)) {
39063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_InsertCheckItem" "', expected argument " "1"" of type '" "wxMenu *""'");
39065 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39066 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
39067 if (!SWIG_IsOK(ecode2
)) {
39068 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_InsertCheckItem" "', expected argument " "2"" of type '" "size_t""'");
39070 arg2
= static_cast< size_t >(val2
);
39071 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39072 if (!SWIG_IsOK(ecode3
)) {
39073 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_InsertCheckItem" "', expected argument " "3"" of type '" "int""'");
39075 arg3
= static_cast< int >(val3
);
39077 arg4
= wxString_in_helper(obj3
);
39078 if (arg4
== NULL
) SWIG_fail
;
39083 arg5
= wxString_in_helper(obj4
);
39084 if (arg5
== NULL
) SWIG_fail
;
39089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39090 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
39091 wxPyEndAllowThreads(__tstate
);
39092 if (PyErr_Occurred()) SWIG_fail
;
39095 resultobj
= wxPyMake_wxObject(result
, (bool)0);
39119 SWIGINTERN PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39120 PyObject
*resultobj
= 0;
39121 wxMenu
*arg1
= (wxMenu
*) 0 ;
39124 wxString
*arg4
= 0 ;
39125 wxString
const &arg5_defvalue
= wxPyEmptyString
;
39126 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
39127 wxMenuItem
*result
= 0 ;
39134 bool temp4
= false ;
39135 bool temp5
= false ;
39136 PyObject
* obj0
= 0 ;
39137 PyObject
* obj1
= 0 ;
39138 PyObject
* obj2
= 0 ;
39139 PyObject
* obj3
= 0 ;
39140 PyObject
* obj4
= 0 ;
39141 char * kwnames
[] = {
39142 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
39145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39147 if (!SWIG_IsOK(res1
)) {
39148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_InsertRadioItem" "', expected argument " "1"" of type '" "wxMenu *""'");
39150 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39151 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
39152 if (!SWIG_IsOK(ecode2
)) {
39153 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_InsertRadioItem" "', expected argument " "2"" of type '" "size_t""'");
39155 arg2
= static_cast< size_t >(val2
);
39156 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39157 if (!SWIG_IsOK(ecode3
)) {
39158 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_InsertRadioItem" "', expected argument " "3"" of type '" "int""'");
39160 arg3
= static_cast< int >(val3
);
39162 arg4
= wxString_in_helper(obj3
);
39163 if (arg4
== NULL
) SWIG_fail
;
39168 arg5
= wxString_in_helper(obj4
);
39169 if (arg5
== NULL
) SWIG_fail
;
39174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39175 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
39176 wxPyEndAllowThreads(__tstate
);
39177 if (PyErr_Occurred()) SWIG_fail
;
39180 resultobj
= wxPyMake_wxObject(result
, (bool)0);
39204 SWIGINTERN PyObject
*_wrap_Menu_InsertMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39205 PyObject
*resultobj
= 0;
39206 wxMenu
*arg1
= (wxMenu
*) 0 ;
39209 wxString
*arg4
= 0 ;
39210 wxMenu
*arg5
= (wxMenu
*) 0 ;
39211 wxString
const &arg6_defvalue
= wxPyEmptyString
;
39212 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
39213 wxMenuItem
*result
= 0 ;
39220 bool temp4
= false ;
39223 bool temp6
= false ;
39224 PyObject
* obj0
= 0 ;
39225 PyObject
* obj1
= 0 ;
39226 PyObject
* obj2
= 0 ;
39227 PyObject
* obj3
= 0 ;
39228 PyObject
* obj4
= 0 ;
39229 PyObject
* obj5
= 0 ;
39230 char * kwnames
[] = {
39231 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
39234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
39235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39236 if (!SWIG_IsOK(res1
)) {
39237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_InsertMenu" "', expected argument " "1"" of type '" "wxMenu *""'");
39239 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39240 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
39241 if (!SWIG_IsOK(ecode2
)) {
39242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_InsertMenu" "', expected argument " "2"" of type '" "size_t""'");
39244 arg2
= static_cast< size_t >(val2
);
39245 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
39246 if (!SWIG_IsOK(ecode3
)) {
39247 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_InsertMenu" "', expected argument " "3"" of type '" "int""'");
39249 arg3
= static_cast< int >(val3
);
39251 arg4
= wxString_in_helper(obj3
);
39252 if (arg4
== NULL
) SWIG_fail
;
39255 res5
= SWIG_ConvertPtr(obj4
, &argp5
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39256 if (!SWIG_IsOK(res5
)) {
39257 SWIG_exception_fail(SWIG_ArgError(res5
), "in method '" "Menu_InsertMenu" "', expected argument " "5"" of type '" "wxMenu *""'");
39259 arg5
= reinterpret_cast< wxMenu
* >(argp5
);
39262 arg6
= wxString_in_helper(obj5
);
39263 if (arg6
== NULL
) SWIG_fail
;
39268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39269 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
39270 wxPyEndAllowThreads(__tstate
);
39271 if (PyErr_Occurred()) SWIG_fail
;
39274 resultobj
= wxPyMake_wxObject(result
, (bool)0);
39298 SWIGINTERN PyObject
*_wrap_Menu_Prepend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39299 PyObject
*resultobj
= 0;
39300 wxMenu
*arg1
= (wxMenu
*) 0 ;
39302 wxString
*arg3
= 0 ;
39303 wxString
const &arg4_defvalue
= wxPyEmptyString
;
39304 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
39305 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
39306 wxMenuItem
*result
= 0 ;
39311 bool temp3
= false ;
39312 bool temp4
= false ;
39315 PyObject
* obj0
= 0 ;
39316 PyObject
* obj1
= 0 ;
39317 PyObject
* obj2
= 0 ;
39318 PyObject
* obj3
= 0 ;
39319 PyObject
* obj4
= 0 ;
39320 char * kwnames
[] = {
39321 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
39324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39326 if (!SWIG_IsOK(res1
)) {
39327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Prepend" "', expected argument " "1"" of type '" "wxMenu *""'");
39329 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39330 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39331 if (!SWIG_IsOK(ecode2
)) {
39332 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Prepend" "', expected argument " "2"" of type '" "int""'");
39334 arg2
= static_cast< int >(val2
);
39336 arg3
= wxString_in_helper(obj2
);
39337 if (arg3
== NULL
) SWIG_fail
;
39342 arg4
= wxString_in_helper(obj3
);
39343 if (arg4
== NULL
) SWIG_fail
;
39348 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
39349 if (!SWIG_IsOK(ecode5
)) {
39350 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Menu_Prepend" "', expected argument " "5"" of type '" "wxItemKind""'");
39352 arg5
= static_cast< wxItemKind
>(val5
);
39355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39356 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
39357 wxPyEndAllowThreads(__tstate
);
39358 if (PyErr_Occurred()) SWIG_fail
;
39361 resultobj
= wxPyMake_wxObject(result
, (bool)0);
39385 SWIGINTERN PyObject
*_wrap_Menu_PrependSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39386 PyObject
*resultobj
= 0;
39387 wxMenu
*arg1
= (wxMenu
*) 0 ;
39388 wxMenuItem
*result
= 0 ;
39391 PyObject
*swig_obj
[1] ;
39393 if (!args
) SWIG_fail
;
39394 swig_obj
[0] = args
;
39395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39396 if (!SWIG_IsOK(res1
)) {
39397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_PrependSeparator" "', expected argument " "1"" of type '" "wxMenu *""'");
39399 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39402 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
39403 wxPyEndAllowThreads(__tstate
);
39404 if (PyErr_Occurred()) SWIG_fail
;
39407 resultobj
= wxPyMake_wxObject(result
, (bool)0);
39415 SWIGINTERN PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39416 PyObject
*resultobj
= 0;
39417 wxMenu
*arg1
= (wxMenu
*) 0 ;
39419 wxString
*arg3
= 0 ;
39420 wxString
const &arg4_defvalue
= wxPyEmptyString
;
39421 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
39422 wxMenuItem
*result
= 0 ;
39427 bool temp3
= false ;
39428 bool temp4
= false ;
39429 PyObject
* obj0
= 0 ;
39430 PyObject
* obj1
= 0 ;
39431 PyObject
* obj2
= 0 ;
39432 PyObject
* obj3
= 0 ;
39433 char * kwnames
[] = {
39434 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
39437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39439 if (!SWIG_IsOK(res1
)) {
39440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_PrependCheckItem" "', expected argument " "1"" of type '" "wxMenu *""'");
39442 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39443 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39444 if (!SWIG_IsOK(ecode2
)) {
39445 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_PrependCheckItem" "', expected argument " "2"" of type '" "int""'");
39447 arg2
= static_cast< int >(val2
);
39449 arg3
= wxString_in_helper(obj2
);
39450 if (arg3
== NULL
) SWIG_fail
;
39455 arg4
= wxString_in_helper(obj3
);
39456 if (arg4
== NULL
) SWIG_fail
;
39461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39462 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
39463 wxPyEndAllowThreads(__tstate
);
39464 if (PyErr_Occurred()) SWIG_fail
;
39467 resultobj
= wxPyMake_wxObject(result
, (bool)0);
39491 SWIGINTERN PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39492 PyObject
*resultobj
= 0;
39493 wxMenu
*arg1
= (wxMenu
*) 0 ;
39495 wxString
*arg3
= 0 ;
39496 wxString
const &arg4_defvalue
= wxPyEmptyString
;
39497 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
39498 wxMenuItem
*result
= 0 ;
39503 bool temp3
= false ;
39504 bool temp4
= false ;
39505 PyObject
* obj0
= 0 ;
39506 PyObject
* obj1
= 0 ;
39507 PyObject
* obj2
= 0 ;
39508 PyObject
* obj3
= 0 ;
39509 char * kwnames
[] = {
39510 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
39513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
39514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39515 if (!SWIG_IsOK(res1
)) {
39516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_PrependRadioItem" "', expected argument " "1"" of type '" "wxMenu *""'");
39518 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39519 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39520 if (!SWIG_IsOK(ecode2
)) {
39521 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_PrependRadioItem" "', expected argument " "2"" of type '" "int""'");
39523 arg2
= static_cast< int >(val2
);
39525 arg3
= wxString_in_helper(obj2
);
39526 if (arg3
== NULL
) SWIG_fail
;
39531 arg4
= wxString_in_helper(obj3
);
39532 if (arg4
== NULL
) SWIG_fail
;
39537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39538 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
39539 wxPyEndAllowThreads(__tstate
);
39540 if (PyErr_Occurred()) SWIG_fail
;
39543 resultobj
= wxPyMake_wxObject(result
, (bool)0);
39567 SWIGINTERN PyObject
*_wrap_Menu_PrependMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39568 PyObject
*resultobj
= 0;
39569 wxMenu
*arg1
= (wxMenu
*) 0 ;
39571 wxString
*arg3
= 0 ;
39572 wxMenu
*arg4
= (wxMenu
*) 0 ;
39573 wxString
const &arg5_defvalue
= wxPyEmptyString
;
39574 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
39575 wxMenuItem
*result
= 0 ;
39580 bool temp3
= false ;
39583 bool temp5
= false ;
39584 PyObject
* obj0
= 0 ;
39585 PyObject
* obj1
= 0 ;
39586 PyObject
* obj2
= 0 ;
39587 PyObject
* obj3
= 0 ;
39588 PyObject
* obj4
= 0 ;
39589 char * kwnames
[] = {
39590 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
39593 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
39594 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39595 if (!SWIG_IsOK(res1
)) {
39596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_PrependMenu" "', expected argument " "1"" of type '" "wxMenu *""'");
39598 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39599 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39600 if (!SWIG_IsOK(ecode2
)) {
39601 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_PrependMenu" "', expected argument " "2"" of type '" "int""'");
39603 arg2
= static_cast< int >(val2
);
39605 arg3
= wxString_in_helper(obj2
);
39606 if (arg3
== NULL
) SWIG_fail
;
39609 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39610 if (!SWIG_IsOK(res4
)) {
39611 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "Menu_PrependMenu" "', expected argument " "4"" of type '" "wxMenu *""'");
39613 arg4
= reinterpret_cast< wxMenu
* >(argp4
);
39616 arg5
= wxString_in_helper(obj4
);
39617 if (arg5
== NULL
) SWIG_fail
;
39622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39623 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
39624 wxPyEndAllowThreads(__tstate
);
39625 if (PyErr_Occurred()) SWIG_fail
;
39628 resultobj
= wxPyMake_wxObject(result
, (bool)0);
39652 SWIGINTERN PyObject
*_wrap_Menu_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39653 PyObject
*resultobj
= 0;
39654 wxMenu
*arg1
= (wxMenu
*) 0 ;
39656 wxMenuItem
*result
= 0 ;
39661 PyObject
* obj0
= 0 ;
39662 PyObject
* obj1
= 0 ;
39663 char * kwnames
[] = {
39664 (char *) "self",(char *) "id", NULL
39667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39669 if (!SWIG_IsOK(res1
)) {
39670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Remove" "', expected argument " "1"" of type '" "wxMenu *""'");
39672 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39673 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39674 if (!SWIG_IsOK(ecode2
)) {
39675 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Remove" "', expected argument " "2"" of type '" "int""'");
39677 arg2
= static_cast< int >(val2
);
39679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39680 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
39681 wxPyEndAllowThreads(__tstate
);
39682 if (PyErr_Occurred()) SWIG_fail
;
39685 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
39693 SWIGINTERN PyObject
*_wrap_Menu_RemoveItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39694 PyObject
*resultobj
= 0;
39695 wxMenu
*arg1
= (wxMenu
*) 0 ;
39696 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
39697 wxMenuItem
*result
= 0 ;
39702 PyObject
* obj0
= 0 ;
39703 PyObject
* obj1
= 0 ;
39704 char * kwnames
[] = {
39705 (char *) "self",(char *) "item", NULL
39708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39710 if (!SWIG_IsOK(res1
)) {
39711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_RemoveItem" "', expected argument " "1"" of type '" "wxMenu *""'");
39713 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39714 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
39715 if (!SWIG_IsOK(res2
)) {
39716 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_RemoveItem" "', expected argument " "2"" of type '" "wxMenuItem *""'");
39718 arg2
= reinterpret_cast< wxMenuItem
* >(argp2
);
39720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39721 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
39722 wxPyEndAllowThreads(__tstate
);
39723 if (PyErr_Occurred()) SWIG_fail
;
39726 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
39734 SWIGINTERN PyObject
*_wrap_Menu_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39735 PyObject
*resultobj
= 0;
39736 wxMenu
*arg1
= (wxMenu
*) 0 ;
39743 PyObject
* obj0
= 0 ;
39744 PyObject
* obj1
= 0 ;
39745 char * kwnames
[] = {
39746 (char *) "self",(char *) "id", NULL
39749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39751 if (!SWIG_IsOK(res1
)) {
39752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Delete" "', expected argument " "1"" of type '" "wxMenu *""'");
39754 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39755 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39756 if (!SWIG_IsOK(ecode2
)) {
39757 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Delete" "', expected argument " "2"" of type '" "int""'");
39759 arg2
= static_cast< int >(val2
);
39761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39762 result
= (bool)(arg1
)->Delete(arg2
);
39763 wxPyEndAllowThreads(__tstate
);
39764 if (PyErr_Occurred()) SWIG_fail
;
39767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39775 SWIGINTERN PyObject
*_wrap_Menu_DeleteItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39776 PyObject
*resultobj
= 0;
39777 wxMenu
*arg1
= (wxMenu
*) 0 ;
39778 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
39784 PyObject
* obj0
= 0 ;
39785 PyObject
* obj1
= 0 ;
39786 char * kwnames
[] = {
39787 (char *) "self",(char *) "item", NULL
39790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39792 if (!SWIG_IsOK(res1
)) {
39793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_DeleteItem" "', expected argument " "1"" of type '" "wxMenu *""'");
39795 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39796 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
39797 if (!SWIG_IsOK(res2
)) {
39798 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_DeleteItem" "', expected argument " "2"" of type '" "wxMenuItem *""'");
39800 arg2
= reinterpret_cast< wxMenuItem
* >(argp2
);
39802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39803 result
= (bool)(arg1
)->Delete(arg2
);
39804 wxPyEndAllowThreads(__tstate
);
39805 if (PyErr_Occurred()) SWIG_fail
;
39808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39816 SWIGINTERN PyObject
*_wrap_Menu_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39817 PyObject
*resultobj
= 0;
39818 wxMenu
*arg1
= (wxMenu
*) 0 ;
39821 PyObject
*swig_obj
[1] ;
39823 if (!args
) SWIG_fail
;
39824 swig_obj
[0] = args
;
39825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39826 if (!SWIG_IsOK(res1
)) {
39827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Destroy" "', expected argument " "1"" of type '" "wxMenu *""'");
39829 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39832 wxMenu_Destroy(arg1
);
39833 wxPyEndAllowThreads(__tstate
);
39834 if (PyErr_Occurred()) SWIG_fail
;
39836 resultobj
= SWIG_Py_Void();
39843 SWIGINTERN PyObject
*_wrap_Menu_DestroyId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39844 PyObject
*resultobj
= 0;
39845 wxMenu
*arg1
= (wxMenu
*) 0 ;
39852 PyObject
* obj0
= 0 ;
39853 PyObject
* obj1
= 0 ;
39854 char * kwnames
[] = {
39855 (char *) "self",(char *) "id", NULL
39858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39860 if (!SWIG_IsOK(res1
)) {
39861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_DestroyId" "', expected argument " "1"" of type '" "wxMenu *""'");
39863 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39864 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
39865 if (!SWIG_IsOK(ecode2
)) {
39866 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_DestroyId" "', expected argument " "2"" of type '" "int""'");
39868 arg2
= static_cast< int >(val2
);
39870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39871 result
= (bool)(arg1
)->Destroy(arg2
);
39872 wxPyEndAllowThreads(__tstate
);
39873 if (PyErr_Occurred()) SWIG_fail
;
39876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39884 SWIGINTERN PyObject
*_wrap_Menu_DestroyItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39885 PyObject
*resultobj
= 0;
39886 wxMenu
*arg1
= (wxMenu
*) 0 ;
39887 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
39893 PyObject
* obj0
= 0 ;
39894 PyObject
* obj1
= 0 ;
39895 char * kwnames
[] = {
39896 (char *) "self",(char *) "item", NULL
39899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39901 if (!SWIG_IsOK(res1
)) {
39902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_DestroyItem" "', expected argument " "1"" of type '" "wxMenu *""'");
39904 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39905 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
39906 if (!SWIG_IsOK(res2
)) {
39907 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_DestroyItem" "', expected argument " "2"" of type '" "wxMenuItem *""'");
39909 arg2
= reinterpret_cast< wxMenuItem
* >(argp2
);
39911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39912 result
= (bool)(arg1
)->Destroy(arg2
);
39913 wxPyEndAllowThreads(__tstate
);
39914 if (PyErr_Occurred()) SWIG_fail
;
39917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39925 SWIGINTERN PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39926 PyObject
*resultobj
= 0;
39927 wxMenu
*arg1
= (wxMenu
*) 0 ;
39931 PyObject
*swig_obj
[1] ;
39933 if (!args
) SWIG_fail
;
39934 swig_obj
[0] = args
;
39935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39936 if (!SWIG_IsOK(res1
)) {
39937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetMenuItemCount" "', expected argument " "1"" of type '" "wxMenu const *""'");
39939 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39942 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
39943 wxPyEndAllowThreads(__tstate
);
39944 if (PyErr_Occurred()) SWIG_fail
;
39946 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
39953 SWIGINTERN PyObject
*_wrap_Menu_GetMenuItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
39954 PyObject
*resultobj
= 0;
39955 wxMenu
*arg1
= (wxMenu
*) 0 ;
39956 PyObject
*result
= 0 ;
39959 PyObject
*swig_obj
[1] ;
39961 if (!args
) SWIG_fail
;
39962 swig_obj
[0] = args
;
39963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39964 if (!SWIG_IsOK(res1
)) {
39965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetMenuItems" "', expected argument " "1"" of type '" "wxMenu *""'");
39967 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
39969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39970 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
39971 wxPyEndAllowThreads(__tstate
);
39972 if (PyErr_Occurred()) SWIG_fail
;
39974 resultobj
= result
;
39981 SWIGINTERN PyObject
*_wrap_Menu_FindItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
39982 PyObject
*resultobj
= 0;
39983 wxMenu
*arg1
= (wxMenu
*) 0 ;
39984 wxString
*arg2
= 0 ;
39988 bool temp2
= false ;
39989 PyObject
* obj0
= 0 ;
39990 PyObject
* obj1
= 0 ;
39991 char * kwnames
[] = {
39992 (char *) "self",(char *) "item", NULL
39995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
39996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
39997 if (!SWIG_IsOK(res1
)) {
39998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_FindItem" "', expected argument " "1"" of type '" "wxMenu const *""'");
40000 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40002 arg2
= wxString_in_helper(obj1
);
40003 if (arg2
== NULL
) SWIG_fail
;
40007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40008 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
40009 wxPyEndAllowThreads(__tstate
);
40010 if (PyErr_Occurred()) SWIG_fail
;
40012 resultobj
= SWIG_From_int(static_cast< int >(result
));
40027 SWIGINTERN PyObject
*_wrap_Menu_FindItemById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40028 PyObject
*resultobj
= 0;
40029 wxMenu
*arg1
= (wxMenu
*) 0 ;
40031 wxMenuItem
*result
= 0 ;
40036 PyObject
* obj0
= 0 ;
40037 PyObject
* obj1
= 0 ;
40038 char * kwnames
[] = {
40039 (char *) "self",(char *) "id", NULL
40042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40044 if (!SWIG_IsOK(res1
)) {
40045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_FindItemById" "', expected argument " "1"" of type '" "wxMenu const *""'");
40047 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40048 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40049 if (!SWIG_IsOK(ecode2
)) {
40050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_FindItemById" "', expected argument " "2"" of type '" "int""'");
40052 arg2
= static_cast< int >(val2
);
40054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40055 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
40056 wxPyEndAllowThreads(__tstate
);
40057 if (PyErr_Occurred()) SWIG_fail
;
40060 resultobj
= wxPyMake_wxObject(result
, (bool)0);
40068 SWIGINTERN PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40069 PyObject
*resultobj
= 0;
40070 wxMenu
*arg1
= (wxMenu
*) 0 ;
40072 wxMenuItem
*result
= 0 ;
40077 PyObject
* obj0
= 0 ;
40078 PyObject
* obj1
= 0 ;
40079 char * kwnames
[] = {
40080 (char *) "self",(char *) "position", NULL
40083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40085 if (!SWIG_IsOK(res1
)) {
40086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_FindItemByPosition" "', expected argument " "1"" of type '" "wxMenu const *""'");
40088 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40089 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
40090 if (!SWIG_IsOK(ecode2
)) {
40091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_FindItemByPosition" "', expected argument " "2"" of type '" "size_t""'");
40093 arg2
= static_cast< size_t >(val2
);
40095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40096 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
40097 wxPyEndAllowThreads(__tstate
);
40098 if (PyErr_Occurred()) SWIG_fail
;
40101 resultobj
= wxPyMake_wxObject(result
, (bool)0);
40109 SWIGINTERN PyObject
*_wrap_Menu_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40110 PyObject
*resultobj
= 0;
40111 wxMenu
*arg1
= (wxMenu
*) 0 ;
40120 PyObject
* obj0
= 0 ;
40121 PyObject
* obj1
= 0 ;
40122 PyObject
* obj2
= 0 ;
40123 char * kwnames
[] = {
40124 (char *) "self",(char *) "id",(char *) "enable", NULL
40127 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40128 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40129 if (!SWIG_IsOK(res1
)) {
40130 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Enable" "', expected argument " "1"" of type '" "wxMenu *""'");
40132 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40133 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40134 if (!SWIG_IsOK(ecode2
)) {
40135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Enable" "', expected argument " "2"" of type '" "int""'");
40137 arg2
= static_cast< int >(val2
);
40138 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
40139 if (!SWIG_IsOK(ecode3
)) {
40140 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_Enable" "', expected argument " "3"" of type '" "bool""'");
40142 arg3
= static_cast< bool >(val3
);
40144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40145 (arg1
)->Enable(arg2
,arg3
);
40146 wxPyEndAllowThreads(__tstate
);
40147 if (PyErr_Occurred()) SWIG_fail
;
40149 resultobj
= SWIG_Py_Void();
40156 SWIGINTERN PyObject
*_wrap_Menu_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40157 PyObject
*resultobj
= 0;
40158 wxMenu
*arg1
= (wxMenu
*) 0 ;
40165 PyObject
* obj0
= 0 ;
40166 PyObject
* obj1
= 0 ;
40167 char * kwnames
[] = {
40168 (char *) "self",(char *) "id", NULL
40171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40173 if (!SWIG_IsOK(res1
)) {
40174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_IsEnabled" "', expected argument " "1"" of type '" "wxMenu const *""'");
40176 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40177 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40178 if (!SWIG_IsOK(ecode2
)) {
40179 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_IsEnabled" "', expected argument " "2"" of type '" "int""'");
40181 arg2
= static_cast< int >(val2
);
40183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40184 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
40185 wxPyEndAllowThreads(__tstate
);
40186 if (PyErr_Occurred()) SWIG_fail
;
40189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40197 SWIGINTERN PyObject
*_wrap_Menu_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40198 PyObject
*resultobj
= 0;
40199 wxMenu
*arg1
= (wxMenu
*) 0 ;
40208 PyObject
* obj0
= 0 ;
40209 PyObject
* obj1
= 0 ;
40210 PyObject
* obj2
= 0 ;
40211 char * kwnames
[] = {
40212 (char *) "self",(char *) "id",(char *) "check", NULL
40215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40217 if (!SWIG_IsOK(res1
)) {
40218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Check" "', expected argument " "1"" of type '" "wxMenu *""'");
40220 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40221 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40222 if (!SWIG_IsOK(ecode2
)) {
40223 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_Check" "', expected argument " "2"" of type '" "int""'");
40225 arg2
= static_cast< int >(val2
);
40226 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
40227 if (!SWIG_IsOK(ecode3
)) {
40228 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Menu_Check" "', expected argument " "3"" of type '" "bool""'");
40230 arg3
= static_cast< bool >(val3
);
40232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40233 (arg1
)->Check(arg2
,arg3
);
40234 wxPyEndAllowThreads(__tstate
);
40235 if (PyErr_Occurred()) SWIG_fail
;
40237 resultobj
= SWIG_Py_Void();
40244 SWIGINTERN PyObject
*_wrap_Menu_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40245 PyObject
*resultobj
= 0;
40246 wxMenu
*arg1
= (wxMenu
*) 0 ;
40253 PyObject
* obj0
= 0 ;
40254 PyObject
* obj1
= 0 ;
40255 char * kwnames
[] = {
40256 (char *) "self",(char *) "id", NULL
40259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40261 if (!SWIG_IsOK(res1
)) {
40262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_IsChecked" "', expected argument " "1"" of type '" "wxMenu const *""'");
40264 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40265 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40266 if (!SWIG_IsOK(ecode2
)) {
40267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_IsChecked" "', expected argument " "2"" of type '" "int""'");
40269 arg2
= static_cast< int >(val2
);
40271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40272 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
40273 wxPyEndAllowThreads(__tstate
);
40274 if (PyErr_Occurred()) SWIG_fail
;
40277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40285 SWIGINTERN PyObject
*_wrap_Menu_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40286 PyObject
*resultobj
= 0;
40287 wxMenu
*arg1
= (wxMenu
*) 0 ;
40289 wxString
*arg3
= 0 ;
40294 bool temp3
= false ;
40295 PyObject
* obj0
= 0 ;
40296 PyObject
* obj1
= 0 ;
40297 PyObject
* obj2
= 0 ;
40298 char * kwnames
[] = {
40299 (char *) "self",(char *) "id",(char *) "label", NULL
40302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40304 if (!SWIG_IsOK(res1
)) {
40305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetLabel" "', expected argument " "1"" of type '" "wxMenu *""'");
40307 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40308 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40309 if (!SWIG_IsOK(ecode2
)) {
40310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_SetLabel" "', expected argument " "2"" of type '" "int""'");
40312 arg2
= static_cast< int >(val2
);
40314 arg3
= wxString_in_helper(obj2
);
40315 if (arg3
== NULL
) SWIG_fail
;
40319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40320 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
40321 wxPyEndAllowThreads(__tstate
);
40322 if (PyErr_Occurred()) SWIG_fail
;
40324 resultobj
= SWIG_Py_Void();
40339 SWIGINTERN PyObject
*_wrap_Menu_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40340 PyObject
*resultobj
= 0;
40341 wxMenu
*arg1
= (wxMenu
*) 0 ;
40348 PyObject
* obj0
= 0 ;
40349 PyObject
* obj1
= 0 ;
40350 char * kwnames
[] = {
40351 (char *) "self",(char *) "id", NULL
40354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40356 if (!SWIG_IsOK(res1
)) {
40357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetLabel" "', expected argument " "1"" of type '" "wxMenu const *""'");
40359 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40360 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40361 if (!SWIG_IsOK(ecode2
)) {
40362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_GetLabel" "', expected argument " "2"" of type '" "int""'");
40364 arg2
= static_cast< int >(val2
);
40366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40367 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
40368 wxPyEndAllowThreads(__tstate
);
40369 if (PyErr_Occurred()) SWIG_fail
;
40373 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40375 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40384 SWIGINTERN PyObject
*_wrap_Menu_SetHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40385 PyObject
*resultobj
= 0;
40386 wxMenu
*arg1
= (wxMenu
*) 0 ;
40388 wxString
*arg3
= 0 ;
40393 bool temp3
= false ;
40394 PyObject
* obj0
= 0 ;
40395 PyObject
* obj1
= 0 ;
40396 PyObject
* obj2
= 0 ;
40397 char * kwnames
[] = {
40398 (char *) "self",(char *) "id",(char *) "helpString", NULL
40401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
40402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40403 if (!SWIG_IsOK(res1
)) {
40404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetHelpString" "', expected argument " "1"" of type '" "wxMenu *""'");
40406 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40407 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40408 if (!SWIG_IsOK(ecode2
)) {
40409 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_SetHelpString" "', expected argument " "2"" of type '" "int""'");
40411 arg2
= static_cast< int >(val2
);
40413 arg3
= wxString_in_helper(obj2
);
40414 if (arg3
== NULL
) SWIG_fail
;
40418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40419 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
40420 wxPyEndAllowThreads(__tstate
);
40421 if (PyErr_Occurred()) SWIG_fail
;
40423 resultobj
= SWIG_Py_Void();
40438 SWIGINTERN PyObject
*_wrap_Menu_GetHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40439 PyObject
*resultobj
= 0;
40440 wxMenu
*arg1
= (wxMenu
*) 0 ;
40447 PyObject
* obj0
= 0 ;
40448 PyObject
* obj1
= 0 ;
40449 char * kwnames
[] = {
40450 (char *) "self",(char *) "id", NULL
40453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40455 if (!SWIG_IsOK(res1
)) {
40456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetHelpString" "', expected argument " "1"" of type '" "wxMenu const *""'");
40458 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40459 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
40460 if (!SWIG_IsOK(ecode2
)) {
40461 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Menu_GetHelpString" "', expected argument " "2"" of type '" "int""'");
40463 arg2
= static_cast< int >(val2
);
40465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40466 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
40467 wxPyEndAllowThreads(__tstate
);
40468 if (PyErr_Occurred()) SWIG_fail
;
40472 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40474 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40483 SWIGINTERN PyObject
*_wrap_Menu_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40484 PyObject
*resultobj
= 0;
40485 wxMenu
*arg1
= (wxMenu
*) 0 ;
40486 wxString
*arg2
= 0 ;
40489 bool temp2
= false ;
40490 PyObject
* obj0
= 0 ;
40491 PyObject
* obj1
= 0 ;
40492 char * kwnames
[] = {
40493 (char *) "self",(char *) "title", NULL
40496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40498 if (!SWIG_IsOK(res1
)) {
40499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetTitle" "', expected argument " "1"" of type '" "wxMenu *""'");
40501 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40503 arg2
= wxString_in_helper(obj1
);
40504 if (arg2
== NULL
) SWIG_fail
;
40508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40509 (arg1
)->SetTitle((wxString
const &)*arg2
);
40510 wxPyEndAllowThreads(__tstate
);
40511 if (PyErr_Occurred()) SWIG_fail
;
40513 resultobj
= SWIG_Py_Void();
40528 SWIGINTERN PyObject
*_wrap_Menu_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40529 PyObject
*resultobj
= 0;
40530 wxMenu
*arg1
= (wxMenu
*) 0 ;
40534 PyObject
*swig_obj
[1] ;
40536 if (!args
) SWIG_fail
;
40537 swig_obj
[0] = args
;
40538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40539 if (!SWIG_IsOK(res1
)) {
40540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetTitle" "', expected argument " "1"" of type '" "wxMenu const *""'");
40542 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40545 result
= ((wxMenu
const *)arg1
)->GetTitle();
40546 wxPyEndAllowThreads(__tstate
);
40547 if (PyErr_Occurred()) SWIG_fail
;
40551 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
40553 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
40562 SWIGINTERN PyObject
*_wrap_Menu_SetEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40563 PyObject
*resultobj
= 0;
40564 wxMenu
*arg1
= (wxMenu
*) 0 ;
40565 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
40570 PyObject
* obj0
= 0 ;
40571 PyObject
* obj1
= 0 ;
40572 char * kwnames
[] = {
40573 (char *) "self",(char *) "handler", NULL
40576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40578 if (!SWIG_IsOK(res1
)) {
40579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetEventHandler" "', expected argument " "1"" of type '" "wxMenu *""'");
40581 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40582 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
40583 if (!SWIG_IsOK(res2
)) {
40584 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_SetEventHandler" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
40586 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
40588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40589 (arg1
)->SetEventHandler(arg2
);
40590 wxPyEndAllowThreads(__tstate
);
40591 if (PyErr_Occurred()) SWIG_fail
;
40593 resultobj
= SWIG_Py_Void();
40600 SWIGINTERN PyObject
*_wrap_Menu_GetEventHandler(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40601 PyObject
*resultobj
= 0;
40602 wxMenu
*arg1
= (wxMenu
*) 0 ;
40603 wxEvtHandler
*result
= 0 ;
40606 PyObject
*swig_obj
[1] ;
40608 if (!args
) SWIG_fail
;
40609 swig_obj
[0] = args
;
40610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40611 if (!SWIG_IsOK(res1
)) {
40612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetEventHandler" "', expected argument " "1"" of type '" "wxMenu const *""'");
40614 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40617 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
40618 wxPyEndAllowThreads(__tstate
);
40619 if (PyErr_Occurred()) SWIG_fail
;
40622 resultobj
= wxPyMake_wxObject(result
, 0);
40630 SWIGINTERN PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40631 PyObject
*resultobj
= 0;
40632 wxMenu
*arg1
= (wxMenu
*) 0 ;
40633 wxWindow
*arg2
= (wxWindow
*) 0 ;
40638 PyObject
* obj0
= 0 ;
40639 PyObject
* obj1
= 0 ;
40640 char * kwnames
[] = {
40641 (char *) "self",(char *) "win", NULL
40644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40646 if (!SWIG_IsOK(res1
)) {
40647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetInvokingWindow" "', expected argument " "1"" of type '" "wxMenu *""'");
40649 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40650 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
40651 if (!SWIG_IsOK(res2
)) {
40652 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_SetInvokingWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
40654 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
40656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40657 (arg1
)->SetInvokingWindow(arg2
);
40658 wxPyEndAllowThreads(__tstate
);
40659 if (PyErr_Occurred()) SWIG_fail
;
40661 resultobj
= SWIG_Py_Void();
40668 SWIGINTERN PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40669 PyObject
*resultobj
= 0;
40670 wxMenu
*arg1
= (wxMenu
*) 0 ;
40671 wxWindow
*result
= 0 ;
40674 PyObject
*swig_obj
[1] ;
40676 if (!args
) SWIG_fail
;
40677 swig_obj
[0] = args
;
40678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40679 if (!SWIG_IsOK(res1
)) {
40680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetInvokingWindow" "', expected argument " "1"" of type '" "wxMenu const *""'");
40682 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40685 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
40686 wxPyEndAllowThreads(__tstate
);
40687 if (PyErr_Occurred()) SWIG_fail
;
40690 resultobj
= wxPyMake_wxObject(result
, 0);
40698 SWIGINTERN PyObject
*_wrap_Menu_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40699 PyObject
*resultobj
= 0;
40700 wxMenu
*arg1
= (wxMenu
*) 0 ;
40704 PyObject
*swig_obj
[1] ;
40706 if (!args
) SWIG_fail
;
40707 swig_obj
[0] = args
;
40708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40709 if (!SWIG_IsOK(res1
)) {
40710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetStyle" "', expected argument " "1"" of type '" "wxMenu const *""'");
40712 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40715 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
40716 wxPyEndAllowThreads(__tstate
);
40717 if (PyErr_Occurred()) SWIG_fail
;
40719 resultobj
= SWIG_From_long(static_cast< long >(result
));
40726 SWIGINTERN PyObject
*_wrap_Menu_UpdateUI(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40727 PyObject
*resultobj
= 0;
40728 wxMenu
*arg1
= (wxMenu
*) 0 ;
40729 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
40734 PyObject
* obj0
= 0 ;
40735 PyObject
* obj1
= 0 ;
40736 char * kwnames
[] = {
40737 (char *) "self",(char *) "source", NULL
40740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40742 if (!SWIG_IsOK(res1
)) {
40743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_UpdateUI" "', expected argument " "1"" of type '" "wxMenu *""'");
40745 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40747 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxEvtHandler
, 0 | 0 );
40748 if (!SWIG_IsOK(res2
)) {
40749 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_UpdateUI" "', expected argument " "2"" of type '" "wxEvtHandler *""'");
40751 arg2
= reinterpret_cast< wxEvtHandler
* >(argp2
);
40754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40755 (arg1
)->UpdateUI(arg2
);
40756 wxPyEndAllowThreads(__tstate
);
40757 if (PyErr_Occurred()) SWIG_fail
;
40759 resultobj
= SWIG_Py_Void();
40766 SWIGINTERN PyObject
*_wrap_Menu_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40767 PyObject
*resultobj
= 0;
40768 wxMenu
*arg1
= (wxMenu
*) 0 ;
40769 wxMenuBar
*result
= 0 ;
40772 PyObject
*swig_obj
[1] ;
40774 if (!args
) SWIG_fail
;
40775 swig_obj
[0] = args
;
40776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40777 if (!SWIG_IsOK(res1
)) {
40778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetMenuBar" "', expected argument " "1"" of type '" "wxMenu const *""'");
40780 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40783 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
40784 wxPyEndAllowThreads(__tstate
);
40785 if (PyErr_Occurred()) SWIG_fail
;
40788 resultobj
= wxPyMake_wxObject(result
, (bool)0);
40796 SWIGINTERN PyObject
*_wrap_Menu_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40797 PyObject
*resultobj
= 0;
40798 wxMenu
*arg1
= (wxMenu
*) 0 ;
40799 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
40804 PyObject
* obj0
= 0 ;
40805 PyObject
* obj1
= 0 ;
40806 char * kwnames
[] = {
40807 (char *) "self",(char *) "menubar", NULL
40810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40812 if (!SWIG_IsOK(res1
)) {
40813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Attach" "', expected argument " "1"" of type '" "wxMenu *""'");
40815 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40816 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBarBase
, 0 | 0 );
40817 if (!SWIG_IsOK(res2
)) {
40818 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_Attach" "', expected argument " "2"" of type '" "wxMenuBarBase *""'");
40820 arg2
= reinterpret_cast< wxMenuBarBase
* >(argp2
);
40822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40823 (arg1
)->Attach(arg2
);
40824 wxPyEndAllowThreads(__tstate
);
40825 if (PyErr_Occurred()) SWIG_fail
;
40827 resultobj
= SWIG_Py_Void();
40834 SWIGINTERN PyObject
*_wrap_Menu_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40835 PyObject
*resultobj
= 0;
40836 wxMenu
*arg1
= (wxMenu
*) 0 ;
40839 PyObject
*swig_obj
[1] ;
40841 if (!args
) SWIG_fail
;
40842 swig_obj
[0] = args
;
40843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40844 if (!SWIG_IsOK(res1
)) {
40845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_Detach" "', expected argument " "1"" of type '" "wxMenu *""'");
40847 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40851 wxPyEndAllowThreads(__tstate
);
40852 if (PyErr_Occurred()) SWIG_fail
;
40854 resultobj
= SWIG_Py_Void();
40861 SWIGINTERN PyObject
*_wrap_Menu_IsAttached(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40862 PyObject
*resultobj
= 0;
40863 wxMenu
*arg1
= (wxMenu
*) 0 ;
40867 PyObject
*swig_obj
[1] ;
40869 if (!args
) SWIG_fail
;
40870 swig_obj
[0] = args
;
40871 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40872 if (!SWIG_IsOK(res1
)) {
40873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_IsAttached" "', expected argument " "1"" of type '" "wxMenu const *""'");
40875 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40878 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
40879 wxPyEndAllowThreads(__tstate
);
40880 if (PyErr_Occurred()) SWIG_fail
;
40883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40891 SWIGINTERN PyObject
*_wrap_Menu_SetParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40892 PyObject
*resultobj
= 0;
40893 wxMenu
*arg1
= (wxMenu
*) 0 ;
40894 wxMenu
*arg2
= (wxMenu
*) 0 ;
40899 PyObject
* obj0
= 0 ;
40900 PyObject
* obj1
= 0 ;
40901 char * kwnames
[] = {
40902 (char *) "self",(char *) "parent", NULL
40905 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
40906 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40907 if (!SWIG_IsOK(res1
)) {
40908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_SetParent" "', expected argument " "1"" of type '" "wxMenu *""'");
40910 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40911 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40912 if (!SWIG_IsOK(res2
)) {
40913 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Menu_SetParent" "', expected argument " "2"" of type '" "wxMenu *""'");
40915 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
40917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40918 (arg1
)->SetParent(arg2
);
40919 wxPyEndAllowThreads(__tstate
);
40920 if (PyErr_Occurred()) SWIG_fail
;
40922 resultobj
= SWIG_Py_Void();
40929 SWIGINTERN PyObject
*_wrap_Menu_GetParent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40930 PyObject
*resultobj
= 0;
40931 wxMenu
*arg1
= (wxMenu
*) 0 ;
40932 wxMenu
*result
= 0 ;
40935 PyObject
*swig_obj
[1] ;
40937 if (!args
) SWIG_fail
;
40938 swig_obj
[0] = args
;
40939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
40940 if (!SWIG_IsOK(res1
)) {
40941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Menu_GetParent" "', expected argument " "1"" of type '" "wxMenu const *""'");
40943 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
40945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40946 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
40947 wxPyEndAllowThreads(__tstate
);
40948 if (PyErr_Occurred()) SWIG_fail
;
40951 resultobj
= wxPyMake_wxObject(result
, 0);
40959 SWIGINTERN PyObject
*Menu_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40961 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
40962 SWIG_TypeNewClientData(SWIGTYPE_p_wxMenu
, SWIG_NewClientData(obj
));
40963 return SWIG_Py_Void();
40966 SWIGINTERN PyObject
*Menu_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
40967 return SWIG_Python_InitShadowInstance(args
);
40970 SWIGINTERN PyObject
*_wrap_new_MenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
40971 PyObject
*resultobj
= 0;
40972 long arg1
= (long) 0 ;
40973 wxMenuBar
*result
= 0 ;
40976 PyObject
* obj0
= 0 ;
40977 char * kwnames
[] = {
40978 (char *) "style", NULL
40981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) SWIG_fail
;
40983 ecode1
= SWIG_AsVal_long(obj0
, &val1
);
40984 if (!SWIG_IsOK(ecode1
)) {
40985 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_MenuBar" "', expected argument " "1"" of type '" "long""'");
40987 arg1
= static_cast< long >(val1
);
40990 if (!wxPyCheckForApp()) SWIG_fail
;
40991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40992 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
40993 wxPyEndAllowThreads(__tstate
);
40994 if (PyErr_Occurred()) SWIG_fail
;
40996 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_NEW
| 0 );
41003 SWIGINTERN PyObject
*_wrap_MenuBar_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41004 PyObject
*resultobj
= 0;
41005 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41006 wxMenu
*arg2
= (wxMenu
*) 0 ;
41007 wxString
*arg3
= 0 ;
41013 bool temp3
= false ;
41014 PyObject
* obj0
= 0 ;
41015 PyObject
* obj1
= 0 ;
41016 PyObject
* obj2
= 0 ;
41017 char * kwnames
[] = {
41018 (char *) "self",(char *) "menu",(char *) "title", NULL
41021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41023 if (!SWIG_IsOK(res1
)) {
41024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Append" "', expected argument " "1"" of type '" "wxMenuBar *""'");
41026 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41027 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41028 if (!SWIG_IsOK(res2
)) {
41029 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuBar_Append" "', expected argument " "2"" of type '" "wxMenu *""'");
41031 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
41033 arg3
= wxString_in_helper(obj2
);
41034 if (arg3
== NULL
) SWIG_fail
;
41038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41039 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
41040 wxPyEndAllowThreads(__tstate
);
41041 if (PyErr_Occurred()) SWIG_fail
;
41044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41060 SWIGINTERN PyObject
*_wrap_MenuBar_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41061 PyObject
*resultobj
= 0;
41062 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41064 wxMenu
*arg3
= (wxMenu
*) 0 ;
41065 wxString
*arg4
= 0 ;
41073 bool temp4
= false ;
41074 PyObject
* obj0
= 0 ;
41075 PyObject
* obj1
= 0 ;
41076 PyObject
* obj2
= 0 ;
41077 PyObject
* obj3
= 0 ;
41078 char * kwnames
[] = {
41079 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
41082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
41083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41084 if (!SWIG_IsOK(res1
)) {
41085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Insert" "', expected argument " "1"" of type '" "wxMenuBar *""'");
41087 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41088 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
41089 if (!SWIG_IsOK(ecode2
)) {
41090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_Insert" "', expected argument " "2"" of type '" "size_t""'");
41092 arg2
= static_cast< size_t >(val2
);
41093 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41094 if (!SWIG_IsOK(res3
)) {
41095 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "MenuBar_Insert" "', expected argument " "3"" of type '" "wxMenu *""'");
41097 arg3
= reinterpret_cast< wxMenu
* >(argp3
);
41099 arg4
= wxString_in_helper(obj3
);
41100 if (arg4
== NULL
) SWIG_fail
;
41104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41105 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
41106 wxPyEndAllowThreads(__tstate
);
41107 if (PyErr_Occurred()) SWIG_fail
;
41110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41126 SWIGINTERN PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
41127 PyObject
*resultobj
= 0;
41128 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41132 PyObject
*swig_obj
[1] ;
41134 if (!args
) SWIG_fail
;
41135 swig_obj
[0] = args
;
41136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41137 if (!SWIG_IsOK(res1
)) {
41138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetMenuCount" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41140 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41143 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
41144 wxPyEndAllowThreads(__tstate
);
41145 if (PyErr_Occurred()) SWIG_fail
;
41147 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
41154 SWIGINTERN PyObject
*_wrap_MenuBar_GetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41155 PyObject
*resultobj
= 0;
41156 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41158 wxMenu
*result
= 0 ;
41163 PyObject
* obj0
= 0 ;
41164 PyObject
* obj1
= 0 ;
41165 char * kwnames
[] = {
41166 (char *) "self",(char *) "pos", NULL
41169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41171 if (!SWIG_IsOK(res1
)) {
41172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetMenu" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41174 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41175 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
41176 if (!SWIG_IsOK(ecode2
)) {
41177 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_GetMenu" "', expected argument " "2"" of type '" "size_t""'");
41179 arg2
= static_cast< size_t >(val2
);
41181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41182 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
41183 wxPyEndAllowThreads(__tstate
);
41184 if (PyErr_Occurred()) SWIG_fail
;
41187 resultobj
= wxPyMake_wxObject(result
, 0);
41195 SWIGINTERN PyObject
*_wrap_MenuBar_Replace(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41196 PyObject
*resultobj
= 0;
41197 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41199 wxMenu
*arg3
= (wxMenu
*) 0 ;
41200 wxString
*arg4
= 0 ;
41201 wxMenu
*result
= 0 ;
41208 bool temp4
= false ;
41209 PyObject
* obj0
= 0 ;
41210 PyObject
* obj1
= 0 ;
41211 PyObject
* obj2
= 0 ;
41212 PyObject
* obj3
= 0 ;
41213 char * kwnames
[] = {
41214 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
41217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
41218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41219 if (!SWIG_IsOK(res1
)) {
41220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Replace" "', expected argument " "1"" of type '" "wxMenuBar *""'");
41222 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41223 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
41224 if (!SWIG_IsOK(ecode2
)) {
41225 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_Replace" "', expected argument " "2"" of type '" "size_t""'");
41227 arg2
= static_cast< size_t >(val2
);
41228 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxMenu
, 0 | 0 );
41229 if (!SWIG_IsOK(res3
)) {
41230 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "MenuBar_Replace" "', expected argument " "3"" of type '" "wxMenu *""'");
41232 arg3
= reinterpret_cast< wxMenu
* >(argp3
);
41234 arg4
= wxString_in_helper(obj3
);
41235 if (arg4
== NULL
) SWIG_fail
;
41239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41240 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
41241 wxPyEndAllowThreads(__tstate
);
41242 if (PyErr_Occurred()) SWIG_fail
;
41245 resultobj
= wxPyMake_wxObject(result
, 0);
41261 SWIGINTERN PyObject
*_wrap_MenuBar_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41262 PyObject
*resultobj
= 0;
41263 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41265 wxMenu
*result
= 0 ;
41270 PyObject
* obj0
= 0 ;
41271 PyObject
* obj1
= 0 ;
41272 char * kwnames
[] = {
41273 (char *) "self",(char *) "pos", NULL
41276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41278 if (!SWIG_IsOK(res1
)) {
41279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Remove" "', expected argument " "1"" of type '" "wxMenuBar *""'");
41281 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41282 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
41283 if (!SWIG_IsOK(ecode2
)) {
41284 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_Remove" "', expected argument " "2"" of type '" "size_t""'");
41286 arg2
= static_cast< size_t >(val2
);
41288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41289 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
41290 wxPyEndAllowThreads(__tstate
);
41291 if (PyErr_Occurred()) SWIG_fail
;
41294 resultobj
= wxPyMake_wxObject(result
, 0);
41302 SWIGINTERN PyObject
*_wrap_MenuBar_EnableTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41303 PyObject
*resultobj
= 0;
41304 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41313 PyObject
* obj0
= 0 ;
41314 PyObject
* obj1
= 0 ;
41315 PyObject
* obj2
= 0 ;
41316 char * kwnames
[] = {
41317 (char *) "self",(char *) "pos",(char *) "enable", NULL
41320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41322 if (!SWIG_IsOK(res1
)) {
41323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_EnableTop" "', expected argument " "1"" of type '" "wxMenuBar *""'");
41325 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41326 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
41327 if (!SWIG_IsOK(ecode2
)) {
41328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_EnableTop" "', expected argument " "2"" of type '" "size_t""'");
41330 arg2
= static_cast< size_t >(val2
);
41331 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
41332 if (!SWIG_IsOK(ecode3
)) {
41333 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MenuBar_EnableTop" "', expected argument " "3"" of type '" "bool""'");
41335 arg3
= static_cast< bool >(val3
);
41337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41338 (arg1
)->EnableTop(arg2
,arg3
);
41339 wxPyEndAllowThreads(__tstate
);
41340 if (PyErr_Occurred()) SWIG_fail
;
41342 resultobj
= SWIG_Py_Void();
41349 SWIGINTERN PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41350 PyObject
*resultobj
= 0;
41351 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41358 PyObject
* obj0
= 0 ;
41359 PyObject
* obj1
= 0 ;
41360 char * kwnames
[] = {
41361 (char *) "self",(char *) "pos", NULL
41364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41366 if (!SWIG_IsOK(res1
)) {
41367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_IsEnabledTop" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41369 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41370 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
41371 if (!SWIG_IsOK(ecode2
)) {
41372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_IsEnabledTop" "', expected argument " "2"" of type '" "size_t""'");
41374 arg2
= static_cast< size_t >(val2
);
41376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41377 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
41378 wxPyEndAllowThreads(__tstate
);
41379 if (PyErr_Occurred()) SWIG_fail
;
41382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41390 SWIGINTERN PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41391 PyObject
*resultobj
= 0;
41392 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41394 wxString
*arg3
= 0 ;
41399 bool temp3
= false ;
41400 PyObject
* obj0
= 0 ;
41401 PyObject
* obj1
= 0 ;
41402 PyObject
* obj2
= 0 ;
41403 char * kwnames
[] = {
41404 (char *) "self",(char *) "pos",(char *) "label", NULL
41407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41409 if (!SWIG_IsOK(res1
)) {
41410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_SetLabelTop" "', expected argument " "1"" of type '" "wxMenuBar *""'");
41412 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41413 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
41414 if (!SWIG_IsOK(ecode2
)) {
41415 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_SetLabelTop" "', expected argument " "2"" of type '" "size_t""'");
41417 arg2
= static_cast< size_t >(val2
);
41419 arg3
= wxString_in_helper(obj2
);
41420 if (arg3
== NULL
) SWIG_fail
;
41424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41425 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
41426 wxPyEndAllowThreads(__tstate
);
41427 if (PyErr_Occurred()) SWIG_fail
;
41429 resultobj
= SWIG_Py_Void();
41444 SWIGINTERN PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41445 PyObject
*resultobj
= 0;
41446 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41453 PyObject
* obj0
= 0 ;
41454 PyObject
* obj1
= 0 ;
41455 char * kwnames
[] = {
41456 (char *) "self",(char *) "pos", NULL
41459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41461 if (!SWIG_IsOK(res1
)) {
41462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetLabelTop" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41464 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41465 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
41466 if (!SWIG_IsOK(ecode2
)) {
41467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_GetLabelTop" "', expected argument " "2"" of type '" "size_t""'");
41469 arg2
= static_cast< size_t >(val2
);
41471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41472 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
41473 wxPyEndAllowThreads(__tstate
);
41474 if (PyErr_Occurred()) SWIG_fail
;
41478 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
41480 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
41489 SWIGINTERN PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41490 PyObject
*resultobj
= 0;
41491 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41492 wxString
*arg2
= 0 ;
41493 wxString
*arg3
= 0 ;
41497 bool temp2
= false ;
41498 bool temp3
= false ;
41499 PyObject
* obj0
= 0 ;
41500 PyObject
* obj1
= 0 ;
41501 PyObject
* obj2
= 0 ;
41502 char * kwnames
[] = {
41503 (char *) "self",(char *) "menu",(char *) "item", NULL
41506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41508 if (!SWIG_IsOK(res1
)) {
41509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_FindMenuItem" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41511 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41513 arg2
= wxString_in_helper(obj1
);
41514 if (arg2
== NULL
) SWIG_fail
;
41518 arg3
= wxString_in_helper(obj2
);
41519 if (arg3
== NULL
) SWIG_fail
;
41523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41524 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
41525 wxPyEndAllowThreads(__tstate
);
41526 if (PyErr_Occurred()) SWIG_fail
;
41528 resultobj
= SWIG_From_int(static_cast< int >(result
));
41551 SWIGINTERN PyObject
*_wrap_MenuBar_FindItemById(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41552 PyObject
*resultobj
= 0;
41553 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41555 wxMenuItem
*result
= 0 ;
41560 PyObject
* obj0
= 0 ;
41561 PyObject
* obj1
= 0 ;
41562 char * kwnames
[] = {
41563 (char *) "self",(char *) "id", NULL
41566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41568 if (!SWIG_IsOK(res1
)) {
41569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_FindItemById" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41571 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41572 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41573 if (!SWIG_IsOK(ecode2
)) {
41574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_FindItemById" "', expected argument " "2"" of type '" "int""'");
41576 arg2
= static_cast< int >(val2
);
41578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41579 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
41580 wxPyEndAllowThreads(__tstate
);
41581 if (PyErr_Occurred()) SWIG_fail
;
41584 resultobj
= wxPyMake_wxObject(result
, (bool)0);
41592 SWIGINTERN PyObject
*_wrap_MenuBar_FindMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41593 PyObject
*resultobj
= 0;
41594 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41595 wxString
*arg2
= 0 ;
41599 bool temp2
= false ;
41600 PyObject
* obj0
= 0 ;
41601 PyObject
* obj1
= 0 ;
41602 char * kwnames
[] = {
41603 (char *) "self",(char *) "title", NULL
41606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41608 if (!SWIG_IsOK(res1
)) {
41609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_FindMenu" "', expected argument " "1"" of type '" "wxMenuBar *""'");
41611 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41613 arg2
= wxString_in_helper(obj1
);
41614 if (arg2
== NULL
) SWIG_fail
;
41618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41619 result
= (int)(arg1
)->FindMenu((wxString
const &)*arg2
);
41620 wxPyEndAllowThreads(__tstate
);
41621 if (PyErr_Occurred()) SWIG_fail
;
41623 resultobj
= SWIG_From_int(static_cast< int >(result
));
41638 SWIGINTERN PyObject
*_wrap_MenuBar_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41639 PyObject
*resultobj
= 0;
41640 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41649 PyObject
* obj0
= 0 ;
41650 PyObject
* obj1
= 0 ;
41651 PyObject
* obj2
= 0 ;
41652 char * kwnames
[] = {
41653 (char *) "self",(char *) "id",(char *) "enable", NULL
41656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41658 if (!SWIG_IsOK(res1
)) {
41659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Enable" "', expected argument " "1"" of type '" "wxMenuBar *""'");
41661 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41662 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41663 if (!SWIG_IsOK(ecode2
)) {
41664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_Enable" "', expected argument " "2"" of type '" "int""'");
41666 arg2
= static_cast< int >(val2
);
41667 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
41668 if (!SWIG_IsOK(ecode3
)) {
41669 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MenuBar_Enable" "', expected argument " "3"" of type '" "bool""'");
41671 arg3
= static_cast< bool >(val3
);
41673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41674 (arg1
)->Enable(arg2
,arg3
);
41675 wxPyEndAllowThreads(__tstate
);
41676 if (PyErr_Occurred()) SWIG_fail
;
41678 resultobj
= SWIG_Py_Void();
41685 SWIGINTERN PyObject
*_wrap_MenuBar_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41686 PyObject
*resultobj
= 0;
41687 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41696 PyObject
* obj0
= 0 ;
41697 PyObject
* obj1
= 0 ;
41698 PyObject
* obj2
= 0 ;
41699 char * kwnames
[] = {
41700 (char *) "self",(char *) "id",(char *) "check", NULL
41703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41705 if (!SWIG_IsOK(res1
)) {
41706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Check" "', expected argument " "1"" of type '" "wxMenuBar *""'");
41708 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41709 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41710 if (!SWIG_IsOK(ecode2
)) {
41711 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_Check" "', expected argument " "2"" of type '" "int""'");
41713 arg2
= static_cast< int >(val2
);
41714 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
41715 if (!SWIG_IsOK(ecode3
)) {
41716 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MenuBar_Check" "', expected argument " "3"" of type '" "bool""'");
41718 arg3
= static_cast< bool >(val3
);
41720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41721 (arg1
)->Check(arg2
,arg3
);
41722 wxPyEndAllowThreads(__tstate
);
41723 if (PyErr_Occurred()) SWIG_fail
;
41725 resultobj
= SWIG_Py_Void();
41732 SWIGINTERN PyObject
*_wrap_MenuBar_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41733 PyObject
*resultobj
= 0;
41734 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41741 PyObject
* obj0
= 0 ;
41742 PyObject
* obj1
= 0 ;
41743 char * kwnames
[] = {
41744 (char *) "self",(char *) "id", NULL
41747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41749 if (!SWIG_IsOK(res1
)) {
41750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_IsChecked" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41752 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41753 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41754 if (!SWIG_IsOK(ecode2
)) {
41755 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_IsChecked" "', expected argument " "2"" of type '" "int""'");
41757 arg2
= static_cast< int >(val2
);
41759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41760 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
41761 wxPyEndAllowThreads(__tstate
);
41762 if (PyErr_Occurred()) SWIG_fail
;
41765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41773 SWIGINTERN PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41774 PyObject
*resultobj
= 0;
41775 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41782 PyObject
* obj0
= 0 ;
41783 PyObject
* obj1
= 0 ;
41784 char * kwnames
[] = {
41785 (char *) "self",(char *) "id", NULL
41788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41790 if (!SWIG_IsOK(res1
)) {
41791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_IsEnabled" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41793 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41794 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41795 if (!SWIG_IsOK(ecode2
)) {
41796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_IsEnabled" "', expected argument " "2"" of type '" "int""'");
41798 arg2
= static_cast< int >(val2
);
41800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41801 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
41802 wxPyEndAllowThreads(__tstate
);
41803 if (PyErr_Occurred()) SWIG_fail
;
41806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
41814 SWIGINTERN PyObject
*_wrap_MenuBar_SetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41815 PyObject
*resultobj
= 0;
41816 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41818 wxString
*arg3
= 0 ;
41823 bool temp3
= false ;
41824 PyObject
* obj0
= 0 ;
41825 PyObject
* obj1
= 0 ;
41826 PyObject
* obj2
= 0 ;
41827 char * kwnames
[] = {
41828 (char *) "self",(char *) "id",(char *) "label", NULL
41831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41833 if (!SWIG_IsOK(res1
)) {
41834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_SetLabel" "', expected argument " "1"" of type '" "wxMenuBar *""'");
41836 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41837 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41838 if (!SWIG_IsOK(ecode2
)) {
41839 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_SetLabel" "', expected argument " "2"" of type '" "int""'");
41841 arg2
= static_cast< int >(val2
);
41843 arg3
= wxString_in_helper(obj2
);
41844 if (arg3
== NULL
) SWIG_fail
;
41848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41849 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
41850 wxPyEndAllowThreads(__tstate
);
41851 if (PyErr_Occurred()) SWIG_fail
;
41853 resultobj
= SWIG_Py_Void();
41868 SWIGINTERN PyObject
*_wrap_MenuBar_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41869 PyObject
*resultobj
= 0;
41870 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41877 PyObject
* obj0
= 0 ;
41878 PyObject
* obj1
= 0 ;
41879 char * kwnames
[] = {
41880 (char *) "self",(char *) "id", NULL
41883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41885 if (!SWIG_IsOK(res1
)) {
41886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetLabel" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41888 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41889 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41890 if (!SWIG_IsOK(ecode2
)) {
41891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_GetLabel" "', expected argument " "2"" of type '" "int""'");
41893 arg2
= static_cast< int >(val2
);
41895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41896 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
41897 wxPyEndAllowThreads(__tstate
);
41898 if (PyErr_Occurred()) SWIG_fail
;
41902 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
41904 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
41913 SWIGINTERN PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41914 PyObject
*resultobj
= 0;
41915 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41917 wxString
*arg3
= 0 ;
41922 bool temp3
= false ;
41923 PyObject
* obj0
= 0 ;
41924 PyObject
* obj1
= 0 ;
41925 PyObject
* obj2
= 0 ;
41926 char * kwnames
[] = {
41927 (char *) "self",(char *) "id",(char *) "helpString", NULL
41930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
41931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41932 if (!SWIG_IsOK(res1
)) {
41933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_SetHelpString" "', expected argument " "1"" of type '" "wxMenuBar *""'");
41935 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41936 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41937 if (!SWIG_IsOK(ecode2
)) {
41938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_SetHelpString" "', expected argument " "2"" of type '" "int""'");
41940 arg2
= static_cast< int >(val2
);
41942 arg3
= wxString_in_helper(obj2
);
41943 if (arg3
== NULL
) SWIG_fail
;
41947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41948 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
41949 wxPyEndAllowThreads(__tstate
);
41950 if (PyErr_Occurred()) SWIG_fail
;
41952 resultobj
= SWIG_Py_Void();
41967 SWIGINTERN PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
41968 PyObject
*resultobj
= 0;
41969 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
41976 PyObject
* obj0
= 0 ;
41977 PyObject
* obj1
= 0 ;
41978 char * kwnames
[] = {
41979 (char *) "self",(char *) "id", NULL
41982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
41983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
41984 if (!SWIG_IsOK(res1
)) {
41985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetHelpString" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
41987 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
41988 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
41989 if (!SWIG_IsOK(ecode2
)) {
41990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuBar_GetHelpString" "', expected argument " "2"" of type '" "int""'");
41992 arg2
= static_cast< int >(val2
);
41994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
41995 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
41996 wxPyEndAllowThreads(__tstate
);
41997 if (PyErr_Occurred()) SWIG_fail
;
42001 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42003 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42012 SWIGINTERN PyObject
*_wrap_MenuBar_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42013 PyObject
*resultobj
= 0;
42014 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
42015 wxFrame
*result
= 0 ;
42018 PyObject
*swig_obj
[1] ;
42020 if (!args
) SWIG_fail
;
42021 swig_obj
[0] = args
;
42022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
42023 if (!SWIG_IsOK(res1
)) {
42024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_GetFrame" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
42026 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
42028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42029 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
42030 wxPyEndAllowThreads(__tstate
);
42031 if (PyErr_Occurred()) SWIG_fail
;
42034 resultobj
= wxPyMake_wxObject(result
, (bool)0);
42042 SWIGINTERN PyObject
*_wrap_MenuBar_IsAttached(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42043 PyObject
*resultobj
= 0;
42044 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
42048 PyObject
*swig_obj
[1] ;
42050 if (!args
) SWIG_fail
;
42051 swig_obj
[0] = args
;
42052 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
42053 if (!SWIG_IsOK(res1
)) {
42054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_IsAttached" "', expected argument " "1"" of type '" "wxMenuBar const *""'");
42056 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
42058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42059 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
42060 wxPyEndAllowThreads(__tstate
);
42061 if (PyErr_Occurred()) SWIG_fail
;
42064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42072 SWIGINTERN PyObject
*_wrap_MenuBar_Attach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42073 PyObject
*resultobj
= 0;
42074 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
42075 wxFrame
*arg2
= (wxFrame
*) 0 ;
42080 PyObject
* obj0
= 0 ;
42081 PyObject
* obj1
= 0 ;
42082 char * kwnames
[] = {
42083 (char *) "self",(char *) "frame", NULL
42086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
42088 if (!SWIG_IsOK(res1
)) {
42089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Attach" "', expected argument " "1"" of type '" "wxMenuBar *""'");
42091 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
42092 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
42093 if (!SWIG_IsOK(res2
)) {
42094 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuBar_Attach" "', expected argument " "2"" of type '" "wxFrame *""'");
42096 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
42098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42099 (arg1
)->Attach(arg2
);
42100 wxPyEndAllowThreads(__tstate
);
42101 if (PyErr_Occurred()) SWIG_fail
;
42103 resultobj
= SWIG_Py_Void();
42110 SWIGINTERN PyObject
*_wrap_MenuBar_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42111 PyObject
*resultobj
= 0;
42112 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
42115 PyObject
*swig_obj
[1] ;
42117 if (!args
) SWIG_fail
;
42118 swig_obj
[0] = args
;
42119 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
42120 if (!SWIG_IsOK(res1
)) {
42121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuBar_Detach" "', expected argument " "1"" of type '" "wxMenuBar *""'");
42123 arg1
= reinterpret_cast< wxMenuBar
* >(argp1
);
42125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42127 wxPyEndAllowThreads(__tstate
);
42128 if (PyErr_Occurred()) SWIG_fail
;
42130 resultobj
= SWIG_Py_Void();
42137 SWIGINTERN PyObject
*_wrap_MenuBar_SetAutoWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42138 PyObject
*resultobj
= 0;
42142 PyObject
* obj0
= 0 ;
42143 char * kwnames
[] = {
42144 (char *) "enable", NULL
42147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_SetAutoWindowMenu",kwnames
,&obj0
)) SWIG_fail
;
42148 ecode1
= SWIG_AsVal_bool(obj0
, &val1
);
42149 if (!SWIG_IsOK(ecode1
)) {
42150 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "MenuBar_SetAutoWindowMenu" "', expected argument " "1"" of type '" "bool""'");
42152 arg1
= static_cast< bool >(val1
);
42154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42155 wxMenuBar_SetAutoWindowMenu(arg1
);
42156 wxPyEndAllowThreads(__tstate
);
42157 if (PyErr_Occurred()) SWIG_fail
;
42159 resultobj
= SWIG_Py_Void();
42166 SWIGINTERN PyObject
*_wrap_MenuBar_GetAutoWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42167 PyObject
*resultobj
= 0;
42170 if (!SWIG_Python_UnpackTuple(args
,"MenuBar_GetAutoWindowMenu",0,0,0)) SWIG_fail
;
42172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42173 result
= (bool)wxMenuBar_GetAutoWindowMenu();
42174 wxPyEndAllowThreads(__tstate
);
42175 if (PyErr_Occurred()) SWIG_fail
;
42178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42186 SWIGINTERN PyObject
*MenuBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42188 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
42189 SWIG_TypeNewClientData(SWIGTYPE_p_wxMenuBar
, SWIG_NewClientData(obj
));
42190 return SWIG_Py_Void();
42193 SWIGINTERN PyObject
*MenuBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42194 return SWIG_Python_InitShadowInstance(args
);
42197 SWIGINTERN PyObject
*_wrap_new_MenuItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42198 PyObject
*resultobj
= 0;
42199 wxMenu
*arg1
= (wxMenu
*) NULL
;
42200 int arg2
= (int) wxID_ANY
;
42201 wxString
const &arg3_defvalue
= wxPyEmptyString
;
42202 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
42203 wxString
const &arg4_defvalue
= wxPyEmptyString
;
42204 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
42205 wxItemKind arg5
= (wxItemKind
) wxITEM_NORMAL
;
42206 wxMenu
*arg6
= (wxMenu
*) NULL
;
42207 wxMenuItem
*result
= 0 ;
42212 bool temp3
= false ;
42213 bool temp4
= false ;
42218 PyObject
* obj0
= 0 ;
42219 PyObject
* obj1
= 0 ;
42220 PyObject
* obj2
= 0 ;
42221 PyObject
* obj3
= 0 ;
42222 PyObject
* obj4
= 0 ;
42223 PyObject
* obj5
= 0 ;
42224 char * kwnames
[] = {
42225 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
42228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
42230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42231 if (!SWIG_IsOK(res1
)) {
42232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MenuItem" "', expected argument " "1"" of type '" "wxMenu *""'");
42234 arg1
= reinterpret_cast< wxMenu
* >(argp1
);
42237 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42238 if (!SWIG_IsOK(ecode2
)) {
42239 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MenuItem" "', expected argument " "2"" of type '" "int""'");
42241 arg2
= static_cast< int >(val2
);
42245 arg3
= wxString_in_helper(obj2
);
42246 if (arg3
== NULL
) SWIG_fail
;
42252 arg4
= wxString_in_helper(obj3
);
42253 if (arg4
== NULL
) SWIG_fail
;
42258 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
42259 if (!SWIG_IsOK(ecode5
)) {
42260 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_MenuItem" "', expected argument " "5"" of type '" "wxItemKind""'");
42262 arg5
= static_cast< wxItemKind
>(val5
);
42265 res6
= SWIG_ConvertPtr(obj5
, &argp6
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42266 if (!SWIG_IsOK(res6
)) {
42267 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_MenuItem" "', expected argument " "6"" of type '" "wxMenu *""'");
42269 arg6
= reinterpret_cast< wxMenu
* >(argp6
);
42272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42273 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
42274 wxPyEndAllowThreads(__tstate
);
42275 if (PyErr_Occurred()) SWIG_fail
;
42278 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_NEW
);
42302 SWIGINTERN PyObject
*_wrap_delete_MenuItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42303 PyObject
*resultobj
= 0;
42304 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42307 PyObject
*swig_obj
[1] ;
42309 if (!args
) SWIG_fail
;
42310 swig_obj
[0] = args
;
42311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, SWIG_POINTER_DISOWN
| 0 );
42312 if (!SWIG_IsOK(res1
)) {
42313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_MenuItem" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42315 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42320 wxPyEndAllowThreads(__tstate
);
42321 if (PyErr_Occurred()) SWIG_fail
;
42323 resultobj
= SWIG_Py_Void();
42330 SWIGINTERN PyObject
*_wrap_MenuItem_GetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42331 PyObject
*resultobj
= 0;
42332 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42333 wxMenu
*result
= 0 ;
42336 PyObject
*swig_obj
[1] ;
42338 if (!args
) SWIG_fail
;
42339 swig_obj
[0] = args
;
42340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42341 if (!SWIG_IsOK(res1
)) {
42342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetMenu" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42344 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42347 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
42348 wxPyEndAllowThreads(__tstate
);
42349 if (PyErr_Occurred()) SWIG_fail
;
42352 resultobj
= wxPyMake_wxObject(result
, 0);
42360 SWIGINTERN PyObject
*_wrap_MenuItem_SetMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42361 PyObject
*resultobj
= 0;
42362 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42363 wxMenu
*arg2
= (wxMenu
*) 0 ;
42368 PyObject
* obj0
= 0 ;
42369 PyObject
* obj1
= 0 ;
42370 char * kwnames
[] = {
42371 (char *) "self",(char *) "menu", NULL
42374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42375 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42376 if (!SWIG_IsOK(res1
)) {
42377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetMenu" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42379 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42380 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42381 if (!SWIG_IsOK(res2
)) {
42382 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
42384 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
42386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42387 (arg1
)->SetMenu(arg2
);
42388 wxPyEndAllowThreads(__tstate
);
42389 if (PyErr_Occurred()) SWIG_fail
;
42391 resultobj
= SWIG_Py_Void();
42398 SWIGINTERN PyObject
*_wrap_MenuItem_SetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42399 PyObject
*resultobj
= 0;
42400 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42406 PyObject
* obj0
= 0 ;
42407 PyObject
* obj1
= 0 ;
42408 char * kwnames
[] = {
42409 (char *) "self",(char *) "id", NULL
42412 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42413 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42414 if (!SWIG_IsOK(res1
)) {
42415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetId" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42417 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42418 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42419 if (!SWIG_IsOK(ecode2
)) {
42420 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_SetId" "', expected argument " "2"" of type '" "int""'");
42422 arg2
= static_cast< int >(val2
);
42424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42425 (arg1
)->SetId(arg2
);
42426 wxPyEndAllowThreads(__tstate
);
42427 if (PyErr_Occurred()) SWIG_fail
;
42429 resultobj
= SWIG_Py_Void();
42436 SWIGINTERN PyObject
*_wrap_MenuItem_GetId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42437 PyObject
*resultobj
= 0;
42438 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42442 PyObject
*swig_obj
[1] ;
42444 if (!args
) SWIG_fail
;
42445 swig_obj
[0] = args
;
42446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42447 if (!SWIG_IsOK(res1
)) {
42448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetId" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42450 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42453 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
42454 wxPyEndAllowThreads(__tstate
);
42455 if (PyErr_Occurred()) SWIG_fail
;
42457 resultobj
= SWIG_From_int(static_cast< int >(result
));
42464 SWIGINTERN PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42465 PyObject
*resultobj
= 0;
42466 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42470 PyObject
*swig_obj
[1] ;
42472 if (!args
) SWIG_fail
;
42473 swig_obj
[0] = args
;
42474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42475 if (!SWIG_IsOK(res1
)) {
42476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsSeparator" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42478 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42481 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
42482 wxPyEndAllowThreads(__tstate
);
42483 if (PyErr_Occurred()) SWIG_fail
;
42486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42494 SWIGINTERN PyObject
*_wrap_MenuItem_SetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42495 PyObject
*resultobj
= 0;
42496 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42497 wxString
*arg2
= 0 ;
42500 bool temp2
= false ;
42501 PyObject
* obj0
= 0 ;
42502 PyObject
* obj1
= 0 ;
42503 char * kwnames
[] = {
42504 (char *) "self",(char *) "str", NULL
42507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42509 if (!SWIG_IsOK(res1
)) {
42510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetText" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42512 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42514 arg2
= wxString_in_helper(obj1
);
42515 if (arg2
== NULL
) SWIG_fail
;
42519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42520 (arg1
)->SetText((wxString
const &)*arg2
);
42521 wxPyEndAllowThreads(__tstate
);
42522 if (PyErr_Occurred()) SWIG_fail
;
42524 resultobj
= SWIG_Py_Void();
42539 SWIGINTERN PyObject
*_wrap_MenuItem_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42540 PyObject
*resultobj
= 0;
42541 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42545 PyObject
*swig_obj
[1] ;
42547 if (!args
) SWIG_fail
;
42548 swig_obj
[0] = args
;
42549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42550 if (!SWIG_IsOK(res1
)) {
42551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetLabel" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42553 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42556 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
42557 wxPyEndAllowThreads(__tstate
);
42558 if (PyErr_Occurred()) SWIG_fail
;
42562 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42564 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42573 SWIGINTERN PyObject
*_wrap_MenuItem_GetText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42574 PyObject
*resultobj
= 0;
42575 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42576 wxString
*result
= 0 ;
42579 PyObject
*swig_obj
[1] ;
42581 if (!args
) SWIG_fail
;
42582 swig_obj
[0] = args
;
42583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42584 if (!SWIG_IsOK(res1
)) {
42585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetText" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42587 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42591 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
42592 result
= (wxString
*) &_result_ref
;
42594 wxPyEndAllowThreads(__tstate
);
42595 if (PyErr_Occurred()) SWIG_fail
;
42599 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
42601 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
42610 SWIGINTERN PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42611 PyObject
*resultobj
= 0;
42612 wxString
*arg1
= 0 ;
42614 bool temp1
= false ;
42615 PyObject
* obj0
= 0 ;
42616 char * kwnames
[] = {
42617 (char *) "text", NULL
42620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) SWIG_fail
;
42622 arg1
= wxString_in_helper(obj0
);
42623 if (arg1
== NULL
) SWIG_fail
;
42627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42628 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
42629 wxPyEndAllowThreads(__tstate
);
42630 if (PyErr_Occurred()) SWIG_fail
;
42634 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
42636 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
42653 SWIGINTERN PyObject
*_wrap_MenuItem_GetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42654 PyObject
*resultobj
= 0;
42655 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42659 PyObject
*swig_obj
[1] ;
42661 if (!args
) SWIG_fail
;
42662 swig_obj
[0] = args
;
42663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42664 if (!SWIG_IsOK(res1
)) {
42665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetKind" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42667 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42670 result
= (wxItemKind
)((wxMenuItem
const *)arg1
)->GetKind();
42671 wxPyEndAllowThreads(__tstate
);
42672 if (PyErr_Occurred()) SWIG_fail
;
42674 resultobj
= SWIG_From_int(static_cast< int >(result
));
42681 SWIGINTERN PyObject
*_wrap_MenuItem_SetKind(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42682 PyObject
*resultobj
= 0;
42683 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42689 PyObject
* obj0
= 0 ;
42690 PyObject
* obj1
= 0 ;
42691 char * kwnames
[] = {
42692 (char *) "self",(char *) "kind", NULL
42695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42697 if (!SWIG_IsOK(res1
)) {
42698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetKind" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42700 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42701 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
42702 if (!SWIG_IsOK(ecode2
)) {
42703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_SetKind" "', expected argument " "2"" of type '" "wxItemKind""'");
42705 arg2
= static_cast< wxItemKind
>(val2
);
42707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42708 (arg1
)->SetKind(arg2
);
42709 wxPyEndAllowThreads(__tstate
);
42710 if (PyErr_Occurred()) SWIG_fail
;
42712 resultobj
= SWIG_Py_Void();
42719 SWIGINTERN PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42720 PyObject
*resultobj
= 0;
42721 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42727 PyObject
* obj0
= 0 ;
42728 PyObject
* obj1
= 0 ;
42729 char * kwnames
[] = {
42730 (char *) "self",(char *) "checkable", NULL
42733 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42734 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42735 if (!SWIG_IsOK(res1
)) {
42736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetCheckable" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42738 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42739 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42740 if (!SWIG_IsOK(ecode2
)) {
42741 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_SetCheckable" "', expected argument " "2"" of type '" "bool""'");
42743 arg2
= static_cast< bool >(val2
);
42745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42746 (arg1
)->SetCheckable(arg2
);
42747 wxPyEndAllowThreads(__tstate
);
42748 if (PyErr_Occurred()) SWIG_fail
;
42750 resultobj
= SWIG_Py_Void();
42757 SWIGINTERN PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42758 PyObject
*resultobj
= 0;
42759 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42763 PyObject
*swig_obj
[1] ;
42765 if (!args
) SWIG_fail
;
42766 swig_obj
[0] = args
;
42767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42768 if (!SWIG_IsOK(res1
)) {
42769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsCheckable" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42771 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42774 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
42775 wxPyEndAllowThreads(__tstate
);
42776 if (PyErr_Occurred()) SWIG_fail
;
42779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42787 SWIGINTERN PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42788 PyObject
*resultobj
= 0;
42789 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42793 PyObject
*swig_obj
[1] ;
42795 if (!args
) SWIG_fail
;
42796 swig_obj
[0] = args
;
42797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42798 if (!SWIG_IsOK(res1
)) {
42799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsSubMenu" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42801 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42804 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
42805 wxPyEndAllowThreads(__tstate
);
42806 if (PyErr_Occurred()) SWIG_fail
;
42809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42817 SWIGINTERN PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42818 PyObject
*resultobj
= 0;
42819 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42820 wxMenu
*arg2
= (wxMenu
*) 0 ;
42825 PyObject
* obj0
= 0 ;
42826 PyObject
* obj1
= 0 ;
42827 char * kwnames
[] = {
42828 (char *) "self",(char *) "menu", NULL
42831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42833 if (!SWIG_IsOK(res1
)) {
42834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetSubMenu" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42836 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42837 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
42838 if (!SWIG_IsOK(res2
)) {
42839 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetSubMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
42841 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
42843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42844 (arg1
)->SetSubMenu(arg2
);
42845 wxPyEndAllowThreads(__tstate
);
42846 if (PyErr_Occurred()) SWIG_fail
;
42848 resultobj
= SWIG_Py_Void();
42855 SWIGINTERN PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42856 PyObject
*resultobj
= 0;
42857 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42858 wxMenu
*result
= 0 ;
42861 PyObject
*swig_obj
[1] ;
42863 if (!args
) SWIG_fail
;
42864 swig_obj
[0] = args
;
42865 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42866 if (!SWIG_IsOK(res1
)) {
42867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetSubMenu" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42869 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42872 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
42873 wxPyEndAllowThreads(__tstate
);
42874 if (PyErr_Occurred()) SWIG_fail
;
42877 resultobj
= wxPyMake_wxObject(result
, 0);
42885 SWIGINTERN PyObject
*_wrap_MenuItem_Enable(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42886 PyObject
*resultobj
= 0;
42887 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42888 bool arg2
= (bool) true ;
42893 PyObject
* obj0
= 0 ;
42894 PyObject
* obj1
= 0 ;
42895 char * kwnames
[] = {
42896 (char *) "self",(char *) "enable", NULL
42899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42901 if (!SWIG_IsOK(res1
)) {
42902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_Enable" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42904 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42906 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42907 if (!SWIG_IsOK(ecode2
)) {
42908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_Enable" "', expected argument " "2"" of type '" "bool""'");
42910 arg2
= static_cast< bool >(val2
);
42913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42914 (arg1
)->Enable(arg2
);
42915 wxPyEndAllowThreads(__tstate
);
42916 if (PyErr_Occurred()) SWIG_fail
;
42918 resultobj
= SWIG_Py_Void();
42925 SWIGINTERN PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42926 PyObject
*resultobj
= 0;
42927 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42931 PyObject
*swig_obj
[1] ;
42933 if (!args
) SWIG_fail
;
42934 swig_obj
[0] = args
;
42935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42936 if (!SWIG_IsOK(res1
)) {
42937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsEnabled" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
42939 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42942 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
42943 wxPyEndAllowThreads(__tstate
);
42944 if (PyErr_Occurred()) SWIG_fail
;
42947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
42955 SWIGINTERN PyObject
*_wrap_MenuItem_Check(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
42956 PyObject
*resultobj
= 0;
42957 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
42958 bool arg2
= (bool) true ;
42963 PyObject
* obj0
= 0 ;
42964 PyObject
* obj1
= 0 ;
42965 char * kwnames
[] = {
42966 (char *) "self",(char *) "check", NULL
42969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
42970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
42971 if (!SWIG_IsOK(res1
)) {
42972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_Check" "', expected argument " "1"" of type '" "wxMenuItem *""'");
42974 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
42976 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
42977 if (!SWIG_IsOK(ecode2
)) {
42978 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_Check" "', expected argument " "2"" of type '" "bool""'");
42980 arg2
= static_cast< bool >(val2
);
42983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
42984 (arg1
)->Check(arg2
);
42985 wxPyEndAllowThreads(__tstate
);
42986 if (PyErr_Occurred()) SWIG_fail
;
42988 resultobj
= SWIG_Py_Void();
42995 SWIGINTERN PyObject
*_wrap_MenuItem_IsChecked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
42996 PyObject
*resultobj
= 0;
42997 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43001 PyObject
*swig_obj
[1] ;
43003 if (!args
) SWIG_fail
;
43004 swig_obj
[0] = args
;
43005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43006 if (!SWIG_IsOK(res1
)) {
43007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsChecked" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
43009 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43012 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
43013 wxPyEndAllowThreads(__tstate
);
43014 if (PyErr_Occurred()) SWIG_fail
;
43017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43025 SWIGINTERN PyObject
*_wrap_MenuItem_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43026 PyObject
*resultobj
= 0;
43027 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43030 PyObject
*swig_obj
[1] ;
43032 if (!args
) SWIG_fail
;
43033 swig_obj
[0] = args
;
43034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43035 if (!SWIG_IsOK(res1
)) {
43036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_Toggle" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43038 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43042 wxPyEndAllowThreads(__tstate
);
43043 if (PyErr_Occurred()) SWIG_fail
;
43045 resultobj
= SWIG_Py_Void();
43052 SWIGINTERN PyObject
*_wrap_MenuItem_SetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43053 PyObject
*resultobj
= 0;
43054 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43055 wxString
*arg2
= 0 ;
43058 bool temp2
= false ;
43059 PyObject
* obj0
= 0 ;
43060 PyObject
* obj1
= 0 ;
43061 char * kwnames
[] = {
43062 (char *) "self",(char *) "str", NULL
43065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43067 if (!SWIG_IsOK(res1
)) {
43068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetHelp" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43070 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43072 arg2
= wxString_in_helper(obj1
);
43073 if (arg2
== NULL
) SWIG_fail
;
43077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43078 (arg1
)->SetHelp((wxString
const &)*arg2
);
43079 wxPyEndAllowThreads(__tstate
);
43080 if (PyErr_Occurred()) SWIG_fail
;
43082 resultobj
= SWIG_Py_Void();
43097 SWIGINTERN PyObject
*_wrap_MenuItem_GetHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43098 PyObject
*resultobj
= 0;
43099 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43100 wxString
*result
= 0 ;
43103 PyObject
*swig_obj
[1] ;
43105 if (!args
) SWIG_fail
;
43106 swig_obj
[0] = args
;
43107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43108 if (!SWIG_IsOK(res1
)) {
43109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetHelp" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
43111 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43115 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
43116 result
= (wxString
*) &_result_ref
;
43118 wxPyEndAllowThreads(__tstate
);
43119 if (PyErr_Occurred()) SWIG_fail
;
43123 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
43125 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
43134 SWIGINTERN PyObject
*_wrap_MenuItem_GetAccel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43135 PyObject
*resultobj
= 0;
43136 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43137 wxAcceleratorEntry
*result
= 0 ;
43140 PyObject
*swig_obj
[1] ;
43142 if (!args
) SWIG_fail
;
43143 swig_obj
[0] = args
;
43144 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43145 if (!SWIG_IsOK(res1
)) {
43146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetAccel" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
43148 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43151 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
43152 wxPyEndAllowThreads(__tstate
);
43153 if (PyErr_Occurred()) SWIG_fail
;
43155 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
43162 SWIGINTERN PyObject
*_wrap_MenuItem_SetAccel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43163 PyObject
*resultobj
= 0;
43164 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43165 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
43170 PyObject
* obj0
= 0 ;
43171 PyObject
* obj1
= 0 ;
43172 char * kwnames
[] = {
43173 (char *) "self",(char *) "accel", NULL
43176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43178 if (!SWIG_IsOK(res1
)) {
43179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetAccel" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43181 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43182 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxAcceleratorEntry
, 0 | 0 );
43183 if (!SWIG_IsOK(res2
)) {
43184 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetAccel" "', expected argument " "2"" of type '" "wxAcceleratorEntry *""'");
43186 arg2
= reinterpret_cast< wxAcceleratorEntry
* >(argp2
);
43188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43189 (arg1
)->SetAccel(arg2
);
43190 wxPyEndAllowThreads(__tstate
);
43191 if (PyErr_Occurred()) SWIG_fail
;
43193 resultobj
= SWIG_Py_Void();
43200 SWIGINTERN PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43201 PyObject
*resultobj
= 0;
43202 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43203 wxBitmap
*arg2
= 0 ;
43208 PyObject
* obj0
= 0 ;
43209 PyObject
* obj1
= 0 ;
43210 char * kwnames
[] = {
43211 (char *) "self",(char *) "bitmap", NULL
43214 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43215 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43216 if (!SWIG_IsOK(res1
)) {
43217 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetBitmap" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43219 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43220 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
43221 if (!SWIG_IsOK(res2
)) {
43222 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
43225 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MenuItem_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
43227 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
43229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43230 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
43231 wxPyEndAllowThreads(__tstate
);
43232 if (PyErr_Occurred()) SWIG_fail
;
43234 resultobj
= SWIG_Py_Void();
43241 SWIGINTERN PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43242 PyObject
*resultobj
= 0;
43243 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43244 wxBitmap
*result
= 0 ;
43247 PyObject
*swig_obj
[1] ;
43249 if (!args
) SWIG_fail
;
43250 swig_obj
[0] = args
;
43251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43252 if (!SWIG_IsOK(res1
)) {
43253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetBitmap" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43255 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43259 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
43260 result
= (wxBitmap
*) &_result_ref
;
43262 wxPyEndAllowThreads(__tstate
);
43263 if (PyErr_Occurred()) SWIG_fail
;
43266 wxBitmap
* resultptr
= new wxBitmap(*result
);
43267 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
43275 SWIGINTERN PyObject
*_wrap_MenuItem_SetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43276 PyObject
*resultobj
= 0;
43277 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43283 PyObject
* obj0
= 0 ;
43284 PyObject
* obj1
= 0 ;
43285 char * kwnames
[] = {
43286 (char *) "self",(char *) "font", NULL
43289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43291 if (!SWIG_IsOK(res1
)) {
43292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetFont" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43294 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43295 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
43296 if (!SWIG_IsOK(res2
)) {
43297 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
43300 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MenuItem_SetFont" "', expected argument " "2"" of type '" "wxFont const &""'");
43302 arg2
= reinterpret_cast< wxFont
* >(argp2
);
43304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43305 wxMenuItem_SetFont(arg1
,(wxFont
const &)*arg2
);
43306 wxPyEndAllowThreads(__tstate
);
43307 if (PyErr_Occurred()) SWIG_fail
;
43309 resultobj
= SWIG_Py_Void();
43316 SWIGINTERN PyObject
*_wrap_MenuItem_GetFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43317 PyObject
*resultobj
= 0;
43318 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43322 PyObject
*swig_obj
[1] ;
43324 if (!args
) SWIG_fail
;
43325 swig_obj
[0] = args
;
43326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43327 if (!SWIG_IsOK(res1
)) {
43328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetFont" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43330 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43333 result
= wxMenuItem_GetFont(arg1
);
43334 wxPyEndAllowThreads(__tstate
);
43335 if (PyErr_Occurred()) SWIG_fail
;
43337 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
43344 SWIGINTERN PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43345 PyObject
*resultobj
= 0;
43346 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43347 wxColour
*arg2
= 0 ;
43351 PyObject
* obj0
= 0 ;
43352 PyObject
* obj1
= 0 ;
43353 char * kwnames
[] = {
43354 (char *) "self",(char *) "colText", NULL
43357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43359 if (!SWIG_IsOK(res1
)) {
43360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetTextColour" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43362 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43365 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43369 wxMenuItem_SetTextColour(arg1
,(wxColour
const &)*arg2
);
43370 wxPyEndAllowThreads(__tstate
);
43371 if (PyErr_Occurred()) SWIG_fail
;
43373 resultobj
= SWIG_Py_Void();
43380 SWIGINTERN PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43381 PyObject
*resultobj
= 0;
43382 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43386 PyObject
*swig_obj
[1] ;
43388 if (!args
) SWIG_fail
;
43389 swig_obj
[0] = args
;
43390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43391 if (!SWIG_IsOK(res1
)) {
43392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetTextColour" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43394 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43397 result
= wxMenuItem_GetTextColour(arg1
);
43398 wxPyEndAllowThreads(__tstate
);
43399 if (PyErr_Occurred()) SWIG_fail
;
43401 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43408 SWIGINTERN PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43409 PyObject
*resultobj
= 0;
43410 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43411 wxColour
*arg2
= 0 ;
43415 PyObject
* obj0
= 0 ;
43416 PyObject
* obj1
= 0 ;
43417 char * kwnames
[] = {
43418 (char *) "self",(char *) "colBack", NULL
43421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43423 if (!SWIG_IsOK(res1
)) {
43424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetBackgroundColour" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43426 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43429 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
43432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43433 wxMenuItem_SetBackgroundColour(arg1
,(wxColour
const &)*arg2
);
43434 wxPyEndAllowThreads(__tstate
);
43435 if (PyErr_Occurred()) SWIG_fail
;
43437 resultobj
= SWIG_Py_Void();
43444 SWIGINTERN PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43445 PyObject
*resultobj
= 0;
43446 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43450 PyObject
*swig_obj
[1] ;
43452 if (!args
) SWIG_fail
;
43453 swig_obj
[0] = args
;
43454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43455 if (!SWIG_IsOK(res1
)) {
43456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetBackgroundColour" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43458 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43461 result
= wxMenuItem_GetBackgroundColour(arg1
);
43462 wxPyEndAllowThreads(__tstate
);
43463 if (PyErr_Occurred()) SWIG_fail
;
43465 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
43472 SWIGINTERN PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43473 PyObject
*resultobj
= 0;
43474 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43475 wxBitmap
*arg2
= 0 ;
43476 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
43477 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
43484 PyObject
* obj0
= 0 ;
43485 PyObject
* obj1
= 0 ;
43486 PyObject
* obj2
= 0 ;
43487 char * kwnames
[] = {
43488 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
43491 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
43492 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43493 if (!SWIG_IsOK(res1
)) {
43494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetBitmaps" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43496 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43497 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
43498 if (!SWIG_IsOK(res2
)) {
43499 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetBitmaps" "', expected argument " "2"" of type '" "wxBitmap const &""'");
43502 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MenuItem_SetBitmaps" "', expected argument " "2"" of type '" "wxBitmap const &""'");
43504 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
43506 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxBitmap
, 0 | 0);
43507 if (!SWIG_IsOK(res3
)) {
43508 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "MenuItem_SetBitmaps" "', expected argument " "3"" of type '" "wxBitmap const &""'");
43511 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MenuItem_SetBitmaps" "', expected argument " "3"" of type '" "wxBitmap const &""'");
43513 arg3
= reinterpret_cast< wxBitmap
* >(argp3
);
43516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43517 wxMenuItem_SetBitmaps(arg1
,(wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
43518 wxPyEndAllowThreads(__tstate
);
43519 if (PyErr_Occurred()) SWIG_fail
;
43521 resultobj
= SWIG_Py_Void();
43528 SWIGINTERN PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43529 PyObject
*resultobj
= 0;
43530 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43531 wxBitmap
*arg2
= 0 ;
43536 PyObject
* obj0
= 0 ;
43537 PyObject
* obj1
= 0 ;
43538 char * kwnames
[] = {
43539 (char *) "self",(char *) "bmpDisabled", NULL
43542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43544 if (!SWIG_IsOK(res1
)) {
43545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetDisabledBitmap" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43547 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43548 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
43549 if (!SWIG_IsOK(res2
)) {
43550 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MenuItem_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
43553 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "MenuItem_SetDisabledBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
43555 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
43557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43558 wxMenuItem_SetDisabledBitmap(arg1
,(wxBitmap
const &)*arg2
);
43559 wxPyEndAllowThreads(__tstate
);
43560 if (PyErr_Occurred()) SWIG_fail
;
43562 resultobj
= SWIG_Py_Void();
43569 SWIGINTERN PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43570 PyObject
*resultobj
= 0;
43571 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43572 wxBitmap
*result
= 0 ;
43575 PyObject
*swig_obj
[1] ;
43577 if (!args
) SWIG_fail
;
43578 swig_obj
[0] = args
;
43579 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43580 if (!SWIG_IsOK(res1
)) {
43581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetDisabledBitmap" "', expected argument " "1"" of type '" "wxMenuItem const *""'");
43583 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43587 wxBitmap
const &_result_ref
= wxMenuItem_GetDisabledBitmap((wxMenuItem
const *)arg1
);
43588 result
= (wxBitmap
*) &_result_ref
;
43590 wxPyEndAllowThreads(__tstate
);
43591 if (PyErr_Occurred()) SWIG_fail
;
43594 wxBitmap
* resultptr
= new wxBitmap(*result
);
43595 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
43603 SWIGINTERN PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43604 PyObject
*resultobj
= 0;
43605 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43611 PyObject
* obj0
= 0 ;
43612 PyObject
* obj1
= 0 ;
43613 char * kwnames
[] = {
43614 (char *) "self",(char *) "nWidth", NULL
43617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43619 if (!SWIG_IsOK(res1
)) {
43620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetMarginWidth" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43622 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43623 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43624 if (!SWIG_IsOK(ecode2
)) {
43625 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_SetMarginWidth" "', expected argument " "2"" of type '" "int""'");
43627 arg2
= static_cast< int >(val2
);
43629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43630 wxMenuItem_SetMarginWidth(arg1
,arg2
);
43631 wxPyEndAllowThreads(__tstate
);
43632 if (PyErr_Occurred()) SWIG_fail
;
43634 resultobj
= SWIG_Py_Void();
43641 SWIGINTERN PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43642 PyObject
*resultobj
= 0;
43643 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43647 PyObject
*swig_obj
[1] ;
43649 if (!args
) SWIG_fail
;
43650 swig_obj
[0] = args
;
43651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43652 if (!SWIG_IsOK(res1
)) {
43653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_GetMarginWidth" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43655 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43658 result
= (int)wxMenuItem_GetMarginWidth(arg1
);
43659 wxPyEndAllowThreads(__tstate
);
43660 if (PyErr_Occurred()) SWIG_fail
;
43662 resultobj
= SWIG_From_int(static_cast< int >(result
));
43669 SWIGINTERN PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43670 PyObject
*resultobj
= 0;
43673 if (!SWIG_Python_UnpackTuple(args
,"MenuItem_GetDefaultMarginWidth",0,0,0)) SWIG_fail
;
43675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43676 result
= (int)wxMenuItem_GetDefaultMarginWidth();
43677 wxPyEndAllowThreads(__tstate
);
43678 if (PyErr_Occurred()) SWIG_fail
;
43680 resultobj
= SWIG_From_int(static_cast< int >(result
));
43687 SWIGINTERN PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43688 PyObject
*resultobj
= 0;
43689 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43693 PyObject
*swig_obj
[1] ;
43695 if (!args
) SWIG_fail
;
43696 swig_obj
[0] = args
;
43697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43698 if (!SWIG_IsOK(res1
)) {
43699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_IsOwnerDrawn" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43701 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43704 result
= (bool)wxMenuItem_IsOwnerDrawn(arg1
);
43705 wxPyEndAllowThreads(__tstate
);
43706 if (PyErr_Occurred()) SWIG_fail
;
43709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
43717 SWIGINTERN PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43718 PyObject
*resultobj
= 0;
43719 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43720 bool arg2
= (bool) true ;
43725 PyObject
* obj0
= 0 ;
43726 PyObject
* obj1
= 0 ;
43727 char * kwnames
[] = {
43728 (char *) "self",(char *) "ownerDrawn", NULL
43731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
43732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43733 if (!SWIG_IsOK(res1
)) {
43734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_SetOwnerDrawn" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43736 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43738 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
43739 if (!SWIG_IsOK(ecode2
)) {
43740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MenuItem_SetOwnerDrawn" "', expected argument " "2"" of type '" "bool""'");
43742 arg2
= static_cast< bool >(val2
);
43745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43746 wxMenuItem_SetOwnerDrawn(arg1
,arg2
);
43747 wxPyEndAllowThreads(__tstate
);
43748 if (PyErr_Occurred()) SWIG_fail
;
43750 resultobj
= SWIG_Py_Void();
43757 SWIGINTERN PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43758 PyObject
*resultobj
= 0;
43759 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
43762 PyObject
*swig_obj
[1] ;
43764 if (!args
) SWIG_fail
;
43765 swig_obj
[0] = args
;
43766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMenuItem
, 0 | 0 );
43767 if (!SWIG_IsOK(res1
)) {
43768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MenuItem_ResetOwnerDrawn" "', expected argument " "1"" of type '" "wxMenuItem *""'");
43770 arg1
= reinterpret_cast< wxMenuItem
* >(argp1
);
43772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43773 wxMenuItem_ResetOwnerDrawn(arg1
);
43774 wxPyEndAllowThreads(__tstate
);
43775 if (PyErr_Occurred()) SWIG_fail
;
43777 resultobj
= SWIG_Py_Void();
43784 SWIGINTERN PyObject
*MenuItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43786 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
43787 SWIG_TypeNewClientData(SWIGTYPE_p_wxMenuItem
, SWIG_NewClientData(obj
));
43788 return SWIG_Py_Void();
43791 SWIGINTERN PyObject
*MenuItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43792 return SWIG_Python_InitShadowInstance(args
);
43795 SWIGINTERN
int ControlNameStr_set(PyObject
*) {
43796 SWIG_Error(SWIG_AttributeError
,"Variable ControlNameStr is read-only.");
43801 SWIGINTERN PyObject
*ControlNameStr_get(void) {
43802 PyObject
*pyobj
= 0;
43806 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
43808 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
43815 SWIGINTERN PyObject
*_wrap_new_Control(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43816 PyObject
*resultobj
= 0;
43817 wxWindow
*arg1
= (wxWindow
*) 0 ;
43818 int arg2
= (int) -1 ;
43819 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
43820 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
43821 wxSize
const &arg4_defvalue
= wxDefaultSize
;
43822 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
43823 long arg5
= (long) 0 ;
43824 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
43825 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
43826 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
43827 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
43828 wxControl
*result
= 0 ;
43839 bool temp7
= false ;
43840 PyObject
* obj0
= 0 ;
43841 PyObject
* obj1
= 0 ;
43842 PyObject
* obj2
= 0 ;
43843 PyObject
* obj3
= 0 ;
43844 PyObject
* obj4
= 0 ;
43845 PyObject
* obj5
= 0 ;
43846 PyObject
* obj6
= 0 ;
43847 char * kwnames
[] = {
43848 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
43852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43853 if (!SWIG_IsOK(res1
)) {
43854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Control" "', expected argument " "1"" of type '" "wxWindow *""'");
43856 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
43858 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
43859 if (!SWIG_IsOK(ecode2
)) {
43860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Control" "', expected argument " "2"" of type '" "int""'");
43862 arg2
= static_cast< int >(val2
);
43867 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
43873 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
43877 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
43878 if (!SWIG_IsOK(ecode5
)) {
43879 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Control" "', expected argument " "5"" of type '" "long""'");
43881 arg5
= static_cast< long >(val5
);
43884 res6
= SWIG_ConvertPtr(obj5
, &argp6
, SWIGTYPE_p_wxValidator
, 0 | 0);
43885 if (!SWIG_IsOK(res6
)) {
43886 SWIG_exception_fail(SWIG_ArgError(res6
), "in method '" "new_Control" "', expected argument " "6"" of type '" "wxValidator const &""'");
43889 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_Control" "', expected argument " "6"" of type '" "wxValidator const &""'");
43891 arg6
= reinterpret_cast< wxValidator
* >(argp6
);
43895 arg7
= wxString_in_helper(obj6
);
43896 if (arg7
== NULL
) SWIG_fail
;
43901 if (!wxPyCheckForApp()) SWIG_fail
;
43902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43903 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
43904 wxPyEndAllowThreads(__tstate
);
43905 if (PyErr_Occurred()) SWIG_fail
;
43907 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxControl
, SWIG_POINTER_NEW
| 0 );
43922 SWIGINTERN PyObject
*_wrap_new_PreControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
43923 PyObject
*resultobj
= 0;
43924 wxControl
*result
= 0 ;
43926 if (!SWIG_Python_UnpackTuple(args
,"new_PreControl",0,0,0)) SWIG_fail
;
43928 if (!wxPyCheckForApp()) SWIG_fail
;
43929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
43930 result
= (wxControl
*)new wxControl();
43931 wxPyEndAllowThreads(__tstate
);
43932 if (PyErr_Occurred()) SWIG_fail
;
43934 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxControl
, SWIG_POINTER_OWN
| 0 );
43941 SWIGINTERN PyObject
*_wrap_Control_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
43942 PyObject
*resultobj
= 0;
43943 wxControl
*arg1
= (wxControl
*) 0 ;
43944 wxWindow
*arg2
= (wxWindow
*) 0 ;
43945 int arg3
= (int) -1 ;
43946 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
43947 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
43948 wxSize
const &arg5_defvalue
= wxDefaultSize
;
43949 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
43950 long arg6
= (long) 0 ;
43951 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
43952 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
43953 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
43954 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
43968 bool temp8
= false ;
43969 PyObject
* obj0
= 0 ;
43970 PyObject
* obj1
= 0 ;
43971 PyObject
* obj2
= 0 ;
43972 PyObject
* obj3
= 0 ;
43973 PyObject
* obj4
= 0 ;
43974 PyObject
* obj5
= 0 ;
43975 PyObject
* obj6
= 0 ;
43976 PyObject
* obj7
= 0 ;
43977 char * kwnames
[] = {
43978 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
43981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
43982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxControl
, 0 | 0 );
43983 if (!SWIG_IsOK(res1
)) {
43984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Control_Create" "', expected argument " "1"" of type '" "wxControl *""'");
43986 arg1
= reinterpret_cast< wxControl
* >(argp1
);
43987 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
43988 if (!SWIG_IsOK(res2
)) {
43989 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Control_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
43991 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
43993 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
43994 if (!SWIG_IsOK(ecode3
)) {
43995 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Control_Create" "', expected argument " "3"" of type '" "int""'");
43997 arg3
= static_cast< int >(val3
);
44002 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
44008 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
44012 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
44013 if (!SWIG_IsOK(ecode6
)) {
44014 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Control_Create" "', expected argument " "6"" of type '" "long""'");
44016 arg6
= static_cast< long >(val6
);
44019 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
44020 if (!SWIG_IsOK(res7
)) {
44021 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "Control_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
44024 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Control_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
44026 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
44030 arg8
= wxString_in_helper(obj7
);
44031 if (arg8
== NULL
) SWIG_fail
;
44036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44037 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
44038 wxPyEndAllowThreads(__tstate
);
44039 if (PyErr_Occurred()) SWIG_fail
;
44042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44058 SWIGINTERN PyObject
*_wrap_Control_Command(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44059 PyObject
*resultobj
= 0;
44060 wxControl
*arg1
= (wxControl
*) 0 ;
44061 wxCommandEvent
*arg2
= 0 ;
44066 PyObject
* obj0
= 0 ;
44067 PyObject
* obj1
= 0 ;
44068 char * kwnames
[] = {
44069 (char *) "self",(char *) "event", NULL
44072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxControl
, 0 | 0 );
44074 if (!SWIG_IsOK(res1
)) {
44075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Control_Command" "', expected argument " "1"" of type '" "wxControl *""'");
44077 arg1
= reinterpret_cast< wxControl
* >(argp1
);
44078 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxCommandEvent
, 0 );
44079 if (!SWIG_IsOK(res2
)) {
44080 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Control_Command" "', expected argument " "2"" of type '" "wxCommandEvent &""'");
44083 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Control_Command" "', expected argument " "2"" of type '" "wxCommandEvent &""'");
44085 arg2
= reinterpret_cast< wxCommandEvent
* >(argp2
);
44087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44088 (arg1
)->Command(*arg2
);
44089 wxPyEndAllowThreads(__tstate
);
44090 if (PyErr_Occurred()) SWIG_fail
;
44092 resultobj
= SWIG_Py_Void();
44099 SWIGINTERN PyObject
*_wrap_Control_GetLabel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44100 PyObject
*resultobj
= 0;
44101 wxControl
*arg1
= (wxControl
*) 0 ;
44105 PyObject
*swig_obj
[1] ;
44107 if (!args
) SWIG_fail
;
44108 swig_obj
[0] = args
;
44109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxControl
, 0 | 0 );
44110 if (!SWIG_IsOK(res1
)) {
44111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Control_GetLabel" "', expected argument " "1"" of type '" "wxControl *""'");
44113 arg1
= reinterpret_cast< wxControl
* >(argp1
);
44115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44116 result
= (arg1
)->GetLabel();
44117 wxPyEndAllowThreads(__tstate
);
44118 if (PyErr_Occurred()) SWIG_fail
;
44122 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44124 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44133 SWIGINTERN PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44134 PyObject
*resultobj
= 0;
44135 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
44136 SwigValueWrapper
<wxVisualAttributes
> result
;
44139 PyObject
* obj0
= 0 ;
44140 char * kwnames
[] = {
44141 (char *) "variant", NULL
44144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
44146 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
44147 if (!SWIG_IsOK(ecode1
)) {
44148 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Control_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
44150 arg1
= static_cast< wxWindowVariant
>(val1
);
44153 if (!wxPyCheckForApp()) SWIG_fail
;
44154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44155 result
= wxControl::GetClassDefaultAttributes(arg1
);
44156 wxPyEndAllowThreads(__tstate
);
44157 if (PyErr_Occurred()) SWIG_fail
;
44159 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
44166 SWIGINTERN PyObject
*Control_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44168 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44169 SWIG_TypeNewClientData(SWIGTYPE_p_wxControl
, SWIG_NewClientData(obj
));
44170 return SWIG_Py_Void();
44173 SWIGINTERN PyObject
*Control_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44174 return SWIG_Python_InitShadowInstance(args
);
44177 SWIGINTERN PyObject
*_wrap_ItemContainer_Append(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44178 PyObject
*resultobj
= 0;
44179 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44180 wxString
*arg2
= 0 ;
44181 PyObject
*arg3
= (PyObject
*) NULL
;
44185 bool temp2
= false ;
44186 PyObject
* obj0
= 0 ;
44187 PyObject
* obj1
= 0 ;
44188 PyObject
* obj2
= 0 ;
44189 char * kwnames
[] = {
44190 (char *) "self",(char *) "item",(char *) "clientData", NULL
44193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
44194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44195 if (!SWIG_IsOK(res1
)) {
44196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_Append" "', expected argument " "1"" of type '" "wxItemContainer *""'");
44198 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44200 arg2
= wxString_in_helper(obj1
);
44201 if (arg2
== NULL
) SWIG_fail
;
44208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44209 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
44210 wxPyEndAllowThreads(__tstate
);
44211 if (PyErr_Occurred()) SWIG_fail
;
44213 resultobj
= SWIG_From_int(static_cast< int >(result
));
44228 SWIGINTERN PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44229 PyObject
*resultobj
= 0;
44230 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44231 wxArrayString
*arg2
= 0 ;
44234 bool temp2
= false ;
44235 PyObject
* obj0
= 0 ;
44236 PyObject
* obj1
= 0 ;
44237 char * kwnames
[] = {
44238 (char *) "self",(char *) "strings", NULL
44241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44243 if (!SWIG_IsOK(res1
)) {
44244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_AppendItems" "', expected argument " "1"" of type '" "wxItemContainer *""'");
44246 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44248 if (! PySequence_Check(obj1
)) {
44249 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
44252 arg2
= new wxArrayString
;
44254 int i
, len
=PySequence_Length(obj1
);
44255 for (i
=0; i
<len
; i
++) {
44256 PyObject
* item
= PySequence_GetItem(obj1
, i
);
44257 wxString
* s
= wxString_in_helper(item
);
44258 if (PyErr_Occurred()) SWIG_fail
;
44265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44266 (arg1
)->Append((wxArrayString
const &)*arg2
);
44267 wxPyEndAllowThreads(__tstate
);
44268 if (PyErr_Occurred()) SWIG_fail
;
44270 resultobj
= SWIG_Py_Void();
44272 if (temp2
) delete arg2
;
44277 if (temp2
) delete arg2
;
44283 SWIGINTERN PyObject
*_wrap_ItemContainer_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44284 PyObject
*resultobj
= 0;
44285 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44286 wxString
*arg2
= 0 ;
44287 unsigned int arg3
;
44288 PyObject
*arg4
= (PyObject
*) NULL
;
44292 bool temp2
= false ;
44293 unsigned int val3
;
44295 PyObject
* obj0
= 0 ;
44296 PyObject
* obj1
= 0 ;
44297 PyObject
* obj2
= 0 ;
44298 PyObject
* obj3
= 0 ;
44299 char * kwnames
[] = {
44300 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
44303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
44304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44305 if (!SWIG_IsOK(res1
)) {
44306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_Insert" "', expected argument " "1"" of type '" "wxItemContainer *""'");
44308 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44310 arg2
= wxString_in_helper(obj1
);
44311 if (arg2
== NULL
) SWIG_fail
;
44314 ecode3
= SWIG_AsVal_unsigned_SS_int(obj2
, &val3
);
44315 if (!SWIG_IsOK(ecode3
)) {
44316 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ItemContainer_Insert" "', expected argument " "3"" of type '" "unsigned int""'");
44318 arg3
= static_cast< unsigned int >(val3
);
44323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44324 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
44325 wxPyEndAllowThreads(__tstate
);
44326 if (PyErr_Occurred()) SWIG_fail
;
44328 resultobj
= SWIG_From_int(static_cast< int >(result
));
44343 SWIGINTERN PyObject
*_wrap_ItemContainer_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44344 PyObject
*resultobj
= 0;
44345 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44348 PyObject
*swig_obj
[1] ;
44350 if (!args
) SWIG_fail
;
44351 swig_obj
[0] = args
;
44352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44353 if (!SWIG_IsOK(res1
)) {
44354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_Clear" "', expected argument " "1"" of type '" "wxItemContainer *""'");
44356 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44360 wxPyEndAllowThreads(__tstate
);
44361 if (PyErr_Occurred()) SWIG_fail
;
44363 resultobj
= SWIG_Py_Void();
44370 SWIGINTERN PyObject
*_wrap_ItemContainer_Delete(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44371 PyObject
*resultobj
= 0;
44372 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44373 unsigned int arg2
;
44376 unsigned int val2
;
44378 PyObject
* obj0
= 0 ;
44379 PyObject
* obj1
= 0 ;
44380 char * kwnames
[] = {
44381 (char *) "self",(char *) "n", NULL
44384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44386 if (!SWIG_IsOK(res1
)) {
44387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_Delete" "', expected argument " "1"" of type '" "wxItemContainer *""'");
44389 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44390 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
44391 if (!SWIG_IsOK(ecode2
)) {
44392 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_Delete" "', expected argument " "2"" of type '" "unsigned int""'");
44394 arg2
= static_cast< unsigned int >(val2
);
44396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44397 (arg1
)->Delete(arg2
);
44398 wxPyEndAllowThreads(__tstate
);
44399 if (PyErr_Occurred()) SWIG_fail
;
44401 resultobj
= SWIG_Py_Void();
44408 SWIGINTERN PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44409 PyObject
*resultobj
= 0;
44410 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44411 unsigned int arg2
;
44412 PyObject
*result
= 0 ;
44415 unsigned int val2
;
44417 PyObject
* obj0
= 0 ;
44418 PyObject
* obj1
= 0 ;
44419 char * kwnames
[] = {
44420 (char *) "self",(char *) "n", NULL
44423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44425 if (!SWIG_IsOK(res1
)) {
44426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetClientData" "', expected argument " "1"" of type '" "wxItemContainer *""'");
44428 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44429 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
44430 if (!SWIG_IsOK(ecode2
)) {
44431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_GetClientData" "', expected argument " "2"" of type '" "unsigned int""'");
44433 arg2
= static_cast< unsigned int >(val2
);
44435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44436 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
44437 wxPyEndAllowThreads(__tstate
);
44438 if (PyErr_Occurred()) SWIG_fail
;
44440 resultobj
= result
;
44447 SWIGINTERN PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44448 PyObject
*resultobj
= 0;
44449 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44450 unsigned int arg2
;
44451 PyObject
*arg3
= (PyObject
*) 0 ;
44454 unsigned int val2
;
44456 PyObject
* obj0
= 0 ;
44457 PyObject
* obj1
= 0 ;
44458 PyObject
* obj2
= 0 ;
44459 char * kwnames
[] = {
44460 (char *) "self",(char *) "n",(char *) "clientData", NULL
44463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
44464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44465 if (!SWIG_IsOK(res1
)) {
44466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_SetClientData" "', expected argument " "1"" of type '" "wxItemContainer *""'");
44468 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44469 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
44470 if (!SWIG_IsOK(ecode2
)) {
44471 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_SetClientData" "', expected argument " "2"" of type '" "unsigned int""'");
44473 arg2
= static_cast< unsigned int >(val2
);
44476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44477 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
44478 wxPyEndAllowThreads(__tstate
);
44479 if (PyErr_Occurred()) SWIG_fail
;
44481 resultobj
= SWIG_Py_Void();
44488 SWIGINTERN PyObject
*_wrap_ItemContainer_GetCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44489 PyObject
*resultobj
= 0;
44490 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44491 unsigned int result
;
44494 PyObject
*swig_obj
[1] ;
44496 if (!args
) SWIG_fail
;
44497 swig_obj
[0] = args
;
44498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44499 if (!SWIG_IsOK(res1
)) {
44500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetCount" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
44502 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44505 result
= (unsigned int)((wxItemContainer
const *)arg1
)->GetCount();
44506 wxPyEndAllowThreads(__tstate
);
44507 if (PyErr_Occurred()) SWIG_fail
;
44509 resultobj
= SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result
));
44516 SWIGINTERN PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44517 PyObject
*resultobj
= 0;
44518 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44522 PyObject
*swig_obj
[1] ;
44524 if (!args
) SWIG_fail
;
44525 swig_obj
[0] = args
;
44526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44527 if (!SWIG_IsOK(res1
)) {
44528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_IsEmpty" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
44530 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44533 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
44534 wxPyEndAllowThreads(__tstate
);
44535 if (PyErr_Occurred()) SWIG_fail
;
44538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44546 SWIGINTERN PyObject
*_wrap_ItemContainer_GetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44547 PyObject
*resultobj
= 0;
44548 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44549 unsigned int arg2
;
44553 unsigned int val2
;
44555 PyObject
* obj0
= 0 ;
44556 PyObject
* obj1
= 0 ;
44557 char * kwnames
[] = {
44558 (char *) "self",(char *) "n", NULL
44561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44563 if (!SWIG_IsOK(res1
)) {
44564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetString" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
44566 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44567 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
44568 if (!SWIG_IsOK(ecode2
)) {
44569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_GetString" "', expected argument " "2"" of type '" "unsigned int""'");
44571 arg2
= static_cast< unsigned int >(val2
);
44573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44574 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
44575 wxPyEndAllowThreads(__tstate
);
44576 if (PyErr_Occurred()) SWIG_fail
;
44580 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44582 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44591 SWIGINTERN PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44592 PyObject
*resultobj
= 0;
44593 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44594 wxArrayString result
;
44597 PyObject
*swig_obj
[1] ;
44599 if (!args
) SWIG_fail
;
44600 swig_obj
[0] = args
;
44601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44602 if (!SWIG_IsOK(res1
)) {
44603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetStrings" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
44605 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44608 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
44609 wxPyEndAllowThreads(__tstate
);
44610 if (PyErr_Occurred()) SWIG_fail
;
44613 resultobj
= wxArrayString2PyList_helper(result
);
44621 SWIGINTERN PyObject
*_wrap_ItemContainer_SetString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44622 PyObject
*resultobj
= 0;
44623 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44624 unsigned int arg2
;
44625 wxString
*arg3
= 0 ;
44628 unsigned int val2
;
44630 bool temp3
= false ;
44631 PyObject
* obj0
= 0 ;
44632 PyObject
* obj1
= 0 ;
44633 PyObject
* obj2
= 0 ;
44634 char * kwnames
[] = {
44635 (char *) "self",(char *) "n",(char *) "s", NULL
44638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
44639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44640 if (!SWIG_IsOK(res1
)) {
44641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_SetString" "', expected argument " "1"" of type '" "wxItemContainer *""'");
44643 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44644 ecode2
= SWIG_AsVal_unsigned_SS_int(obj1
, &val2
);
44645 if (!SWIG_IsOK(ecode2
)) {
44646 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_SetString" "', expected argument " "2"" of type '" "unsigned int""'");
44648 arg2
= static_cast< unsigned int >(val2
);
44650 arg3
= wxString_in_helper(obj2
);
44651 if (arg3
== NULL
) SWIG_fail
;
44655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44656 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
44657 wxPyEndAllowThreads(__tstate
);
44658 if (PyErr_Occurred()) SWIG_fail
;
44660 resultobj
= SWIG_Py_Void();
44675 SWIGINTERN PyObject
*_wrap_ItemContainer_FindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44676 PyObject
*resultobj
= 0;
44677 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44678 wxString
*arg2
= 0 ;
44682 bool temp2
= false ;
44683 PyObject
* obj0
= 0 ;
44684 PyObject
* obj1
= 0 ;
44685 char * kwnames
[] = {
44686 (char *) "self",(char *) "s", NULL
44689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44691 if (!SWIG_IsOK(res1
)) {
44692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_FindString" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
44694 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44696 arg2
= wxString_in_helper(obj1
);
44697 if (arg2
== NULL
) SWIG_fail
;
44701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44702 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
44703 wxPyEndAllowThreads(__tstate
);
44704 if (PyErr_Occurred()) SWIG_fail
;
44706 resultobj
= SWIG_From_int(static_cast< int >(result
));
44721 SWIGINTERN PyObject
*_wrap_ItemContainer_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44722 PyObject
*resultobj
= 0;
44723 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44729 PyObject
* obj0
= 0 ;
44730 PyObject
* obj1
= 0 ;
44731 char * kwnames
[] = {
44732 (char *) "self",(char *) "n", NULL
44735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44737 if (!SWIG_IsOK(res1
)) {
44738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_SetSelection" "', expected argument " "1"" of type '" "wxItemContainer *""'");
44740 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44741 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44742 if (!SWIG_IsOK(ecode2
)) {
44743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_SetSelection" "', expected argument " "2"" of type '" "int""'");
44745 arg2
= static_cast< int >(val2
);
44747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44748 (arg1
)->SetSelection(arg2
);
44749 wxPyEndAllowThreads(__tstate
);
44750 if (PyErr_Occurred()) SWIG_fail
;
44752 resultobj
= SWIG_Py_Void();
44759 SWIGINTERN PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44760 PyObject
*resultobj
= 0;
44761 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44765 PyObject
*swig_obj
[1] ;
44767 if (!args
) SWIG_fail
;
44768 swig_obj
[0] = args
;
44769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44770 if (!SWIG_IsOK(res1
)) {
44771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetSelection" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
44773 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44776 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
44777 wxPyEndAllowThreads(__tstate
);
44778 if (PyErr_Occurred()) SWIG_fail
;
44780 resultobj
= SWIG_From_int(static_cast< int >(result
));
44787 SWIGINTERN PyObject
*_wrap_ItemContainer_SetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44788 PyObject
*resultobj
= 0;
44789 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44790 wxString
*arg2
= 0 ;
44794 bool temp2
= false ;
44795 PyObject
* obj0
= 0 ;
44796 PyObject
* obj1
= 0 ;
44797 char * kwnames
[] = {
44798 (char *) "self",(char *) "s", NULL
44801 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_SetStringSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44802 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44803 if (!SWIG_IsOK(res1
)) {
44804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_SetStringSelection" "', expected argument " "1"" of type '" "wxItemContainer *""'");
44806 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44808 arg2
= wxString_in_helper(obj1
);
44809 if (arg2
== NULL
) SWIG_fail
;
44813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44814 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
44815 wxPyEndAllowThreads(__tstate
);
44816 if (PyErr_Occurred()) SWIG_fail
;
44819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
44835 SWIGINTERN PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44836 PyObject
*resultobj
= 0;
44837 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44841 PyObject
*swig_obj
[1] ;
44843 if (!args
) SWIG_fail
;
44844 swig_obj
[0] = args
;
44845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44846 if (!SWIG_IsOK(res1
)) {
44847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_GetStringSelection" "', expected argument " "1"" of type '" "wxItemContainer const *""'");
44849 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44852 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
44853 wxPyEndAllowThreads(__tstate
);
44854 if (PyErr_Occurred()) SWIG_fail
;
44858 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
44860 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
44869 SWIGINTERN PyObject
*_wrap_ItemContainer_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44870 PyObject
*resultobj
= 0;
44871 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
44877 PyObject
* obj0
= 0 ;
44878 PyObject
* obj1
= 0 ;
44879 char * kwnames
[] = {
44880 (char *) "self",(char *) "n", NULL
44883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
44884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxItemContainer
, 0 | 0 );
44885 if (!SWIG_IsOK(res1
)) {
44886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ItemContainer_Select" "', expected argument " "1"" of type '" "wxItemContainer *""'");
44888 arg1
= reinterpret_cast< wxItemContainer
* >(argp1
);
44889 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44890 if (!SWIG_IsOK(ecode2
)) {
44891 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ItemContainer_Select" "', expected argument " "2"" of type '" "int""'");
44893 arg2
= static_cast< int >(val2
);
44895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44896 (arg1
)->Select(arg2
);
44897 wxPyEndAllowThreads(__tstate
);
44898 if (PyErr_Occurred()) SWIG_fail
;
44900 resultobj
= SWIG_Py_Void();
44907 SWIGINTERN PyObject
*ItemContainer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44909 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44910 SWIG_TypeNewClientData(SWIGTYPE_p_wxItemContainer
, SWIG_NewClientData(obj
));
44911 return SWIG_Py_Void();
44914 SWIGINTERN PyObject
*ControlWithItems_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44916 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
44917 SWIG_TypeNewClientData(SWIGTYPE_p_wxControlWithItems
, SWIG_NewClientData(obj
));
44918 return SWIG_Py_Void();
44921 SWIGINTERN PyObject
*_wrap_new_SizerItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44922 PyObject
*resultobj
= 0;
44923 wxSizerItem
*result
= 0 ;
44925 if (!SWIG_Python_UnpackTuple(args
,"new_SizerItem",0,0,0)) SWIG_fail
;
44927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44928 result
= (wxSizerItem
*)new wxSizerItem();
44929 wxPyEndAllowThreads(__tstate
);
44930 if (PyErr_Occurred()) SWIG_fail
;
44932 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_NEW
| 0 );
44939 SWIGINTERN PyObject
*_wrap_delete_SizerItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
44940 PyObject
*resultobj
= 0;
44941 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
44944 PyObject
*swig_obj
[1] ;
44946 if (!args
) SWIG_fail
;
44947 swig_obj
[0] = args
;
44948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_DISOWN
| 0 );
44949 if (!SWIG_IsOK(res1
)) {
44950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_SizerItem" "', expected argument " "1"" of type '" "wxSizerItem *""'");
44952 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
44954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
44957 wxPyEndAllowThreads(__tstate
);
44958 if (PyErr_Occurred()) SWIG_fail
;
44960 resultobj
= SWIG_Py_Void();
44967 SWIGINTERN PyObject
*_wrap_new_SizerItemWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
44968 PyObject
*resultobj
= 0;
44969 wxWindow
*arg1
= (wxWindow
*) 0 ;
44973 PyObject
*arg5
= (PyObject
*) NULL
;
44974 wxSizerItem
*result
= 0 ;
44983 PyObject
* obj0
= 0 ;
44984 PyObject
* obj1
= 0 ;
44985 PyObject
* obj2
= 0 ;
44986 PyObject
* obj3
= 0 ;
44987 PyObject
* obj4
= 0 ;
44988 char * kwnames
[] = {
44989 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
44992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
44993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
44994 if (!SWIG_IsOK(res1
)) {
44995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SizerItemWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
44997 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
44998 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
44999 if (!SWIG_IsOK(ecode2
)) {
45000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SizerItemWindow" "', expected argument " "2"" of type '" "int""'");
45002 arg2
= static_cast< int >(val2
);
45003 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45004 if (!SWIG_IsOK(ecode3
)) {
45005 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SizerItemWindow" "', expected argument " "3"" of type '" "int""'");
45007 arg3
= static_cast< int >(val3
);
45008 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
45009 if (!SWIG_IsOK(ecode4
)) {
45010 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_SizerItemWindow" "', expected argument " "4"" of type '" "int""'");
45012 arg4
= static_cast< int >(val4
);
45017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45018 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
45019 wxPyEndAllowThreads(__tstate
);
45020 if (PyErr_Occurred()) SWIG_fail
;
45022 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_OWN
| 0 );
45029 SWIGINTERN PyObject
*_wrap_new_SizerItemSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45030 PyObject
*resultobj
= 0;
45036 PyObject
*arg6
= (PyObject
*) NULL
;
45037 wxSizerItem
*result
= 0 ;
45048 PyObject
* obj0
= 0 ;
45049 PyObject
* obj1
= 0 ;
45050 PyObject
* obj2
= 0 ;
45051 PyObject
* obj3
= 0 ;
45052 PyObject
* obj4
= 0 ;
45053 PyObject
* obj5
= 0 ;
45054 char * kwnames
[] = {
45055 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
45058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
45059 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
45060 if (!SWIG_IsOK(ecode1
)) {
45061 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SizerItemSpacer" "', expected argument " "1"" of type '" "int""'");
45063 arg1
= static_cast< int >(val1
);
45064 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45065 if (!SWIG_IsOK(ecode2
)) {
45066 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SizerItemSpacer" "', expected argument " "2"" of type '" "int""'");
45068 arg2
= static_cast< int >(val2
);
45069 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45070 if (!SWIG_IsOK(ecode3
)) {
45071 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SizerItemSpacer" "', expected argument " "3"" of type '" "int""'");
45073 arg3
= static_cast< int >(val3
);
45074 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
45075 if (!SWIG_IsOK(ecode4
)) {
45076 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_SizerItemSpacer" "', expected argument " "4"" of type '" "int""'");
45078 arg4
= static_cast< int >(val4
);
45079 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
45080 if (!SWIG_IsOK(ecode5
)) {
45081 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SizerItemSpacer" "', expected argument " "5"" of type '" "int""'");
45083 arg5
= static_cast< int >(val5
);
45088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45089 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
45090 wxPyEndAllowThreads(__tstate
);
45091 if (PyErr_Occurred()) SWIG_fail
;
45093 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_OWN
| 0 );
45100 SWIGINTERN PyObject
*_wrap_new_SizerItemSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45101 PyObject
*resultobj
= 0;
45102 wxSizer
*arg1
= (wxSizer
*) 0 ;
45106 PyObject
*arg5
= (PyObject
*) NULL
;
45107 wxSizerItem
*result
= 0 ;
45115 PyObject
* obj0
= 0 ;
45116 PyObject
* obj1
= 0 ;
45117 PyObject
* obj2
= 0 ;
45118 PyObject
* obj3
= 0 ;
45119 PyObject
* obj4
= 0 ;
45120 char * kwnames
[] = {
45121 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
45124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
45125 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
45126 if (!SWIG_IsOK(res1
)) {
45127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SizerItemSizer" "', expected argument " "1"" of type '" "wxSizer *""'");
45129 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45130 if (!SWIG_IsOK(ecode2
)) {
45131 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SizerItemSizer" "', expected argument " "2"" of type '" "int""'");
45133 arg2
= static_cast< int >(val2
);
45134 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45135 if (!SWIG_IsOK(ecode3
)) {
45136 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SizerItemSizer" "', expected argument " "3"" of type '" "int""'");
45138 arg3
= static_cast< int >(val3
);
45139 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
45140 if (!SWIG_IsOK(ecode4
)) {
45141 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_SizerItemSizer" "', expected argument " "4"" of type '" "int""'");
45143 arg4
= static_cast< int >(val4
);
45148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45149 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
45150 wxPyEndAllowThreads(__tstate
);
45151 if (PyErr_Occurred()) SWIG_fail
;
45153 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_OWN
| 0 );
45160 SWIGINTERN PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45161 PyObject
*resultobj
= 0;
45162 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45165 PyObject
*swig_obj
[1] ;
45167 if (!args
) SWIG_fail
;
45168 swig_obj
[0] = args
;
45169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45170 if (!SWIG_IsOK(res1
)) {
45171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_DeleteWindows" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45173 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45176 (arg1
)->DeleteWindows();
45177 wxPyEndAllowThreads(__tstate
);
45178 if (PyErr_Occurred()) SWIG_fail
;
45180 resultobj
= SWIG_Py_Void();
45187 SWIGINTERN PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45188 PyObject
*resultobj
= 0;
45189 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45192 PyObject
*swig_obj
[1] ;
45194 if (!args
) SWIG_fail
;
45195 swig_obj
[0] = args
;
45196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45197 if (!SWIG_IsOK(res1
)) {
45198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_DetachSizer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45200 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45203 (arg1
)->DetachSizer();
45204 wxPyEndAllowThreads(__tstate
);
45205 if (PyErr_Occurred()) SWIG_fail
;
45207 resultobj
= SWIG_Py_Void();
45214 SWIGINTERN PyObject
*_wrap_SizerItem_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45215 PyObject
*resultobj
= 0;
45216 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45220 PyObject
*swig_obj
[1] ;
45222 if (!args
) SWIG_fail
;
45223 swig_obj
[0] = args
;
45224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45225 if (!SWIG_IsOK(res1
)) {
45226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetSize" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45228 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45231 result
= (arg1
)->GetSize();
45232 wxPyEndAllowThreads(__tstate
);
45233 if (PyErr_Occurred()) SWIG_fail
;
45235 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
45242 SWIGINTERN PyObject
*_wrap_SizerItem_CalcMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45243 PyObject
*resultobj
= 0;
45244 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45248 PyObject
*swig_obj
[1] ;
45250 if (!args
) SWIG_fail
;
45251 swig_obj
[0] = args
;
45252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45253 if (!SWIG_IsOK(res1
)) {
45254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_CalcMin" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45256 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45259 result
= (arg1
)->CalcMin();
45260 wxPyEndAllowThreads(__tstate
);
45261 if (PyErr_Occurred()) SWIG_fail
;
45263 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
45270 SWIGINTERN PyObject
*_wrap_SizerItem_SetDimension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45271 PyObject
*resultobj
= 0;
45272 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45273 wxPoint
*arg2
= 0 ;
45279 PyObject
* obj0
= 0 ;
45280 PyObject
* obj1
= 0 ;
45281 PyObject
* obj2
= 0 ;
45282 char * kwnames
[] = {
45283 (char *) "self",(char *) "pos",(char *) "size", NULL
45286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45288 if (!SWIG_IsOK(res1
)) {
45289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetDimension" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45291 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45294 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
45298 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
45301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45302 (arg1
)->SetDimension((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
45303 wxPyEndAllowThreads(__tstate
);
45304 if (PyErr_Occurred()) SWIG_fail
;
45306 resultobj
= SWIG_Py_Void();
45313 SWIGINTERN PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45314 PyObject
*resultobj
= 0;
45315 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45319 PyObject
*swig_obj
[1] ;
45321 if (!args
) SWIG_fail
;
45322 swig_obj
[0] = args
;
45323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45324 if (!SWIG_IsOK(res1
)) {
45325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetMinSize" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45327 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45330 result
= (arg1
)->GetMinSize();
45331 wxPyEndAllowThreads(__tstate
);
45332 if (PyErr_Occurred()) SWIG_fail
;
45334 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
45341 SWIGINTERN PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45342 PyObject
*resultobj
= 0;
45343 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45347 PyObject
*swig_obj
[1] ;
45349 if (!args
) SWIG_fail
;
45350 swig_obj
[0] = args
;
45351 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45352 if (!SWIG_IsOK(res1
)) {
45353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetMinSizeWithBorder" "', expected argument " "1"" of type '" "wxSizerItem const *""'");
45355 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45358 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
45359 wxPyEndAllowThreads(__tstate
);
45360 if (PyErr_Occurred()) SWIG_fail
;
45362 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
45369 SWIGINTERN PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45370 PyObject
*resultobj
= 0;
45371 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45380 PyObject
* obj0
= 0 ;
45381 PyObject
* obj1
= 0 ;
45382 PyObject
* obj2
= 0 ;
45383 char * kwnames
[] = {
45384 (char *) "self",(char *) "x",(char *) "y", NULL
45387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45389 if (!SWIG_IsOK(res1
)) {
45390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetInitSize" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45392 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45393 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45394 if (!SWIG_IsOK(ecode2
)) {
45395 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetInitSize" "', expected argument " "2"" of type '" "int""'");
45397 arg2
= static_cast< int >(val2
);
45398 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45399 if (!SWIG_IsOK(ecode3
)) {
45400 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SizerItem_SetInitSize" "', expected argument " "3"" of type '" "int""'");
45402 arg3
= static_cast< int >(val3
);
45404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45405 (arg1
)->SetInitSize(arg2
,arg3
);
45406 wxPyEndAllowThreads(__tstate
);
45407 if (PyErr_Occurred()) SWIG_fail
;
45409 resultobj
= SWIG_Py_Void();
45416 SWIGINTERN PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45417 PyObject
*resultobj
= 0;
45418 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45427 PyObject
* obj0
= 0 ;
45428 PyObject
* obj1
= 0 ;
45429 PyObject
* obj2
= 0 ;
45430 char * kwnames
[] = {
45431 (char *) "self",(char *) "width",(char *) "height", NULL
45434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
45435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45436 if (!SWIG_IsOK(res1
)) {
45437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetRatioWH" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45439 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45440 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45441 if (!SWIG_IsOK(ecode2
)) {
45442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetRatioWH" "', expected argument " "2"" of type '" "int""'");
45444 arg2
= static_cast< int >(val2
);
45445 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
45446 if (!SWIG_IsOK(ecode3
)) {
45447 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SizerItem_SetRatioWH" "', expected argument " "3"" of type '" "int""'");
45449 arg3
= static_cast< int >(val3
);
45451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45452 (arg1
)->SetRatio(arg2
,arg3
);
45453 wxPyEndAllowThreads(__tstate
);
45454 if (PyErr_Occurred()) SWIG_fail
;
45456 resultobj
= SWIG_Py_Void();
45463 SWIGINTERN PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45464 PyObject
*resultobj
= 0;
45465 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45470 PyObject
* obj0
= 0 ;
45471 PyObject
* obj1
= 0 ;
45472 char * kwnames
[] = {
45473 (char *) "self",(char *) "size", NULL
45476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45478 if (!SWIG_IsOK(res1
)) {
45479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetRatioSize" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45481 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45484 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
45487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45488 (arg1
)->SetRatio((wxSize
const &)*arg2
);
45489 wxPyEndAllowThreads(__tstate
);
45490 if (PyErr_Occurred()) SWIG_fail
;
45492 resultobj
= SWIG_Py_Void();
45499 SWIGINTERN PyObject
*_wrap_SizerItem_SetRatio(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45500 PyObject
*resultobj
= 0;
45501 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45507 PyObject
* obj0
= 0 ;
45508 PyObject
* obj1
= 0 ;
45509 char * kwnames
[] = {
45510 (char *) "self",(char *) "ratio", NULL
45513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45515 if (!SWIG_IsOK(res1
)) {
45516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetRatio" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45518 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45519 ecode2
= SWIG_AsVal_float(obj1
, &val2
);
45520 if (!SWIG_IsOK(ecode2
)) {
45521 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetRatio" "', expected argument " "2"" of type '" "float""'");
45523 arg2
= static_cast< float >(val2
);
45525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45526 (arg1
)->SetRatio(arg2
);
45527 wxPyEndAllowThreads(__tstate
);
45528 if (PyErr_Occurred()) SWIG_fail
;
45530 resultobj
= SWIG_Py_Void();
45537 SWIGINTERN PyObject
*_wrap_SizerItem_GetRatio(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45538 PyObject
*resultobj
= 0;
45539 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45543 PyObject
*swig_obj
[1] ;
45545 if (!args
) SWIG_fail
;
45546 swig_obj
[0] = args
;
45547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45548 if (!SWIG_IsOK(res1
)) {
45549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetRatio" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45551 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45554 result
= (float)(arg1
)->GetRatio();
45555 wxPyEndAllowThreads(__tstate
);
45556 if (PyErr_Occurred()) SWIG_fail
;
45558 resultobj
= SWIG_From_float(static_cast< float >(result
));
45565 SWIGINTERN PyObject
*_wrap_SizerItem_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45566 PyObject
*resultobj
= 0;
45567 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45571 PyObject
*swig_obj
[1] ;
45573 if (!args
) SWIG_fail
;
45574 swig_obj
[0] = args
;
45575 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45576 if (!SWIG_IsOK(res1
)) {
45577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetRect" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45579 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45582 result
= (arg1
)->GetRect();
45583 wxPyEndAllowThreads(__tstate
);
45584 if (PyErr_Occurred()) SWIG_fail
;
45586 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
45593 SWIGINTERN PyObject
*_wrap_SizerItem_IsWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45594 PyObject
*resultobj
= 0;
45595 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45599 PyObject
*swig_obj
[1] ;
45601 if (!args
) SWIG_fail
;
45602 swig_obj
[0] = args
;
45603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45604 if (!SWIG_IsOK(res1
)) {
45605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_IsWindow" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45607 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45610 result
= (bool)(arg1
)->IsWindow();
45611 wxPyEndAllowThreads(__tstate
);
45612 if (PyErr_Occurred()) SWIG_fail
;
45615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45623 SWIGINTERN PyObject
*_wrap_SizerItem_IsSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45624 PyObject
*resultobj
= 0;
45625 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45629 PyObject
*swig_obj
[1] ;
45631 if (!args
) SWIG_fail
;
45632 swig_obj
[0] = args
;
45633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45634 if (!SWIG_IsOK(res1
)) {
45635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_IsSizer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45637 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45640 result
= (bool)(arg1
)->IsSizer();
45641 wxPyEndAllowThreads(__tstate
);
45642 if (PyErr_Occurred()) SWIG_fail
;
45645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45653 SWIGINTERN PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45654 PyObject
*resultobj
= 0;
45655 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45659 PyObject
*swig_obj
[1] ;
45661 if (!args
) SWIG_fail
;
45662 swig_obj
[0] = args
;
45663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45664 if (!SWIG_IsOK(res1
)) {
45665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_IsSpacer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45667 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45670 result
= (bool)(arg1
)->IsSpacer();
45671 wxPyEndAllowThreads(__tstate
);
45672 if (PyErr_Occurred()) SWIG_fail
;
45675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
45683 SWIGINTERN PyObject
*_wrap_SizerItem_SetProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45684 PyObject
*resultobj
= 0;
45685 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45691 PyObject
* obj0
= 0 ;
45692 PyObject
* obj1
= 0 ;
45693 char * kwnames
[] = {
45694 (char *) "self",(char *) "proportion", NULL
45697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45699 if (!SWIG_IsOK(res1
)) {
45700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetProportion" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45702 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45703 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45704 if (!SWIG_IsOK(ecode2
)) {
45705 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetProportion" "', expected argument " "2"" of type '" "int""'");
45707 arg2
= static_cast< int >(val2
);
45709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45710 (arg1
)->SetProportion(arg2
);
45711 wxPyEndAllowThreads(__tstate
);
45712 if (PyErr_Occurred()) SWIG_fail
;
45714 resultobj
= SWIG_Py_Void();
45721 SWIGINTERN PyObject
*_wrap_SizerItem_GetProportion(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45722 PyObject
*resultobj
= 0;
45723 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45727 PyObject
*swig_obj
[1] ;
45729 if (!args
) SWIG_fail
;
45730 swig_obj
[0] = args
;
45731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45732 if (!SWIG_IsOK(res1
)) {
45733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetProportion" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45735 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45738 result
= (int)(arg1
)->GetProportion();
45739 wxPyEndAllowThreads(__tstate
);
45740 if (PyErr_Occurred()) SWIG_fail
;
45742 resultobj
= SWIG_From_int(static_cast< int >(result
));
45749 SWIGINTERN PyObject
*_wrap_SizerItem_SetFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45750 PyObject
*resultobj
= 0;
45751 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45757 PyObject
* obj0
= 0 ;
45758 PyObject
* obj1
= 0 ;
45759 char * kwnames
[] = {
45760 (char *) "self",(char *) "flag", NULL
45763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45765 if (!SWIG_IsOK(res1
)) {
45766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetFlag" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45768 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45769 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45770 if (!SWIG_IsOK(ecode2
)) {
45771 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetFlag" "', expected argument " "2"" of type '" "int""'");
45773 arg2
= static_cast< int >(val2
);
45775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45776 (arg1
)->SetFlag(arg2
);
45777 wxPyEndAllowThreads(__tstate
);
45778 if (PyErr_Occurred()) SWIG_fail
;
45780 resultobj
= SWIG_Py_Void();
45787 SWIGINTERN PyObject
*_wrap_SizerItem_GetFlag(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45788 PyObject
*resultobj
= 0;
45789 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45793 PyObject
*swig_obj
[1] ;
45795 if (!args
) SWIG_fail
;
45796 swig_obj
[0] = args
;
45797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45798 if (!SWIG_IsOK(res1
)) {
45799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetFlag" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45801 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45804 result
= (int)(arg1
)->GetFlag();
45805 wxPyEndAllowThreads(__tstate
);
45806 if (PyErr_Occurred()) SWIG_fail
;
45808 resultobj
= SWIG_From_int(static_cast< int >(result
));
45815 SWIGINTERN PyObject
*_wrap_SizerItem_SetBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45816 PyObject
*resultobj
= 0;
45817 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45823 PyObject
* obj0
= 0 ;
45824 PyObject
* obj1
= 0 ;
45825 char * kwnames
[] = {
45826 (char *) "self",(char *) "border", NULL
45829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45831 if (!SWIG_IsOK(res1
)) {
45832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetBorder" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45834 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45835 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
45836 if (!SWIG_IsOK(ecode2
)) {
45837 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_SetBorder" "', expected argument " "2"" of type '" "int""'");
45839 arg2
= static_cast< int >(val2
);
45841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45842 (arg1
)->SetBorder(arg2
);
45843 wxPyEndAllowThreads(__tstate
);
45844 if (PyErr_Occurred()) SWIG_fail
;
45846 resultobj
= SWIG_Py_Void();
45853 SWIGINTERN PyObject
*_wrap_SizerItem_GetBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45854 PyObject
*resultobj
= 0;
45855 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45859 PyObject
*swig_obj
[1] ;
45861 if (!args
) SWIG_fail
;
45862 swig_obj
[0] = args
;
45863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45864 if (!SWIG_IsOK(res1
)) {
45865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetBorder" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45867 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45870 result
= (int)(arg1
)->GetBorder();
45871 wxPyEndAllowThreads(__tstate
);
45872 if (PyErr_Occurred()) SWIG_fail
;
45874 resultobj
= SWIG_From_int(static_cast< int >(result
));
45881 SWIGINTERN PyObject
*_wrap_SizerItem_GetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45882 PyObject
*resultobj
= 0;
45883 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45884 wxWindow
*result
= 0 ;
45887 PyObject
*swig_obj
[1] ;
45889 if (!args
) SWIG_fail
;
45890 swig_obj
[0] = args
;
45891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45892 if (!SWIG_IsOK(res1
)) {
45893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetWindow" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45895 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45898 result
= (wxWindow
*)(arg1
)->GetWindow();
45899 wxPyEndAllowThreads(__tstate
);
45900 if (PyErr_Occurred()) SWIG_fail
;
45903 resultobj
= wxPyMake_wxObject(result
, 0);
45911 SWIGINTERN PyObject
*_wrap_SizerItem_SetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45912 PyObject
*resultobj
= 0;
45913 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45914 wxWindow
*arg2
= (wxWindow
*) 0 ;
45919 PyObject
* obj0
= 0 ;
45920 PyObject
* obj1
= 0 ;
45921 char * kwnames
[] = {
45922 (char *) "self",(char *) "window", NULL
45925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45927 if (!SWIG_IsOK(res1
)) {
45928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetWindow" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45930 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45931 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
45932 if (!SWIG_IsOK(res2
)) {
45933 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizerItem_SetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
45935 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
45937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45938 (arg1
)->SetWindow(arg2
);
45939 wxPyEndAllowThreads(__tstate
);
45940 if (PyErr_Occurred()) SWIG_fail
;
45942 resultobj
= SWIG_Py_Void();
45949 SWIGINTERN PyObject
*_wrap_SizerItem_GetSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
45950 PyObject
*resultobj
= 0;
45951 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45952 wxSizer
*result
= 0 ;
45955 PyObject
*swig_obj
[1] ;
45957 if (!args
) SWIG_fail
;
45958 swig_obj
[0] = args
;
45959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45960 if (!SWIG_IsOK(res1
)) {
45961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetSizer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45963 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
45966 result
= (wxSizer
*)(arg1
)->GetSizer();
45967 wxPyEndAllowThreads(__tstate
);
45968 if (PyErr_Occurred()) SWIG_fail
;
45971 resultobj
= wxPyMake_wxObject(result
, (bool)0);
45979 SWIGINTERN PyObject
*_wrap_SizerItem_SetSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
45980 PyObject
*resultobj
= 0;
45981 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
45982 wxSizer
*arg2
= (wxSizer
*) 0 ;
45986 PyObject
* obj0
= 0 ;
45987 PyObject
* obj1
= 0 ;
45988 char * kwnames
[] = {
45989 (char *) "self",(char *) "sizer", NULL
45992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
45993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
45994 if (!SWIG_IsOK(res1
)) {
45995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetSizer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
45997 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
45998 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
45999 if (!SWIG_IsOK(res2
)) {
46000 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SizerItem_SetSizer" "', expected argument " "2"" of type '" "wxSizer *""'");
46003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46004 (arg1
)->SetSizer(arg2
);
46005 wxPyEndAllowThreads(__tstate
);
46006 if (PyErr_Occurred()) SWIG_fail
;
46008 resultobj
= SWIG_Py_Void();
46015 SWIGINTERN PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46016 PyObject
*resultobj
= 0;
46017 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
46018 wxSize
*result
= 0 ;
46021 PyObject
*swig_obj
[1] ;
46023 if (!args
) SWIG_fail
;
46024 swig_obj
[0] = args
;
46025 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46026 if (!SWIG_IsOK(res1
)) {
46027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetSpacer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
46029 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
46031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46033 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
46034 result
= (wxSize
*) &_result_ref
;
46036 wxPyEndAllowThreads(__tstate
);
46037 if (PyErr_Occurred()) SWIG_fail
;
46039 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
46046 SWIGINTERN PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46047 PyObject
*resultobj
= 0;
46048 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
46053 PyObject
* obj0
= 0 ;
46054 PyObject
* obj1
= 0 ;
46055 char * kwnames
[] = {
46056 (char *) "self",(char *) "size", NULL
46059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46061 if (!SWIG_IsOK(res1
)) {
46062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetSpacer" "', expected argument " "1"" of type '" "wxSizerItem *""'");
46064 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
46067 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
46070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46071 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
46072 wxPyEndAllowThreads(__tstate
);
46073 if (PyErr_Occurred()) SWIG_fail
;
46075 resultobj
= SWIG_Py_Void();
46082 SWIGINTERN PyObject
*_wrap_SizerItem_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46083 PyObject
*resultobj
= 0;
46084 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
46090 PyObject
* obj0
= 0 ;
46091 PyObject
* obj1
= 0 ;
46092 char * kwnames
[] = {
46093 (char *) "self",(char *) "show", NULL
46096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46098 if (!SWIG_IsOK(res1
)) {
46099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_Show" "', expected argument " "1"" of type '" "wxSizerItem *""'");
46101 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
46102 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
46103 if (!SWIG_IsOK(ecode2
)) {
46104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SizerItem_Show" "', expected argument " "2"" of type '" "bool""'");
46106 arg2
= static_cast< bool >(val2
);
46108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46109 (arg1
)->Show(arg2
);
46110 wxPyEndAllowThreads(__tstate
);
46111 if (PyErr_Occurred()) SWIG_fail
;
46113 resultobj
= SWIG_Py_Void();
46120 SWIGINTERN PyObject
*_wrap_SizerItem_IsShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46121 PyObject
*resultobj
= 0;
46122 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
46126 PyObject
*swig_obj
[1] ;
46128 if (!args
) SWIG_fail
;
46129 swig_obj
[0] = args
;
46130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46131 if (!SWIG_IsOK(res1
)) {
46132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_IsShown" "', expected argument " "1"" of type '" "wxSizerItem *""'");
46134 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
46136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46137 result
= (bool)(arg1
)->IsShown();
46138 wxPyEndAllowThreads(__tstate
);
46139 if (PyErr_Occurred()) SWIG_fail
;
46142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46150 SWIGINTERN PyObject
*_wrap_SizerItem_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46151 PyObject
*resultobj
= 0;
46152 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
46156 PyObject
*swig_obj
[1] ;
46158 if (!args
) SWIG_fail
;
46159 swig_obj
[0] = args
;
46160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46161 if (!SWIG_IsOK(res1
)) {
46162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetPosition" "', expected argument " "1"" of type '" "wxSizerItem *""'");
46164 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
46166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46167 result
= (arg1
)->GetPosition();
46168 wxPyEndAllowThreads(__tstate
);
46169 if (PyErr_Occurred()) SWIG_fail
;
46171 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
46178 SWIGINTERN PyObject
*_wrap_SizerItem_GetUserData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46179 PyObject
*resultobj
= 0;
46180 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
46181 PyObject
*result
= 0 ;
46184 PyObject
*swig_obj
[1] ;
46186 if (!args
) SWIG_fail
;
46187 swig_obj
[0] = args
;
46188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46189 if (!SWIG_IsOK(res1
)) {
46190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_GetUserData" "', expected argument " "1"" of type '" "wxSizerItem *""'");
46192 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
46194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46195 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
46196 wxPyEndAllowThreads(__tstate
);
46197 if (PyErr_Occurred()) SWIG_fail
;
46199 resultobj
= result
;
46206 SWIGINTERN PyObject
*_wrap_SizerItem_SetUserData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46207 PyObject
*resultobj
= 0;
46208 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
46209 PyObject
*arg2
= (PyObject
*) 0 ;
46212 PyObject
* obj0
= 0 ;
46213 PyObject
* obj1
= 0 ;
46214 char * kwnames
[] = {
46215 (char *) "self",(char *) "userData", NULL
46218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetUserData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46220 if (!SWIG_IsOK(res1
)) {
46221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SizerItem_SetUserData" "', expected argument " "1"" of type '" "wxSizerItem *""'");
46223 arg1
= reinterpret_cast< wxSizerItem
* >(argp1
);
46226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46227 wxSizerItem_SetUserData(arg1
,arg2
);
46228 wxPyEndAllowThreads(__tstate
);
46229 if (PyErr_Occurred()) SWIG_fail
;
46231 resultobj
= SWIG_Py_Void();
46238 SWIGINTERN PyObject
*SizerItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46240 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
46241 SWIG_TypeNewClientData(SWIGTYPE_p_wxSizerItem
, SWIG_NewClientData(obj
));
46242 return SWIG_Py_Void();
46245 SWIGINTERN PyObject
*SizerItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46246 return SWIG_Python_InitShadowInstance(args
);
46249 SWIGINTERN PyObject
*_wrap_delete_Sizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46250 PyObject
*resultobj
= 0;
46251 wxSizer
*arg1
= (wxSizer
*) 0 ;
46254 PyObject
*swig_obj
[1] ;
46256 if (!args
) SWIG_fail
;
46257 swig_obj
[0] = args
;
46258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
46259 if (!SWIG_IsOK(res1
)) {
46260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Sizer" "', expected argument " "1"" of type '" "wxSizer *""'");
46262 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46267 wxPyEndAllowThreads(__tstate
);
46268 if (PyErr_Occurred()) SWIG_fail
;
46270 resultobj
= SWIG_Py_Void();
46277 SWIGINTERN PyObject
*_wrap_Sizer__setOORInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46278 PyObject
*resultobj
= 0;
46279 wxSizer
*arg1
= (wxSizer
*) 0 ;
46280 PyObject
*arg2
= (PyObject
*) 0 ;
46283 PyObject
* obj0
= 0 ;
46284 PyObject
* obj1
= 0 ;
46285 char * kwnames
[] = {
46286 (char *) "self",(char *) "_self", NULL
46289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46291 if (!SWIG_IsOK(res1
)) {
46292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer__setOORInfo" "', expected argument " "1"" of type '" "wxSizer *""'");
46294 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46298 wxSizer__setOORInfo(arg1
,arg2
);
46299 wxPyEndAllowThreads(__tstate
);
46300 if (PyErr_Occurred()) SWIG_fail
;
46302 resultobj
= SWIG_Py_Void();
46309 SWIGINTERN PyObject
*_wrap_Sizer_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46310 PyObject
*resultobj
= 0;
46311 wxSizer
*arg1
= (wxSizer
*) 0 ;
46312 PyObject
*arg2
= (PyObject
*) 0 ;
46313 int arg3
= (int) 0 ;
46314 int arg4
= (int) 0 ;
46315 int arg5
= (int) 0 ;
46316 PyObject
*arg6
= (PyObject
*) NULL
;
46317 wxSizerItem
*result
= 0 ;
46326 PyObject
* obj0
= 0 ;
46327 PyObject
* obj1
= 0 ;
46328 PyObject
* obj2
= 0 ;
46329 PyObject
* obj3
= 0 ;
46330 PyObject
* obj4
= 0 ;
46331 PyObject
* obj5
= 0 ;
46332 char * kwnames
[] = {
46333 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
46336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
46337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46338 if (!SWIG_IsOK(res1
)) {
46339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Add" "', expected argument " "1"" of type '" "wxSizer *""'");
46341 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46344 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
46345 if (!SWIG_IsOK(ecode3
)) {
46346 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Sizer_Add" "', expected argument " "3"" of type '" "int""'");
46348 arg3
= static_cast< int >(val3
);
46351 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
46352 if (!SWIG_IsOK(ecode4
)) {
46353 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer_Add" "', expected argument " "4"" of type '" "int""'");
46355 arg4
= static_cast< int >(val4
);
46358 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
46359 if (!SWIG_IsOK(ecode5
)) {
46360 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Sizer_Add" "', expected argument " "5"" of type '" "int""'");
46362 arg5
= static_cast< int >(val5
);
46368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46369 result
= (wxSizerItem
*)wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
46370 wxPyEndAllowThreads(__tstate
);
46371 if (PyErr_Occurred()) SWIG_fail
;
46373 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46380 SWIGINTERN PyObject
*_wrap_Sizer_Insert(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46381 PyObject
*resultobj
= 0;
46382 wxSizer
*arg1
= (wxSizer
*) 0 ;
46384 PyObject
*arg3
= (PyObject
*) 0 ;
46385 int arg4
= (int) 0 ;
46386 int arg5
= (int) 0 ;
46387 int arg6
= (int) 0 ;
46388 PyObject
*arg7
= (PyObject
*) NULL
;
46389 wxSizerItem
*result
= 0 ;
46400 PyObject
* obj0
= 0 ;
46401 PyObject
* obj1
= 0 ;
46402 PyObject
* obj2
= 0 ;
46403 PyObject
* obj3
= 0 ;
46404 PyObject
* obj4
= 0 ;
46405 PyObject
* obj5
= 0 ;
46406 PyObject
* obj6
= 0 ;
46407 char * kwnames
[] = {
46408 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
46411 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
46412 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46413 if (!SWIG_IsOK(res1
)) {
46414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Insert" "', expected argument " "1"" of type '" "wxSizer *""'");
46416 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46417 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46418 if (!SWIG_IsOK(ecode2
)) {
46419 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_Insert" "', expected argument " "2"" of type '" "int""'");
46421 arg2
= static_cast< int >(val2
);
46424 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
46425 if (!SWIG_IsOK(ecode4
)) {
46426 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer_Insert" "', expected argument " "4"" of type '" "int""'");
46428 arg4
= static_cast< int >(val4
);
46431 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
46432 if (!SWIG_IsOK(ecode5
)) {
46433 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Sizer_Insert" "', expected argument " "5"" of type '" "int""'");
46435 arg5
= static_cast< int >(val5
);
46438 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
46439 if (!SWIG_IsOK(ecode6
)) {
46440 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Sizer_Insert" "', expected argument " "6"" of type '" "int""'");
46442 arg6
= static_cast< int >(val6
);
46448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46449 result
= (wxSizerItem
*)wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
46450 wxPyEndAllowThreads(__tstate
);
46451 if (PyErr_Occurred()) SWIG_fail
;
46453 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46460 SWIGINTERN PyObject
*_wrap_Sizer_Prepend(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46461 PyObject
*resultobj
= 0;
46462 wxSizer
*arg1
= (wxSizer
*) 0 ;
46463 PyObject
*arg2
= (PyObject
*) 0 ;
46464 int arg3
= (int) 0 ;
46465 int arg4
= (int) 0 ;
46466 int arg5
= (int) 0 ;
46467 PyObject
*arg6
= (PyObject
*) NULL
;
46468 wxSizerItem
*result
= 0 ;
46477 PyObject
* obj0
= 0 ;
46478 PyObject
* obj1
= 0 ;
46479 PyObject
* obj2
= 0 ;
46480 PyObject
* obj3
= 0 ;
46481 PyObject
* obj4
= 0 ;
46482 PyObject
* obj5
= 0 ;
46483 char * kwnames
[] = {
46484 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
46487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
46488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46489 if (!SWIG_IsOK(res1
)) {
46490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Prepend" "', expected argument " "1"" of type '" "wxSizer *""'");
46492 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46495 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
46496 if (!SWIG_IsOK(ecode3
)) {
46497 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Sizer_Prepend" "', expected argument " "3"" of type '" "int""'");
46499 arg3
= static_cast< int >(val3
);
46502 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
46503 if (!SWIG_IsOK(ecode4
)) {
46504 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer_Prepend" "', expected argument " "4"" of type '" "int""'");
46506 arg4
= static_cast< int >(val4
);
46509 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
46510 if (!SWIG_IsOK(ecode5
)) {
46511 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Sizer_Prepend" "', expected argument " "5"" of type '" "int""'");
46513 arg5
= static_cast< int >(val5
);
46519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46520 result
= (wxSizerItem
*)wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
46521 wxPyEndAllowThreads(__tstate
);
46522 if (PyErr_Occurred()) SWIG_fail
;
46524 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46531 SWIGINTERN PyObject
*_wrap_Sizer_Remove(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46532 PyObject
*resultobj
= 0;
46533 wxSizer
*arg1
= (wxSizer
*) 0 ;
46534 PyObject
*arg2
= (PyObject
*) 0 ;
46538 PyObject
* obj0
= 0 ;
46539 PyObject
* obj1
= 0 ;
46540 char * kwnames
[] = {
46541 (char *) "self",(char *) "item", NULL
46544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46546 if (!SWIG_IsOK(res1
)) {
46547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Remove" "', expected argument " "1"" of type '" "wxSizer *""'");
46549 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46553 result
= (bool)wxSizer_Remove(arg1
,arg2
);
46554 wxPyEndAllowThreads(__tstate
);
46555 if (PyErr_Occurred()) SWIG_fail
;
46558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46566 SWIGINTERN PyObject
*_wrap_Sizer_Detach(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46567 PyObject
*resultobj
= 0;
46568 wxSizer
*arg1
= (wxSizer
*) 0 ;
46569 PyObject
*arg2
= (PyObject
*) 0 ;
46573 PyObject
* obj0
= 0 ;
46574 PyObject
* obj1
= 0 ;
46575 char * kwnames
[] = {
46576 (char *) "self",(char *) "item", NULL
46579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46581 if (!SWIG_IsOK(res1
)) {
46582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Detach" "', expected argument " "1"" of type '" "wxSizer *""'");
46584 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46588 result
= (bool)wxSizer_Detach(arg1
,arg2
);
46589 wxPyEndAllowThreads(__tstate
);
46590 if (PyErr_Occurred()) SWIG_fail
;
46593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
46601 SWIGINTERN PyObject
*_wrap_Sizer_GetItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46602 PyObject
*resultobj
= 0;
46603 wxSizer
*arg1
= (wxSizer
*) 0 ;
46604 PyObject
*arg2
= (PyObject
*) 0 ;
46605 wxSizerItem
*result
= 0 ;
46608 PyObject
* obj0
= 0 ;
46609 PyObject
* obj1
= 0 ;
46610 char * kwnames
[] = {
46611 (char *) "self",(char *) "item", NULL
46614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_GetItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46616 if (!SWIG_IsOK(res1
)) {
46617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetItem" "', expected argument " "1"" of type '" "wxSizer *""'");
46619 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46623 result
= (wxSizerItem
*)wxSizer_GetItem(arg1
,arg2
);
46624 wxPyEndAllowThreads(__tstate
);
46625 if (PyErr_Occurred()) SWIG_fail
;
46627 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46634 SWIGINTERN PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46635 PyObject
*resultobj
= 0;
46636 wxSizer
*arg1
= (wxSizer
*) 0 ;
46637 PyObject
*arg2
= (PyObject
*) 0 ;
46642 PyObject
* obj0
= 0 ;
46643 PyObject
* obj1
= 0 ;
46644 PyObject
* obj2
= 0 ;
46645 char * kwnames
[] = {
46646 (char *) "self",(char *) "item",(char *) "size", NULL
46649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
46650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46651 if (!SWIG_IsOK(res1
)) {
46652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer__SetItemMinSize" "', expected argument " "1"" of type '" "wxSizer *""'");
46654 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46658 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
46661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46662 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
46663 wxPyEndAllowThreads(__tstate
);
46664 if (PyErr_Occurred()) SWIG_fail
;
46666 resultobj
= SWIG_Py_Void();
46673 SWIGINTERN PyObject
*_wrap_Sizer_AddItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46674 PyObject
*resultobj
= 0;
46675 wxSizer
*arg1
= (wxSizer
*) 0 ;
46676 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
46677 wxSizerItem
*result
= 0 ;
46681 PyObject
* obj0
= 0 ;
46682 PyObject
* obj1
= 0 ;
46683 char * kwnames
[] = {
46684 (char *) "self",(char *) "item", NULL
46687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46689 if (!SWIG_IsOK(res1
)) {
46690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_AddItem" "', expected argument " "1"" of type '" "wxSizer *""'");
46692 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46693 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_DISOWN
| 0 );
46694 if (!SWIG_IsOK(res2
)) {
46695 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_AddItem" "', expected argument " "2"" of type '" "wxSizerItem *""'");
46698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46699 result
= (wxSizerItem
*)(arg1
)->Add(arg2
);
46700 wxPyEndAllowThreads(__tstate
);
46701 if (PyErr_Occurred()) SWIG_fail
;
46703 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46710 SWIGINTERN PyObject
*_wrap_Sizer_InsertItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46711 PyObject
*resultobj
= 0;
46712 wxSizer
*arg1
= (wxSizer
*) 0 ;
46714 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
46715 wxSizerItem
*result
= 0 ;
46721 PyObject
* obj0
= 0 ;
46722 PyObject
* obj1
= 0 ;
46723 PyObject
* obj2
= 0 ;
46724 char * kwnames
[] = {
46725 (char *) "self",(char *) "index",(char *) "item", NULL
46728 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
46729 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46730 if (!SWIG_IsOK(res1
)) {
46731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_InsertItem" "', expected argument " "1"" of type '" "wxSizer *""'");
46733 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46734 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
46735 if (!SWIG_IsOK(ecode2
)) {
46736 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_InsertItem" "', expected argument " "2"" of type '" "size_t""'");
46738 arg2
= static_cast< size_t >(val2
);
46739 res3
= SWIG_ConvertPtr(obj2
, SWIG_as_voidptrptr(&arg3
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_DISOWN
| 0 );
46740 if (!SWIG_IsOK(res3
)) {
46741 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Sizer_InsertItem" "', expected argument " "3"" of type '" "wxSizerItem *""'");
46744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46745 result
= (wxSizerItem
*)(arg1
)->Insert(arg2
,arg3
);
46746 wxPyEndAllowThreads(__tstate
);
46747 if (PyErr_Occurred()) SWIG_fail
;
46749 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46756 SWIGINTERN PyObject
*_wrap_Sizer_PrependItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46757 PyObject
*resultobj
= 0;
46758 wxSizer
*arg1
= (wxSizer
*) 0 ;
46759 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
46760 wxSizerItem
*result
= 0 ;
46764 PyObject
* obj0
= 0 ;
46765 PyObject
* obj1
= 0 ;
46766 char * kwnames
[] = {
46767 (char *) "self",(char *) "item", NULL
46770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46772 if (!SWIG_IsOK(res1
)) {
46773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_PrependItem" "', expected argument " "1"" of type '" "wxSizer *""'");
46775 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46776 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxSizerItem
, SWIG_POINTER_DISOWN
| 0 );
46777 if (!SWIG_IsOK(res2
)) {
46778 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_PrependItem" "', expected argument " "2"" of type '" "wxSizerItem *""'");
46781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46782 result
= (wxSizerItem
*)(arg1
)->Prepend(arg2
);
46783 wxPyEndAllowThreads(__tstate
);
46784 if (PyErr_Occurred()) SWIG_fail
;
46786 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSizerItem
, 0 | 0 );
46793 SWIGINTERN PyObject
*_wrap_Sizer_SetDimension(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46794 PyObject
*resultobj
= 0;
46795 wxSizer
*arg1
= (wxSizer
*) 0 ;
46810 PyObject
* obj0
= 0 ;
46811 PyObject
* obj1
= 0 ;
46812 PyObject
* obj2
= 0 ;
46813 PyObject
* obj3
= 0 ;
46814 PyObject
* obj4
= 0 ;
46815 char * kwnames
[] = {
46816 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
46819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
46820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46821 if (!SWIG_IsOK(res1
)) {
46822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_SetDimension" "', expected argument " "1"" of type '" "wxSizer *""'");
46824 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46825 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
46826 if (!SWIG_IsOK(ecode2
)) {
46827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_SetDimension" "', expected argument " "2"" of type '" "int""'");
46829 arg2
= static_cast< int >(val2
);
46830 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
46831 if (!SWIG_IsOK(ecode3
)) {
46832 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Sizer_SetDimension" "', expected argument " "3"" of type '" "int""'");
46834 arg3
= static_cast< int >(val3
);
46835 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
46836 if (!SWIG_IsOK(ecode4
)) {
46837 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer_SetDimension" "', expected argument " "4"" of type '" "int""'");
46839 arg4
= static_cast< int >(val4
);
46840 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
46841 if (!SWIG_IsOK(ecode5
)) {
46842 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "Sizer_SetDimension" "', expected argument " "5"" of type '" "int""'");
46844 arg5
= static_cast< int >(val5
);
46846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46847 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
46848 wxPyEndAllowThreads(__tstate
);
46849 if (PyErr_Occurred()) SWIG_fail
;
46851 resultobj
= SWIG_Py_Void();
46858 SWIGINTERN PyObject
*_wrap_Sizer_SetMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
46859 PyObject
*resultobj
= 0;
46860 wxSizer
*arg1
= (wxSizer
*) 0 ;
46865 PyObject
* obj0
= 0 ;
46866 PyObject
* obj1
= 0 ;
46867 char * kwnames
[] = {
46868 (char *) "self",(char *) "size", NULL
46871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
46872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46873 if (!SWIG_IsOK(res1
)) {
46874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_SetMinSize" "', expected argument " "1"" of type '" "wxSizer *""'");
46876 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46879 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
46882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46883 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
46884 wxPyEndAllowThreads(__tstate
);
46885 if (PyErr_Occurred()) SWIG_fail
;
46887 resultobj
= SWIG_Py_Void();
46894 SWIGINTERN PyObject
*_wrap_Sizer_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46895 PyObject
*resultobj
= 0;
46896 wxSizer
*arg1
= (wxSizer
*) 0 ;
46900 PyObject
*swig_obj
[1] ;
46902 if (!args
) SWIG_fail
;
46903 swig_obj
[0] = args
;
46904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46905 if (!SWIG_IsOK(res1
)) {
46906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetSize" "', expected argument " "1"" of type '" "wxSizer *""'");
46908 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46911 result
= (arg1
)->GetSize();
46912 wxPyEndAllowThreads(__tstate
);
46913 if (PyErr_Occurred()) SWIG_fail
;
46915 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
46922 SWIGINTERN PyObject
*_wrap_Sizer_GetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46923 PyObject
*resultobj
= 0;
46924 wxSizer
*arg1
= (wxSizer
*) 0 ;
46928 PyObject
*swig_obj
[1] ;
46930 if (!args
) SWIG_fail
;
46931 swig_obj
[0] = args
;
46932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46933 if (!SWIG_IsOK(res1
)) {
46934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetPosition" "', expected argument " "1"" of type '" "wxSizer *""'");
46936 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46939 result
= (arg1
)->GetPosition();
46940 wxPyEndAllowThreads(__tstate
);
46941 if (PyErr_Occurred()) SWIG_fail
;
46943 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
46950 SWIGINTERN PyObject
*_wrap_Sizer_GetMinSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46951 PyObject
*resultobj
= 0;
46952 wxSizer
*arg1
= (wxSizer
*) 0 ;
46956 PyObject
*swig_obj
[1] ;
46958 if (!args
) SWIG_fail
;
46959 swig_obj
[0] = args
;
46960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46961 if (!SWIG_IsOK(res1
)) {
46962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetMinSize" "', expected argument " "1"" of type '" "wxSizer *""'");
46964 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46967 result
= (arg1
)->GetMinSize();
46968 wxPyEndAllowThreads(__tstate
);
46969 if (PyErr_Occurred()) SWIG_fail
;
46971 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
46978 SWIGINTERN PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
46979 PyObject
*resultobj
= 0;
46980 wxSizer
*arg1
= (wxSizer
*) 0 ;
46983 PyObject
*swig_obj
[1] ;
46985 if (!args
) SWIG_fail
;
46986 swig_obj
[0] = args
;
46987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
46988 if (!SWIG_IsOK(res1
)) {
46989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_RecalcSizes" "', expected argument " "1"" of type '" "wxSizer *""'");
46991 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
46993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
46994 (arg1
)->RecalcSizes();
46995 wxPyEndAllowThreads(__tstate
);
46996 if (PyErr_Occurred()) SWIG_fail
;
46998 resultobj
= SWIG_Py_Void();
47005 SWIGINTERN PyObject
*_wrap_Sizer_CalcMin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47006 PyObject
*resultobj
= 0;
47007 wxSizer
*arg1
= (wxSizer
*) 0 ;
47011 PyObject
*swig_obj
[1] ;
47013 if (!args
) SWIG_fail
;
47014 swig_obj
[0] = args
;
47015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
47016 if (!SWIG_IsOK(res1
)) {
47017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_CalcMin" "', expected argument " "1"" of type '" "wxSizer *""'");
47019 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
47021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47022 result
= (arg1
)->CalcMin();
47023 wxPyEndAllowThreads(__tstate
);
47024 if (PyErr_Occurred()) SWIG_fail
;
47026 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
47033 SWIGINTERN PyObject
*_wrap_Sizer_Layout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47034 PyObject
*resultobj
= 0;
47035 wxSizer
*arg1
= (wxSizer
*) 0 ;
47038 PyObject
*swig_obj
[1] ;
47040 if (!args
) SWIG_fail
;
47041 swig_obj
[0] = args
;
47042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
47043 if (!SWIG_IsOK(res1
)) {
47044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Layout" "', expected argument " "1"" of type '" "wxSizer *""'");
47046 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
47048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47050 wxPyEndAllowThreads(__tstate
);
47051 if (PyErr_Occurred()) SWIG_fail
;
47053 resultobj
= SWIG_Py_Void();
47060 SWIGINTERN PyObject
*_wrap_Sizer_Fit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47061 PyObject
*resultobj
= 0;
47062 wxSizer
*arg1
= (wxSizer
*) 0 ;
47063 wxWindow
*arg2
= (wxWindow
*) 0 ;
47069 PyObject
* obj0
= 0 ;
47070 PyObject
* obj1
= 0 ;
47071 char * kwnames
[] = {
47072 (char *) "self",(char *) "window", NULL
47075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
47077 if (!SWIG_IsOK(res1
)) {
47078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Fit" "', expected argument " "1"" of type '" "wxSizer *""'");
47080 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
47081 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
47082 if (!SWIG_IsOK(res2
)) {
47083 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_Fit" "', expected argument " "2"" of type '" "wxWindow *""'");
47085 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
47087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47088 result
= (arg1
)->Fit(arg2
);
47089 wxPyEndAllowThreads(__tstate
);
47090 if (PyErr_Occurred()) SWIG_fail
;
47092 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
47099 SWIGINTERN PyObject
*_wrap_Sizer_FitInside(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47100 PyObject
*resultobj
= 0;
47101 wxSizer
*arg1
= (wxSizer
*) 0 ;
47102 wxWindow
*arg2
= (wxWindow
*) 0 ;
47107 PyObject
* obj0
= 0 ;
47108 PyObject
* obj1
= 0 ;
47109 char * kwnames
[] = {
47110 (char *) "self",(char *) "window", NULL
47113 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47114 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
47115 if (!SWIG_IsOK(res1
)) {
47116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_FitInside" "', expected argument " "1"" of type '" "wxSizer *""'");
47118 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
47119 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
47120 if (!SWIG_IsOK(res2
)) {
47121 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_FitInside" "', expected argument " "2"" of type '" "wxWindow *""'");
47123 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
47125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47126 (arg1
)->FitInside(arg2
);
47127 wxPyEndAllowThreads(__tstate
);
47128 if (PyErr_Occurred()) SWIG_fail
;
47130 resultobj
= SWIG_Py_Void();
47137 SWIGINTERN PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47138 PyObject
*resultobj
= 0;
47139 wxSizer
*arg1
= (wxSizer
*) 0 ;
47140 wxWindow
*arg2
= (wxWindow
*) 0 ;
47145 PyObject
* obj0
= 0 ;
47146 PyObject
* obj1
= 0 ;
47147 char * kwnames
[] = {
47148 (char *) "self",(char *) "window", NULL
47151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
47153 if (!SWIG_IsOK(res1
)) {
47154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_SetSizeHints" "', expected argument " "1"" of type '" "wxSizer *""'");
47156 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
47157 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
47158 if (!SWIG_IsOK(res2
)) {
47159 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_SetSizeHints" "', expected argument " "2"" of type '" "wxWindow *""'");
47161 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
47163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47164 (arg1
)->SetSizeHints(arg2
);
47165 wxPyEndAllowThreads(__tstate
);
47166 if (PyErr_Occurred()) SWIG_fail
;
47168 resultobj
= SWIG_Py_Void();
47175 SWIGINTERN PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47176 PyObject
*resultobj
= 0;
47177 wxSizer
*arg1
= (wxSizer
*) 0 ;
47178 wxWindow
*arg2
= (wxWindow
*) 0 ;
47183 PyObject
* obj0
= 0 ;
47184 PyObject
* obj1
= 0 ;
47185 char * kwnames
[] = {
47186 (char *) "self",(char *) "window", NULL
47189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
47191 if (!SWIG_IsOK(res1
)) {
47192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_SetVirtualSizeHints" "', expected argument " "1"" of type '" "wxSizer *""'");
47194 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
47195 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
47196 if (!SWIG_IsOK(res2
)) {
47197 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Sizer_SetVirtualSizeHints" "', expected argument " "2"" of type '" "wxWindow *""'");
47199 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
47201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47202 (arg1
)->SetVirtualSizeHints(arg2
);
47203 wxPyEndAllowThreads(__tstate
);
47204 if (PyErr_Occurred()) SWIG_fail
;
47206 resultobj
= SWIG_Py_Void();
47213 SWIGINTERN PyObject
*_wrap_Sizer_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47214 PyObject
*resultobj
= 0;
47215 wxSizer
*arg1
= (wxSizer
*) 0 ;
47216 bool arg2
= (bool) false ;
47221 PyObject
* obj0
= 0 ;
47222 PyObject
* obj1
= 0 ;
47223 char * kwnames
[] = {
47224 (char *) "self",(char *) "deleteWindows", NULL
47227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
47229 if (!SWIG_IsOK(res1
)) {
47230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Clear" "', expected argument " "1"" of type '" "wxSizer *""'");
47232 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
47234 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
47235 if (!SWIG_IsOK(ecode2
)) {
47236 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_Clear" "', expected argument " "2"" of type '" "bool""'");
47238 arg2
= static_cast< bool >(val2
);
47241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47242 (arg1
)->Clear(arg2
);
47243 wxPyEndAllowThreads(__tstate
);
47244 if (PyErr_Occurred()) SWIG_fail
;
47246 resultobj
= SWIG_Py_Void();
47253 SWIGINTERN PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47254 PyObject
*resultobj
= 0;
47255 wxSizer
*arg1
= (wxSizer
*) 0 ;
47258 PyObject
*swig_obj
[1] ;
47260 if (!args
) SWIG_fail
;
47261 swig_obj
[0] = args
;
47262 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
47263 if (!SWIG_IsOK(res1
)) {
47264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_DeleteWindows" "', expected argument " "1"" of type '" "wxSizer *""'");
47266 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
47268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47269 (arg1
)->DeleteWindows();
47270 wxPyEndAllowThreads(__tstate
);
47271 if (PyErr_Occurred()) SWIG_fail
;
47273 resultobj
= SWIG_Py_Void();
47280 SWIGINTERN PyObject
*_wrap_Sizer_GetChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47281 PyObject
*resultobj
= 0;
47282 wxSizer
*arg1
= (wxSizer
*) 0 ;
47283 PyObject
*result
= 0 ;
47286 PyObject
*swig_obj
[1] ;
47288 if (!args
) SWIG_fail
;
47289 swig_obj
[0] = args
;
47290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
47291 if (!SWIG_IsOK(res1
)) {
47292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_GetChildren" "', expected argument " "1"" of type '" "wxSizer *""'");
47294 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
47296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47297 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
47298 wxPyEndAllowThreads(__tstate
);
47299 if (PyErr_Occurred()) SWIG_fail
;
47301 resultobj
= result
;
47308 SWIGINTERN PyObject
*_wrap_Sizer_Show(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47309 PyObject
*resultobj
= 0;
47310 wxSizer
*arg1
= (wxSizer
*) 0 ;
47311 PyObject
*arg2
= (PyObject
*) 0 ;
47312 bool arg3
= (bool) true ;
47313 bool arg4
= (bool) false ;
47321 PyObject
* obj0
= 0 ;
47322 PyObject
* obj1
= 0 ;
47323 PyObject
* obj2
= 0 ;
47324 PyObject
* obj3
= 0 ;
47325 char * kwnames
[] = {
47326 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
47329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
47330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
47331 if (!SWIG_IsOK(res1
)) {
47332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_Show" "', expected argument " "1"" of type '" "wxSizer *""'");
47334 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
47337 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
47338 if (!SWIG_IsOK(ecode3
)) {
47339 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Sizer_Show" "', expected argument " "3"" of type '" "bool""'");
47341 arg3
= static_cast< bool >(val3
);
47344 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
47345 if (!SWIG_IsOK(ecode4
)) {
47346 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Sizer_Show" "', expected argument " "4"" of type '" "bool""'");
47348 arg4
= static_cast< bool >(val4
);
47351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47352 result
= (bool)wxSizer_Show(arg1
,arg2
,arg3
,arg4
);
47353 wxPyEndAllowThreads(__tstate
);
47354 if (PyErr_Occurred()) SWIG_fail
;
47357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
47365 SWIGINTERN PyObject
*_wrap_Sizer_IsShown(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47366 PyObject
*resultobj
= 0;
47367 wxSizer
*arg1
= (wxSizer
*) 0 ;
47368 PyObject
*arg2
= (PyObject
*) 0 ;
47372 PyObject
* obj0
= 0 ;
47373 PyObject
* obj1
= 0 ;
47374 char * kwnames
[] = {
47375 (char *) "self",(char *) "item", NULL
47378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
47380 if (!SWIG_IsOK(res1
)) {
47381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_IsShown" "', expected argument " "1"" of type '" "wxSizer *""'");
47383 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
47386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47387 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
47388 wxPyEndAllowThreads(__tstate
);
47389 if (PyErr_Occurred()) SWIG_fail
;
47392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
47400 SWIGINTERN PyObject
*_wrap_Sizer_ShowItems(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47401 PyObject
*resultobj
= 0;
47402 wxSizer
*arg1
= (wxSizer
*) 0 ;
47408 PyObject
* obj0
= 0 ;
47409 PyObject
* obj1
= 0 ;
47410 char * kwnames
[] = {
47411 (char *) "self",(char *) "show", NULL
47414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47415 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSizer
, 0 | 0 );
47416 if (!SWIG_IsOK(res1
)) {
47417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Sizer_ShowItems" "', expected argument " "1"" of type '" "wxSizer *""'");
47419 arg1
= reinterpret_cast< wxSizer
* >(argp1
);
47420 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
47421 if (!SWIG_IsOK(ecode2
)) {
47422 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Sizer_ShowItems" "', expected argument " "2"" of type '" "bool""'");
47424 arg2
= static_cast< bool >(val2
);
47426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47427 (arg1
)->ShowItems(arg2
);
47428 wxPyEndAllowThreads(__tstate
);
47429 if (PyErr_Occurred()) SWIG_fail
;
47431 resultobj
= SWIG_Py_Void();
47438 SWIGINTERN PyObject
*Sizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47440 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
47441 SWIG_TypeNewClientData(SWIGTYPE_p_wxSizer
, SWIG_NewClientData(obj
));
47442 return SWIG_Py_Void();
47445 SWIGINTERN PyObject
*_wrap_new_PySizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47446 PyObject
*resultobj
= 0;
47447 wxPySizer
*result
= 0 ;
47449 if (!SWIG_Python_UnpackTuple(args
,"new_PySizer",0,0,0)) SWIG_fail
;
47451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47452 result
= (wxPySizer
*)new wxPySizer();
47453 wxPyEndAllowThreads(__tstate
);
47454 if (PyErr_Occurred()) SWIG_fail
;
47456 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPySizer
, SWIG_POINTER_NEW
| 0 );
47463 SWIGINTERN PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47464 PyObject
*resultobj
= 0;
47465 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
47466 PyObject
*arg2
= (PyObject
*) 0 ;
47467 PyObject
*arg3
= (PyObject
*) 0 ;
47470 PyObject
* obj0
= 0 ;
47471 PyObject
* obj1
= 0 ;
47472 PyObject
* obj2
= 0 ;
47473 char * kwnames
[] = {
47474 (char *) "self",(char *) "self",(char *) "_class", NULL
47477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
47478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPySizer
, 0 | 0 );
47479 if (!SWIG_IsOK(res1
)) {
47480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PySizer__setCallbackInfo" "', expected argument " "1"" of type '" "wxPySizer *""'");
47482 arg1
= reinterpret_cast< wxPySizer
* >(argp1
);
47486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47487 (arg1
)->_setCallbackInfo(arg2
,arg3
);
47488 wxPyEndAllowThreads(__tstate
);
47489 if (PyErr_Occurred()) SWIG_fail
;
47491 resultobj
= SWIG_Py_Void();
47498 SWIGINTERN PyObject
*PySizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47500 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
47501 SWIG_TypeNewClientData(SWIGTYPE_p_wxPySizer
, SWIG_NewClientData(obj
));
47502 return SWIG_Py_Void();
47505 SWIGINTERN PyObject
*PySizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47506 return SWIG_Python_InitShadowInstance(args
);
47509 SWIGINTERN PyObject
*_wrap_new_BoxSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47510 PyObject
*resultobj
= 0;
47511 int arg1
= (int) wxHORIZONTAL
;
47512 wxBoxSizer
*result
= 0 ;
47515 PyObject
* obj0
= 0 ;
47516 char * kwnames
[] = {
47517 (char *) "orient", NULL
47520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) SWIG_fail
;
47522 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
47523 if (!SWIG_IsOK(ecode1
)) {
47524 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_BoxSizer" "', expected argument " "1"" of type '" "int""'");
47526 arg1
= static_cast< int >(val1
);
47529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47530 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
47531 wxPyEndAllowThreads(__tstate
);
47532 if (PyErr_Occurred()) SWIG_fail
;
47534 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxBoxSizer
, SWIG_POINTER_NEW
| 0 );
47541 SWIGINTERN PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47542 PyObject
*resultobj
= 0;
47543 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
47547 PyObject
*swig_obj
[1] ;
47549 if (!args
) SWIG_fail
;
47550 swig_obj
[0] = args
;
47551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxBoxSizer
, 0 | 0 );
47552 if (!SWIG_IsOK(res1
)) {
47553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BoxSizer_GetOrientation" "', expected argument " "1"" of type '" "wxBoxSizer *""'");
47555 arg1
= reinterpret_cast< wxBoxSizer
* >(argp1
);
47557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47558 result
= (int)(arg1
)->GetOrientation();
47559 wxPyEndAllowThreads(__tstate
);
47560 if (PyErr_Occurred()) SWIG_fail
;
47562 resultobj
= SWIG_From_int(static_cast< int >(result
));
47569 SWIGINTERN PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47570 PyObject
*resultobj
= 0;
47571 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
47577 PyObject
* obj0
= 0 ;
47578 PyObject
* obj1
= 0 ;
47579 char * kwnames
[] = {
47580 (char *) "self",(char *) "orient", NULL
47583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxBoxSizer
, 0 | 0 );
47585 if (!SWIG_IsOK(res1
)) {
47586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "BoxSizer_SetOrientation" "', expected argument " "1"" of type '" "wxBoxSizer *""'");
47588 arg1
= reinterpret_cast< wxBoxSizer
* >(argp1
);
47589 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47590 if (!SWIG_IsOK(ecode2
)) {
47591 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "BoxSizer_SetOrientation" "', expected argument " "2"" of type '" "int""'");
47593 arg2
= static_cast< int >(val2
);
47595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47596 (arg1
)->SetOrientation(arg2
);
47597 wxPyEndAllowThreads(__tstate
);
47598 if (PyErr_Occurred()) SWIG_fail
;
47600 resultobj
= SWIG_Py_Void();
47607 SWIGINTERN PyObject
*BoxSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47609 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
47610 SWIG_TypeNewClientData(SWIGTYPE_p_wxBoxSizer
, SWIG_NewClientData(obj
));
47611 return SWIG_Py_Void();
47614 SWIGINTERN PyObject
*BoxSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47615 return SWIG_Python_InitShadowInstance(args
);
47618 SWIGINTERN PyObject
*_wrap_new_StaticBoxSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47619 PyObject
*resultobj
= 0;
47620 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
47621 int arg2
= (int) wxHORIZONTAL
;
47622 wxStaticBoxSizer
*result
= 0 ;
47627 PyObject
* obj0
= 0 ;
47628 PyObject
* obj1
= 0 ;
47629 char * kwnames
[] = {
47630 (char *) "box",(char *) "orient", NULL
47633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStaticBox
, 0 | 0 );
47635 if (!SWIG_IsOK(res1
)) {
47636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StaticBoxSizer" "', expected argument " "1"" of type '" "wxStaticBox *""'");
47638 arg1
= reinterpret_cast< wxStaticBox
* >(argp1
);
47640 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47641 if (!SWIG_IsOK(ecode2
)) {
47642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StaticBoxSizer" "', expected argument " "2"" of type '" "int""'");
47644 arg2
= static_cast< int >(val2
);
47647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47648 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
47649 wxPyEndAllowThreads(__tstate
);
47650 if (PyErr_Occurred()) SWIG_fail
;
47652 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStaticBoxSizer
, SWIG_POINTER_NEW
| 0 );
47659 SWIGINTERN PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47660 PyObject
*resultobj
= 0;
47661 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
47662 wxStaticBox
*result
= 0 ;
47665 PyObject
*swig_obj
[1] ;
47667 if (!args
) SWIG_fail
;
47668 swig_obj
[0] = args
;
47669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStaticBoxSizer
, 0 | 0 );
47670 if (!SWIG_IsOK(res1
)) {
47671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StaticBoxSizer_GetStaticBox" "', expected argument " "1"" of type '" "wxStaticBoxSizer *""'");
47673 arg1
= reinterpret_cast< wxStaticBoxSizer
* >(argp1
);
47675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47676 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
47677 wxPyEndAllowThreads(__tstate
);
47678 if (PyErr_Occurred()) SWIG_fail
;
47681 resultobj
= wxPyMake_wxObject(result
, (bool)0);
47689 SWIGINTERN PyObject
*StaticBoxSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47691 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
47692 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticBoxSizer
, SWIG_NewClientData(obj
));
47693 return SWIG_Py_Void();
47696 SWIGINTERN PyObject
*StaticBoxSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47697 return SWIG_Python_InitShadowInstance(args
);
47700 SWIGINTERN PyObject
*_wrap_new_GridSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47701 PyObject
*resultobj
= 0;
47702 int arg1
= (int) 1 ;
47703 int arg2
= (int) 0 ;
47704 int arg3
= (int) 0 ;
47705 int arg4
= (int) 0 ;
47706 wxGridSizer
*result
= 0 ;
47715 PyObject
* obj0
= 0 ;
47716 PyObject
* obj1
= 0 ;
47717 PyObject
* obj2
= 0 ;
47718 PyObject
* obj3
= 0 ;
47719 char * kwnames
[] = {
47720 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
47723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
47725 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
47726 if (!SWIG_IsOK(ecode1
)) {
47727 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridSizer" "', expected argument " "1"" of type '" "int""'");
47729 arg1
= static_cast< int >(val1
);
47732 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47733 if (!SWIG_IsOK(ecode2
)) {
47734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridSizer" "', expected argument " "2"" of type '" "int""'");
47736 arg2
= static_cast< int >(val2
);
47739 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
47740 if (!SWIG_IsOK(ecode3
)) {
47741 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_GridSizer" "', expected argument " "3"" of type '" "int""'");
47743 arg3
= static_cast< int >(val3
);
47746 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
47747 if (!SWIG_IsOK(ecode4
)) {
47748 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GridSizer" "', expected argument " "4"" of type '" "int""'");
47750 arg4
= static_cast< int >(val4
);
47753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47754 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
47755 wxPyEndAllowThreads(__tstate
);
47756 if (PyErr_Occurred()) SWIG_fail
;
47758 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridSizer
, SWIG_POINTER_NEW
| 0 );
47765 SWIGINTERN PyObject
*_wrap_GridSizer_SetCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47766 PyObject
*resultobj
= 0;
47767 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
47773 PyObject
* obj0
= 0 ;
47774 PyObject
* obj1
= 0 ;
47775 char * kwnames
[] = {
47776 (char *) "self",(char *) "cols", NULL
47779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
47781 if (!SWIG_IsOK(res1
)) {
47782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_SetCols" "', expected argument " "1"" of type '" "wxGridSizer *""'");
47784 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
47785 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47786 if (!SWIG_IsOK(ecode2
)) {
47787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridSizer_SetCols" "', expected argument " "2"" of type '" "int""'");
47789 arg2
= static_cast< int >(val2
);
47791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47792 (arg1
)->SetCols(arg2
);
47793 wxPyEndAllowThreads(__tstate
);
47794 if (PyErr_Occurred()) SWIG_fail
;
47796 resultobj
= SWIG_Py_Void();
47803 SWIGINTERN PyObject
*_wrap_GridSizer_SetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47804 PyObject
*resultobj
= 0;
47805 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
47811 PyObject
* obj0
= 0 ;
47812 PyObject
* obj1
= 0 ;
47813 char * kwnames
[] = {
47814 (char *) "self",(char *) "rows", NULL
47817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
47819 if (!SWIG_IsOK(res1
)) {
47820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_SetRows" "', expected argument " "1"" of type '" "wxGridSizer *""'");
47822 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
47823 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47824 if (!SWIG_IsOK(ecode2
)) {
47825 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridSizer_SetRows" "', expected argument " "2"" of type '" "int""'");
47827 arg2
= static_cast< int >(val2
);
47829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47830 (arg1
)->SetRows(arg2
);
47831 wxPyEndAllowThreads(__tstate
);
47832 if (PyErr_Occurred()) SWIG_fail
;
47834 resultobj
= SWIG_Py_Void();
47841 SWIGINTERN PyObject
*_wrap_GridSizer_SetVGap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47842 PyObject
*resultobj
= 0;
47843 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
47849 PyObject
* obj0
= 0 ;
47850 PyObject
* obj1
= 0 ;
47851 char * kwnames
[] = {
47852 (char *) "self",(char *) "gap", NULL
47855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
47857 if (!SWIG_IsOK(res1
)) {
47858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_SetVGap" "', expected argument " "1"" of type '" "wxGridSizer *""'");
47860 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
47861 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47862 if (!SWIG_IsOK(ecode2
)) {
47863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridSizer_SetVGap" "', expected argument " "2"" of type '" "int""'");
47865 arg2
= static_cast< int >(val2
);
47867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47868 (arg1
)->SetVGap(arg2
);
47869 wxPyEndAllowThreads(__tstate
);
47870 if (PyErr_Occurred()) SWIG_fail
;
47872 resultobj
= SWIG_Py_Void();
47879 SWIGINTERN PyObject
*_wrap_GridSizer_SetHGap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
47880 PyObject
*resultobj
= 0;
47881 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
47887 PyObject
* obj0
= 0 ;
47888 PyObject
* obj1
= 0 ;
47889 char * kwnames
[] = {
47890 (char *) "self",(char *) "gap", NULL
47893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
47894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
47895 if (!SWIG_IsOK(res1
)) {
47896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_SetHGap" "', expected argument " "1"" of type '" "wxGridSizer *""'");
47898 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
47899 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
47900 if (!SWIG_IsOK(ecode2
)) {
47901 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridSizer_SetHGap" "', expected argument " "2"" of type '" "int""'");
47903 arg2
= static_cast< int >(val2
);
47905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47906 (arg1
)->SetHGap(arg2
);
47907 wxPyEndAllowThreads(__tstate
);
47908 if (PyErr_Occurred()) SWIG_fail
;
47910 resultobj
= SWIG_Py_Void();
47917 SWIGINTERN PyObject
*_wrap_GridSizer_GetCols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47918 PyObject
*resultobj
= 0;
47919 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
47923 PyObject
*swig_obj
[1] ;
47925 if (!args
) SWIG_fail
;
47926 swig_obj
[0] = args
;
47927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
47928 if (!SWIG_IsOK(res1
)) {
47929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_GetCols" "', expected argument " "1"" of type '" "wxGridSizer *""'");
47931 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
47933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47934 result
= (int)(arg1
)->GetCols();
47935 wxPyEndAllowThreads(__tstate
);
47936 if (PyErr_Occurred()) SWIG_fail
;
47938 resultobj
= SWIG_From_int(static_cast< int >(result
));
47945 SWIGINTERN PyObject
*_wrap_GridSizer_GetRows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47946 PyObject
*resultobj
= 0;
47947 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
47951 PyObject
*swig_obj
[1] ;
47953 if (!args
) SWIG_fail
;
47954 swig_obj
[0] = args
;
47955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
47956 if (!SWIG_IsOK(res1
)) {
47957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_GetRows" "', expected argument " "1"" of type '" "wxGridSizer *""'");
47959 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
47961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47962 result
= (int)(arg1
)->GetRows();
47963 wxPyEndAllowThreads(__tstate
);
47964 if (PyErr_Occurred()) SWIG_fail
;
47966 resultobj
= SWIG_From_int(static_cast< int >(result
));
47973 SWIGINTERN PyObject
*_wrap_GridSizer_GetVGap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
47974 PyObject
*resultobj
= 0;
47975 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
47979 PyObject
*swig_obj
[1] ;
47981 if (!args
) SWIG_fail
;
47982 swig_obj
[0] = args
;
47983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
47984 if (!SWIG_IsOK(res1
)) {
47985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_GetVGap" "', expected argument " "1"" of type '" "wxGridSizer *""'");
47987 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
47989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
47990 result
= (int)(arg1
)->GetVGap();
47991 wxPyEndAllowThreads(__tstate
);
47992 if (PyErr_Occurred()) SWIG_fail
;
47994 resultobj
= SWIG_From_int(static_cast< int >(result
));
48001 SWIGINTERN PyObject
*_wrap_GridSizer_GetHGap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48002 PyObject
*resultobj
= 0;
48003 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
48007 PyObject
*swig_obj
[1] ;
48009 if (!args
) SWIG_fail
;
48010 swig_obj
[0] = args
;
48011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridSizer
, 0 | 0 );
48012 if (!SWIG_IsOK(res1
)) {
48013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridSizer_GetHGap" "', expected argument " "1"" of type '" "wxGridSizer *""'");
48015 arg1
= reinterpret_cast< wxGridSizer
* >(argp1
);
48017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48018 result
= (int)(arg1
)->GetHGap();
48019 wxPyEndAllowThreads(__tstate
);
48020 if (PyErr_Occurred()) SWIG_fail
;
48022 resultobj
= SWIG_From_int(static_cast< int >(result
));
48029 SWIGINTERN PyObject
*GridSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48031 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
48032 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridSizer
, SWIG_NewClientData(obj
));
48033 return SWIG_Py_Void();
48036 SWIGINTERN PyObject
*GridSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48037 return SWIG_Python_InitShadowInstance(args
);
48040 SWIGINTERN PyObject
*_wrap_new_FlexGridSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48041 PyObject
*resultobj
= 0;
48042 int arg1
= (int) 1 ;
48043 int arg2
= (int) 0 ;
48044 int arg3
= (int) 0 ;
48045 int arg4
= (int) 0 ;
48046 wxFlexGridSizer
*result
= 0 ;
48055 PyObject
* obj0
= 0 ;
48056 PyObject
* obj1
= 0 ;
48057 PyObject
* obj2
= 0 ;
48058 PyObject
* obj3
= 0 ;
48059 char * kwnames
[] = {
48060 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
48063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
48065 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
48066 if (!SWIG_IsOK(ecode1
)) {
48067 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FlexGridSizer" "', expected argument " "1"" of type '" "int""'");
48069 arg1
= static_cast< int >(val1
);
48072 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48073 if (!SWIG_IsOK(ecode2
)) {
48074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FlexGridSizer" "', expected argument " "2"" of type '" "int""'");
48076 arg2
= static_cast< int >(val2
);
48079 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
48080 if (!SWIG_IsOK(ecode3
)) {
48081 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_FlexGridSizer" "', expected argument " "3"" of type '" "int""'");
48083 arg3
= static_cast< int >(val3
);
48086 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
48087 if (!SWIG_IsOK(ecode4
)) {
48088 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FlexGridSizer" "', expected argument " "4"" of type '" "int""'");
48090 arg4
= static_cast< int >(val4
);
48093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48094 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
48095 wxPyEndAllowThreads(__tstate
);
48096 if (PyErr_Occurred()) SWIG_fail
;
48098 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFlexGridSizer
, SWIG_POINTER_NEW
| 0 );
48105 SWIGINTERN PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48106 PyObject
*resultobj
= 0;
48107 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
48109 int arg3
= (int) 0 ;
48116 PyObject
* obj0
= 0 ;
48117 PyObject
* obj1
= 0 ;
48118 PyObject
* obj2
= 0 ;
48119 char * kwnames
[] = {
48120 (char *) "self",(char *) "idx",(char *) "proportion", NULL
48123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
48124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
48125 if (!SWIG_IsOK(res1
)) {
48126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_AddGrowableRow" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
48128 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
48129 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
48130 if (!SWIG_IsOK(ecode2
)) {
48131 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_AddGrowableRow" "', expected argument " "2"" of type '" "size_t""'");
48133 arg2
= static_cast< size_t >(val2
);
48135 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
48136 if (!SWIG_IsOK(ecode3
)) {
48137 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FlexGridSizer_AddGrowableRow" "', expected argument " "3"" of type '" "int""'");
48139 arg3
= static_cast< int >(val3
);
48142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48143 (arg1
)->AddGrowableRow(arg2
,arg3
);
48144 wxPyEndAllowThreads(__tstate
);
48145 if (PyErr_Occurred()) SWIG_fail
;
48147 resultobj
= SWIG_Py_Void();
48154 SWIGINTERN PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48155 PyObject
*resultobj
= 0;
48156 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
48162 PyObject
* obj0
= 0 ;
48163 PyObject
* obj1
= 0 ;
48164 char * kwnames
[] = {
48165 (char *) "self",(char *) "idx", NULL
48168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
48170 if (!SWIG_IsOK(res1
)) {
48171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_RemoveGrowableRow" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
48173 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
48174 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
48175 if (!SWIG_IsOK(ecode2
)) {
48176 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_RemoveGrowableRow" "', expected argument " "2"" of type '" "size_t""'");
48178 arg2
= static_cast< size_t >(val2
);
48180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48181 (arg1
)->RemoveGrowableRow(arg2
);
48182 wxPyEndAllowThreads(__tstate
);
48183 if (PyErr_Occurred()) SWIG_fail
;
48185 resultobj
= SWIG_Py_Void();
48192 SWIGINTERN PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48193 PyObject
*resultobj
= 0;
48194 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
48196 int arg3
= (int) 0 ;
48203 PyObject
* obj0
= 0 ;
48204 PyObject
* obj1
= 0 ;
48205 PyObject
* obj2
= 0 ;
48206 char * kwnames
[] = {
48207 (char *) "self",(char *) "idx",(char *) "proportion", NULL
48210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
48211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
48212 if (!SWIG_IsOK(res1
)) {
48213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_AddGrowableCol" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
48215 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
48216 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
48217 if (!SWIG_IsOK(ecode2
)) {
48218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_AddGrowableCol" "', expected argument " "2"" of type '" "size_t""'");
48220 arg2
= static_cast< size_t >(val2
);
48222 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
48223 if (!SWIG_IsOK(ecode3
)) {
48224 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FlexGridSizer_AddGrowableCol" "', expected argument " "3"" of type '" "int""'");
48226 arg3
= static_cast< int >(val3
);
48229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48230 (arg1
)->AddGrowableCol(arg2
,arg3
);
48231 wxPyEndAllowThreads(__tstate
);
48232 if (PyErr_Occurred()) SWIG_fail
;
48234 resultobj
= SWIG_Py_Void();
48241 SWIGINTERN PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48242 PyObject
*resultobj
= 0;
48243 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
48249 PyObject
* obj0
= 0 ;
48250 PyObject
* obj1
= 0 ;
48251 char * kwnames
[] = {
48252 (char *) "self",(char *) "idx", NULL
48255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
48257 if (!SWIG_IsOK(res1
)) {
48258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_RemoveGrowableCol" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
48260 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
48261 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
48262 if (!SWIG_IsOK(ecode2
)) {
48263 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_RemoveGrowableCol" "', expected argument " "2"" of type '" "size_t""'");
48265 arg2
= static_cast< size_t >(val2
);
48267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48268 (arg1
)->RemoveGrowableCol(arg2
);
48269 wxPyEndAllowThreads(__tstate
);
48270 if (PyErr_Occurred()) SWIG_fail
;
48272 resultobj
= SWIG_Py_Void();
48279 SWIGINTERN PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48280 PyObject
*resultobj
= 0;
48281 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
48287 PyObject
* obj0
= 0 ;
48288 PyObject
* obj1
= 0 ;
48289 char * kwnames
[] = {
48290 (char *) "self",(char *) "direction", NULL
48293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
48295 if (!SWIG_IsOK(res1
)) {
48296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_SetFlexibleDirection" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
48298 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
48299 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48300 if (!SWIG_IsOK(ecode2
)) {
48301 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_SetFlexibleDirection" "', expected argument " "2"" of type '" "int""'");
48303 arg2
= static_cast< int >(val2
);
48305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48306 (arg1
)->SetFlexibleDirection(arg2
);
48307 wxPyEndAllowThreads(__tstate
);
48308 if (PyErr_Occurred()) SWIG_fail
;
48310 resultobj
= SWIG_Py_Void();
48317 SWIGINTERN PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48318 PyObject
*resultobj
= 0;
48319 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
48323 PyObject
*swig_obj
[1] ;
48325 if (!args
) SWIG_fail
;
48326 swig_obj
[0] = args
;
48327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
48328 if (!SWIG_IsOK(res1
)) {
48329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_GetFlexibleDirection" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
48331 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
48333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48334 result
= (int)(arg1
)->GetFlexibleDirection();
48335 wxPyEndAllowThreads(__tstate
);
48336 if (PyErr_Occurred()) SWIG_fail
;
48338 resultobj
= SWIG_From_int(static_cast< int >(result
));
48345 SWIGINTERN PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48346 PyObject
*resultobj
= 0;
48347 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
48348 wxFlexSizerGrowMode arg2
;
48353 PyObject
* obj0
= 0 ;
48354 PyObject
* obj1
= 0 ;
48355 char * kwnames
[] = {
48356 (char *) "self",(char *) "mode", NULL
48359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
48361 if (!SWIG_IsOK(res1
)) {
48362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_SetNonFlexibleGrowMode" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
48364 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
48365 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48366 if (!SWIG_IsOK(ecode2
)) {
48367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FlexGridSizer_SetNonFlexibleGrowMode" "', expected argument " "2"" of type '" "wxFlexSizerGrowMode""'");
48369 arg2
= static_cast< wxFlexSizerGrowMode
>(val2
);
48371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48372 (arg1
)->SetNonFlexibleGrowMode(arg2
);
48373 wxPyEndAllowThreads(__tstate
);
48374 if (PyErr_Occurred()) SWIG_fail
;
48376 resultobj
= SWIG_Py_Void();
48383 SWIGINTERN PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48384 PyObject
*resultobj
= 0;
48385 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
48386 wxFlexSizerGrowMode result
;
48389 PyObject
*swig_obj
[1] ;
48391 if (!args
) SWIG_fail
;
48392 swig_obj
[0] = args
;
48393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
48394 if (!SWIG_IsOK(res1
)) {
48395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_GetNonFlexibleGrowMode" "', expected argument " "1"" of type '" "wxFlexGridSizer *""'");
48397 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
48399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48400 result
= (wxFlexSizerGrowMode
)(arg1
)->GetNonFlexibleGrowMode();
48401 wxPyEndAllowThreads(__tstate
);
48402 if (PyErr_Occurred()) SWIG_fail
;
48404 resultobj
= SWIG_From_int(static_cast< int >(result
));
48411 SWIGINTERN PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48412 PyObject
*resultobj
= 0;
48413 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
48414 wxArrayInt
*result
= 0 ;
48417 PyObject
*swig_obj
[1] ;
48419 if (!args
) SWIG_fail
;
48420 swig_obj
[0] = args
;
48421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
48422 if (!SWIG_IsOK(res1
)) {
48423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_GetRowHeights" "', expected argument " "1"" of type '" "wxFlexGridSizer const *""'");
48425 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
48427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48429 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
48430 result
= (wxArrayInt
*) &_result_ref
;
48432 wxPyEndAllowThreads(__tstate
);
48433 if (PyErr_Occurred()) SWIG_fail
;
48436 resultobj
= PyList_New(0);
48438 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
48439 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
48440 PyList_Append(resultobj
, val
);
48450 SWIGINTERN PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48451 PyObject
*resultobj
= 0;
48452 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
48453 wxArrayInt
*result
= 0 ;
48456 PyObject
*swig_obj
[1] ;
48458 if (!args
) SWIG_fail
;
48459 swig_obj
[0] = args
;
48460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFlexGridSizer
, 0 | 0 );
48461 if (!SWIG_IsOK(res1
)) {
48462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FlexGridSizer_GetColWidths" "', expected argument " "1"" of type '" "wxFlexGridSizer const *""'");
48464 arg1
= reinterpret_cast< wxFlexGridSizer
* >(argp1
);
48466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48468 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
48469 result
= (wxArrayInt
*) &_result_ref
;
48471 wxPyEndAllowThreads(__tstate
);
48472 if (PyErr_Occurred()) SWIG_fail
;
48475 resultobj
= PyList_New(0);
48477 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
48478 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
48479 PyList_Append(resultobj
, val
);
48489 SWIGINTERN PyObject
*FlexGridSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48491 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
48492 SWIG_TypeNewClientData(SWIGTYPE_p_wxFlexGridSizer
, SWIG_NewClientData(obj
));
48493 return SWIG_Py_Void();
48496 SWIGINTERN PyObject
*FlexGridSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48497 return SWIG_Python_InitShadowInstance(args
);
48500 SWIGINTERN PyObject
*_wrap_new_StdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48501 PyObject
*resultobj
= 0;
48502 wxStdDialogButtonSizer
*result
= 0 ;
48504 if (!SWIG_Python_UnpackTuple(args
,"new_StdDialogButtonSizer",0,0,0)) SWIG_fail
;
48506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48507 result
= (wxStdDialogButtonSizer
*)new wxStdDialogButtonSizer();
48508 wxPyEndAllowThreads(__tstate
);
48509 if (PyErr_Occurred()) SWIG_fail
;
48511 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_POINTER_NEW
| 0 );
48518 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_AddButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48519 PyObject
*resultobj
= 0;
48520 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48521 wxButton
*arg2
= (wxButton
*) 0 ;
48526 PyObject
* obj0
= 0 ;
48527 PyObject
* obj1
= 0 ;
48528 char * kwnames
[] = {
48529 (char *) "self",(char *) "button", NULL
48532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_AddButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48534 if (!SWIG_IsOK(res1
)) {
48535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_AddButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer *""'");
48537 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48538 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxButton
, 0 | 0 );
48539 if (!SWIG_IsOK(res2
)) {
48540 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StdDialogButtonSizer_AddButton" "', expected argument " "2"" of type '" "wxButton *""'");
48542 arg2
= reinterpret_cast< wxButton
* >(argp2
);
48544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48545 (arg1
)->AddButton(arg2
);
48546 wxPyEndAllowThreads(__tstate
);
48547 if (PyErr_Occurred()) SWIG_fail
;
48549 resultobj
= SWIG_Py_Void();
48556 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_Realize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48557 PyObject
*resultobj
= 0;
48558 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48561 PyObject
*swig_obj
[1] ;
48563 if (!args
) SWIG_fail
;
48564 swig_obj
[0] = args
;
48565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48566 if (!SWIG_IsOK(res1
)) {
48567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_Realize" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer *""'");
48569 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48573 wxPyEndAllowThreads(__tstate
);
48574 if (PyErr_Occurred()) SWIG_fail
;
48576 resultobj
= SWIG_Py_Void();
48583 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_SetAffirmativeButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48584 PyObject
*resultobj
= 0;
48585 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48586 wxButton
*arg2
= (wxButton
*) 0 ;
48591 PyObject
* obj0
= 0 ;
48592 PyObject
* obj1
= 0 ;
48593 char * kwnames
[] = {
48594 (char *) "self",(char *) "button", NULL
48597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetAffirmativeButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48599 if (!SWIG_IsOK(res1
)) {
48600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_SetAffirmativeButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer *""'");
48602 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48603 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxButton
, 0 | 0 );
48604 if (!SWIG_IsOK(res2
)) {
48605 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StdDialogButtonSizer_SetAffirmativeButton" "', expected argument " "2"" of type '" "wxButton *""'");
48607 arg2
= reinterpret_cast< wxButton
* >(argp2
);
48609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48610 (arg1
)->SetAffirmativeButton(arg2
);
48611 wxPyEndAllowThreads(__tstate
);
48612 if (PyErr_Occurred()) SWIG_fail
;
48614 resultobj
= SWIG_Py_Void();
48621 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_SetNegativeButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48622 PyObject
*resultobj
= 0;
48623 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48624 wxButton
*arg2
= (wxButton
*) 0 ;
48629 PyObject
* obj0
= 0 ;
48630 PyObject
* obj1
= 0 ;
48631 char * kwnames
[] = {
48632 (char *) "self",(char *) "button", NULL
48635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetNegativeButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48637 if (!SWIG_IsOK(res1
)) {
48638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_SetNegativeButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer *""'");
48640 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48641 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxButton
, 0 | 0 );
48642 if (!SWIG_IsOK(res2
)) {
48643 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StdDialogButtonSizer_SetNegativeButton" "', expected argument " "2"" of type '" "wxButton *""'");
48645 arg2
= reinterpret_cast< wxButton
* >(argp2
);
48647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48648 (arg1
)->SetNegativeButton(arg2
);
48649 wxPyEndAllowThreads(__tstate
);
48650 if (PyErr_Occurred()) SWIG_fail
;
48652 resultobj
= SWIG_Py_Void();
48659 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_SetCancelButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48660 PyObject
*resultobj
= 0;
48661 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48662 wxButton
*arg2
= (wxButton
*) 0 ;
48667 PyObject
* obj0
= 0 ;
48668 PyObject
* obj1
= 0 ;
48669 char * kwnames
[] = {
48670 (char *) "self",(char *) "button", NULL
48673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StdDialogButtonSizer_SetCancelButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48675 if (!SWIG_IsOK(res1
)) {
48676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_SetCancelButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer *""'");
48678 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48679 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxButton
, 0 | 0 );
48680 if (!SWIG_IsOK(res2
)) {
48681 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StdDialogButtonSizer_SetCancelButton" "', expected argument " "2"" of type '" "wxButton *""'");
48683 arg2
= reinterpret_cast< wxButton
* >(argp2
);
48685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48686 (arg1
)->SetCancelButton(arg2
);
48687 wxPyEndAllowThreads(__tstate
);
48688 if (PyErr_Occurred()) SWIG_fail
;
48690 resultobj
= SWIG_Py_Void();
48697 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_GetAffirmativeButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48698 PyObject
*resultobj
= 0;
48699 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48700 wxButton
*result
= 0 ;
48703 PyObject
*swig_obj
[1] ;
48705 if (!args
) SWIG_fail
;
48706 swig_obj
[0] = args
;
48707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48708 if (!SWIG_IsOK(res1
)) {
48709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_GetAffirmativeButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer const *""'");
48711 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48714 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetAffirmativeButton();
48715 wxPyEndAllowThreads(__tstate
);
48716 if (PyErr_Occurred()) SWIG_fail
;
48719 resultobj
= wxPyMake_wxObject(result
, (bool)0);
48727 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_GetApplyButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48728 PyObject
*resultobj
= 0;
48729 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48730 wxButton
*result
= 0 ;
48733 PyObject
*swig_obj
[1] ;
48735 if (!args
) SWIG_fail
;
48736 swig_obj
[0] = args
;
48737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48738 if (!SWIG_IsOK(res1
)) {
48739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_GetApplyButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer const *""'");
48741 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48744 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetApplyButton();
48745 wxPyEndAllowThreads(__tstate
);
48746 if (PyErr_Occurred()) SWIG_fail
;
48749 resultobj
= wxPyMake_wxObject(result
, (bool)0);
48757 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_GetNegativeButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48758 PyObject
*resultobj
= 0;
48759 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48760 wxButton
*result
= 0 ;
48763 PyObject
*swig_obj
[1] ;
48765 if (!args
) SWIG_fail
;
48766 swig_obj
[0] = args
;
48767 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48768 if (!SWIG_IsOK(res1
)) {
48769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_GetNegativeButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer const *""'");
48771 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48774 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetNegativeButton();
48775 wxPyEndAllowThreads(__tstate
);
48776 if (PyErr_Occurred()) SWIG_fail
;
48779 resultobj
= wxPyMake_wxObject(result
, (bool)0);
48787 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_GetCancelButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48788 PyObject
*resultobj
= 0;
48789 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48790 wxButton
*result
= 0 ;
48793 PyObject
*swig_obj
[1] ;
48795 if (!args
) SWIG_fail
;
48796 swig_obj
[0] = args
;
48797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48798 if (!SWIG_IsOK(res1
)) {
48799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_GetCancelButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer const *""'");
48801 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48804 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetCancelButton();
48805 wxPyEndAllowThreads(__tstate
);
48806 if (PyErr_Occurred()) SWIG_fail
;
48809 resultobj
= wxPyMake_wxObject(result
, (bool)0);
48817 SWIGINTERN PyObject
*_wrap_StdDialogButtonSizer_GetHelpButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48818 PyObject
*resultobj
= 0;
48819 wxStdDialogButtonSizer
*arg1
= (wxStdDialogButtonSizer
*) 0 ;
48820 wxButton
*result
= 0 ;
48823 PyObject
*swig_obj
[1] ;
48825 if (!args
) SWIG_fail
;
48826 swig_obj
[0] = args
;
48827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
48828 if (!SWIG_IsOK(res1
)) {
48829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StdDialogButtonSizer_GetHelpButton" "', expected argument " "1"" of type '" "wxStdDialogButtonSizer const *""'");
48831 arg1
= reinterpret_cast< wxStdDialogButtonSizer
* >(argp1
);
48833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48834 result
= (wxButton
*)((wxStdDialogButtonSizer
const *)arg1
)->GetHelpButton();
48835 wxPyEndAllowThreads(__tstate
);
48836 if (PyErr_Occurred()) SWIG_fail
;
48839 resultobj
= wxPyMake_wxObject(result
, (bool)0);
48847 SWIGINTERN PyObject
*StdDialogButtonSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48849 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
48850 SWIG_TypeNewClientData(SWIGTYPE_p_wxStdDialogButtonSizer
, SWIG_NewClientData(obj
));
48851 return SWIG_Py_Void();
48854 SWIGINTERN PyObject
*StdDialogButtonSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48855 return SWIG_Python_InitShadowInstance(args
);
48858 SWIGINTERN PyObject
*_wrap_new_GBPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48859 PyObject
*resultobj
= 0;
48860 int arg1
= (int) 0 ;
48861 int arg2
= (int) 0 ;
48862 wxGBPosition
*result
= 0 ;
48867 PyObject
* obj0
= 0 ;
48868 PyObject
* obj1
= 0 ;
48869 char * kwnames
[] = {
48870 (char *) "row",(char *) "col", NULL
48873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
48875 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
48876 if (!SWIG_IsOK(ecode1
)) {
48877 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GBPosition" "', expected argument " "1"" of type '" "int""'");
48879 arg1
= static_cast< int >(val1
);
48882 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
48883 if (!SWIG_IsOK(ecode2
)) {
48884 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GBPosition" "', expected argument " "2"" of type '" "int""'");
48886 arg2
= static_cast< int >(val2
);
48889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48890 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
48891 wxPyEndAllowThreads(__tstate
);
48892 if (PyErr_Occurred()) SWIG_fail
;
48894 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_NEW
| 0 );
48901 SWIGINTERN PyObject
*_wrap_delete_GBPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48902 PyObject
*resultobj
= 0;
48903 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
48906 PyObject
*swig_obj
[1] ;
48908 if (!args
) SWIG_fail
;
48909 swig_obj
[0] = args
;
48910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_DISOWN
| 0 );
48911 if (!SWIG_IsOK(res1
)) {
48912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GBPosition" "', expected argument " "1"" of type '" "wxGBPosition *""'");
48914 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
48916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48919 wxPyEndAllowThreads(__tstate
);
48920 if (PyErr_Occurred()) SWIG_fail
;
48922 resultobj
= SWIG_Py_Void();
48929 SWIGINTERN PyObject
*_wrap_GBPosition_GetRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48930 PyObject
*resultobj
= 0;
48931 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
48935 PyObject
*swig_obj
[1] ;
48937 if (!args
) SWIG_fail
;
48938 swig_obj
[0] = args
;
48939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
48940 if (!SWIG_IsOK(res1
)) {
48941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_GetRow" "', expected argument " "1"" of type '" "wxGBPosition const *""'");
48943 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
48945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48946 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
48947 wxPyEndAllowThreads(__tstate
);
48948 if (PyErr_Occurred()) SWIG_fail
;
48950 resultobj
= SWIG_From_int(static_cast< int >(result
));
48957 SWIGINTERN PyObject
*_wrap_GBPosition_GetCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
48958 PyObject
*resultobj
= 0;
48959 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
48963 PyObject
*swig_obj
[1] ;
48965 if (!args
) SWIG_fail
;
48966 swig_obj
[0] = args
;
48967 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
48968 if (!SWIG_IsOK(res1
)) {
48969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_GetCol" "', expected argument " "1"" of type '" "wxGBPosition const *""'");
48971 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
48973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
48974 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
48975 wxPyEndAllowThreads(__tstate
);
48976 if (PyErr_Occurred()) SWIG_fail
;
48978 resultobj
= SWIG_From_int(static_cast< int >(result
));
48985 SWIGINTERN PyObject
*_wrap_GBPosition_SetRow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
48986 PyObject
*resultobj
= 0;
48987 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
48993 PyObject
* obj0
= 0 ;
48994 PyObject
* obj1
= 0 ;
48995 char * kwnames
[] = {
48996 (char *) "self",(char *) "row", NULL
48999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
49001 if (!SWIG_IsOK(res1
)) {
49002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_SetRow" "', expected argument " "1"" of type '" "wxGBPosition *""'");
49004 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
49005 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49006 if (!SWIG_IsOK(ecode2
)) {
49007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBPosition_SetRow" "', expected argument " "2"" of type '" "int""'");
49009 arg2
= static_cast< int >(val2
);
49011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49012 (arg1
)->SetRow(arg2
);
49013 wxPyEndAllowThreads(__tstate
);
49014 if (PyErr_Occurred()) SWIG_fail
;
49016 resultobj
= SWIG_Py_Void();
49023 SWIGINTERN PyObject
*_wrap_GBPosition_SetCol(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49024 PyObject
*resultobj
= 0;
49025 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
49031 PyObject
* obj0
= 0 ;
49032 PyObject
* obj1
= 0 ;
49033 char * kwnames
[] = {
49034 (char *) "self",(char *) "col", NULL
49037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
49039 if (!SWIG_IsOK(res1
)) {
49040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_SetCol" "', expected argument " "1"" of type '" "wxGBPosition *""'");
49042 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
49043 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49044 if (!SWIG_IsOK(ecode2
)) {
49045 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBPosition_SetCol" "', expected argument " "2"" of type '" "int""'");
49047 arg2
= static_cast< int >(val2
);
49049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49050 (arg1
)->SetCol(arg2
);
49051 wxPyEndAllowThreads(__tstate
);
49052 if (PyErr_Occurred()) SWIG_fail
;
49054 resultobj
= SWIG_Py_Void();
49061 SWIGINTERN PyObject
*_wrap_GBPosition___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49062 PyObject
*resultobj
= 0;
49063 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
49064 PyObject
*arg2
= (PyObject
*) 0 ;
49068 PyObject
* obj0
= 0 ;
49069 PyObject
* obj1
= 0 ;
49070 char * kwnames
[] = {
49071 (char *) "self",(char *) "other", NULL
49074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
49076 if (!SWIG_IsOK(res1
)) {
49077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition___eq__" "', expected argument " "1"" of type '" "wxGBPosition *""'");
49079 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
49082 result
= (bool)wxGBPosition___eq__(arg1
,arg2
);
49083 if (PyErr_Occurred()) SWIG_fail
;
49086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
49094 SWIGINTERN PyObject
*_wrap_GBPosition___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49095 PyObject
*resultobj
= 0;
49096 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
49097 PyObject
*arg2
= (PyObject
*) 0 ;
49101 PyObject
* obj0
= 0 ;
49102 PyObject
* obj1
= 0 ;
49103 char * kwnames
[] = {
49104 (char *) "self",(char *) "other", NULL
49107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
49109 if (!SWIG_IsOK(res1
)) {
49110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition___ne__" "', expected argument " "1"" of type '" "wxGBPosition *""'");
49112 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
49115 result
= (bool)wxGBPosition___ne__(arg1
,arg2
);
49116 if (PyErr_Occurred()) SWIG_fail
;
49119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
49127 SWIGINTERN PyObject
*_wrap_GBPosition_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49128 PyObject
*resultobj
= 0;
49129 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
49130 int arg2
= (int) 0 ;
49131 int arg3
= (int) 0 ;
49138 PyObject
* obj0
= 0 ;
49139 PyObject
* obj1
= 0 ;
49140 PyObject
* obj2
= 0 ;
49141 char * kwnames
[] = {
49142 (char *) "self",(char *) "row",(char *) "col", NULL
49145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
49146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
49147 if (!SWIG_IsOK(res1
)) {
49148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_Set" "', expected argument " "1"" of type '" "wxGBPosition *""'");
49150 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
49152 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49153 if (!SWIG_IsOK(ecode2
)) {
49154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBPosition_Set" "', expected argument " "2"" of type '" "int""'");
49156 arg2
= static_cast< int >(val2
);
49159 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
49160 if (!SWIG_IsOK(ecode3
)) {
49161 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GBPosition_Set" "', expected argument " "3"" of type '" "int""'");
49163 arg3
= static_cast< int >(val3
);
49166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49167 wxGBPosition_Set(arg1
,arg2
,arg3
);
49168 wxPyEndAllowThreads(__tstate
);
49169 if (PyErr_Occurred()) SWIG_fail
;
49171 resultobj
= SWIG_Py_Void();
49178 SWIGINTERN PyObject
*_wrap_GBPosition_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49179 PyObject
*resultobj
= 0;
49180 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
49181 PyObject
*result
= 0 ;
49184 PyObject
*swig_obj
[1] ;
49186 if (!args
) SWIG_fail
;
49187 swig_obj
[0] = args
;
49188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBPosition
, 0 | 0 );
49189 if (!SWIG_IsOK(res1
)) {
49190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBPosition_Get" "', expected argument " "1"" of type '" "wxGBPosition *""'");
49192 arg1
= reinterpret_cast< wxGBPosition
* >(argp1
);
49194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49195 result
= (PyObject
*)wxGBPosition_Get(arg1
);
49196 wxPyEndAllowThreads(__tstate
);
49197 if (PyErr_Occurred()) SWIG_fail
;
49199 resultobj
= result
;
49206 SWIGINTERN PyObject
*GBPosition_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49208 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
49209 SWIG_TypeNewClientData(SWIGTYPE_p_wxGBPosition
, SWIG_NewClientData(obj
));
49210 return SWIG_Py_Void();
49213 SWIGINTERN PyObject
*GBPosition_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49214 return SWIG_Python_InitShadowInstance(args
);
49217 SWIGINTERN PyObject
*_wrap_new_GBSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49218 PyObject
*resultobj
= 0;
49219 int arg1
= (int) 1 ;
49220 int arg2
= (int) 1 ;
49221 wxGBSpan
*result
= 0 ;
49226 PyObject
* obj0
= 0 ;
49227 PyObject
* obj1
= 0 ;
49228 char * kwnames
[] = {
49229 (char *) "rowspan",(char *) "colspan", NULL
49232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49234 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
49235 if (!SWIG_IsOK(ecode1
)) {
49236 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GBSpan" "', expected argument " "1"" of type '" "int""'");
49238 arg1
= static_cast< int >(val1
);
49241 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49242 if (!SWIG_IsOK(ecode2
)) {
49243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GBSpan" "', expected argument " "2"" of type '" "int""'");
49245 arg2
= static_cast< int >(val2
);
49248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49249 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
49250 wxPyEndAllowThreads(__tstate
);
49251 if (PyErr_Occurred()) SWIG_fail
;
49253 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_NEW
| 0 );
49260 SWIGINTERN PyObject
*_wrap_delete_GBSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49261 PyObject
*resultobj
= 0;
49262 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
49265 PyObject
*swig_obj
[1] ;
49267 if (!args
) SWIG_fail
;
49268 swig_obj
[0] = args
;
49269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_DISOWN
| 0 );
49270 if (!SWIG_IsOK(res1
)) {
49271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GBSpan" "', expected argument " "1"" of type '" "wxGBSpan *""'");
49273 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
49275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49278 wxPyEndAllowThreads(__tstate
);
49279 if (PyErr_Occurred()) SWIG_fail
;
49281 resultobj
= SWIG_Py_Void();
49288 SWIGINTERN PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49289 PyObject
*resultobj
= 0;
49290 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
49294 PyObject
*swig_obj
[1] ;
49296 if (!args
) SWIG_fail
;
49297 swig_obj
[0] = args
;
49298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
49299 if (!SWIG_IsOK(res1
)) {
49300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_GetRowspan" "', expected argument " "1"" of type '" "wxGBSpan const *""'");
49302 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
49304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49305 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
49306 wxPyEndAllowThreads(__tstate
);
49307 if (PyErr_Occurred()) SWIG_fail
;
49309 resultobj
= SWIG_From_int(static_cast< int >(result
));
49316 SWIGINTERN PyObject
*_wrap_GBSpan_GetColspan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49317 PyObject
*resultobj
= 0;
49318 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
49322 PyObject
*swig_obj
[1] ;
49324 if (!args
) SWIG_fail
;
49325 swig_obj
[0] = args
;
49326 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
49327 if (!SWIG_IsOK(res1
)) {
49328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_GetColspan" "', expected argument " "1"" of type '" "wxGBSpan const *""'");
49330 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
49332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49333 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
49334 wxPyEndAllowThreads(__tstate
);
49335 if (PyErr_Occurred()) SWIG_fail
;
49337 resultobj
= SWIG_From_int(static_cast< int >(result
));
49344 SWIGINTERN PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49345 PyObject
*resultobj
= 0;
49346 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
49352 PyObject
* obj0
= 0 ;
49353 PyObject
* obj1
= 0 ;
49354 char * kwnames
[] = {
49355 (char *) "self",(char *) "rowspan", NULL
49358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
49360 if (!SWIG_IsOK(res1
)) {
49361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_SetRowspan" "', expected argument " "1"" of type '" "wxGBSpan *""'");
49363 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
49364 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49365 if (!SWIG_IsOK(ecode2
)) {
49366 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBSpan_SetRowspan" "', expected argument " "2"" of type '" "int""'");
49368 arg2
= static_cast< int >(val2
);
49370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49371 (arg1
)->SetRowspan(arg2
);
49372 wxPyEndAllowThreads(__tstate
);
49373 if (PyErr_Occurred()) SWIG_fail
;
49375 resultobj
= SWIG_Py_Void();
49382 SWIGINTERN PyObject
*_wrap_GBSpan_SetColspan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49383 PyObject
*resultobj
= 0;
49384 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
49390 PyObject
* obj0
= 0 ;
49391 PyObject
* obj1
= 0 ;
49392 char * kwnames
[] = {
49393 (char *) "self",(char *) "colspan", NULL
49396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
49398 if (!SWIG_IsOK(res1
)) {
49399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_SetColspan" "', expected argument " "1"" of type '" "wxGBSpan *""'");
49401 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
49402 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49403 if (!SWIG_IsOK(ecode2
)) {
49404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBSpan_SetColspan" "', expected argument " "2"" of type '" "int""'");
49406 arg2
= static_cast< int >(val2
);
49408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49409 (arg1
)->SetColspan(arg2
);
49410 wxPyEndAllowThreads(__tstate
);
49411 if (PyErr_Occurred()) SWIG_fail
;
49413 resultobj
= SWIG_Py_Void();
49420 SWIGINTERN PyObject
*_wrap_GBSpan___eq__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49421 PyObject
*resultobj
= 0;
49422 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
49423 PyObject
*arg2
= (PyObject
*) 0 ;
49427 PyObject
* obj0
= 0 ;
49428 PyObject
* obj1
= 0 ;
49429 char * kwnames
[] = {
49430 (char *) "self",(char *) "other", NULL
49433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
49435 if (!SWIG_IsOK(res1
)) {
49436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan___eq__" "', expected argument " "1"" of type '" "wxGBSpan *""'");
49438 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
49441 result
= (bool)wxGBSpan___eq__(arg1
,arg2
);
49442 if (PyErr_Occurred()) SWIG_fail
;
49445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
49453 SWIGINTERN PyObject
*_wrap_GBSpan___ne__(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49454 PyObject
*resultobj
= 0;
49455 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
49456 PyObject
*arg2
= (PyObject
*) 0 ;
49460 PyObject
* obj0
= 0 ;
49461 PyObject
* obj1
= 0 ;
49462 char * kwnames
[] = {
49463 (char *) "self",(char *) "other", NULL
49466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
49468 if (!SWIG_IsOK(res1
)) {
49469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan___ne__" "', expected argument " "1"" of type '" "wxGBSpan *""'");
49471 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
49474 result
= (bool)wxGBSpan___ne__(arg1
,arg2
);
49475 if (PyErr_Occurred()) SWIG_fail
;
49478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
49486 SWIGINTERN PyObject
*_wrap_GBSpan_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49487 PyObject
*resultobj
= 0;
49488 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
49489 int arg2
= (int) 1 ;
49490 int arg3
= (int) 1 ;
49497 PyObject
* obj0
= 0 ;
49498 PyObject
* obj1
= 0 ;
49499 PyObject
* obj2
= 0 ;
49500 char * kwnames
[] = {
49501 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
49504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
49505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
49506 if (!SWIG_IsOK(res1
)) {
49507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_Set" "', expected argument " "1"" of type '" "wxGBSpan *""'");
49509 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
49511 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49512 if (!SWIG_IsOK(ecode2
)) {
49513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GBSpan_Set" "', expected argument " "2"" of type '" "int""'");
49515 arg2
= static_cast< int >(val2
);
49518 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
49519 if (!SWIG_IsOK(ecode3
)) {
49520 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GBSpan_Set" "', expected argument " "3"" of type '" "int""'");
49522 arg3
= static_cast< int >(val3
);
49525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49526 wxGBSpan_Set(arg1
,arg2
,arg3
);
49527 wxPyEndAllowThreads(__tstate
);
49528 if (PyErr_Occurred()) SWIG_fail
;
49530 resultobj
= SWIG_Py_Void();
49537 SWIGINTERN PyObject
*_wrap_GBSpan_Get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49538 PyObject
*resultobj
= 0;
49539 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
49540 PyObject
*result
= 0 ;
49543 PyObject
*swig_obj
[1] ;
49545 if (!args
) SWIG_fail
;
49546 swig_obj
[0] = args
;
49547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSpan
, 0 | 0 );
49548 if (!SWIG_IsOK(res1
)) {
49549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSpan_Get" "', expected argument " "1"" of type '" "wxGBSpan *""'");
49551 arg1
= reinterpret_cast< wxGBSpan
* >(argp1
);
49553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49554 result
= (PyObject
*)wxGBSpan_Get(arg1
);
49555 wxPyEndAllowThreads(__tstate
);
49556 if (PyErr_Occurred()) SWIG_fail
;
49558 resultobj
= result
;
49565 SWIGINTERN PyObject
*GBSpan_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49567 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
49568 SWIG_TypeNewClientData(SWIGTYPE_p_wxGBSpan
, SWIG_NewClientData(obj
));
49569 return SWIG_Py_Void();
49572 SWIGINTERN PyObject
*GBSpan_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49573 return SWIG_Python_InitShadowInstance(args
);
49576 SWIGINTERN
int DefaultSpan_set(PyObject
*) {
49577 SWIG_Error(SWIG_AttributeError
,"Variable DefaultSpan is read-only.");
49582 SWIGINTERN PyObject
*DefaultSpan_get(void) {
49583 PyObject
*pyobj
= 0;
49585 pyobj
= SWIG_NewPointerObj(SWIG_as_voidptr(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0 );
49590 SWIGINTERN PyObject
*_wrap_new_GBSizerItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49591 PyObject
*resultobj
= 0;
49592 wxGBSizerItem
*result
= 0 ;
49594 if (!SWIG_Python_UnpackTuple(args
,"new_GBSizerItem",0,0,0)) SWIG_fail
;
49596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49597 result
= (wxGBSizerItem
*)new wxGBSizerItem();
49598 wxPyEndAllowThreads(__tstate
);
49599 if (PyErr_Occurred()) SWIG_fail
;
49601 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_NEW
| 0 );
49608 SWIGINTERN PyObject
*_wrap_delete_GBSizerItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49609 PyObject
*resultobj
= 0;
49610 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
49613 PyObject
*swig_obj
[1] ;
49615 if (!args
) SWIG_fail
;
49616 swig_obj
[0] = args
;
49617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_DISOWN
| 0 );
49618 if (!SWIG_IsOK(res1
)) {
49619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_GBSizerItem" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
49621 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49626 wxPyEndAllowThreads(__tstate
);
49627 if (PyErr_Occurred()) SWIG_fail
;
49629 resultobj
= SWIG_Py_Void();
49636 SWIGINTERN PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49637 PyObject
*resultobj
= 0;
49638 wxWindow
*arg1
= (wxWindow
*) 0 ;
49639 wxGBPosition
*arg2
= 0 ;
49640 wxGBSpan
*arg3
= 0 ;
49643 PyObject
*arg6
= (PyObject
*) NULL
;
49644 wxGBSizerItem
*result
= 0 ;
49647 wxGBPosition temp2
;
49653 PyObject
* obj0
= 0 ;
49654 PyObject
* obj1
= 0 ;
49655 PyObject
* obj2
= 0 ;
49656 PyObject
* obj3
= 0 ;
49657 PyObject
* obj4
= 0 ;
49658 PyObject
* obj5
= 0 ;
49659 char * kwnames
[] = {
49660 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
49663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
49664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
49665 if (!SWIG_IsOK(res1
)) {
49666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GBSizerItemWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
49668 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
49671 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
49675 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
49677 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
49678 if (!SWIG_IsOK(ecode4
)) {
49679 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GBSizerItemWindow" "', expected argument " "4"" of type '" "int""'");
49681 arg4
= static_cast< int >(val4
);
49682 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
49683 if (!SWIG_IsOK(ecode5
)) {
49684 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GBSizerItemWindow" "', expected argument " "5"" of type '" "int""'");
49686 arg5
= static_cast< int >(val5
);
49691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49692 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
49693 wxPyEndAllowThreads(__tstate
);
49694 if (PyErr_Occurred()) SWIG_fail
;
49696 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_OWN
| 0 );
49703 SWIGINTERN PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49704 PyObject
*resultobj
= 0;
49705 wxSizer
*arg1
= (wxSizer
*) 0 ;
49706 wxGBPosition
*arg2
= 0 ;
49707 wxGBSpan
*arg3
= 0 ;
49710 PyObject
*arg6
= (PyObject
*) NULL
;
49711 wxGBSizerItem
*result
= 0 ;
49713 wxGBPosition temp2
;
49719 PyObject
* obj0
= 0 ;
49720 PyObject
* obj1
= 0 ;
49721 PyObject
* obj2
= 0 ;
49722 PyObject
* obj3
= 0 ;
49723 PyObject
* obj4
= 0 ;
49724 PyObject
* obj5
= 0 ;
49725 char * kwnames
[] = {
49726 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
49729 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
49730 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxSizer
, SWIG_POINTER_DISOWN
| 0 );
49731 if (!SWIG_IsOK(res1
)) {
49732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_GBSizerItemSizer" "', expected argument " "1"" of type '" "wxSizer *""'");
49736 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
49740 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
49742 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
49743 if (!SWIG_IsOK(ecode4
)) {
49744 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_GBSizerItemSizer" "', expected argument " "4"" of type '" "int""'");
49746 arg4
= static_cast< int >(val4
);
49747 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
49748 if (!SWIG_IsOK(ecode5
)) {
49749 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GBSizerItemSizer" "', expected argument " "5"" of type '" "int""'");
49751 arg5
= static_cast< int >(val5
);
49756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49757 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
49758 wxPyEndAllowThreads(__tstate
);
49759 if (PyErr_Occurred()) SWIG_fail
;
49761 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_OWN
| 0 );
49768 SWIGINTERN PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49769 PyObject
*resultobj
= 0;
49772 wxGBPosition
*arg3
= 0 ;
49773 wxGBSpan
*arg4
= 0 ;
49776 PyObject
*arg7
= (PyObject
*) NULL
;
49777 wxGBSizerItem
*result
= 0 ;
49782 wxGBPosition temp3
;
49788 PyObject
* obj0
= 0 ;
49789 PyObject
* obj1
= 0 ;
49790 PyObject
* obj2
= 0 ;
49791 PyObject
* obj3
= 0 ;
49792 PyObject
* obj4
= 0 ;
49793 PyObject
* obj5
= 0 ;
49794 PyObject
* obj6
= 0 ;
49795 char * kwnames
[] = {
49796 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
49799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
49800 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
49801 if (!SWIG_IsOK(ecode1
)) {
49802 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GBSizerItemSpacer" "', expected argument " "1"" of type '" "int""'");
49804 arg1
= static_cast< int >(val1
);
49805 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
49806 if (!SWIG_IsOK(ecode2
)) {
49807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GBSizerItemSpacer" "', expected argument " "2"" of type '" "int""'");
49809 arg2
= static_cast< int >(val2
);
49812 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
49816 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
49818 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
49819 if (!SWIG_IsOK(ecode5
)) {
49820 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_GBSizerItemSpacer" "', expected argument " "5"" of type '" "int""'");
49822 arg5
= static_cast< int >(val5
);
49823 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
49824 if (!SWIG_IsOK(ecode6
)) {
49825 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_GBSizerItemSpacer" "', expected argument " "6"" of type '" "int""'");
49827 arg6
= static_cast< int >(val6
);
49832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49833 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
49834 wxPyEndAllowThreads(__tstate
);
49835 if (PyErr_Occurred()) SWIG_fail
;
49837 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_OWN
| 0 );
49844 SWIGINTERN PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49845 PyObject
*resultobj
= 0;
49846 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
49847 wxGBPosition result
;
49850 PyObject
*swig_obj
[1] ;
49852 if (!args
) SWIG_fail
;
49853 swig_obj
[0] = args
;
49854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
49855 if (!SWIG_IsOK(res1
)) {
49856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_GetPos" "', expected argument " "1"" of type '" "wxGBSizerItem const *""'");
49858 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49861 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
49862 wxPyEndAllowThreads(__tstate
);
49863 if (PyErr_Occurred()) SWIG_fail
;
49865 resultobj
= SWIG_NewPointerObj((new wxGBPosition(static_cast< const wxGBPosition
& >(result
))), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_OWN
| 0 );
49872 SWIGINTERN PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
49873 PyObject
*resultobj
= 0;
49874 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
49878 PyObject
*swig_obj
[1] ;
49880 if (!args
) SWIG_fail
;
49881 swig_obj
[0] = args
;
49882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
49883 if (!SWIG_IsOK(res1
)) {
49884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_GetSpan" "', expected argument " "1"" of type '" "wxGBSizerItem const *""'");
49886 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49889 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
49890 wxPyEndAllowThreads(__tstate
);
49891 if (PyErr_Occurred()) SWIG_fail
;
49893 resultobj
= SWIG_NewPointerObj((new wxGBSpan(static_cast< const wxGBSpan
& >(result
))), SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_OWN
| 0 );
49900 SWIGINTERN PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49901 PyObject
*resultobj
= 0;
49902 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
49903 wxGBPosition
*arg2
= 0 ;
49907 wxGBPosition temp2
;
49908 PyObject
* obj0
= 0 ;
49909 PyObject
* obj1
= 0 ;
49910 char * kwnames
[] = {
49911 (char *) "self",(char *) "pos", NULL
49914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
49916 if (!SWIG_IsOK(res1
)) {
49917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_SetPos" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
49919 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49922 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
49925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49926 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
49927 wxPyEndAllowThreads(__tstate
);
49928 if (PyErr_Occurred()) SWIG_fail
;
49931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
49939 SWIGINTERN PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49940 PyObject
*resultobj
= 0;
49941 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
49942 wxGBSpan
*arg2
= 0 ;
49947 PyObject
* obj0
= 0 ;
49948 PyObject
* obj1
= 0 ;
49949 char * kwnames
[] = {
49950 (char *) "self",(char *) "span", NULL
49953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
49955 if (!SWIG_IsOK(res1
)) {
49956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_SetSpan" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
49958 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49961 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
49964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
49965 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
49966 wxPyEndAllowThreads(__tstate
);
49967 if (PyErr_Occurred()) SWIG_fail
;
49970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
49978 SWIGINTERN PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
49979 PyObject
*resultobj
= 0;
49980 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
49981 wxGBSizerItem
*arg2
= 0 ;
49987 PyObject
* obj0
= 0 ;
49988 PyObject
* obj1
= 0 ;
49989 char * kwnames
[] = {
49990 (char *) "self",(char *) "other", NULL
49993 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
49994 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
49995 if (!SWIG_IsOK(res1
)) {
49996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_Intersects" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
49998 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
49999 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxGBSizerItem
, 0 | 0);
50000 if (!SWIG_IsOK(res2
)) {
50001 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GBSizerItem_Intersects" "', expected argument " "2"" of type '" "wxGBSizerItem const &""'");
50004 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GBSizerItem_Intersects" "', expected argument " "2"" of type '" "wxGBSizerItem const &""'");
50006 arg2
= reinterpret_cast< wxGBSizerItem
* >(argp2
);
50008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50009 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
50010 wxPyEndAllowThreads(__tstate
);
50011 if (PyErr_Occurred()) SWIG_fail
;
50014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50022 SWIGINTERN PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50023 PyObject
*resultobj
= 0;
50024 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
50025 wxGBPosition
*arg2
= 0 ;
50026 wxGBSpan
*arg3
= 0 ;
50030 wxGBPosition temp2
;
50032 PyObject
* obj0
= 0 ;
50033 PyObject
* obj1
= 0 ;
50034 PyObject
* obj2
= 0 ;
50035 char * kwnames
[] = {
50036 (char *) "self",(char *) "pos",(char *) "span", NULL
50039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
50040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
50041 if (!SWIG_IsOK(res1
)) {
50042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_IntersectsPos" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
50044 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
50047 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
50051 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
50054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50055 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
50056 wxPyEndAllowThreads(__tstate
);
50057 if (PyErr_Occurred()) SWIG_fail
;
50060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50068 SWIGINTERN PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50069 PyObject
*resultobj
= 0;
50070 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
50071 wxGBPosition result
;
50074 PyObject
*swig_obj
[1] ;
50076 if (!args
) SWIG_fail
;
50077 swig_obj
[0] = args
;
50078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
50079 if (!SWIG_IsOK(res1
)) {
50080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_GetEndPos" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
50082 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
50084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50085 result
= wxGBSizerItem_GetEndPos(arg1
);
50086 wxPyEndAllowThreads(__tstate
);
50087 if (PyErr_Occurred()) SWIG_fail
;
50089 resultobj
= SWIG_NewPointerObj((new wxGBPosition(static_cast< const wxGBPosition
& >(result
))), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_OWN
| 0 );
50096 SWIGINTERN PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50097 PyObject
*resultobj
= 0;
50098 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
50099 wxGridBagSizer
*result
= 0 ;
50102 PyObject
*swig_obj
[1] ;
50104 if (!args
) SWIG_fail
;
50105 swig_obj
[0] = args
;
50106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
50107 if (!SWIG_IsOK(res1
)) {
50108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_GetGBSizer" "', expected argument " "1"" of type '" "wxGBSizerItem const *""'");
50110 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
50112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50113 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
50114 wxPyEndAllowThreads(__tstate
);
50115 if (PyErr_Occurred()) SWIG_fail
;
50117 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50124 SWIGINTERN PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50125 PyObject
*resultobj
= 0;
50126 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
50127 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
50132 PyObject
* obj0
= 0 ;
50133 PyObject
* obj1
= 0 ;
50134 char * kwnames
[] = {
50135 (char *) "self",(char *) "sizer", NULL
50138 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
50140 if (!SWIG_IsOK(res1
)) {
50141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GBSizerItem_SetGBSizer" "', expected argument " "1"" of type '" "wxGBSizerItem *""'");
50143 arg1
= reinterpret_cast< wxGBSizerItem
* >(argp1
);
50144 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50145 if (!SWIG_IsOK(res2
)) {
50146 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GBSizerItem_SetGBSizer" "', expected argument " "2"" of type '" "wxGridBagSizer *""'");
50148 arg2
= reinterpret_cast< wxGridBagSizer
* >(argp2
);
50150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50151 (arg1
)->SetGBSizer(arg2
);
50152 wxPyEndAllowThreads(__tstate
);
50153 if (PyErr_Occurred()) SWIG_fail
;
50155 resultobj
= SWIG_Py_Void();
50162 SWIGINTERN PyObject
*GBSizerItem_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50164 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
50165 SWIG_TypeNewClientData(SWIGTYPE_p_wxGBSizerItem
, SWIG_NewClientData(obj
));
50166 return SWIG_Py_Void();
50169 SWIGINTERN PyObject
*GBSizerItem_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50170 return SWIG_Python_InitShadowInstance(args
);
50173 SWIGINTERN PyObject
*_wrap_new_GridBagSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50174 PyObject
*resultobj
= 0;
50175 int arg1
= (int) 0 ;
50176 int arg2
= (int) 0 ;
50177 wxGridBagSizer
*result
= 0 ;
50182 PyObject
* obj0
= 0 ;
50183 PyObject
* obj1
= 0 ;
50184 char * kwnames
[] = {
50185 (char *) "vgap",(char *) "hgap", NULL
50188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50190 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
50191 if (!SWIG_IsOK(ecode1
)) {
50192 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_GridBagSizer" "', expected argument " "1"" of type '" "int""'");
50194 arg1
= static_cast< int >(val1
);
50197 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
50198 if (!SWIG_IsOK(ecode2
)) {
50199 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_GridBagSizer" "', expected argument " "2"" of type '" "int""'");
50201 arg2
= static_cast< int >(val2
);
50204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50205 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
50206 wxPyEndAllowThreads(__tstate
);
50207 if (PyErr_Occurred()) SWIG_fail
;
50209 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGridBagSizer
, SWIG_POINTER_NEW
| 0 );
50216 SWIGINTERN PyObject
*_wrap_GridBagSizer_Add(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50217 PyObject
*resultobj
= 0;
50218 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50219 PyObject
*arg2
= (PyObject
*) 0 ;
50220 wxGBPosition
*arg3
= 0 ;
50221 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
50222 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
50223 int arg5
= (int) 0 ;
50224 int arg6
= (int) 0 ;
50225 PyObject
*arg7
= (PyObject
*) NULL
;
50226 wxGBSizerItem
*result
= 0 ;
50229 wxGBPosition temp3
;
50235 PyObject
* obj0
= 0 ;
50236 PyObject
* obj1
= 0 ;
50237 PyObject
* obj2
= 0 ;
50238 PyObject
* obj3
= 0 ;
50239 PyObject
* obj4
= 0 ;
50240 PyObject
* obj5
= 0 ;
50241 PyObject
* obj6
= 0 ;
50242 char * kwnames
[] = {
50243 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
50246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
50247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50248 if (!SWIG_IsOK(res1
)) {
50249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_Add" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50251 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50255 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
50260 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
50264 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
50265 if (!SWIG_IsOK(ecode5
)) {
50266 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "GridBagSizer_Add" "', expected argument " "5"" of type '" "int""'");
50268 arg5
= static_cast< int >(val5
);
50271 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
50272 if (!SWIG_IsOK(ecode6
)) {
50273 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "GridBagSizer_Add" "', expected argument " "6"" of type '" "int""'");
50275 arg6
= static_cast< int >(val6
);
50281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50282 result
= (wxGBSizerItem
*)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
50283 wxPyEndAllowThreads(__tstate
);
50284 if (PyErr_Occurred()) SWIG_fail
;
50286 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
50293 SWIGINTERN PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50294 PyObject
*resultobj
= 0;
50295 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50296 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
50297 wxGBSizerItem
*result
= 0 ;
50301 PyObject
* obj0
= 0 ;
50302 PyObject
* obj1
= 0 ;
50303 char * kwnames
[] = {
50304 (char *) "self",(char *) "item", NULL
50307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50309 if (!SWIG_IsOK(res1
)) {
50310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_AddItem" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50312 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50313 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxGBSizerItem
, SWIG_POINTER_DISOWN
| 0 );
50314 if (!SWIG_IsOK(res2
)) {
50315 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_AddItem" "', expected argument " "2"" of type '" "wxGBSizerItem *""'");
50318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50319 result
= (wxGBSizerItem
*)(arg1
)->Add(arg2
);
50320 wxPyEndAllowThreads(__tstate
);
50321 if (PyErr_Occurred()) SWIG_fail
;
50323 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
50330 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetCellSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50331 PyObject
*resultobj
= 0;
50332 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50342 PyObject
* obj0
= 0 ;
50343 PyObject
* obj1
= 0 ;
50344 PyObject
* obj2
= 0 ;
50345 char * kwnames
[] = {
50346 (char *) "self",(char *) "row",(char *) "col", NULL
50349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GridBagSizer_GetCellSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
50350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50351 if (!SWIG_IsOK(res1
)) {
50352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetCellSize" "', expected argument " "1"" of type '" "wxGridBagSizer const *""'");
50354 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50355 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
50356 if (!SWIG_IsOK(ecode2
)) {
50357 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridBagSizer_GetCellSize" "', expected argument " "2"" of type '" "int""'");
50359 arg2
= static_cast< int >(val2
);
50360 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
50361 if (!SWIG_IsOK(ecode3
)) {
50362 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "GridBagSizer_GetCellSize" "', expected argument " "3"" of type '" "int""'");
50364 arg3
= static_cast< int >(val3
);
50366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50367 result
= ((wxGridBagSizer
const *)arg1
)->GetCellSize(arg2
,arg3
);
50368 wxPyEndAllowThreads(__tstate
);
50369 if (PyErr_Occurred()) SWIG_fail
;
50371 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
50378 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
50379 PyObject
*resultobj
= 0;
50380 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50384 PyObject
*swig_obj
[1] ;
50386 if (!args
) SWIG_fail
;
50387 swig_obj
[0] = args
;
50388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50389 if (!SWIG_IsOK(res1
)) {
50390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetEmptyCellSize" "', expected argument " "1"" of type '" "wxGridBagSizer const *""'");
50392 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50395 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
50396 wxPyEndAllowThreads(__tstate
);
50397 if (PyErr_Occurred()) SWIG_fail
;
50399 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
50406 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
50407 PyObject
*resultobj
= 0;
50408 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50413 PyObject
* obj0
= 0 ;
50414 PyObject
* obj1
= 0 ;
50415 char * kwnames
[] = {
50416 (char *) "self",(char *) "sz", NULL
50419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
50420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50421 if (!SWIG_IsOK(res1
)) {
50422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetEmptyCellSize" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50424 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50427 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
50430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50431 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
50432 wxPyEndAllowThreads(__tstate
);
50433 if (PyErr_Occurred()) SWIG_fail
;
50435 resultobj
= SWIG_Py_Void();
50442 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50443 PyObject
*resultobj
= 0;
50444 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50445 wxWindow
*arg2
= (wxWindow
*) 0 ;
50446 wxGBPosition result
;
50452 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
50453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50454 if (!SWIG_IsOK(res1
)) {
50455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50457 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50458 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
50459 if (!SWIG_IsOK(res2
)) {
50460 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "2"" of type '" "wxWindow *""'");
50462 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
50464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50465 result
= (arg1
)->GetItemPosition(arg2
);
50466 wxPyEndAllowThreads(__tstate
);
50467 if (PyErr_Occurred()) SWIG_fail
;
50469 resultobj
= SWIG_NewPointerObj((new wxGBPosition(static_cast< const wxGBPosition
& >(result
))), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_OWN
| 0 );
50476 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50477 PyObject
*resultobj
= 0;
50478 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50479 wxSizer
*arg2
= (wxSizer
*) 0 ;
50480 wxGBPosition result
;
50486 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
50487 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50488 if (!SWIG_IsOK(res1
)) {
50489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50491 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50492 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50493 if (!SWIG_IsOK(res2
)) {
50494 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "2"" of type '" "wxSizer *""'");
50496 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
50498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50499 result
= (arg1
)->GetItemPosition(arg2
);
50500 wxPyEndAllowThreads(__tstate
);
50501 if (PyErr_Occurred()) SWIG_fail
;
50503 resultobj
= SWIG_NewPointerObj((new wxGBPosition(static_cast< const wxGBPosition
& >(result
))), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_OWN
| 0 );
50510 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50511 PyObject
*resultobj
= 0;
50512 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50514 wxGBPosition result
;
50520 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
50521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50522 if (!SWIG_IsOK(res1
)) {
50523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50525 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50526 ecode2
= SWIG_AsVal_size_t(swig_obj
[1], &val2
);
50527 if (!SWIG_IsOK(ecode2
)) {
50528 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridBagSizer_GetItemPosition" "', expected argument " "2"" of type '" "size_t""'");
50530 arg2
= static_cast< size_t >(val2
);
50532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50533 result
= (arg1
)->GetItemPosition(arg2
);
50534 wxPyEndAllowThreads(__tstate
);
50535 if (PyErr_Occurred()) SWIG_fail
;
50537 resultobj
= SWIG_NewPointerObj((new wxGBPosition(static_cast< const wxGBPosition
& >(result
))), SWIGTYPE_p_wxGBPosition
, SWIG_POINTER_OWN
| 0 );
50544 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
50548 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GridBagSizer_GetItemPosition",0,2,argv
))) SWIG_fail
;
50554 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxWindow
, 0);
50555 _v
= SWIG_CheckState(res
);
50557 if (!_v
) goto check_1
;
50558 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
, argc
, argv
);
50566 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxSizer
, 0);
50567 _v
= SWIG_CheckState(res
);
50569 if (!_v
) goto check_2
;
50570 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
, argc
, argv
);
50575 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
, argc
, argv
);
50579 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
50584 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50585 PyObject
*resultobj
= 0;
50586 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50587 wxWindow
*arg2
= (wxWindow
*) 0 ;
50588 wxGBPosition
*arg3
= 0 ;
50594 wxGBPosition temp3
;
50596 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
50597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50598 if (!SWIG_IsOK(res1
)) {
50599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50601 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50602 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
50603 if (!SWIG_IsOK(res2
)) {
50604 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "2"" of type '" "wxWindow *""'");
50606 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
50609 if ( ! wxGBPosition_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
50612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50613 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
50614 wxPyEndAllowThreads(__tstate
);
50615 if (PyErr_Occurred()) SWIG_fail
;
50618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50626 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50627 PyObject
*resultobj
= 0;
50628 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50629 wxSizer
*arg2
= (wxSizer
*) 0 ;
50630 wxGBPosition
*arg3
= 0 ;
50636 wxGBPosition temp3
;
50638 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
50639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50640 if (!SWIG_IsOK(res1
)) {
50641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50643 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50644 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50645 if (!SWIG_IsOK(res2
)) {
50646 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "2"" of type '" "wxSizer *""'");
50648 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
50651 if ( ! wxGBPosition_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
50654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50655 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
50656 wxPyEndAllowThreads(__tstate
);
50657 if (PyErr_Occurred()) SWIG_fail
;
50660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50668 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50669 PyObject
*resultobj
= 0;
50670 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50672 wxGBPosition
*arg3
= 0 ;
50678 wxGBPosition temp3
;
50680 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
50681 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50682 if (!SWIG_IsOK(res1
)) {
50683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50685 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50686 ecode2
= SWIG_AsVal_size_t(swig_obj
[1], &val2
);
50687 if (!SWIG_IsOK(ecode2
)) {
50688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridBagSizer_SetItemPosition" "', expected argument " "2"" of type '" "size_t""'");
50690 arg2
= static_cast< size_t >(val2
);
50693 if ( ! wxGBPosition_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
50696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50697 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
50698 wxPyEndAllowThreads(__tstate
);
50699 if (PyErr_Occurred()) SWIG_fail
;
50702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50710 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
50714 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GridBagSizer_SetItemPosition",0,3,argv
))) SWIG_fail
;
50720 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxWindow
, 0);
50721 _v
= SWIG_CheckState(res
);
50723 if (!_v
) goto check_1
;
50724 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
, argc
, argv
);
50732 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxSizer
, 0);
50733 _v
= SWIG_CheckState(res
);
50735 if (!_v
) goto check_2
;
50736 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
, argc
, argv
);
50741 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
, argc
, argv
);
50745 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
50750 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50751 PyObject
*resultobj
= 0;
50752 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50753 wxWindow
*arg2
= (wxWindow
*) 0 ;
50760 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
50761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50762 if (!SWIG_IsOK(res1
)) {
50763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50765 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50766 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
50767 if (!SWIG_IsOK(res2
)) {
50768 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "2"" of type '" "wxWindow *""'");
50770 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
50772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50773 result
= (arg1
)->GetItemSpan(arg2
);
50774 wxPyEndAllowThreads(__tstate
);
50775 if (PyErr_Occurred()) SWIG_fail
;
50777 resultobj
= SWIG_NewPointerObj((new wxGBSpan(static_cast< const wxGBSpan
& >(result
))), SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_OWN
| 0 );
50784 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50785 PyObject
*resultobj
= 0;
50786 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50787 wxSizer
*arg2
= (wxSizer
*) 0 ;
50794 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
50795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50796 if (!SWIG_IsOK(res1
)) {
50797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50799 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50800 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50801 if (!SWIG_IsOK(res2
)) {
50802 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "2"" of type '" "wxSizer *""'");
50804 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
50806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50807 result
= (arg1
)->GetItemSpan(arg2
);
50808 wxPyEndAllowThreads(__tstate
);
50809 if (PyErr_Occurred()) SWIG_fail
;
50811 resultobj
= SWIG_NewPointerObj((new wxGBSpan(static_cast< const wxGBSpan
& >(result
))), SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_OWN
| 0 );
50818 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50819 PyObject
*resultobj
= 0;
50820 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50828 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
50829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50830 if (!SWIG_IsOK(res1
)) {
50831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50833 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50834 ecode2
= SWIG_AsVal_size_t(swig_obj
[1], &val2
);
50835 if (!SWIG_IsOK(ecode2
)) {
50836 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridBagSizer_GetItemSpan" "', expected argument " "2"" of type '" "size_t""'");
50838 arg2
= static_cast< size_t >(val2
);
50840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50841 result
= (arg1
)->GetItemSpan(arg2
);
50842 wxPyEndAllowThreads(__tstate
);
50843 if (PyErr_Occurred()) SWIG_fail
;
50845 resultobj
= SWIG_NewPointerObj((new wxGBSpan(static_cast< const wxGBSpan
& >(result
))), SWIGTYPE_p_wxGBSpan
, SWIG_POINTER_OWN
| 0 );
50852 SWIGINTERN PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
50856 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GridBagSizer_GetItemSpan",0,2,argv
))) SWIG_fail
;
50862 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxWindow
, 0);
50863 _v
= SWIG_CheckState(res
);
50865 if (!_v
) goto check_1
;
50866 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
, argc
, argv
);
50874 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxSizer
, 0);
50875 _v
= SWIG_CheckState(res
);
50877 if (!_v
) goto check_2
;
50878 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
, argc
, argv
);
50883 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
, argc
, argv
);
50887 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
50892 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50893 PyObject
*resultobj
= 0;
50894 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50895 wxWindow
*arg2
= (wxWindow
*) 0 ;
50896 wxGBSpan
*arg3
= 0 ;
50904 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
50905 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50906 if (!SWIG_IsOK(res1
)) {
50907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50909 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50910 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
50911 if (!SWIG_IsOK(res2
)) {
50912 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "2"" of type '" "wxWindow *""'");
50914 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
50917 if ( ! wxGBSpan_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
50920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50921 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
50922 wxPyEndAllowThreads(__tstate
);
50923 if (PyErr_Occurred()) SWIG_fail
;
50926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50934 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50935 PyObject
*resultobj
= 0;
50936 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50937 wxSizer
*arg2
= (wxSizer
*) 0 ;
50938 wxGBSpan
*arg3
= 0 ;
50946 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
50947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50948 if (!SWIG_IsOK(res1
)) {
50949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50951 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50952 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
50953 if (!SWIG_IsOK(res2
)) {
50954 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "2"" of type '" "wxSizer *""'");
50956 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
50959 if ( ! wxGBSpan_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
50962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
50963 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
50964 wxPyEndAllowThreads(__tstate
);
50965 if (PyErr_Occurred()) SWIG_fail
;
50968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
50976 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
50977 PyObject
*resultobj
= 0;
50978 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
50980 wxGBSpan
*arg3
= 0 ;
50988 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
50989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
50990 if (!SWIG_IsOK(res1
)) {
50991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
50993 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
50994 ecode2
= SWIG_AsVal_size_t(swig_obj
[1], &val2
);
50995 if (!SWIG_IsOK(ecode2
)) {
50996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "GridBagSizer_SetItemSpan" "', expected argument " "2"" of type '" "size_t""'");
50998 arg2
= static_cast< size_t >(val2
);
51001 if ( ! wxGBSpan_helper(swig_obj
[2], &arg3
)) SWIG_fail
;
51004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51005 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
51006 wxPyEndAllowThreads(__tstate
);
51007 if (PyErr_Occurred()) SWIG_fail
;
51010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
51018 SWIGINTERN PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
51022 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GridBagSizer_SetItemSpan",0,3,argv
))) SWIG_fail
;
51028 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxWindow
, 0);
51029 _v
= SWIG_CheckState(res
);
51031 if (!_v
) goto check_1
;
51032 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
, argc
, argv
);
51040 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxSizer
, 0);
51041 _v
= SWIG_CheckState(res
);
51043 if (!_v
) goto check_2
;
51044 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
, argc
, argv
);
51049 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
, argc
, argv
);
51053 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
51058 SWIGINTERN PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
51059 PyObject
*resultobj
= 0;
51060 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
51061 wxWindow
*arg2
= (wxWindow
*) 0 ;
51062 wxGBSizerItem
*result
= 0 ;
51068 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
51069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
51070 if (!SWIG_IsOK(res1
)) {
51071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_FindItem" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
51073 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
51074 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51075 if (!SWIG_IsOK(res2
)) {
51076 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_FindItem" "', expected argument " "2"" of type '" "wxWindow *""'");
51078 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
51080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51081 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
51082 wxPyEndAllowThreads(__tstate
);
51083 if (PyErr_Occurred()) SWIG_fail
;
51085 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
51092 SWIGINTERN PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
51093 PyObject
*resultobj
= 0;
51094 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
51095 wxSizer
*arg2
= (wxSizer
*) 0 ;
51096 wxGBSizerItem
*result
= 0 ;
51102 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
51103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
51104 if (!SWIG_IsOK(res1
)) {
51105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_FindItem" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
51107 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
51108 res2
= SWIG_ConvertPtr(swig_obj
[1], &argp2
,SWIGTYPE_p_wxSizer
, 0 | 0 );
51109 if (!SWIG_IsOK(res2
)) {
51110 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_FindItem" "', expected argument " "2"" of type '" "wxSizer *""'");
51112 arg2
= reinterpret_cast< wxSizer
* >(argp2
);
51114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51115 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
51116 wxPyEndAllowThreads(__tstate
);
51117 if (PyErr_Occurred()) SWIG_fail
;
51119 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
51126 SWIGINTERN PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
51130 if (!(argc
= SWIG_Python_UnpackTuple(args
,"GridBagSizer_FindItem",0,2,argv
))) SWIG_fail
;
51136 int res
= SWIG_ConvertPtr(argv
[1], &vptr
, SWIGTYPE_p_wxWindow
, 0);
51137 _v
= SWIG_CheckState(res
);
51139 if (!_v
) goto check_1
;
51140 return _wrap_GridBagSizer_FindItem__SWIG_0(self
, argc
, argv
);
51145 return _wrap_GridBagSizer_FindItem__SWIG_1(self
, argc
, argv
);
51149 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
51154 SWIGINTERN PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51155 PyObject
*resultobj
= 0;
51156 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
51157 wxGBPosition
*arg2
= 0 ;
51158 wxGBSizerItem
*result
= 0 ;
51161 wxGBPosition temp2
;
51162 PyObject
* obj0
= 0 ;
51163 PyObject
* obj1
= 0 ;
51164 char * kwnames
[] = {
51165 (char *) "self",(char *) "pos", NULL
51168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
51170 if (!SWIG_IsOK(res1
)) {
51171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_FindItemAtPosition" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
51173 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
51176 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
51179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51180 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
51181 wxPyEndAllowThreads(__tstate
);
51182 if (PyErr_Occurred()) SWIG_fail
;
51184 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
51191 SWIGINTERN PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51192 PyObject
*resultobj
= 0;
51193 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
51194 wxPoint
*arg2
= 0 ;
51195 wxGBSizerItem
*result
= 0 ;
51199 PyObject
* obj0
= 0 ;
51200 PyObject
* obj1
= 0 ;
51201 char * kwnames
[] = {
51202 (char *) "self",(char *) "pt", NULL
51205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
51207 if (!SWIG_IsOK(res1
)) {
51208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_FindItemAtPoint" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
51210 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
51213 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
51216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51217 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
51218 wxPyEndAllowThreads(__tstate
);
51219 if (PyErr_Occurred()) SWIG_fail
;
51221 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
51228 SWIGINTERN PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51229 PyObject
*resultobj
= 0;
51230 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
51231 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
51232 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
51240 PyObject
* obj0
= 0 ;
51241 PyObject
* obj1
= 0 ;
51242 PyObject
* obj2
= 0 ;
51243 char * kwnames
[] = {
51244 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
51247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
51248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
51249 if (!SWIG_IsOK(res1
)) {
51250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_CheckForIntersection" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
51252 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
51253 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
51254 if (!SWIG_IsOK(res2
)) {
51255 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GridBagSizer_CheckForIntersection" "', expected argument " "2"" of type '" "wxGBSizerItem *""'");
51257 arg2
= reinterpret_cast< wxGBSizerItem
* >(argp2
);
51259 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
51260 if (!SWIG_IsOK(res3
)) {
51261 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "GridBagSizer_CheckForIntersection" "', expected argument " "3"" of type '" "wxGBSizerItem *""'");
51263 arg3
= reinterpret_cast< wxGBSizerItem
* >(argp3
);
51266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51267 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
51268 wxPyEndAllowThreads(__tstate
);
51269 if (PyErr_Occurred()) SWIG_fail
;
51272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
51280 SWIGINTERN PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51281 PyObject
*resultobj
= 0;
51282 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
51283 wxGBPosition
*arg2
= 0 ;
51284 wxGBSpan
*arg3
= 0 ;
51285 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
51289 wxGBPosition temp2
;
51293 PyObject
* obj0
= 0 ;
51294 PyObject
* obj1
= 0 ;
51295 PyObject
* obj2
= 0 ;
51296 PyObject
* obj3
= 0 ;
51297 char * kwnames
[] = {
51298 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
51301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
51302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxGridBagSizer
, 0 | 0 );
51303 if (!SWIG_IsOK(res1
)) {
51304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GridBagSizer_CheckForIntersectionPos" "', expected argument " "1"" of type '" "wxGridBagSizer *""'");
51306 arg1
= reinterpret_cast< wxGridBagSizer
* >(argp1
);
51309 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
51313 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
51316 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxGBSizerItem
, 0 | 0 );
51317 if (!SWIG_IsOK(res4
)) {
51318 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "GridBagSizer_CheckForIntersectionPos" "', expected argument " "4"" of type '" "wxGBSizerItem *""'");
51320 arg4
= reinterpret_cast< wxGBSizerItem
* >(argp4
);
51323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51324 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
51325 wxPyEndAllowThreads(__tstate
);
51326 if (PyErr_Occurred()) SWIG_fail
;
51329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
51337 SWIGINTERN PyObject
*GridBagSizer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51339 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
51340 SWIG_TypeNewClientData(SWIGTYPE_p_wxGridBagSizer
, SWIG_NewClientData(obj
));
51341 return SWIG_Py_Void();
51344 SWIGINTERN PyObject
*GridBagSizer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51345 return SWIG_Python_InitShadowInstance(args
);
51348 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51349 PyObject
*resultobj
= 0;
51350 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51351 wxRelationship arg2
;
51352 wxWindow
*arg3
= (wxWindow
*) 0 ;
51354 int arg5
= (int) 0 ;
51355 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
51368 PyObject
* obj0
= 0 ;
51369 PyObject
* obj1
= 0 ;
51370 PyObject
* obj2
= 0 ;
51371 PyObject
* obj3
= 0 ;
51372 PyObject
* obj4
= 0 ;
51373 PyObject
* obj5
= 0 ;
51374 char * kwnames
[] = {
51375 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
51378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) 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_Set" "', 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_Set" "', expected argument " "2"" of type '" "wxRelationship""'");
51388 arg2
= static_cast< wxRelationship
>(val2
);
51389 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51390 if (!SWIG_IsOK(res3
)) {
51391 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "3"" of type '" "wxWindow *""'");
51393 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
51394 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
51395 if (!SWIG_IsOK(ecode4
)) {
51396 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "4"" of type '" "wxEdge""'");
51398 arg4
= static_cast< wxEdge
>(val4
);
51400 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
51401 if (!SWIG_IsOK(ecode5
)) {
51402 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "5"" of type '" "int""'");
51404 arg5
= static_cast< int >(val5
);
51407 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
51408 if (!SWIG_IsOK(ecode6
)) {
51409 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "IndividualLayoutConstraint_Set" "', expected argument " "6"" of type '" "int""'");
51411 arg6
= static_cast< int >(val6
);
51414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51415 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
,arg6
);
51416 wxPyEndAllowThreads(__tstate
);
51417 if (PyErr_Occurred()) SWIG_fail
;
51419 resultobj
= SWIG_Py_Void();
51426 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51427 PyObject
*resultobj
= 0;
51428 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51429 wxWindow
*arg2
= (wxWindow
*) 0 ;
51430 int arg3
= (int) 0 ;
51437 PyObject
* obj0
= 0 ;
51438 PyObject
* obj1
= 0 ;
51439 PyObject
* obj2
= 0 ;
51440 char * kwnames
[] = {
51441 (char *) "self",(char *) "sibling",(char *) "marg", NULL
51444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
51445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51446 if (!SWIG_IsOK(res1
)) {
51447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_LeftOf" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51449 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51450 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51451 if (!SWIG_IsOK(res2
)) {
51452 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_LeftOf" "', expected argument " "2"" of type '" "wxWindow *""'");
51454 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
51456 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
51457 if (!SWIG_IsOK(ecode3
)) {
51458 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_LeftOf" "', expected argument " "3"" of type '" "int""'");
51460 arg3
= static_cast< int >(val3
);
51463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51464 (arg1
)->LeftOf(arg2
,arg3
);
51465 wxPyEndAllowThreads(__tstate
);
51466 if (PyErr_Occurred()) SWIG_fail
;
51468 resultobj
= SWIG_Py_Void();
51475 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51476 PyObject
*resultobj
= 0;
51477 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51478 wxWindow
*arg2
= (wxWindow
*) 0 ;
51479 int arg3
= (int) 0 ;
51486 PyObject
* obj0
= 0 ;
51487 PyObject
* obj1
= 0 ;
51488 PyObject
* obj2
= 0 ;
51489 char * kwnames
[] = {
51490 (char *) "self",(char *) "sibling",(char *) "marg", NULL
51493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
51494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51495 if (!SWIG_IsOK(res1
)) {
51496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_RightOf" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51498 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51499 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51500 if (!SWIG_IsOK(res2
)) {
51501 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_RightOf" "', expected argument " "2"" of type '" "wxWindow *""'");
51503 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
51505 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
51506 if (!SWIG_IsOK(ecode3
)) {
51507 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_RightOf" "', expected argument " "3"" of type '" "int""'");
51509 arg3
= static_cast< int >(val3
);
51512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51513 (arg1
)->RightOf(arg2
,arg3
);
51514 wxPyEndAllowThreads(__tstate
);
51515 if (PyErr_Occurred()) SWIG_fail
;
51517 resultobj
= SWIG_Py_Void();
51524 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51525 PyObject
*resultobj
= 0;
51526 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51527 wxWindow
*arg2
= (wxWindow
*) 0 ;
51528 int arg3
= (int) 0 ;
51535 PyObject
* obj0
= 0 ;
51536 PyObject
* obj1
= 0 ;
51537 PyObject
* obj2
= 0 ;
51538 char * kwnames
[] = {
51539 (char *) "self",(char *) "sibling",(char *) "marg", NULL
51542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
51543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51544 if (!SWIG_IsOK(res1
)) {
51545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_Above" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51547 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51548 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51549 if (!SWIG_IsOK(res2
)) {
51550 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_Above" "', expected argument " "2"" of type '" "wxWindow *""'");
51552 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
51554 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
51555 if (!SWIG_IsOK(ecode3
)) {
51556 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_Above" "', expected argument " "3"" of type '" "int""'");
51558 arg3
= static_cast< int >(val3
);
51561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51562 (arg1
)->Above(arg2
,arg3
);
51563 wxPyEndAllowThreads(__tstate
);
51564 if (PyErr_Occurred()) SWIG_fail
;
51566 resultobj
= SWIG_Py_Void();
51573 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51574 PyObject
*resultobj
= 0;
51575 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51576 wxWindow
*arg2
= (wxWindow
*) 0 ;
51577 int arg3
= (int) 0 ;
51584 PyObject
* obj0
= 0 ;
51585 PyObject
* obj1
= 0 ;
51586 PyObject
* obj2
= 0 ;
51587 char * kwnames
[] = {
51588 (char *) "self",(char *) "sibling",(char *) "marg", NULL
51591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
51592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51593 if (!SWIG_IsOK(res1
)) {
51594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_Below" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51596 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51597 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51598 if (!SWIG_IsOK(res2
)) {
51599 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_Below" "', expected argument " "2"" of type '" "wxWindow *""'");
51601 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
51603 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
51604 if (!SWIG_IsOK(ecode3
)) {
51605 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_Below" "', expected argument " "3"" of type '" "int""'");
51607 arg3
= static_cast< int >(val3
);
51610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51611 (arg1
)->Below(arg2
,arg3
);
51612 wxPyEndAllowThreads(__tstate
);
51613 if (PyErr_Occurred()) SWIG_fail
;
51615 resultobj
= SWIG_Py_Void();
51622 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51623 PyObject
*resultobj
= 0;
51624 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51625 wxWindow
*arg2
= (wxWindow
*) 0 ;
51627 int arg4
= (int) 0 ;
51636 PyObject
* obj0
= 0 ;
51637 PyObject
* obj1
= 0 ;
51638 PyObject
* obj2
= 0 ;
51639 PyObject
* obj3
= 0 ;
51640 char * kwnames
[] = {
51641 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
51644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
51645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51646 if (!SWIG_IsOK(res1
)) {
51647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SameAs" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51649 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51650 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51651 if (!SWIG_IsOK(res2
)) {
51652 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_SameAs" "', expected argument " "2"" of type '" "wxWindow *""'");
51654 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
51655 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
51656 if (!SWIG_IsOK(ecode3
)) {
51657 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_SameAs" "', expected argument " "3"" of type '" "wxEdge""'");
51659 arg3
= static_cast< wxEdge
>(val3
);
51661 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
51662 if (!SWIG_IsOK(ecode4
)) {
51663 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "IndividualLayoutConstraint_SameAs" "', expected argument " "4"" of type '" "int""'");
51665 arg4
= static_cast< int >(val4
);
51668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51669 (arg1
)->SameAs(arg2
,arg3
,arg4
);
51670 wxPyEndAllowThreads(__tstate
);
51671 if (PyErr_Occurred()) SWIG_fail
;
51673 resultobj
= SWIG_Py_Void();
51680 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51681 PyObject
*resultobj
= 0;
51682 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51683 wxWindow
*arg2
= (wxWindow
*) 0 ;
51694 PyObject
* obj0
= 0 ;
51695 PyObject
* obj1
= 0 ;
51696 PyObject
* obj2
= 0 ;
51697 PyObject
* obj3
= 0 ;
51698 char * kwnames
[] = {
51699 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
51702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
51703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51704 if (!SWIG_IsOK(res1
)) {
51705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_PercentOf" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51707 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51708 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
51709 if (!SWIG_IsOK(res2
)) {
51710 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_PercentOf" "', expected argument " "2"" of type '" "wxWindow *""'");
51712 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
51713 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
51714 if (!SWIG_IsOK(ecode3
)) {
51715 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "IndividualLayoutConstraint_PercentOf" "', expected argument " "3"" of type '" "wxEdge""'");
51717 arg3
= static_cast< wxEdge
>(val3
);
51718 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
51719 if (!SWIG_IsOK(ecode4
)) {
51720 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "IndividualLayoutConstraint_PercentOf" "', expected argument " "4"" of type '" "int""'");
51722 arg4
= static_cast< int >(val4
);
51724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51725 (arg1
)->PercentOf(arg2
,arg3
,arg4
);
51726 wxPyEndAllowThreads(__tstate
);
51727 if (PyErr_Occurred()) SWIG_fail
;
51729 resultobj
= SWIG_Py_Void();
51736 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51737 PyObject
*resultobj
= 0;
51738 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51744 PyObject
* obj0
= 0 ;
51745 PyObject
* obj1
= 0 ;
51746 char * kwnames
[] = {
51747 (char *) "self",(char *) "val", NULL
51750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51752 if (!SWIG_IsOK(res1
)) {
51753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_Absolute" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51755 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51756 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51757 if (!SWIG_IsOK(ecode2
)) {
51758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_Absolute" "', expected argument " "2"" of type '" "int""'");
51760 arg2
= static_cast< int >(val2
);
51762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51763 (arg1
)->Absolute(arg2
);
51764 wxPyEndAllowThreads(__tstate
);
51765 if (PyErr_Occurred()) SWIG_fail
;
51767 resultobj
= SWIG_Py_Void();
51774 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51775 PyObject
*resultobj
= 0;
51776 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51779 PyObject
*swig_obj
[1] ;
51781 if (!args
) SWIG_fail
;
51782 swig_obj
[0] = args
;
51783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51784 if (!SWIG_IsOK(res1
)) {
51785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_Unconstrained" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51787 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51790 (arg1
)->Unconstrained();
51791 wxPyEndAllowThreads(__tstate
);
51792 if (PyErr_Occurred()) SWIG_fail
;
51794 resultobj
= SWIG_Py_Void();
51801 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51802 PyObject
*resultobj
= 0;
51803 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51806 PyObject
*swig_obj
[1] ;
51808 if (!args
) SWIG_fail
;
51809 swig_obj
[0] = args
;
51810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51811 if (!SWIG_IsOK(res1
)) {
51812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_AsIs" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51814 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51818 wxPyEndAllowThreads(__tstate
);
51819 if (PyErr_Occurred()) SWIG_fail
;
51821 resultobj
= SWIG_Py_Void();
51828 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51829 PyObject
*resultobj
= 0;
51830 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51831 wxWindow
*result
= 0 ;
51834 PyObject
*swig_obj
[1] ;
51836 if (!args
) SWIG_fail
;
51837 swig_obj
[0] = args
;
51838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51839 if (!SWIG_IsOK(res1
)) {
51840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetOtherWindow" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51842 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51845 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
51846 wxPyEndAllowThreads(__tstate
);
51847 if (PyErr_Occurred()) SWIG_fail
;
51850 resultobj
= wxPyMake_wxObject(result
, 0);
51858 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51859 PyObject
*resultobj
= 0;
51860 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51864 PyObject
*swig_obj
[1] ;
51866 if (!args
) SWIG_fail
;
51867 swig_obj
[0] = args
;
51868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51869 if (!SWIG_IsOK(res1
)) {
51870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetMyEdge" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
51872 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51875 result
= (wxEdge
)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
51876 wxPyEndAllowThreads(__tstate
);
51877 if (PyErr_Occurred()) SWIG_fail
;
51879 resultobj
= SWIG_From_int(static_cast< int >(result
));
51886 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51887 PyObject
*resultobj
= 0;
51888 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51894 PyObject
* obj0
= 0 ;
51895 PyObject
* obj1
= 0 ;
51896 char * kwnames
[] = {
51897 (char *) "self",(char *) "which", NULL
51900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51902 if (!SWIG_IsOK(res1
)) {
51903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SetEdge" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51905 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51906 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51907 if (!SWIG_IsOK(ecode2
)) {
51908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_SetEdge" "', expected argument " "2"" of type '" "wxEdge""'");
51910 arg2
= static_cast< wxEdge
>(val2
);
51912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51913 (arg1
)->SetEdge(arg2
);
51914 wxPyEndAllowThreads(__tstate
);
51915 if (PyErr_Occurred()) SWIG_fail
;
51917 resultobj
= SWIG_Py_Void();
51924 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51925 PyObject
*resultobj
= 0;
51926 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51932 PyObject
* obj0
= 0 ;
51933 PyObject
* obj1
= 0 ;
51934 char * kwnames
[] = {
51935 (char *) "self",(char *) "v", NULL
51938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
51939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51940 if (!SWIG_IsOK(res1
)) {
51941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SetValue" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51943 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51944 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
51945 if (!SWIG_IsOK(ecode2
)) {
51946 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_SetValue" "', expected argument " "2"" of type '" "int""'");
51948 arg2
= static_cast< int >(val2
);
51950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51951 (arg1
)->SetValue(arg2
);
51952 wxPyEndAllowThreads(__tstate
);
51953 if (PyErr_Occurred()) SWIG_fail
;
51955 resultobj
= SWIG_Py_Void();
51962 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
51963 PyObject
*resultobj
= 0;
51964 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51968 PyObject
*swig_obj
[1] ;
51970 if (!args
) SWIG_fail
;
51971 swig_obj
[0] = args
;
51972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
51973 if (!SWIG_IsOK(res1
)) {
51974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetMargin" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
51976 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
51978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
51979 result
= (int)(arg1
)->GetMargin();
51980 wxPyEndAllowThreads(__tstate
);
51981 if (PyErr_Occurred()) SWIG_fail
;
51983 resultobj
= SWIG_From_int(static_cast< int >(result
));
51990 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
51991 PyObject
*resultobj
= 0;
51992 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
51998 PyObject
* obj0
= 0 ;
51999 PyObject
* obj1
= 0 ;
52000 char * kwnames
[] = {
52001 (char *) "self",(char *) "m", NULL
52004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
52005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52006 if (!SWIG_IsOK(res1
)) {
52007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SetMargin" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
52009 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
52010 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
52011 if (!SWIG_IsOK(ecode2
)) {
52012 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_SetMargin" "', expected argument " "2"" of type '" "int""'");
52014 arg2
= static_cast< int >(val2
);
52016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52017 (arg1
)->SetMargin(arg2
);
52018 wxPyEndAllowThreads(__tstate
);
52019 if (PyErr_Occurred()) SWIG_fail
;
52021 resultobj
= SWIG_Py_Void();
52028 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52029 PyObject
*resultobj
= 0;
52030 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
52034 PyObject
*swig_obj
[1] ;
52036 if (!args
) SWIG_fail
;
52037 swig_obj
[0] = args
;
52038 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52039 if (!SWIG_IsOK(res1
)) {
52040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetValue" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
52042 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
52044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52045 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
52046 wxPyEndAllowThreads(__tstate
);
52047 if (PyErr_Occurred()) SWIG_fail
;
52049 resultobj
= SWIG_From_int(static_cast< int >(result
));
52056 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52057 PyObject
*resultobj
= 0;
52058 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
52062 PyObject
*swig_obj
[1] ;
52064 if (!args
) SWIG_fail
;
52065 swig_obj
[0] = args
;
52066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52067 if (!SWIG_IsOK(res1
)) {
52068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetPercent" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
52070 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
52072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52073 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
52074 wxPyEndAllowThreads(__tstate
);
52075 if (PyErr_Occurred()) SWIG_fail
;
52077 resultobj
= SWIG_From_int(static_cast< int >(result
));
52084 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52085 PyObject
*resultobj
= 0;
52086 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
52090 PyObject
*swig_obj
[1] ;
52092 if (!args
) SWIG_fail
;
52093 swig_obj
[0] = args
;
52094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52095 if (!SWIG_IsOK(res1
)) {
52096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetOtherEdge" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
52098 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
52100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52101 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
52102 wxPyEndAllowThreads(__tstate
);
52103 if (PyErr_Occurred()) SWIG_fail
;
52105 resultobj
= SWIG_From_int(static_cast< int >(result
));
52112 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52113 PyObject
*resultobj
= 0;
52114 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
52118 PyObject
*swig_obj
[1] ;
52120 if (!args
) SWIG_fail
;
52121 swig_obj
[0] = args
;
52122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52123 if (!SWIG_IsOK(res1
)) {
52124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetDone" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
52126 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
52128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52129 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
52130 wxPyEndAllowThreads(__tstate
);
52131 if (PyErr_Occurred()) SWIG_fail
;
52134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
52142 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52143 PyObject
*resultobj
= 0;
52144 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
52150 PyObject
* obj0
= 0 ;
52151 PyObject
* obj1
= 0 ;
52152 char * kwnames
[] = {
52153 (char *) "self",(char *) "d", NULL
52156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
52157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52158 if (!SWIG_IsOK(res1
)) {
52159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SetDone" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
52161 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
52162 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
52163 if (!SWIG_IsOK(ecode2
)) {
52164 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_SetDone" "', expected argument " "2"" of type '" "bool""'");
52166 arg2
= static_cast< bool >(val2
);
52168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52169 (arg1
)->SetDone(arg2
);
52170 wxPyEndAllowThreads(__tstate
);
52171 if (PyErr_Occurred()) SWIG_fail
;
52173 resultobj
= SWIG_Py_Void();
52180 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52181 PyObject
*resultobj
= 0;
52182 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
52183 wxRelationship result
;
52186 PyObject
*swig_obj
[1] ;
52188 if (!args
) SWIG_fail
;
52189 swig_obj
[0] = args
;
52190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52191 if (!SWIG_IsOK(res1
)) {
52192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetRelationship" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
52194 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
52196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52197 result
= (wxRelationship
)(arg1
)->GetRelationship();
52198 wxPyEndAllowThreads(__tstate
);
52199 if (PyErr_Occurred()) SWIG_fail
;
52201 resultobj
= SWIG_From_int(static_cast< int >(result
));
52208 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52209 PyObject
*resultobj
= 0;
52210 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
52211 wxRelationship arg2
;
52216 PyObject
* obj0
= 0 ;
52217 PyObject
* obj1
= 0 ;
52218 char * kwnames
[] = {
52219 (char *) "self",(char *) "r", NULL
52222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
52223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52224 if (!SWIG_IsOK(res1
)) {
52225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SetRelationship" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
52227 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
52228 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
52229 if (!SWIG_IsOK(ecode2
)) {
52230 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_SetRelationship" "', expected argument " "2"" of type '" "wxRelationship""'");
52232 arg2
= static_cast< wxRelationship
>(val2
);
52234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52235 (arg1
)->SetRelationship(arg2
);
52236 wxPyEndAllowThreads(__tstate
);
52237 if (PyErr_Occurred()) SWIG_fail
;
52239 resultobj
= SWIG_Py_Void();
52246 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52247 PyObject
*resultobj
= 0;
52248 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
52249 wxWindow
*arg2
= (wxWindow
*) 0 ;
52255 PyObject
* obj0
= 0 ;
52256 PyObject
* obj1
= 0 ;
52257 char * kwnames
[] = {
52258 (char *) "self",(char *) "otherW", NULL
52261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
52262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52263 if (!SWIG_IsOK(res1
)) {
52264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_ResetIfWin" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
52266 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
52267 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
52268 if (!SWIG_IsOK(res2
)) {
52269 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_ResetIfWin" "', expected argument " "2"" of type '" "wxWindow *""'");
52271 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
52273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52274 result
= (bool)(arg1
)->ResetIfWin(arg2
);
52275 wxPyEndAllowThreads(__tstate
);
52276 if (PyErr_Occurred()) SWIG_fail
;
52279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
52287 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52288 PyObject
*resultobj
= 0;
52289 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
52290 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
52291 wxWindow
*arg3
= (wxWindow
*) 0 ;
52299 PyObject
* obj0
= 0 ;
52300 PyObject
* obj1
= 0 ;
52301 PyObject
* obj2
= 0 ;
52302 char * kwnames
[] = {
52303 (char *) "self",(char *) "constraints",(char *) "win", NULL
52306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
52307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52308 if (!SWIG_IsOK(res1
)) {
52309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_SatisfyConstraint" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint *""'");
52311 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
52312 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52313 if (!SWIG_IsOK(res2
)) {
52314 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "IndividualLayoutConstraint_SatisfyConstraint" "', expected argument " "2"" of type '" "wxLayoutConstraints *""'");
52316 arg2
= reinterpret_cast< wxLayoutConstraints
* >(argp2
);
52317 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
52318 if (!SWIG_IsOK(res3
)) {
52319 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "IndividualLayoutConstraint_SatisfyConstraint" "', expected argument " "3"" of type '" "wxWindow *""'");
52321 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
52323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52324 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
52325 wxPyEndAllowThreads(__tstate
);
52326 if (PyErr_Occurred()) SWIG_fail
;
52329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
52337 SWIGINTERN PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52338 PyObject
*resultobj
= 0;
52339 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
52341 wxWindow
*arg3
= (wxWindow
*) 0 ;
52342 wxWindow
*arg4
= (wxWindow
*) 0 ;
52352 PyObject
* obj0
= 0 ;
52353 PyObject
* obj1
= 0 ;
52354 PyObject
* obj2
= 0 ;
52355 PyObject
* obj3
= 0 ;
52356 char * kwnames
[] = {
52357 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
52360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
52361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52362 if (!SWIG_IsOK(res1
)) {
52363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "IndividualLayoutConstraint_GetEdge" "', expected argument " "1"" of type '" "wxIndividualLayoutConstraint const *""'");
52365 arg1
= reinterpret_cast< wxIndividualLayoutConstraint
* >(argp1
);
52366 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
52367 if (!SWIG_IsOK(ecode2
)) {
52368 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "IndividualLayoutConstraint_GetEdge" "', expected argument " "2"" of type '" "wxEdge""'");
52370 arg2
= static_cast< wxEdge
>(val2
);
52371 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
52372 if (!SWIG_IsOK(res3
)) {
52373 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "IndividualLayoutConstraint_GetEdge" "', expected argument " "3"" of type '" "wxWindow *""'");
52375 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
52376 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
52377 if (!SWIG_IsOK(res4
)) {
52378 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "IndividualLayoutConstraint_GetEdge" "', expected argument " "4"" of type '" "wxWindow *""'");
52380 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
52382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52383 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge(arg2
,arg3
,arg4
);
52384 wxPyEndAllowThreads(__tstate
);
52385 if (PyErr_Occurred()) SWIG_fail
;
52387 resultobj
= SWIG_From_int(static_cast< int >(result
));
52394 SWIGINTERN PyObject
*IndividualLayoutConstraint_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52396 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
52397 SWIG_TypeNewClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, SWIG_NewClientData(obj
));
52398 return SWIG_Py_Void();
52401 SWIGINTERN PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52402 PyObject
*resultobj
= 0;
52403 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52404 wxIndividualLayoutConstraint
*result
= 0 ;
52407 PyObject
*swig_obj
[1] ;
52409 if (!args
) SWIG_fail
;
52410 swig_obj
[0] = args
;
52411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52412 if (!SWIG_IsOK(res1
)) {
52413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_left_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52415 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52416 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
52417 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52424 SWIGINTERN PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52425 PyObject
*resultobj
= 0;
52426 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52427 wxIndividualLayoutConstraint
*result
= 0 ;
52430 PyObject
*swig_obj
[1] ;
52432 if (!args
) SWIG_fail
;
52433 swig_obj
[0] = args
;
52434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52435 if (!SWIG_IsOK(res1
)) {
52436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_top_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52438 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52439 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
52440 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52447 SWIGINTERN PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52448 PyObject
*resultobj
= 0;
52449 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52450 wxIndividualLayoutConstraint
*result
= 0 ;
52453 PyObject
*swig_obj
[1] ;
52455 if (!args
) SWIG_fail
;
52456 swig_obj
[0] = args
;
52457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52458 if (!SWIG_IsOK(res1
)) {
52459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_right_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52461 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52462 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
52463 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52470 SWIGINTERN PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52471 PyObject
*resultobj
= 0;
52472 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52473 wxIndividualLayoutConstraint
*result
= 0 ;
52476 PyObject
*swig_obj
[1] ;
52478 if (!args
) SWIG_fail
;
52479 swig_obj
[0] = args
;
52480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52481 if (!SWIG_IsOK(res1
)) {
52482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_bottom_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52484 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52485 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
52486 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52493 SWIGINTERN PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52494 PyObject
*resultobj
= 0;
52495 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52496 wxIndividualLayoutConstraint
*result
= 0 ;
52499 PyObject
*swig_obj
[1] ;
52501 if (!args
) SWIG_fail
;
52502 swig_obj
[0] = args
;
52503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52504 if (!SWIG_IsOK(res1
)) {
52505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_width_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52507 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52508 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
52509 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52516 SWIGINTERN PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52517 PyObject
*resultobj
= 0;
52518 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52519 wxIndividualLayoutConstraint
*result
= 0 ;
52522 PyObject
*swig_obj
[1] ;
52524 if (!args
) SWIG_fail
;
52525 swig_obj
[0] = args
;
52526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52527 if (!SWIG_IsOK(res1
)) {
52528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_height_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52530 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52531 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
52532 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52539 SWIGINTERN PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52540 PyObject
*resultobj
= 0;
52541 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52542 wxIndividualLayoutConstraint
*result
= 0 ;
52545 PyObject
*swig_obj
[1] ;
52547 if (!args
) SWIG_fail
;
52548 swig_obj
[0] = args
;
52549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52550 if (!SWIG_IsOK(res1
)) {
52551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_centreX_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52553 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52554 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
52555 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52562 SWIGINTERN PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52563 PyObject
*resultobj
= 0;
52564 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52565 wxIndividualLayoutConstraint
*result
= 0 ;
52568 PyObject
*swig_obj
[1] ;
52570 if (!args
) SWIG_fail
;
52571 swig_obj
[0] = args
;
52572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52573 if (!SWIG_IsOK(res1
)) {
52574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_centreY_get" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52576 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52577 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
52578 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0 | 0 );
52585 SWIGINTERN PyObject
*_wrap_new_LayoutConstraints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52586 PyObject
*resultobj
= 0;
52587 wxLayoutConstraints
*result
= 0 ;
52589 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutConstraints",0,0,0)) SWIG_fail
;
52591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52592 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
52593 wxPyEndAllowThreads(__tstate
);
52594 if (PyErr_Occurred()) SWIG_fail
;
52596 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_NEW
| 0 );
52603 SWIGINTERN PyObject
*_wrap_delete_LayoutConstraints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52604 PyObject
*resultobj
= 0;
52605 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52608 PyObject
*swig_obj
[1] ;
52610 if (!args
) SWIG_fail
;
52611 swig_obj
[0] = args
;
52612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, SWIG_POINTER_DISOWN
| 0 );
52613 if (!SWIG_IsOK(res1
)) {
52614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutConstraints" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52616 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52621 wxPyEndAllowThreads(__tstate
);
52622 if (PyErr_Occurred()) SWIG_fail
;
52624 resultobj
= SWIG_Py_Void();
52631 SWIGINTERN PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
52632 PyObject
*resultobj
= 0;
52633 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52634 wxWindow
*arg2
= (wxWindow
*) 0 ;
52635 int *arg3
= (int *) 0 ;
52642 int res3
= SWIG_TMPOBJ
;
52643 PyObject
* obj0
= 0 ;
52644 PyObject
* obj1
= 0 ;
52645 char * kwnames
[] = {
52646 (char *) "self",(char *) "win", NULL
52650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
52651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52652 if (!SWIG_IsOK(res1
)) {
52653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_SatisfyConstraints" "', expected argument " "1"" of type '" "wxLayoutConstraints *""'");
52655 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52656 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
52657 if (!SWIG_IsOK(res2
)) {
52658 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutConstraints_SatisfyConstraints" "', expected argument " "2"" of type '" "wxWindow *""'");
52660 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
52662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52663 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
52664 wxPyEndAllowThreads(__tstate
);
52665 if (PyErr_Occurred()) SWIG_fail
;
52668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
52670 if (SWIG_IsTmpObj(res3
)) {
52671 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
52673 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
52674 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
52682 SWIGINTERN PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52683 PyObject
*resultobj
= 0;
52684 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
52688 PyObject
*swig_obj
[1] ;
52690 if (!args
) SWIG_fail
;
52691 swig_obj
[0] = args
;
52692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutConstraints
, 0 | 0 );
52693 if (!SWIG_IsOK(res1
)) {
52694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutConstraints_AreSatisfied" "', expected argument " "1"" of type '" "wxLayoutConstraints const *""'");
52696 arg1
= reinterpret_cast< wxLayoutConstraints
* >(argp1
);
52698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
52699 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
52700 wxPyEndAllowThreads(__tstate
);
52701 if (PyErr_Occurred()) SWIG_fail
;
52704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
52712 SWIGINTERN PyObject
*LayoutConstraints_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52714 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
52715 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutConstraints
, SWIG_NewClientData(obj
));
52716 return SWIG_Py_Void();
52719 SWIGINTERN PyObject
*LayoutConstraints_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
52720 return SWIG_Python_InitShadowInstance(args
);
52723 static PyMethodDef SwigMethods
[] = {
52724 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
52725 { (char *)"Object_GetClassName", (PyCFunction
)_wrap_Object_GetClassName
, METH_O
, NULL
},
52726 { (char *)"Object_Destroy", (PyCFunction
)_wrap_Object_Destroy
, METH_O
, NULL
},
52727 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
52728 { (char *)"Size_width_set", _wrap_Size_width_set
, METH_VARARGS
, NULL
},
52729 { (char *)"Size_width_get", (PyCFunction
)_wrap_Size_width_get
, METH_O
, NULL
},
52730 { (char *)"Size_height_set", _wrap_Size_height_set
, METH_VARARGS
, NULL
},
52731 { (char *)"Size_height_get", (PyCFunction
)_wrap_Size_height_get
, METH_O
, NULL
},
52732 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52733 { (char *)"delete_Size", (PyCFunction
)_wrap_delete_Size
, METH_O
, NULL
},
52734 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52735 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52736 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52737 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52738 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52739 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52740 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52741 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52742 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52743 { (char *)"Size_GetWidth", (PyCFunction
)_wrap_Size_GetWidth
, METH_O
, NULL
},
52744 { (char *)"Size_GetHeight", (PyCFunction
)_wrap_Size_GetHeight
, METH_O
, NULL
},
52745 { (char *)"Size_IsFullySpecified", (PyCFunction
)_wrap_Size_IsFullySpecified
, METH_O
, NULL
},
52746 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52747 { (char *)"Size_Get", (PyCFunction
)_wrap_Size_Get
, METH_O
, NULL
},
52748 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
52749 { (char *)"Size_swiginit", Size_swiginit
, METH_VARARGS
, NULL
},
52750 { (char *)"RealPoint_x_set", _wrap_RealPoint_x_set
, METH_VARARGS
, NULL
},
52751 { (char *)"RealPoint_x_get", (PyCFunction
)_wrap_RealPoint_x_get
, METH_O
, NULL
},
52752 { (char *)"RealPoint_y_set", _wrap_RealPoint_y_set
, METH_VARARGS
, NULL
},
52753 { (char *)"RealPoint_y_get", (PyCFunction
)_wrap_RealPoint_y_get
, METH_O
, NULL
},
52754 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52755 { (char *)"delete_RealPoint", (PyCFunction
)_wrap_delete_RealPoint
, METH_O
, NULL
},
52756 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52757 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52758 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52759 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52760 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52761 { (char *)"RealPoint_Get", (PyCFunction
)_wrap_RealPoint_Get
, METH_O
, NULL
},
52762 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
52763 { (char *)"RealPoint_swiginit", RealPoint_swiginit
, METH_VARARGS
, NULL
},
52764 { (char *)"Point_x_set", _wrap_Point_x_set
, METH_VARARGS
, NULL
},
52765 { (char *)"Point_x_get", (PyCFunction
)_wrap_Point_x_get
, METH_O
, NULL
},
52766 { (char *)"Point_y_set", _wrap_Point_y_set
, METH_VARARGS
, NULL
},
52767 { (char *)"Point_y_get", (PyCFunction
)_wrap_Point_y_get
, METH_O
, NULL
},
52768 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52769 { (char *)"delete_Point", (PyCFunction
)_wrap_delete_Point
, METH_O
, NULL
},
52770 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52771 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52772 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52773 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52774 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52775 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52776 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52777 { (char *)"Point_Get", (PyCFunction
)_wrap_Point_Get
, METH_O
, NULL
},
52778 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
52779 { (char *)"Point_swiginit", Point_swiginit
, METH_VARARGS
, NULL
},
52780 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52781 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52782 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52783 { (char *)"new_RectS", (PyCFunction
) _wrap_new_RectS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52784 { (char *)"delete_Rect", (PyCFunction
)_wrap_delete_Rect
, METH_O
, NULL
},
52785 { (char *)"Rect_GetX", (PyCFunction
)_wrap_Rect_GetX
, METH_O
, NULL
},
52786 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52787 { (char *)"Rect_GetY", (PyCFunction
)_wrap_Rect_GetY
, METH_O
, NULL
},
52788 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52789 { (char *)"Rect_GetWidth", (PyCFunction
)_wrap_Rect_GetWidth
, METH_O
, NULL
},
52790 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52791 { (char *)"Rect_GetHeight", (PyCFunction
)_wrap_Rect_GetHeight
, METH_O
, NULL
},
52792 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52793 { (char *)"Rect_GetPosition", (PyCFunction
)_wrap_Rect_GetPosition
, METH_O
, NULL
},
52794 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52795 { (char *)"Rect_GetSize", (PyCFunction
)_wrap_Rect_GetSize
, METH_O
, NULL
},
52796 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52797 { (char *)"Rect_IsEmpty", (PyCFunction
)_wrap_Rect_IsEmpty
, METH_O
, NULL
},
52798 { (char *)"Rect_GetTopLeft", (PyCFunction
)_wrap_Rect_GetTopLeft
, METH_O
, NULL
},
52799 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52800 { (char *)"Rect_GetBottomRight", (PyCFunction
)_wrap_Rect_GetBottomRight
, METH_O
, NULL
},
52801 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52802 { (char *)"Rect_GetLeft", (PyCFunction
)_wrap_Rect_GetLeft
, METH_O
, NULL
},
52803 { (char *)"Rect_GetTop", (PyCFunction
)_wrap_Rect_GetTop
, METH_O
, NULL
},
52804 { (char *)"Rect_GetBottom", (PyCFunction
)_wrap_Rect_GetBottom
, METH_O
, NULL
},
52805 { (char *)"Rect_GetRight", (PyCFunction
)_wrap_Rect_GetRight
, METH_O
, NULL
},
52806 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52807 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52808 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52809 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52810 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52811 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52812 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52813 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52814 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52815 { (char *)"Rect_Union", (PyCFunction
) _wrap_Rect_Union
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52816 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52817 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52818 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52819 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52820 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52821 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52822 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52823 { (char *)"Rect_CenterIn", (PyCFunction
) _wrap_Rect_CenterIn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52824 { (char *)"Rect_x_set", _wrap_Rect_x_set
, METH_VARARGS
, NULL
},
52825 { (char *)"Rect_x_get", (PyCFunction
)_wrap_Rect_x_get
, METH_O
, NULL
},
52826 { (char *)"Rect_y_set", _wrap_Rect_y_set
, METH_VARARGS
, NULL
},
52827 { (char *)"Rect_y_get", (PyCFunction
)_wrap_Rect_y_get
, METH_O
, NULL
},
52828 { (char *)"Rect_width_set", _wrap_Rect_width_set
, METH_VARARGS
, NULL
},
52829 { (char *)"Rect_width_get", (PyCFunction
)_wrap_Rect_width_get
, METH_O
, NULL
},
52830 { (char *)"Rect_height_set", _wrap_Rect_height_set
, METH_VARARGS
, NULL
},
52831 { (char *)"Rect_height_get", (PyCFunction
)_wrap_Rect_height_get
, METH_O
, NULL
},
52832 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52833 { (char *)"Rect_Get", (PyCFunction
)_wrap_Rect_Get
, METH_O
, NULL
},
52834 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
52835 { (char *)"Rect_swiginit", Rect_swiginit
, METH_VARARGS
, NULL
},
52836 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52837 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52838 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52839 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52840 { (char *)"Point2D_GetFloor", (PyCFunction
)_wrap_Point2D_GetFloor
, METH_O
, NULL
},
52841 { (char *)"Point2D_GetRounded", (PyCFunction
)_wrap_Point2D_GetRounded
, METH_O
, NULL
},
52842 { (char *)"Point2D_GetVectorLength", (PyCFunction
)_wrap_Point2D_GetVectorLength
, METH_O
, NULL
},
52843 { (char *)"Point2D_GetVectorAngle", (PyCFunction
)_wrap_Point2D_GetVectorAngle
, METH_O
, NULL
},
52844 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52845 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52846 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52847 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52848 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52849 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52850 { (char *)"Point2D___neg__", (PyCFunction
)_wrap_Point2D___neg__
, METH_O
, NULL
},
52851 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52852 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52853 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52854 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52855 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52856 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52857 { (char *)"Point2D_x_set", _wrap_Point2D_x_set
, METH_VARARGS
, NULL
},
52858 { (char *)"Point2D_x_get", (PyCFunction
)_wrap_Point2D_x_get
, METH_O
, NULL
},
52859 { (char *)"Point2D_y_set", _wrap_Point2D_y_set
, METH_VARARGS
, NULL
},
52860 { (char *)"Point2D_y_get", (PyCFunction
)_wrap_Point2D_y_get
, METH_O
, NULL
},
52861 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52862 { (char *)"Point2D_Get", (PyCFunction
)_wrap_Point2D_Get
, METH_O
, NULL
},
52863 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
52864 { (char *)"Point2D_swiginit", Point2D_swiginit
, METH_VARARGS
, NULL
},
52865 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52866 { (char *)"delete_InputStream", (PyCFunction
)_wrap_delete_InputStream
, METH_O
, NULL
},
52867 { (char *)"InputStream_close", (PyCFunction
)_wrap_InputStream_close
, METH_O
, NULL
},
52868 { (char *)"InputStream_flush", (PyCFunction
)_wrap_InputStream_flush
, METH_O
, NULL
},
52869 { (char *)"InputStream_eof", (PyCFunction
)_wrap_InputStream_eof
, METH_O
, NULL
},
52870 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52871 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52872 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52873 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52874 { (char *)"InputStream_tell", (PyCFunction
)_wrap_InputStream_tell
, METH_O
, NULL
},
52875 { (char *)"InputStream_Peek", (PyCFunction
)_wrap_InputStream_Peek
, METH_O
, NULL
},
52876 { (char *)"InputStream_GetC", (PyCFunction
)_wrap_InputStream_GetC
, METH_O
, NULL
},
52877 { (char *)"InputStream_LastRead", (PyCFunction
)_wrap_InputStream_LastRead
, METH_O
, NULL
},
52878 { (char *)"InputStream_CanRead", (PyCFunction
)_wrap_InputStream_CanRead
, METH_O
, NULL
},
52879 { (char *)"InputStream_Eof", (PyCFunction
)_wrap_InputStream_Eof
, METH_O
, NULL
},
52880 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52881 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52882 { (char *)"InputStream_TellI", (PyCFunction
)_wrap_InputStream_TellI
, METH_O
, NULL
},
52883 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
52884 { (char *)"InputStream_swiginit", InputStream_swiginit
, METH_VARARGS
, NULL
},
52885 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52886 { (char *)"OutputStream_LastWrite", (PyCFunction
)_wrap_OutputStream_LastWrite
, METH_O
, NULL
},
52887 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
52888 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52889 { (char *)"delete_FSFile", (PyCFunction
)_wrap_delete_FSFile
, METH_O
, NULL
},
52890 { (char *)"FSFile_GetStream", (PyCFunction
)_wrap_FSFile_GetStream
, METH_O
, NULL
},
52891 { (char *)"FSFile_GetMimeType", (PyCFunction
)_wrap_FSFile_GetMimeType
, METH_O
, NULL
},
52892 { (char *)"FSFile_GetLocation", (PyCFunction
)_wrap_FSFile_GetLocation
, METH_O
, NULL
},
52893 { (char *)"FSFile_GetAnchor", (PyCFunction
)_wrap_FSFile_GetAnchor
, METH_O
, NULL
},
52894 { (char *)"FSFile_GetModificationTime", (PyCFunction
)_wrap_FSFile_GetModificationTime
, METH_O
, NULL
},
52895 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
52896 { (char *)"FSFile_swiginit", FSFile_swiginit
, METH_VARARGS
, NULL
},
52897 { (char *)"delete_CPPFileSystemHandler", (PyCFunction
)_wrap_delete_CPPFileSystemHandler
, METH_O
, NULL
},
52898 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
52899 { (char *)"new_FileSystemHandler", (PyCFunction
)_wrap_new_FileSystemHandler
, METH_NOARGS
, NULL
},
52900 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52901 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52902 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52903 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52904 { (char *)"FileSystemHandler_FindNext", (PyCFunction
)_wrap_FileSystemHandler_FindNext
, METH_O
, NULL
},
52905 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52906 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52907 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52908 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52909 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52910 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
52911 { (char *)"FileSystemHandler_swiginit", FileSystemHandler_swiginit
, METH_VARARGS
, NULL
},
52912 { (char *)"new_FileSystem", (PyCFunction
)_wrap_new_FileSystem
, METH_NOARGS
, NULL
},
52913 { (char *)"delete_FileSystem", (PyCFunction
)_wrap_delete_FileSystem
, METH_O
, NULL
},
52914 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52915 { (char *)"FileSystem_GetPath", (PyCFunction
)_wrap_FileSystem_GetPath
, METH_O
, NULL
},
52916 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52917 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52918 { (char *)"FileSystem_FindNext", (PyCFunction
)_wrap_FileSystem_FindNext
, METH_O
, NULL
},
52919 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52920 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
)_wrap_FileSystem_CleanUpHandlers
, METH_NOARGS
, NULL
},
52921 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52922 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52923 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
52924 { (char *)"FileSystem_swiginit", FileSystem_swiginit
, METH_VARARGS
, NULL
},
52925 { (char *)"new_InternetFSHandler", (PyCFunction
)_wrap_new_InternetFSHandler
, METH_NOARGS
, NULL
},
52926 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52927 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52928 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
52929 { (char *)"InternetFSHandler_swiginit", InternetFSHandler_swiginit
, METH_VARARGS
, NULL
},
52930 { (char *)"new_ZipFSHandler", (PyCFunction
)_wrap_new_ZipFSHandler
, METH_NOARGS
, NULL
},
52931 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52932 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52933 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52934 { (char *)"ZipFSHandler_FindNext", (PyCFunction
)_wrap_ZipFSHandler_FindNext
, METH_O
, NULL
},
52935 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
52936 { (char *)"ZipFSHandler_swiginit", ZipFSHandler_swiginit
, METH_VARARGS
, NULL
},
52937 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52938 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52939 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52940 { (char *)"new_MemoryFSHandler", (PyCFunction
)_wrap_new_MemoryFSHandler
, METH_NOARGS
, NULL
},
52941 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52942 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52943 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52944 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52945 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
)_wrap_MemoryFSHandler_FindNext
, METH_O
, NULL
},
52946 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
52947 { (char *)"MemoryFSHandler_swiginit", MemoryFSHandler_swiginit
, METH_VARARGS
, NULL
},
52948 { (char *)"ImageHandler_GetName", (PyCFunction
)_wrap_ImageHandler_GetName
, METH_O
, NULL
},
52949 { (char *)"ImageHandler_GetExtension", (PyCFunction
)_wrap_ImageHandler_GetExtension
, METH_O
, NULL
},
52950 { (char *)"ImageHandler_GetType", (PyCFunction
)_wrap_ImageHandler_GetType
, METH_O
, NULL
},
52951 { (char *)"ImageHandler_GetMimeType", (PyCFunction
)_wrap_ImageHandler_GetMimeType
, METH_O
, NULL
},
52952 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52953 { (char *)"ImageHandler_CanReadStream", (PyCFunction
) _wrap_ImageHandler_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52954 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52955 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52956 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52957 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52958 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
52959 { (char *)"new_PyImageHandler", (PyCFunction
)_wrap_new_PyImageHandler
, METH_NOARGS
, NULL
},
52960 { (char *)"PyImageHandler__SetSelf", (PyCFunction
) _wrap_PyImageHandler__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52961 { (char *)"PyImageHandler_swigregister", PyImageHandler_swigregister
, METH_VARARGS
, NULL
},
52962 { (char *)"PyImageHandler_swiginit", PyImageHandler_swiginit
, METH_VARARGS
, NULL
},
52963 { (char *)"new_ImageHistogram", (PyCFunction
)_wrap_new_ImageHistogram
, METH_NOARGS
, NULL
},
52964 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52965 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52966 { (char *)"ImageHistogram_GetCount", (PyCFunction
) _wrap_ImageHistogram_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52967 { (char *)"ImageHistogram_GetCountRGB", (PyCFunction
) _wrap_ImageHistogram_GetCountRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52968 { (char *)"ImageHistogram_GetCountColour", (PyCFunction
) _wrap_ImageHistogram_GetCountColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52969 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
52970 { (char *)"ImageHistogram_swiginit", ImageHistogram_swiginit
, METH_VARARGS
, NULL
},
52971 { (char *)"new_Image_RGBValue", (PyCFunction
) _wrap_new_Image_RGBValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52972 { (char *)"Image_RGBValue_red_set", _wrap_Image_RGBValue_red_set
, METH_VARARGS
, NULL
},
52973 { (char *)"Image_RGBValue_red_get", (PyCFunction
)_wrap_Image_RGBValue_red_get
, METH_O
, NULL
},
52974 { (char *)"Image_RGBValue_green_set", _wrap_Image_RGBValue_green_set
, METH_VARARGS
, NULL
},
52975 { (char *)"Image_RGBValue_green_get", (PyCFunction
)_wrap_Image_RGBValue_green_get
, METH_O
, NULL
},
52976 { (char *)"Image_RGBValue_blue_set", _wrap_Image_RGBValue_blue_set
, METH_VARARGS
, NULL
},
52977 { (char *)"Image_RGBValue_blue_get", (PyCFunction
)_wrap_Image_RGBValue_blue_get
, METH_O
, NULL
},
52978 { (char *)"Image_RGBValue_swigregister", Image_RGBValue_swigregister
, METH_VARARGS
, NULL
},
52979 { (char *)"Image_RGBValue_swiginit", Image_RGBValue_swiginit
, METH_VARARGS
, NULL
},
52980 { (char *)"new_Image_HSVValue", (PyCFunction
) _wrap_new_Image_HSVValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52981 { (char *)"Image_HSVValue_hue_set", _wrap_Image_HSVValue_hue_set
, METH_VARARGS
, NULL
},
52982 { (char *)"Image_HSVValue_hue_get", (PyCFunction
)_wrap_Image_HSVValue_hue_get
, METH_O
, NULL
},
52983 { (char *)"Image_HSVValue_saturation_set", _wrap_Image_HSVValue_saturation_set
, METH_VARARGS
, NULL
},
52984 { (char *)"Image_HSVValue_saturation_get", (PyCFunction
)_wrap_Image_HSVValue_saturation_get
, METH_O
, NULL
},
52985 { (char *)"Image_HSVValue_value_set", _wrap_Image_HSVValue_value_set
, METH_VARARGS
, NULL
},
52986 { (char *)"Image_HSVValue_value_get", (PyCFunction
)_wrap_Image_HSVValue_value_get
, METH_O
, NULL
},
52987 { (char *)"Image_HSVValue_swigregister", Image_HSVValue_swigregister
, METH_VARARGS
, NULL
},
52988 { (char *)"Image_HSVValue_swiginit", Image_HSVValue_swiginit
, METH_VARARGS
, NULL
},
52989 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52990 { (char *)"delete_Image", (PyCFunction
)_wrap_delete_Image
, METH_O
, NULL
},
52991 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52992 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52993 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52994 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52995 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52996 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52997 { (char *)"new_ImageFromDataWithAlpha", (PyCFunction
) _wrap_new_ImageFromDataWithAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52998 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
52999 { (char *)"Image_Destroy", (PyCFunction
)_wrap_Image_Destroy
, METH_O
, NULL
},
53000 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53001 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53002 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53003 { (char *)"Image_Resize", (PyCFunction
) _wrap_Image_Resize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53004 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53005 { (char *)"Image_SetRGBRect", (PyCFunction
) _wrap_Image_SetRGBRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53006 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53007 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53008 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53009 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53010 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53011 { (char *)"Image_HasAlpha", (PyCFunction
)_wrap_Image_HasAlpha
, METH_O
, NULL
},
53012 { (char *)"Image_InitAlpha", (PyCFunction
)_wrap_Image_InitAlpha
, METH_O
, NULL
},
53013 { (char *)"Image_IsTransparent", (PyCFunction
) _wrap_Image_IsTransparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53014 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53015 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53016 { (char *)"Image_ConvertColourToAlpha", (PyCFunction
) _wrap_Image_ConvertColourToAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53017 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53018 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53019 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53020 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53021 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53022 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53023 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53024 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53025 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53026 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53027 { (char *)"Image_Ok", (PyCFunction
)_wrap_Image_Ok
, METH_O
, NULL
},
53028 { (char *)"Image_GetWidth", (PyCFunction
)_wrap_Image_GetWidth
, METH_O
, NULL
},
53029 { (char *)"Image_GetHeight", (PyCFunction
)_wrap_Image_GetHeight
, METH_O
, NULL
},
53030 { (char *)"Image_GetSize", (PyCFunction
)_wrap_Image_GetSize
, METH_O
, NULL
},
53031 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53032 { (char *)"Image_Size", (PyCFunction
) _wrap_Image_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53033 { (char *)"Image_Copy", (PyCFunction
)_wrap_Image_Copy
, METH_O
, NULL
},
53034 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53035 { (char *)"Image_GetData", (PyCFunction
)_wrap_Image_GetData
, METH_O
, NULL
},
53036 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53037 { (char *)"Image_GetDataBuffer", (PyCFunction
)_wrap_Image_GetDataBuffer
, METH_O
, NULL
},
53038 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53039 { (char *)"Image_GetAlphaData", (PyCFunction
)_wrap_Image_GetAlphaData
, METH_O
, NULL
},
53040 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53041 { (char *)"Image_GetAlphaBuffer", (PyCFunction
)_wrap_Image_GetAlphaBuffer
, METH_O
, NULL
},
53042 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53043 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53044 { (char *)"Image_GetOrFindMaskColour", (PyCFunction
)_wrap_Image_GetOrFindMaskColour
, METH_O
, NULL
},
53045 { (char *)"Image_GetMaskRed", (PyCFunction
)_wrap_Image_GetMaskRed
, METH_O
, NULL
},
53046 { (char *)"Image_GetMaskGreen", (PyCFunction
)_wrap_Image_GetMaskGreen
, METH_O
, NULL
},
53047 { (char *)"Image_GetMaskBlue", (PyCFunction
)_wrap_Image_GetMaskBlue
, METH_O
, NULL
},
53048 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53049 { (char *)"Image_HasMask", (PyCFunction
)_wrap_Image_HasMask
, METH_O
, NULL
},
53050 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53051 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53052 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53053 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53054 { (char *)"Image_ConvertToGreyscale", (PyCFunction
) _wrap_Image_ConvertToGreyscale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53055 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53056 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53057 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53058 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53059 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53060 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53061 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53062 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53063 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53064 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53065 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53066 { (char *)"Image_GetHandlers", (PyCFunction
)_wrap_Image_GetHandlers
, METH_NOARGS
, NULL
},
53067 { (char *)"Image_GetImageExtWildcard", (PyCFunction
)_wrap_Image_GetImageExtWildcard
, METH_NOARGS
, NULL
},
53068 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53069 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53070 { (char *)"Image_RotateHue", (PyCFunction
) _wrap_Image_RotateHue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53071 { (char *)"Image_RGBtoHSV", (PyCFunction
) _wrap_Image_RGBtoHSV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53072 { (char *)"Image_HSVtoRGB", (PyCFunction
) _wrap_Image_HSVtoRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53073 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
53074 { (char *)"Image_swiginit", Image_swiginit
, METH_VARARGS
, NULL
},
53075 { (char *)"new_BMPHandler", (PyCFunction
)_wrap_new_BMPHandler
, METH_NOARGS
, NULL
},
53076 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
53077 { (char *)"BMPHandler_swiginit", BMPHandler_swiginit
, METH_VARARGS
, NULL
},
53078 { (char *)"new_ICOHandler", (PyCFunction
)_wrap_new_ICOHandler
, METH_NOARGS
, NULL
},
53079 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
53080 { (char *)"ICOHandler_swiginit", ICOHandler_swiginit
, METH_VARARGS
, NULL
},
53081 { (char *)"new_CURHandler", (PyCFunction
)_wrap_new_CURHandler
, METH_NOARGS
, NULL
},
53082 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
53083 { (char *)"CURHandler_swiginit", CURHandler_swiginit
, METH_VARARGS
, NULL
},
53084 { (char *)"new_ANIHandler", (PyCFunction
)_wrap_new_ANIHandler
, METH_NOARGS
, NULL
},
53085 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
53086 { (char *)"ANIHandler_swiginit", ANIHandler_swiginit
, METH_VARARGS
, NULL
},
53087 { (char *)"new_PNGHandler", (PyCFunction
)_wrap_new_PNGHandler
, METH_NOARGS
, NULL
},
53088 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
53089 { (char *)"PNGHandler_swiginit", PNGHandler_swiginit
, METH_VARARGS
, NULL
},
53090 { (char *)"new_GIFHandler", (PyCFunction
)_wrap_new_GIFHandler
, METH_NOARGS
, NULL
},
53091 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
53092 { (char *)"GIFHandler_swiginit", GIFHandler_swiginit
, METH_VARARGS
, NULL
},
53093 { (char *)"new_PCXHandler", (PyCFunction
)_wrap_new_PCXHandler
, METH_NOARGS
, NULL
},
53094 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
53095 { (char *)"PCXHandler_swiginit", PCXHandler_swiginit
, METH_VARARGS
, NULL
},
53096 { (char *)"new_JPEGHandler", (PyCFunction
)_wrap_new_JPEGHandler
, METH_NOARGS
, NULL
},
53097 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
53098 { (char *)"JPEGHandler_swiginit", JPEGHandler_swiginit
, METH_VARARGS
, NULL
},
53099 { (char *)"new_PNMHandler", (PyCFunction
)_wrap_new_PNMHandler
, METH_NOARGS
, NULL
},
53100 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
53101 { (char *)"PNMHandler_swiginit", PNMHandler_swiginit
, METH_VARARGS
, NULL
},
53102 { (char *)"new_XPMHandler", (PyCFunction
)_wrap_new_XPMHandler
, METH_NOARGS
, NULL
},
53103 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
53104 { (char *)"XPMHandler_swiginit", XPMHandler_swiginit
, METH_VARARGS
, NULL
},
53105 { (char *)"new_TIFFHandler", (PyCFunction
)_wrap_new_TIFFHandler
, METH_NOARGS
, NULL
},
53106 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
53107 { (char *)"TIFFHandler_swiginit", TIFFHandler_swiginit
, METH_VARARGS
, NULL
},
53108 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53109 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
, NULL
},
53110 { (char *)"new_EvtHandler", (PyCFunction
)_wrap_new_EvtHandler
, METH_NOARGS
, NULL
},
53111 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
)_wrap_EvtHandler_GetNextHandler
, METH_O
, NULL
},
53112 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
)_wrap_EvtHandler_GetPreviousHandler
, METH_O
, NULL
},
53113 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53114 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53115 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
)_wrap_EvtHandler_GetEvtHandlerEnabled
, METH_O
, NULL
},
53116 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53117 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53118 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53119 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
)_wrap_EvtHandler_ProcessPendingEvents
, METH_O
, NULL
},
53120 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53121 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53122 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53123 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
53124 { (char *)"EvtHandler_swiginit", EvtHandler_swiginit
, METH_VARARGS
, NULL
},
53125 { (char *)"NewEventType", (PyCFunction
)_wrap_NewEventType
, METH_NOARGS
, NULL
},
53126 { (char *)"delete_Event", (PyCFunction
)_wrap_delete_Event
, METH_O
, NULL
},
53127 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53128 { (char *)"Event_GetEventType", (PyCFunction
)_wrap_Event_GetEventType
, METH_O
, NULL
},
53129 { (char *)"Event_GetEventObject", (PyCFunction
)_wrap_Event_GetEventObject
, METH_O
, NULL
},
53130 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53131 { (char *)"Event_GetTimestamp", (PyCFunction
)_wrap_Event_GetTimestamp
, METH_O
, NULL
},
53132 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53133 { (char *)"Event_GetId", (PyCFunction
)_wrap_Event_GetId
, METH_O
, NULL
},
53134 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53135 { (char *)"Event_IsCommandEvent", (PyCFunction
)_wrap_Event_IsCommandEvent
, METH_O
, NULL
},
53136 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53137 { (char *)"Event_GetSkipped", (PyCFunction
)_wrap_Event_GetSkipped
, METH_O
, NULL
},
53138 { (char *)"Event_ShouldPropagate", (PyCFunction
)_wrap_Event_ShouldPropagate
, METH_O
, NULL
},
53139 { (char *)"Event_StopPropagation", (PyCFunction
)_wrap_Event_StopPropagation
, METH_O
, NULL
},
53140 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53141 { (char *)"Event_Clone", (PyCFunction
)_wrap_Event_Clone
, METH_O
, NULL
},
53142 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
53143 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53144 { (char *)"delete_PropagationDisabler", (PyCFunction
)_wrap_delete_PropagationDisabler
, METH_O
, NULL
},
53145 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
53146 { (char *)"PropagationDisabler_swiginit", PropagationDisabler_swiginit
, METH_VARARGS
, NULL
},
53147 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53148 { (char *)"delete_PropagateOnce", (PyCFunction
)_wrap_delete_PropagateOnce
, METH_O
, NULL
},
53149 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
53150 { (char *)"PropagateOnce_swiginit", PropagateOnce_swiginit
, METH_VARARGS
, NULL
},
53151 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53152 { (char *)"CommandEvent_GetSelection", (PyCFunction
)_wrap_CommandEvent_GetSelection
, METH_O
, NULL
},
53153 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53154 { (char *)"CommandEvent_GetString", (PyCFunction
)_wrap_CommandEvent_GetString
, METH_O
, NULL
},
53155 { (char *)"CommandEvent_IsChecked", (PyCFunction
)_wrap_CommandEvent_IsChecked
, METH_O
, NULL
},
53156 { (char *)"CommandEvent_IsSelection", (PyCFunction
)_wrap_CommandEvent_IsSelection
, METH_O
, NULL
},
53157 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53158 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
)_wrap_CommandEvent_GetExtraLong
, METH_O
, NULL
},
53159 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53160 { (char *)"CommandEvent_GetInt", (PyCFunction
)_wrap_CommandEvent_GetInt
, METH_O
, NULL
},
53161 { (char *)"CommandEvent_GetClientData", (PyCFunction
)_wrap_CommandEvent_GetClientData
, METH_O
, NULL
},
53162 { (char *)"CommandEvent_SetClientData", (PyCFunction
) _wrap_CommandEvent_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53163 { (char *)"CommandEvent_Clone", (PyCFunction
)_wrap_CommandEvent_Clone
, METH_O
, NULL
},
53164 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
53165 { (char *)"CommandEvent_swiginit", CommandEvent_swiginit
, METH_VARARGS
, NULL
},
53166 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53167 { (char *)"NotifyEvent_Veto", (PyCFunction
)_wrap_NotifyEvent_Veto
, METH_O
, NULL
},
53168 { (char *)"NotifyEvent_Allow", (PyCFunction
)_wrap_NotifyEvent_Allow
, METH_O
, NULL
},
53169 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
)_wrap_NotifyEvent_IsAllowed
, METH_O
, NULL
},
53170 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
53171 { (char *)"NotifyEvent_swiginit", NotifyEvent_swiginit
, METH_VARARGS
, NULL
},
53172 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53173 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
)_wrap_ScrollEvent_GetOrientation
, METH_O
, NULL
},
53174 { (char *)"ScrollEvent_GetPosition", (PyCFunction
)_wrap_ScrollEvent_GetPosition
, METH_O
, NULL
},
53175 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53176 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53177 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
53178 { (char *)"ScrollEvent_swiginit", ScrollEvent_swiginit
, METH_VARARGS
, NULL
},
53179 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53180 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
)_wrap_ScrollWinEvent_GetOrientation
, METH_O
, NULL
},
53181 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
)_wrap_ScrollWinEvent_GetPosition
, METH_O
, NULL
},
53182 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53183 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53184 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
53185 { (char *)"ScrollWinEvent_swiginit", ScrollWinEvent_swiginit
, METH_VARARGS
, NULL
},
53186 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53187 { (char *)"MouseEvent_IsButton", (PyCFunction
)_wrap_MouseEvent_IsButton
, METH_O
, NULL
},
53188 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53189 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53190 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53191 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53192 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53193 { (char *)"MouseEvent_GetButton", (PyCFunction
)_wrap_MouseEvent_GetButton
, METH_O
, NULL
},
53194 { (char *)"MouseEvent_ControlDown", (PyCFunction
)_wrap_MouseEvent_ControlDown
, METH_O
, NULL
},
53195 { (char *)"MouseEvent_MetaDown", (PyCFunction
)_wrap_MouseEvent_MetaDown
, METH_O
, NULL
},
53196 { (char *)"MouseEvent_AltDown", (PyCFunction
)_wrap_MouseEvent_AltDown
, METH_O
, NULL
},
53197 { (char *)"MouseEvent_ShiftDown", (PyCFunction
)_wrap_MouseEvent_ShiftDown
, METH_O
, NULL
},
53198 { (char *)"MouseEvent_CmdDown", (PyCFunction
)_wrap_MouseEvent_CmdDown
, METH_O
, NULL
},
53199 { (char *)"MouseEvent_LeftDown", (PyCFunction
)_wrap_MouseEvent_LeftDown
, METH_O
, NULL
},
53200 { (char *)"MouseEvent_MiddleDown", (PyCFunction
)_wrap_MouseEvent_MiddleDown
, METH_O
, NULL
},
53201 { (char *)"MouseEvent_RightDown", (PyCFunction
)_wrap_MouseEvent_RightDown
, METH_O
, NULL
},
53202 { (char *)"MouseEvent_LeftUp", (PyCFunction
)_wrap_MouseEvent_LeftUp
, METH_O
, NULL
},
53203 { (char *)"MouseEvent_MiddleUp", (PyCFunction
)_wrap_MouseEvent_MiddleUp
, METH_O
, NULL
},
53204 { (char *)"MouseEvent_RightUp", (PyCFunction
)_wrap_MouseEvent_RightUp
, METH_O
, NULL
},
53205 { (char *)"MouseEvent_LeftDClick", (PyCFunction
)_wrap_MouseEvent_LeftDClick
, METH_O
, NULL
},
53206 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
)_wrap_MouseEvent_MiddleDClick
, METH_O
, NULL
},
53207 { (char *)"MouseEvent_RightDClick", (PyCFunction
)_wrap_MouseEvent_RightDClick
, METH_O
, NULL
},
53208 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
)_wrap_MouseEvent_LeftIsDown
, METH_O
, NULL
},
53209 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
)_wrap_MouseEvent_MiddleIsDown
, METH_O
, NULL
},
53210 { (char *)"MouseEvent_RightIsDown", (PyCFunction
)_wrap_MouseEvent_RightIsDown
, METH_O
, NULL
},
53211 { (char *)"MouseEvent_Dragging", (PyCFunction
)_wrap_MouseEvent_Dragging
, METH_O
, NULL
},
53212 { (char *)"MouseEvent_Moving", (PyCFunction
)_wrap_MouseEvent_Moving
, METH_O
, NULL
},
53213 { (char *)"MouseEvent_Entering", (PyCFunction
)_wrap_MouseEvent_Entering
, METH_O
, NULL
},
53214 { (char *)"MouseEvent_Leaving", (PyCFunction
)_wrap_MouseEvent_Leaving
, METH_O
, NULL
},
53215 { (char *)"MouseEvent_GetPosition", (PyCFunction
)_wrap_MouseEvent_GetPosition
, METH_O
, NULL
},
53216 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
)_wrap_MouseEvent_GetPositionTuple
, METH_O
, NULL
},
53217 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53218 { (char *)"MouseEvent_GetX", (PyCFunction
)_wrap_MouseEvent_GetX
, METH_O
, NULL
},
53219 { (char *)"MouseEvent_GetY", (PyCFunction
)_wrap_MouseEvent_GetY
, METH_O
, NULL
},
53220 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
)_wrap_MouseEvent_GetWheelRotation
, METH_O
, NULL
},
53221 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
)_wrap_MouseEvent_GetWheelDelta
, METH_O
, NULL
},
53222 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
)_wrap_MouseEvent_GetLinesPerAction
, METH_O
, NULL
},
53223 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
)_wrap_MouseEvent_IsPageScroll
, METH_O
, NULL
},
53224 { (char *)"MouseEvent_m_x_set", _wrap_MouseEvent_m_x_set
, METH_VARARGS
, NULL
},
53225 { (char *)"MouseEvent_m_x_get", (PyCFunction
)_wrap_MouseEvent_m_x_get
, METH_O
, NULL
},
53226 { (char *)"MouseEvent_m_y_set", _wrap_MouseEvent_m_y_set
, METH_VARARGS
, NULL
},
53227 { (char *)"MouseEvent_m_y_get", (PyCFunction
)_wrap_MouseEvent_m_y_get
, METH_O
, NULL
},
53228 { (char *)"MouseEvent_m_leftDown_set", _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
, NULL
},
53229 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
)_wrap_MouseEvent_m_leftDown_get
, METH_O
, NULL
},
53230 { (char *)"MouseEvent_m_middleDown_set", _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
, NULL
},
53231 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
)_wrap_MouseEvent_m_middleDown_get
, METH_O
, NULL
},
53232 { (char *)"MouseEvent_m_rightDown_set", _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
, NULL
},
53233 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
)_wrap_MouseEvent_m_rightDown_get
, METH_O
, NULL
},
53234 { (char *)"MouseEvent_m_controlDown_set", _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
, NULL
},
53235 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
)_wrap_MouseEvent_m_controlDown_get
, METH_O
, NULL
},
53236 { (char *)"MouseEvent_m_shiftDown_set", _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
, NULL
},
53237 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
)_wrap_MouseEvent_m_shiftDown_get
, METH_O
, NULL
},
53238 { (char *)"MouseEvent_m_altDown_set", _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
, NULL
},
53239 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
)_wrap_MouseEvent_m_altDown_get
, METH_O
, NULL
},
53240 { (char *)"MouseEvent_m_metaDown_set", _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
, NULL
},
53241 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
)_wrap_MouseEvent_m_metaDown_get
, METH_O
, NULL
},
53242 { (char *)"MouseEvent_m_wheelRotation_set", _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
, NULL
},
53243 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
)_wrap_MouseEvent_m_wheelRotation_get
, METH_O
, NULL
},
53244 { (char *)"MouseEvent_m_wheelDelta_set", _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
, NULL
},
53245 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
)_wrap_MouseEvent_m_wheelDelta_get
, METH_O
, NULL
},
53246 { (char *)"MouseEvent_m_linesPerAction_set", _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
, NULL
},
53247 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
)_wrap_MouseEvent_m_linesPerAction_get
, METH_O
, NULL
},
53248 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
53249 { (char *)"MouseEvent_swiginit", MouseEvent_swiginit
, METH_VARARGS
, NULL
},
53250 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53251 { (char *)"SetCursorEvent_GetX", (PyCFunction
)_wrap_SetCursorEvent_GetX
, METH_O
, NULL
},
53252 { (char *)"SetCursorEvent_GetY", (PyCFunction
)_wrap_SetCursorEvent_GetY
, METH_O
, NULL
},
53253 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53254 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
)_wrap_SetCursorEvent_GetCursor
, METH_O
, NULL
},
53255 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
)_wrap_SetCursorEvent_HasCursor
, METH_O
, NULL
},
53256 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
53257 { (char *)"SetCursorEvent_swiginit", SetCursorEvent_swiginit
, METH_VARARGS
, NULL
},
53258 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53259 { (char *)"KeyEvent_GetModifiers", (PyCFunction
)_wrap_KeyEvent_GetModifiers
, METH_O
, NULL
},
53260 { (char *)"KeyEvent_ControlDown", (PyCFunction
)_wrap_KeyEvent_ControlDown
, METH_O
, NULL
},
53261 { (char *)"KeyEvent_MetaDown", (PyCFunction
)_wrap_KeyEvent_MetaDown
, METH_O
, NULL
},
53262 { (char *)"KeyEvent_AltDown", (PyCFunction
)_wrap_KeyEvent_AltDown
, METH_O
, NULL
},
53263 { (char *)"KeyEvent_ShiftDown", (PyCFunction
)_wrap_KeyEvent_ShiftDown
, METH_O
, NULL
},
53264 { (char *)"KeyEvent_CmdDown", (PyCFunction
)_wrap_KeyEvent_CmdDown
, METH_O
, NULL
},
53265 { (char *)"KeyEvent_HasModifiers", (PyCFunction
)_wrap_KeyEvent_HasModifiers
, METH_O
, NULL
},
53266 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
)_wrap_KeyEvent_GetKeyCode
, METH_O
, NULL
},
53267 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
)_wrap_KeyEvent_GetUnicodeKey
, METH_O
, NULL
},
53268 { (char *)"KeyEvent_SetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_SetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53269 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
)_wrap_KeyEvent_GetRawKeyCode
, METH_O
, NULL
},
53270 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
)_wrap_KeyEvent_GetRawKeyFlags
, METH_O
, NULL
},
53271 { (char *)"KeyEvent_GetPosition", (PyCFunction
)_wrap_KeyEvent_GetPosition
, METH_O
, NULL
},
53272 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
)_wrap_KeyEvent_GetPositionTuple
, METH_O
, NULL
},
53273 { (char *)"KeyEvent_GetX", (PyCFunction
)_wrap_KeyEvent_GetX
, METH_O
, NULL
},
53274 { (char *)"KeyEvent_GetY", (PyCFunction
)_wrap_KeyEvent_GetY
, METH_O
, NULL
},
53275 { (char *)"KeyEvent_m_x_set", _wrap_KeyEvent_m_x_set
, METH_VARARGS
, NULL
},
53276 { (char *)"KeyEvent_m_x_get", (PyCFunction
)_wrap_KeyEvent_m_x_get
, METH_O
, NULL
},
53277 { (char *)"KeyEvent_m_y_set", _wrap_KeyEvent_m_y_set
, METH_VARARGS
, NULL
},
53278 { (char *)"KeyEvent_m_y_get", (PyCFunction
)_wrap_KeyEvent_m_y_get
, METH_O
, NULL
},
53279 { (char *)"KeyEvent_m_keyCode_set", _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
, NULL
},
53280 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
)_wrap_KeyEvent_m_keyCode_get
, METH_O
, NULL
},
53281 { (char *)"KeyEvent_m_controlDown_set", _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
, NULL
},
53282 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
)_wrap_KeyEvent_m_controlDown_get
, METH_O
, NULL
},
53283 { (char *)"KeyEvent_m_shiftDown_set", _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
, NULL
},
53284 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
)_wrap_KeyEvent_m_shiftDown_get
, METH_O
, NULL
},
53285 { (char *)"KeyEvent_m_altDown_set", _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
, NULL
},
53286 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
)_wrap_KeyEvent_m_altDown_get
, METH_O
, NULL
},
53287 { (char *)"KeyEvent_m_metaDown_set", _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
, NULL
},
53288 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
)_wrap_KeyEvent_m_metaDown_get
, METH_O
, NULL
},
53289 { (char *)"KeyEvent_m_scanCode_set", _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
, NULL
},
53290 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
)_wrap_KeyEvent_m_scanCode_get
, METH_O
, NULL
},
53291 { (char *)"KeyEvent_m_rawCode_set", _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
, NULL
},
53292 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
)_wrap_KeyEvent_m_rawCode_get
, METH_O
, NULL
},
53293 { (char *)"KeyEvent_m_rawFlags_set", _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
, NULL
},
53294 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
)_wrap_KeyEvent_m_rawFlags_get
, METH_O
, NULL
},
53295 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
53296 { (char *)"KeyEvent_swiginit", KeyEvent_swiginit
, METH_VARARGS
, NULL
},
53297 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53298 { (char *)"SizeEvent_GetSize", (PyCFunction
)_wrap_SizeEvent_GetSize
, METH_O
, NULL
},
53299 { (char *)"SizeEvent_GetRect", (PyCFunction
)_wrap_SizeEvent_GetRect
, METH_O
, NULL
},
53300 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53301 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53302 { (char *)"SizeEvent_m_size_set", _wrap_SizeEvent_m_size_set
, METH_VARARGS
, NULL
},
53303 { (char *)"SizeEvent_m_size_get", (PyCFunction
)_wrap_SizeEvent_m_size_get
, METH_O
, NULL
},
53304 { (char *)"SizeEvent_m_rect_set", _wrap_SizeEvent_m_rect_set
, METH_VARARGS
, NULL
},
53305 { (char *)"SizeEvent_m_rect_get", (PyCFunction
)_wrap_SizeEvent_m_rect_get
, METH_O
, NULL
},
53306 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
53307 { (char *)"SizeEvent_swiginit", SizeEvent_swiginit
, METH_VARARGS
, NULL
},
53308 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53309 { (char *)"MoveEvent_GetPosition", (PyCFunction
)_wrap_MoveEvent_GetPosition
, METH_O
, NULL
},
53310 { (char *)"MoveEvent_GetRect", (PyCFunction
)_wrap_MoveEvent_GetRect
, METH_O
, NULL
},
53311 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53312 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53313 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
53314 { (char *)"MoveEvent_swiginit", MoveEvent_swiginit
, METH_VARARGS
, NULL
},
53315 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53316 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
53317 { (char *)"PaintEvent_swiginit", PaintEvent_swiginit
, METH_VARARGS
, NULL
},
53318 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53319 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
53320 { (char *)"NcPaintEvent_swiginit", NcPaintEvent_swiginit
, METH_VARARGS
, NULL
},
53321 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53322 { (char *)"EraseEvent_GetDC", (PyCFunction
)_wrap_EraseEvent_GetDC
, METH_O
, NULL
},
53323 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
53324 { (char *)"EraseEvent_swiginit", EraseEvent_swiginit
, METH_VARARGS
, NULL
},
53325 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53326 { (char *)"FocusEvent_GetWindow", (PyCFunction
)_wrap_FocusEvent_GetWindow
, METH_O
, NULL
},
53327 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53328 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
53329 { (char *)"FocusEvent_swiginit", FocusEvent_swiginit
, METH_VARARGS
, NULL
},
53330 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53331 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
)_wrap_ChildFocusEvent_GetWindow
, METH_O
, NULL
},
53332 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
53333 { (char *)"ChildFocusEvent_swiginit", ChildFocusEvent_swiginit
, METH_VARARGS
, NULL
},
53334 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53335 { (char *)"ActivateEvent_GetActive", (PyCFunction
)_wrap_ActivateEvent_GetActive
, METH_O
, NULL
},
53336 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
53337 { (char *)"ActivateEvent_swiginit", ActivateEvent_swiginit
, METH_VARARGS
, NULL
},
53338 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53339 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
53340 { (char *)"InitDialogEvent_swiginit", InitDialogEvent_swiginit
, METH_VARARGS
, NULL
},
53341 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53342 { (char *)"MenuEvent_GetMenuId", (PyCFunction
)_wrap_MenuEvent_GetMenuId
, METH_O
, NULL
},
53343 { (char *)"MenuEvent_IsPopup", (PyCFunction
)_wrap_MenuEvent_IsPopup
, METH_O
, NULL
},
53344 { (char *)"MenuEvent_GetMenu", (PyCFunction
)_wrap_MenuEvent_GetMenu
, METH_O
, NULL
},
53345 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
53346 { (char *)"MenuEvent_swiginit", MenuEvent_swiginit
, METH_VARARGS
, NULL
},
53347 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53348 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53349 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
)_wrap_CloseEvent_GetLoggingOff
, METH_O
, NULL
},
53350 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53351 { (char *)"CloseEvent_GetVeto", (PyCFunction
)_wrap_CloseEvent_GetVeto
, METH_O
, NULL
},
53352 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53353 { (char *)"CloseEvent_CanVeto", (PyCFunction
)_wrap_CloseEvent_CanVeto
, METH_O
, NULL
},
53354 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
53355 { (char *)"CloseEvent_swiginit", CloseEvent_swiginit
, METH_VARARGS
, NULL
},
53356 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53357 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53358 { (char *)"ShowEvent_GetShow", (PyCFunction
)_wrap_ShowEvent_GetShow
, METH_O
, NULL
},
53359 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
53360 { (char *)"ShowEvent_swiginit", ShowEvent_swiginit
, METH_VARARGS
, NULL
},
53361 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53362 { (char *)"IconizeEvent_Iconized", (PyCFunction
)_wrap_IconizeEvent_Iconized
, METH_O
, NULL
},
53363 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
53364 { (char *)"IconizeEvent_swiginit", IconizeEvent_swiginit
, METH_VARARGS
, NULL
},
53365 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53366 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
53367 { (char *)"MaximizeEvent_swiginit", MaximizeEvent_swiginit
, METH_VARARGS
, NULL
},
53368 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
)_wrap_DropFilesEvent_GetPosition
, METH_O
, NULL
},
53369 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
)_wrap_DropFilesEvent_GetNumberOfFiles
, METH_O
, NULL
},
53370 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
)_wrap_DropFilesEvent_GetFiles
, METH_O
, NULL
},
53371 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
53372 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53373 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
)_wrap_UpdateUIEvent_GetChecked
, METH_O
, NULL
},
53374 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
)_wrap_UpdateUIEvent_GetEnabled
, METH_O
, NULL
},
53375 { (char *)"UpdateUIEvent_GetShown", (PyCFunction
)_wrap_UpdateUIEvent_GetShown
, METH_O
, NULL
},
53376 { (char *)"UpdateUIEvent_GetText", (PyCFunction
)_wrap_UpdateUIEvent_GetText
, METH_O
, NULL
},
53377 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
)_wrap_UpdateUIEvent_GetSetText
, METH_O
, NULL
},
53378 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
)_wrap_UpdateUIEvent_GetSetChecked
, METH_O
, NULL
},
53379 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
)_wrap_UpdateUIEvent_GetSetEnabled
, METH_O
, NULL
},
53380 { (char *)"UpdateUIEvent_GetSetShown", (PyCFunction
)_wrap_UpdateUIEvent_GetSetShown
, METH_O
, NULL
},
53381 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53382 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53383 { (char *)"UpdateUIEvent_Show", (PyCFunction
) _wrap_UpdateUIEvent_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53384 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53385 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53386 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
)_wrap_UpdateUIEvent_GetUpdateInterval
, METH_NOARGS
, NULL
},
53387 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53388 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
)_wrap_UpdateUIEvent_ResetUpdateTime
, METH_NOARGS
, NULL
},
53389 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53390 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
)_wrap_UpdateUIEvent_GetMode
, METH_NOARGS
, NULL
},
53391 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
53392 { (char *)"UpdateUIEvent_swiginit", UpdateUIEvent_swiginit
, METH_VARARGS
, NULL
},
53393 { (char *)"new_SysColourChangedEvent", (PyCFunction
)_wrap_new_SysColourChangedEvent
, METH_NOARGS
, NULL
},
53394 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
53395 { (char *)"SysColourChangedEvent_swiginit", SysColourChangedEvent_swiginit
, METH_VARARGS
, NULL
},
53396 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53397 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
)_wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_O
, NULL
},
53398 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
53399 { (char *)"MouseCaptureChangedEvent_swiginit", MouseCaptureChangedEvent_swiginit
, METH_VARARGS
, NULL
},
53400 { (char *)"new_DisplayChangedEvent", (PyCFunction
)_wrap_new_DisplayChangedEvent
, METH_NOARGS
, NULL
},
53401 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
53402 { (char *)"DisplayChangedEvent_swiginit", DisplayChangedEvent_swiginit
, METH_VARARGS
, NULL
},
53403 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53404 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53405 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
)_wrap_PaletteChangedEvent_GetChangedWindow
, METH_O
, NULL
},
53406 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
53407 { (char *)"PaletteChangedEvent_swiginit", PaletteChangedEvent_swiginit
, METH_VARARGS
, NULL
},
53408 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53409 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53410 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
)_wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_O
, NULL
},
53411 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
53412 { (char *)"QueryNewPaletteEvent_swiginit", QueryNewPaletteEvent_swiginit
, METH_VARARGS
, NULL
},
53413 { (char *)"new_NavigationKeyEvent", (PyCFunction
)_wrap_new_NavigationKeyEvent
, METH_NOARGS
, NULL
},
53414 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
)_wrap_NavigationKeyEvent_GetDirection
, METH_O
, NULL
},
53415 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53416 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
)_wrap_NavigationKeyEvent_IsWindowChange
, METH_O
, NULL
},
53417 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53418 { (char *)"NavigationKeyEvent_IsFromTab", (PyCFunction
)_wrap_NavigationKeyEvent_IsFromTab
, METH_O
, NULL
},
53419 { (char *)"NavigationKeyEvent_SetFromTab", (PyCFunction
) _wrap_NavigationKeyEvent_SetFromTab
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53420 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53421 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
)_wrap_NavigationKeyEvent_GetCurrentFocus
, METH_O
, NULL
},
53422 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53423 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
53424 { (char *)"NavigationKeyEvent_swiginit", NavigationKeyEvent_swiginit
, METH_VARARGS
, NULL
},
53425 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53426 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
)_wrap_WindowCreateEvent_GetWindow
, METH_O
, NULL
},
53427 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
53428 { (char *)"WindowCreateEvent_swiginit", WindowCreateEvent_swiginit
, METH_VARARGS
, NULL
},
53429 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53430 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
)_wrap_WindowDestroyEvent_GetWindow
, METH_O
, NULL
},
53431 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
53432 { (char *)"WindowDestroyEvent_swiginit", WindowDestroyEvent_swiginit
, METH_VARARGS
, NULL
},
53433 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53434 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
)_wrap_ContextMenuEvent_GetPosition
, METH_O
, NULL
},
53435 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53436 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
53437 { (char *)"ContextMenuEvent_swiginit", ContextMenuEvent_swiginit
, METH_VARARGS
, NULL
},
53438 { (char *)"new_IdleEvent", (PyCFunction
)_wrap_new_IdleEvent
, METH_NOARGS
, NULL
},
53439 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53440 { (char *)"IdleEvent_MoreRequested", (PyCFunction
)_wrap_IdleEvent_MoreRequested
, METH_O
, NULL
},
53441 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53442 { (char *)"IdleEvent_GetMode", (PyCFunction
)_wrap_IdleEvent_GetMode
, METH_NOARGS
, NULL
},
53443 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53444 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
53445 { (char *)"IdleEvent_swiginit", IdleEvent_swiginit
, METH_VARARGS
, NULL
},
53446 { (char *)"new_ClipboardTextEvent", (PyCFunction
) _wrap_new_ClipboardTextEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53447 { (char *)"ClipboardTextEvent_swigregister", ClipboardTextEvent_swigregister
, METH_VARARGS
, NULL
},
53448 { (char *)"ClipboardTextEvent_swiginit", ClipboardTextEvent_swiginit
, METH_VARARGS
, NULL
},
53449 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53450 { (char *)"delete_PyEvent", (PyCFunction
)_wrap_delete_PyEvent
, METH_O
, NULL
},
53451 { (char *)"PyEvent__SetSelf", (PyCFunction
) _wrap_PyEvent__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53452 { (char *)"PyEvent__GetSelf", (PyCFunction
)_wrap_PyEvent__GetSelf
, METH_O
, NULL
},
53453 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
53454 { (char *)"PyEvent_swiginit", PyEvent_swiginit
, METH_VARARGS
, NULL
},
53455 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53456 { (char *)"delete_PyCommandEvent", (PyCFunction
)_wrap_delete_PyCommandEvent
, METH_O
, NULL
},
53457 { (char *)"PyCommandEvent__SetSelf", (PyCFunction
) _wrap_PyCommandEvent__SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53458 { (char *)"PyCommandEvent__GetSelf", (PyCFunction
)_wrap_PyCommandEvent__GetSelf
, METH_O
, NULL
},
53459 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
53460 { (char *)"PyCommandEvent_swiginit", PyCommandEvent_swiginit
, METH_VARARGS
, NULL
},
53461 { (char *)"new_DateEvent", (PyCFunction
) _wrap_new_DateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53462 { (char *)"DateEvent_GetDate", (PyCFunction
)_wrap_DateEvent_GetDate
, METH_O
, NULL
},
53463 { (char *)"DateEvent_SetDate", (PyCFunction
) _wrap_DateEvent_SetDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53464 { (char *)"DateEvent_swigregister", DateEvent_swigregister
, METH_VARARGS
, NULL
},
53465 { (char *)"DateEvent_swiginit", DateEvent_swiginit
, METH_VARARGS
, NULL
},
53466 { (char *)"new_PyApp", (PyCFunction
)_wrap_new_PyApp
, METH_NOARGS
, NULL
},
53467 { (char *)"delete_PyApp", (PyCFunction
)_wrap_delete_PyApp
, METH_O
, NULL
},
53468 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53469 { (char *)"PyApp_GetAppName", (PyCFunction
)_wrap_PyApp_GetAppName
, METH_O
, NULL
},
53470 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53471 { (char *)"PyApp_GetClassName", (PyCFunction
)_wrap_PyApp_GetClassName
, METH_O
, NULL
},
53472 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53473 { (char *)"PyApp_GetVendorName", (PyCFunction
)_wrap_PyApp_GetVendorName
, METH_O
, NULL
},
53474 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53475 { (char *)"PyApp_GetTraits", (PyCFunction
)_wrap_PyApp_GetTraits
, METH_O
, NULL
},
53476 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
)_wrap_PyApp_ProcessPendingEvents
, METH_O
, NULL
},
53477 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53478 { (char *)"PyApp_WakeUpIdle", (PyCFunction
)_wrap_PyApp_WakeUpIdle
, METH_O
, NULL
},
53479 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction
)_wrap_PyApp_IsMainLoopRunning
, METH_NOARGS
, NULL
},
53480 { (char *)"PyApp_MainLoop", (PyCFunction
)_wrap_PyApp_MainLoop
, METH_O
, NULL
},
53481 { (char *)"PyApp_Exit", (PyCFunction
)_wrap_PyApp_Exit
, METH_O
, NULL
},
53482 { (char *)"PyApp_ExitMainLoop", (PyCFunction
)_wrap_PyApp_ExitMainLoop
, METH_O
, NULL
},
53483 { (char *)"PyApp_Pending", (PyCFunction
)_wrap_PyApp_Pending
, METH_O
, NULL
},
53484 { (char *)"PyApp_Dispatch", (PyCFunction
)_wrap_PyApp_Dispatch
, METH_O
, NULL
},
53485 { (char *)"PyApp_ProcessIdle", (PyCFunction
)_wrap_PyApp_ProcessIdle
, METH_O
, NULL
},
53486 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53487 { (char *)"PyApp_IsActive", (PyCFunction
)_wrap_PyApp_IsActive
, METH_O
, NULL
},
53488 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53489 { (char *)"PyApp_GetTopWindow", (PyCFunction
)_wrap_PyApp_GetTopWindow
, METH_O
, NULL
},
53490 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53491 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
)_wrap_PyApp_GetExitOnFrameDelete
, METH_O
, NULL
},
53492 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53493 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
)_wrap_PyApp_GetUseBestVisual
, METH_O
, NULL
},
53494 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53495 { (char *)"PyApp_GetPrintMode", (PyCFunction
)_wrap_PyApp_GetPrintMode
, METH_O
, NULL
},
53496 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53497 { (char *)"PyApp_GetAssertMode", (PyCFunction
)_wrap_PyApp_GetAssertMode
, METH_O
, NULL
},
53498 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
)_wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_NOARGS
, NULL
},
53499 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
)_wrap_PyApp_GetMacAboutMenuItemId
, METH_NOARGS
, NULL
},
53500 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
)_wrap_PyApp_GetMacPreferencesMenuItemId
, METH_NOARGS
, NULL
},
53501 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
)_wrap_PyApp_GetMacExitMenuItemId
, METH_NOARGS
, NULL
},
53502 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
)_wrap_PyApp_GetMacHelpMenuTitleName
, METH_NOARGS
, NULL
},
53503 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53504 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53505 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53506 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53507 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53508 { (char *)"PyApp__BootstrapApp", (PyCFunction
)_wrap_PyApp__BootstrapApp
, METH_O
, NULL
},
53509 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
)_wrap_PyApp_GetComCtl32Version
, METH_NOARGS
, NULL
},
53510 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
53511 { (char *)"PyApp_swiginit", PyApp_swiginit
, METH_VARARGS
, NULL
},
53512 { (char *)"Exit", (PyCFunction
)_wrap_Exit
, METH_NOARGS
, NULL
},
53513 { (char *)"Yield", (PyCFunction
)_wrap_Yield
, METH_NOARGS
, NULL
},
53514 { (char *)"YieldIfNeeded", (PyCFunction
)_wrap_YieldIfNeeded
, METH_NOARGS
, NULL
},
53515 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53516 { (char *)"WakeUpIdle", (PyCFunction
)_wrap_WakeUpIdle
, METH_NOARGS
, NULL
},
53517 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53518 { (char *)"App_CleanUp", (PyCFunction
)_wrap_App_CleanUp
, METH_NOARGS
, NULL
},
53519 { (char *)"GetApp", (PyCFunction
)_wrap_GetApp
, METH_NOARGS
, NULL
},
53520 { (char *)"SetDefaultPyEncoding", (PyCFunction
) _wrap_SetDefaultPyEncoding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53521 { (char *)"GetDefaultPyEncoding", (PyCFunction
)_wrap_GetDefaultPyEncoding
, METH_NOARGS
, NULL
},
53522 { (char *)"new_EventLoop", (PyCFunction
)_wrap_new_EventLoop
, METH_NOARGS
, NULL
},
53523 { (char *)"delete_EventLoop", (PyCFunction
)_wrap_delete_EventLoop
, METH_O
, NULL
},
53524 { (char *)"EventLoop_Run", (PyCFunction
)_wrap_EventLoop_Run
, METH_O
, NULL
},
53525 { (char *)"EventLoop_Exit", (PyCFunction
) _wrap_EventLoop_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53526 { (char *)"EventLoop_Pending", (PyCFunction
)_wrap_EventLoop_Pending
, METH_O
, NULL
},
53527 { (char *)"EventLoop_Dispatch", (PyCFunction
)_wrap_EventLoop_Dispatch
, METH_O
, NULL
},
53528 { (char *)"EventLoop_IsRunning", (PyCFunction
)_wrap_EventLoop_IsRunning
, METH_O
, NULL
},
53529 { (char *)"EventLoop_GetActive", (PyCFunction
)_wrap_EventLoop_GetActive
, METH_NOARGS
, NULL
},
53530 { (char *)"EventLoop_SetActive", (PyCFunction
) _wrap_EventLoop_SetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53531 { (char *)"EventLoop_swigregister", EventLoop_swigregister
, METH_VARARGS
, NULL
},
53532 { (char *)"EventLoop_swiginit", EventLoop_swiginit
, METH_VARARGS
, NULL
},
53533 { (char *)"new_EventLoopActivator", (PyCFunction
) _wrap_new_EventLoopActivator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53534 { (char *)"delete_EventLoopActivator", (PyCFunction
)_wrap_delete_EventLoopActivator
, METH_O
, NULL
},
53535 { (char *)"EventLoopActivator_swigregister", EventLoopActivator_swigregister
, METH_VARARGS
, NULL
},
53536 { (char *)"EventLoopActivator_swiginit", EventLoopActivator_swiginit
, METH_VARARGS
, NULL
},
53537 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53538 { (char *)"delete_AcceleratorEntry", (PyCFunction
)_wrap_delete_AcceleratorEntry
, METH_O
, NULL
},
53539 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53540 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
)_wrap_AcceleratorEntry_GetFlags
, METH_O
, NULL
},
53541 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
)_wrap_AcceleratorEntry_GetKeyCode
, METH_O
, NULL
},
53542 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
)_wrap_AcceleratorEntry_GetCommand
, METH_O
, NULL
},
53543 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
53544 { (char *)"AcceleratorEntry_swiginit", AcceleratorEntry_swiginit
, METH_VARARGS
, NULL
},
53545 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53546 { (char *)"delete_AcceleratorTable", (PyCFunction
)_wrap_delete_AcceleratorTable
, METH_O
, NULL
},
53547 { (char *)"AcceleratorTable_Ok", (PyCFunction
)_wrap_AcceleratorTable_Ok
, METH_O
, NULL
},
53548 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
53549 { (char *)"AcceleratorTable_swiginit", AcceleratorTable_swiginit
, METH_VARARGS
, NULL
},
53550 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53551 { (char *)"new_VisualAttributes", (PyCFunction
)_wrap_new_VisualAttributes
, METH_NOARGS
, NULL
},
53552 { (char *)"delete_VisualAttributes", (PyCFunction
)_wrap_delete_VisualAttributes
, METH_O
, NULL
},
53553 { (char *)"VisualAttributes_font_set", _wrap_VisualAttributes_font_set
, METH_VARARGS
, NULL
},
53554 { (char *)"VisualAttributes_font_get", (PyCFunction
)_wrap_VisualAttributes_font_get
, METH_O
, NULL
},
53555 { (char *)"VisualAttributes_colFg_set", _wrap_VisualAttributes_colFg_set
, METH_VARARGS
, NULL
},
53556 { (char *)"VisualAttributes_colFg_get", (PyCFunction
)_wrap_VisualAttributes_colFg_get
, METH_O
, NULL
},
53557 { (char *)"VisualAttributes_colBg_set", _wrap_VisualAttributes_colBg_set
, METH_VARARGS
, NULL
},
53558 { (char *)"VisualAttributes_colBg_get", (PyCFunction
)_wrap_VisualAttributes_colBg_get
, METH_O
, NULL
},
53559 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
, NULL
},
53560 { (char *)"VisualAttributes_swiginit", VisualAttributes_swiginit
, METH_VARARGS
, NULL
},
53561 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53562 { (char *)"new_PreWindow", (PyCFunction
)_wrap_new_PreWindow
, METH_NOARGS
, NULL
},
53563 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53564 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53565 { (char *)"Window_Destroy", (PyCFunction
)_wrap_Window_Destroy
, METH_O
, NULL
},
53566 { (char *)"Window_DestroyChildren", (PyCFunction
)_wrap_Window_DestroyChildren
, METH_O
, NULL
},
53567 { (char *)"Window_IsBeingDeleted", (PyCFunction
)_wrap_Window_IsBeingDeleted
, METH_O
, NULL
},
53568 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53569 { (char *)"Window_GetLabel", (PyCFunction
)_wrap_Window_GetLabel
, METH_O
, NULL
},
53570 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53571 { (char *)"Window_GetName", (PyCFunction
)_wrap_Window_GetName
, METH_O
, NULL
},
53572 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53573 { (char *)"Window_GetWindowVariant", (PyCFunction
)_wrap_Window_GetWindowVariant
, METH_O
, NULL
},
53574 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53575 { (char *)"Window_GetId", (PyCFunction
)_wrap_Window_GetId
, METH_O
, NULL
},
53576 { (char *)"Window_NewControlId", (PyCFunction
)_wrap_Window_NewControlId
, METH_NOARGS
, NULL
},
53577 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53578 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53579 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53580 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53581 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53582 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53583 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53584 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53585 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53586 { (char *)"Window_Raise", (PyCFunction
)_wrap_Window_Raise
, METH_O
, NULL
},
53587 { (char *)"Window_Lower", (PyCFunction
)_wrap_Window_Lower
, METH_O
, NULL
},
53588 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53589 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53590 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53591 { (char *)"Window_GetPosition", (PyCFunction
)_wrap_Window_GetPosition
, METH_O
, NULL
},
53592 { (char *)"Window_GetPositionTuple", (PyCFunction
)_wrap_Window_GetPositionTuple
, METH_O
, NULL
},
53593 { (char *)"Window_GetScreenPosition", (PyCFunction
)_wrap_Window_GetScreenPosition
, METH_O
, NULL
},
53594 { (char *)"Window_GetScreenPositionTuple", (PyCFunction
)_wrap_Window_GetScreenPositionTuple
, METH_O
, NULL
},
53595 { (char *)"Window_GetScreenRect", (PyCFunction
)_wrap_Window_GetScreenRect
, METH_O
, NULL
},
53596 { (char *)"Window_GetSize", (PyCFunction
)_wrap_Window_GetSize
, METH_O
, NULL
},
53597 { (char *)"Window_GetSizeTuple", (PyCFunction
)_wrap_Window_GetSizeTuple
, METH_O
, NULL
},
53598 { (char *)"Window_GetRect", (PyCFunction
)_wrap_Window_GetRect
, METH_O
, NULL
},
53599 { (char *)"Window_GetClientSize", (PyCFunction
)_wrap_Window_GetClientSize
, METH_O
, NULL
},
53600 { (char *)"Window_GetClientSizeTuple", (PyCFunction
)_wrap_Window_GetClientSizeTuple
, METH_O
, NULL
},
53601 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
)_wrap_Window_GetClientAreaOrigin
, METH_O
, NULL
},
53602 { (char *)"Window_GetClientRect", (PyCFunction
)_wrap_Window_GetClientRect
, METH_O
, NULL
},
53603 { (char *)"Window_GetBestSize", (PyCFunction
)_wrap_Window_GetBestSize
, METH_O
, NULL
},
53604 { (char *)"Window_GetBestSizeTuple", (PyCFunction
)_wrap_Window_GetBestSizeTuple
, METH_O
, NULL
},
53605 { (char *)"Window_InvalidateBestSize", (PyCFunction
)_wrap_Window_InvalidateBestSize
, METH_O
, NULL
},
53606 { (char *)"Window_CacheBestSize", (PyCFunction
) _wrap_Window_CacheBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53607 { (char *)"Window_GetBestFittingSize", (PyCFunction
)_wrap_Window_GetBestFittingSize
, METH_O
, NULL
},
53608 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
)_wrap_Window_GetAdjustedBestSize
, METH_O
, NULL
},
53609 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53610 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53611 { (char *)"Window_Fit", (PyCFunction
)_wrap_Window_Fit
, METH_O
, NULL
},
53612 { (char *)"Window_FitInside", (PyCFunction
)_wrap_Window_FitInside
, METH_O
, NULL
},
53613 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53614 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53615 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53616 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53617 { (char *)"Window_GetMaxSize", (PyCFunction
)_wrap_Window_GetMaxSize
, METH_O
, NULL
},
53618 { (char *)"Window_GetMinSize", (PyCFunction
)_wrap_Window_GetMinSize
, METH_O
, NULL
},
53619 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53620 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53621 { (char *)"Window_GetMinWidth", (PyCFunction
)_wrap_Window_GetMinWidth
, METH_O
, NULL
},
53622 { (char *)"Window_GetMinHeight", (PyCFunction
)_wrap_Window_GetMinHeight
, METH_O
, NULL
},
53623 { (char *)"Window_GetMaxWidth", (PyCFunction
)_wrap_Window_GetMaxWidth
, METH_O
, NULL
},
53624 { (char *)"Window_GetMaxHeight", (PyCFunction
)_wrap_Window_GetMaxHeight
, METH_O
, NULL
},
53625 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53626 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53627 { (char *)"Window_GetVirtualSize", (PyCFunction
)_wrap_Window_GetVirtualSize
, METH_O
, NULL
},
53628 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
)_wrap_Window_GetVirtualSizeTuple
, METH_O
, NULL
},
53629 { (char *)"Window_GetBestVirtualSize", (PyCFunction
)_wrap_Window_GetBestVirtualSize
, METH_O
, NULL
},
53630 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53631 { (char *)"Window_Hide", (PyCFunction
)_wrap_Window_Hide
, METH_O
, NULL
},
53632 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53633 { (char *)"Window_Disable", (PyCFunction
)_wrap_Window_Disable
, METH_O
, NULL
},
53634 { (char *)"Window_IsShown", (PyCFunction
)_wrap_Window_IsShown
, METH_O
, NULL
},
53635 { (char *)"Window_IsEnabled", (PyCFunction
)_wrap_Window_IsEnabled
, METH_O
, NULL
},
53636 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53637 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
)_wrap_Window_GetWindowStyleFlag
, METH_O
, NULL
},
53638 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53639 { (char *)"Window_IsRetained", (PyCFunction
)_wrap_Window_IsRetained
, METH_O
, NULL
},
53640 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53641 { (char *)"Window_GetExtraStyle", (PyCFunction
)_wrap_Window_GetExtraStyle
, METH_O
, NULL
},
53642 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53643 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53644 { (char *)"Window_GetThemeEnabled", (PyCFunction
)_wrap_Window_GetThemeEnabled
, METH_O
, NULL
},
53645 { (char *)"Window_SetFocus", (PyCFunction
)_wrap_Window_SetFocus
, METH_O
, NULL
},
53646 { (char *)"Window_SetFocusFromKbd", (PyCFunction
)_wrap_Window_SetFocusFromKbd
, METH_O
, NULL
},
53647 { (char *)"Window_FindFocus", (PyCFunction
)_wrap_Window_FindFocus
, METH_NOARGS
, NULL
},
53648 { (char *)"Window_AcceptsFocus", (PyCFunction
)_wrap_Window_AcceptsFocus
, METH_O
, NULL
},
53649 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
)_wrap_Window_AcceptsFocusFromKeyboard
, METH_O
, NULL
},
53650 { (char *)"Window_GetDefaultItem", (PyCFunction
)_wrap_Window_GetDefaultItem
, METH_O
, NULL
},
53651 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53652 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53653 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53654 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53655 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53656 { (char *)"Window_GetChildren", (PyCFunction
)_wrap_Window_GetChildren
, METH_O
, NULL
},
53657 { (char *)"Window_GetParent", (PyCFunction
)_wrap_Window_GetParent
, METH_O
, NULL
},
53658 { (char *)"Window_GetGrandParent", (PyCFunction
)_wrap_Window_GetGrandParent
, METH_O
, NULL
},
53659 { (char *)"Window_IsTopLevel", (PyCFunction
)_wrap_Window_IsTopLevel
, METH_O
, NULL
},
53660 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53661 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53662 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53663 { (char *)"Window_SetDoubleBuffered", (PyCFunction
) _wrap_Window_SetDoubleBuffered
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53664 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53665 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53666 { (char *)"Window_GetEventHandler", (PyCFunction
)_wrap_Window_GetEventHandler
, METH_O
, NULL
},
53667 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53668 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53669 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53670 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53671 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53672 { (char *)"Window_GetValidator", (PyCFunction
)_wrap_Window_GetValidator
, METH_O
, NULL
},
53673 { (char *)"Window_Validate", (PyCFunction
)_wrap_Window_Validate
, METH_O
, NULL
},
53674 { (char *)"Window_TransferDataToWindow", (PyCFunction
)_wrap_Window_TransferDataToWindow
, METH_O
, NULL
},
53675 { (char *)"Window_TransferDataFromWindow", (PyCFunction
)_wrap_Window_TransferDataFromWindow
, METH_O
, NULL
},
53676 { (char *)"Window_InitDialog", (PyCFunction
)_wrap_Window_InitDialog
, METH_O
, NULL
},
53677 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53678 { (char *)"Window_GetAcceleratorTable", (PyCFunction
)_wrap_Window_GetAcceleratorTable
, METH_O
, NULL
},
53679 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53680 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53681 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53682 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53683 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53684 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53685 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53686 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53687 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53688 { (char *)"Window_CaptureMouse", (PyCFunction
)_wrap_Window_CaptureMouse
, METH_O
, NULL
},
53689 { (char *)"Window_ReleaseMouse", (PyCFunction
)_wrap_Window_ReleaseMouse
, METH_O
, NULL
},
53690 { (char *)"Window_GetCapture", (PyCFunction
)_wrap_Window_GetCapture
, METH_NOARGS
, NULL
},
53691 { (char *)"Window_HasCapture", (PyCFunction
)_wrap_Window_HasCapture
, METH_O
, NULL
},
53692 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53693 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53694 { (char *)"Window_Update", (PyCFunction
)_wrap_Window_Update
, METH_O
, NULL
},
53695 { (char *)"Window_ClearBackground", (PyCFunction
)_wrap_Window_ClearBackground
, METH_O
, NULL
},
53696 { (char *)"Window_Freeze", (PyCFunction
)_wrap_Window_Freeze
, METH_O
, NULL
},
53697 { (char *)"Window_Thaw", (PyCFunction
)_wrap_Window_Thaw
, METH_O
, NULL
},
53698 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53699 { (char *)"Window_GetUpdateRegion", (PyCFunction
)_wrap_Window_GetUpdateRegion
, METH_O
, NULL
},
53700 { (char *)"Window_GetUpdateClientRect", (PyCFunction
)_wrap_Window_GetUpdateClientRect
, METH_O
, NULL
},
53701 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53702 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53703 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53704 { (char *)"Window_GetDefaultAttributes", (PyCFunction
)_wrap_Window_GetDefaultAttributes
, METH_O
, NULL
},
53705 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53706 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53707 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53708 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53709 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53710 { (char *)"Window_GetBackgroundColour", (PyCFunction
)_wrap_Window_GetBackgroundColour
, METH_O
, NULL
},
53711 { (char *)"Window_GetForegroundColour", (PyCFunction
)_wrap_Window_GetForegroundColour
, METH_O
, NULL
},
53712 { (char *)"Window_InheritsBackgroundColour", (PyCFunction
)_wrap_Window_InheritsBackgroundColour
, METH_O
, NULL
},
53713 { (char *)"Window_UseBgCol", (PyCFunction
)_wrap_Window_UseBgCol
, METH_O
, NULL
},
53714 { (char *)"Window_SetBackgroundStyle", (PyCFunction
) _wrap_Window_SetBackgroundStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53715 { (char *)"Window_GetBackgroundStyle", (PyCFunction
)_wrap_Window_GetBackgroundStyle
, METH_O
, NULL
},
53716 { (char *)"Window_HasTransparentBackground", (PyCFunction
)_wrap_Window_HasTransparentBackground
, METH_O
, NULL
},
53717 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53718 { (char *)"Window_GetCursor", (PyCFunction
)_wrap_Window_GetCursor
, METH_O
, NULL
},
53719 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53720 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53721 { (char *)"Window_GetFont", (PyCFunction
)_wrap_Window_GetFont
, METH_O
, NULL
},
53722 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53723 { (char *)"Window_GetCaret", (PyCFunction
)_wrap_Window_GetCaret
, METH_O
, NULL
},
53724 { (char *)"Window_GetCharHeight", (PyCFunction
)_wrap_Window_GetCharHeight
, METH_O
, NULL
},
53725 { (char *)"Window_GetCharWidth", (PyCFunction
)_wrap_Window_GetCharWidth
, METH_O
, NULL
},
53726 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53727 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53728 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53729 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53730 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53731 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53732 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53733 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53734 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
53735 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53736 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53737 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53738 { (char *)"Window_GetHandle", (PyCFunction
)_wrap_Window_GetHandle
, METH_O
, NULL
},
53739 { (char *)"Window_AssociateHandle", (PyCFunction
) _wrap_Window_AssociateHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53740 { (char *)"Window_DissociateHandle", (PyCFunction
)_wrap_Window_DissociateHandle
, METH_O
, NULL
},
53741 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53742 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53743 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53744 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53745 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53746 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53747 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53748 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53749 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53750 { (char *)"Window_LineUp", (PyCFunction
)_wrap_Window_LineUp
, METH_O
, NULL
},
53751 { (char *)"Window_LineDown", (PyCFunction
)_wrap_Window_LineDown
, METH_O
, NULL
},
53752 { (char *)"Window_PageUp", (PyCFunction
)_wrap_Window_PageUp
, METH_O
, NULL
},
53753 { (char *)"Window_PageDown", (PyCFunction
)_wrap_Window_PageDown
, METH_O
, NULL
},
53754 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53755 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53756 { (char *)"Window_GetHelpTextAtPoint", (PyCFunction
) _wrap_Window_GetHelpTextAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53757 { (char *)"Window_GetHelpText", (PyCFunction
)_wrap_Window_GetHelpText
, METH_O
, NULL
},
53758 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53759 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53760 { (char *)"Window_GetToolTip", (PyCFunction
)_wrap_Window_GetToolTip
, METH_O
, NULL
},
53761 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53762 { (char *)"Window_GetDropTarget", (PyCFunction
)_wrap_Window_GetDropTarget
, METH_O
, NULL
},
53763 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53764 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53765 { (char *)"Window_GetConstraints", (PyCFunction
)_wrap_Window_GetConstraints
, METH_O
, NULL
},
53766 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53767 { (char *)"Window_GetAutoLayout", (PyCFunction
)_wrap_Window_GetAutoLayout
, METH_O
, NULL
},
53768 { (char *)"Window_Layout", (PyCFunction
)_wrap_Window_Layout
, METH_O
, NULL
},
53769 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53770 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53771 { (char *)"Window_GetSizer", (PyCFunction
)_wrap_Window_GetSizer
, METH_O
, NULL
},
53772 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53773 { (char *)"Window_GetContainingSizer", (PyCFunction
)_wrap_Window_GetContainingSizer
, METH_O
, NULL
},
53774 { (char *)"Window_InheritAttributes", (PyCFunction
)_wrap_Window_InheritAttributes
, METH_O
, NULL
},
53775 { (char *)"Window_ShouldInheritColours", (PyCFunction
)_wrap_Window_ShouldInheritColours
, METH_O
, NULL
},
53776 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
53777 { (char *)"Window_swiginit", Window_swiginit
, METH_VARARGS
, NULL
},
53778 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53779 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53780 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53781 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53782 { (char *)"GetTopLevelWindows", (PyCFunction
)_wrap_GetTopLevelWindows
, METH_NOARGS
, NULL
},
53783 { (char *)"new_Validator", (PyCFunction
)_wrap_new_Validator
, METH_NOARGS
, NULL
},
53784 { (char *)"Validator_Clone", (PyCFunction
)_wrap_Validator_Clone
, METH_O
, NULL
},
53785 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53786 { (char *)"Validator_TransferToWindow", (PyCFunction
)_wrap_Validator_TransferToWindow
, METH_O
, NULL
},
53787 { (char *)"Validator_TransferFromWindow", (PyCFunction
)_wrap_Validator_TransferFromWindow
, METH_O
, NULL
},
53788 { (char *)"Validator_GetWindow", (PyCFunction
)_wrap_Validator_GetWindow
, METH_O
, NULL
},
53789 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53790 { (char *)"Validator_IsSilent", (PyCFunction
)_wrap_Validator_IsSilent
, METH_NOARGS
, NULL
},
53791 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53792 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
53793 { (char *)"Validator_swiginit", Validator_swiginit
, METH_VARARGS
, NULL
},
53794 { (char *)"new_PyValidator", (PyCFunction
)_wrap_new_PyValidator
, METH_NOARGS
, NULL
},
53795 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53796 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
53797 { (char *)"PyValidator_swiginit", PyValidator_swiginit
, METH_VARARGS
, NULL
},
53798 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53799 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53800 { (char *)"Menu_AppendSeparator", (PyCFunction
)_wrap_Menu_AppendSeparator
, METH_O
, NULL
},
53801 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53802 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53803 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53804 { (char *)"Menu_AppendSubMenu", (PyCFunction
) _wrap_Menu_AppendSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53805 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53806 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53807 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53808 { (char *)"Menu_Break", (PyCFunction
)_wrap_Menu_Break
, METH_O
, NULL
},
53809 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53810 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53811 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53812 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53813 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53814 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53815 { (char *)"Menu_PrependSeparator", (PyCFunction
)_wrap_Menu_PrependSeparator
, METH_O
, NULL
},
53816 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53817 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53818 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53819 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53820 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53821 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53822 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53823 { (char *)"Menu_Destroy", (PyCFunction
)_wrap_Menu_Destroy
, METH_O
, NULL
},
53824 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53825 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53826 { (char *)"Menu_GetMenuItemCount", (PyCFunction
)_wrap_Menu_GetMenuItemCount
, METH_O
, NULL
},
53827 { (char *)"Menu_GetMenuItems", (PyCFunction
)_wrap_Menu_GetMenuItems
, METH_O
, NULL
},
53828 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53829 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53830 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53831 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53832 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53833 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53834 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53835 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53836 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53837 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53838 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53839 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53840 { (char *)"Menu_GetTitle", (PyCFunction
)_wrap_Menu_GetTitle
, METH_O
, NULL
},
53841 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53842 { (char *)"Menu_GetEventHandler", (PyCFunction
)_wrap_Menu_GetEventHandler
, METH_O
, NULL
},
53843 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53844 { (char *)"Menu_GetInvokingWindow", (PyCFunction
)_wrap_Menu_GetInvokingWindow
, METH_O
, NULL
},
53845 { (char *)"Menu_GetStyle", (PyCFunction
)_wrap_Menu_GetStyle
, METH_O
, NULL
},
53846 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53847 { (char *)"Menu_GetMenuBar", (PyCFunction
)_wrap_Menu_GetMenuBar
, METH_O
, NULL
},
53848 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53849 { (char *)"Menu_Detach", (PyCFunction
)_wrap_Menu_Detach
, METH_O
, NULL
},
53850 { (char *)"Menu_IsAttached", (PyCFunction
)_wrap_Menu_IsAttached
, METH_O
, NULL
},
53851 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53852 { (char *)"Menu_GetParent", (PyCFunction
)_wrap_Menu_GetParent
, METH_O
, NULL
},
53853 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
53854 { (char *)"Menu_swiginit", Menu_swiginit
, METH_VARARGS
, NULL
},
53855 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53856 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53857 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53858 { (char *)"MenuBar_GetMenuCount", (PyCFunction
)_wrap_MenuBar_GetMenuCount
, METH_O
, NULL
},
53859 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53860 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53861 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53862 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53863 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53864 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53865 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53866 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53867 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53868 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53869 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53870 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53871 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53872 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53873 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53874 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53875 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53876 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53877 { (char *)"MenuBar_GetFrame", (PyCFunction
)_wrap_MenuBar_GetFrame
, METH_O
, NULL
},
53878 { (char *)"MenuBar_IsAttached", (PyCFunction
)_wrap_MenuBar_IsAttached
, METH_O
, NULL
},
53879 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53880 { (char *)"MenuBar_Detach", (PyCFunction
)_wrap_MenuBar_Detach
, METH_O
, NULL
},
53881 { (char *)"MenuBar_SetAutoWindowMenu", (PyCFunction
) _wrap_MenuBar_SetAutoWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53882 { (char *)"MenuBar_GetAutoWindowMenu", (PyCFunction
)_wrap_MenuBar_GetAutoWindowMenu
, METH_NOARGS
, NULL
},
53883 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
53884 { (char *)"MenuBar_swiginit", MenuBar_swiginit
, METH_VARARGS
, NULL
},
53885 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53886 { (char *)"delete_MenuItem", (PyCFunction
)_wrap_delete_MenuItem
, METH_O
, NULL
},
53887 { (char *)"MenuItem_GetMenu", (PyCFunction
)_wrap_MenuItem_GetMenu
, METH_O
, NULL
},
53888 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53889 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53890 { (char *)"MenuItem_GetId", (PyCFunction
)_wrap_MenuItem_GetId
, METH_O
, NULL
},
53891 { (char *)"MenuItem_IsSeparator", (PyCFunction
)_wrap_MenuItem_IsSeparator
, METH_O
, NULL
},
53892 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53893 { (char *)"MenuItem_GetLabel", (PyCFunction
)_wrap_MenuItem_GetLabel
, METH_O
, NULL
},
53894 { (char *)"MenuItem_GetText", (PyCFunction
)_wrap_MenuItem_GetText
, METH_O
, NULL
},
53895 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53896 { (char *)"MenuItem_GetKind", (PyCFunction
)_wrap_MenuItem_GetKind
, METH_O
, NULL
},
53897 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53898 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53899 { (char *)"MenuItem_IsCheckable", (PyCFunction
)_wrap_MenuItem_IsCheckable
, METH_O
, NULL
},
53900 { (char *)"MenuItem_IsSubMenu", (PyCFunction
)_wrap_MenuItem_IsSubMenu
, METH_O
, NULL
},
53901 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53902 { (char *)"MenuItem_GetSubMenu", (PyCFunction
)_wrap_MenuItem_GetSubMenu
, METH_O
, NULL
},
53903 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53904 { (char *)"MenuItem_IsEnabled", (PyCFunction
)_wrap_MenuItem_IsEnabled
, METH_O
, NULL
},
53905 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53906 { (char *)"MenuItem_IsChecked", (PyCFunction
)_wrap_MenuItem_IsChecked
, METH_O
, NULL
},
53907 { (char *)"MenuItem_Toggle", (PyCFunction
)_wrap_MenuItem_Toggle
, METH_O
, NULL
},
53908 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53909 { (char *)"MenuItem_GetHelp", (PyCFunction
)_wrap_MenuItem_GetHelp
, METH_O
, NULL
},
53910 { (char *)"MenuItem_GetAccel", (PyCFunction
)_wrap_MenuItem_GetAccel
, METH_O
, NULL
},
53911 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53912 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53913 { (char *)"MenuItem_GetBitmap", (PyCFunction
)_wrap_MenuItem_GetBitmap
, METH_O
, NULL
},
53914 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53915 { (char *)"MenuItem_GetFont", (PyCFunction
)_wrap_MenuItem_GetFont
, METH_O
, NULL
},
53916 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53917 { (char *)"MenuItem_GetTextColour", (PyCFunction
)_wrap_MenuItem_GetTextColour
, METH_O
, NULL
},
53918 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53919 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
)_wrap_MenuItem_GetBackgroundColour
, METH_O
, NULL
},
53920 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53921 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53922 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
)_wrap_MenuItem_GetDisabledBitmap
, METH_O
, NULL
},
53923 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53924 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
)_wrap_MenuItem_GetMarginWidth
, METH_O
, NULL
},
53925 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
)_wrap_MenuItem_GetDefaultMarginWidth
, METH_NOARGS
, NULL
},
53926 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
)_wrap_MenuItem_IsOwnerDrawn
, METH_O
, NULL
},
53927 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53928 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
)_wrap_MenuItem_ResetOwnerDrawn
, METH_O
, NULL
},
53929 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
53930 { (char *)"MenuItem_swiginit", MenuItem_swiginit
, METH_VARARGS
, NULL
},
53931 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53932 { (char *)"new_PreControl", (PyCFunction
)_wrap_new_PreControl
, METH_NOARGS
, NULL
},
53933 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53934 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53935 { (char *)"Control_GetLabel", (PyCFunction
)_wrap_Control_GetLabel
, METH_O
, NULL
},
53936 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53937 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
53938 { (char *)"Control_swiginit", Control_swiginit
, METH_VARARGS
, NULL
},
53939 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53940 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53941 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53942 { (char *)"ItemContainer_Clear", (PyCFunction
)_wrap_ItemContainer_Clear
, METH_O
, NULL
},
53943 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53944 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53945 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53946 { (char *)"ItemContainer_GetCount", (PyCFunction
)_wrap_ItemContainer_GetCount
, METH_O
, NULL
},
53947 { (char *)"ItemContainer_IsEmpty", (PyCFunction
)_wrap_ItemContainer_IsEmpty
, METH_O
, NULL
},
53948 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53949 { (char *)"ItemContainer_GetStrings", (PyCFunction
)_wrap_ItemContainer_GetStrings
, METH_O
, NULL
},
53950 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53951 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53952 { (char *)"ItemContainer_SetSelection", (PyCFunction
) _wrap_ItemContainer_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53953 { (char *)"ItemContainer_GetSelection", (PyCFunction
)_wrap_ItemContainer_GetSelection
, METH_O
, NULL
},
53954 { (char *)"ItemContainer_SetStringSelection", (PyCFunction
) _wrap_ItemContainer_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53955 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
)_wrap_ItemContainer_GetStringSelection
, METH_O
, NULL
},
53956 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53957 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
53958 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
53959 { (char *)"new_SizerItem", (PyCFunction
)_wrap_new_SizerItem
, METH_NOARGS
, NULL
},
53960 { (char *)"delete_SizerItem", (PyCFunction
)_wrap_delete_SizerItem
, METH_O
, NULL
},
53961 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53962 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53963 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53964 { (char *)"SizerItem_DeleteWindows", (PyCFunction
)_wrap_SizerItem_DeleteWindows
, METH_O
, NULL
},
53965 { (char *)"SizerItem_DetachSizer", (PyCFunction
)_wrap_SizerItem_DetachSizer
, METH_O
, NULL
},
53966 { (char *)"SizerItem_GetSize", (PyCFunction
)_wrap_SizerItem_GetSize
, METH_O
, NULL
},
53967 { (char *)"SizerItem_CalcMin", (PyCFunction
)_wrap_SizerItem_CalcMin
, METH_O
, NULL
},
53968 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53969 { (char *)"SizerItem_GetMinSize", (PyCFunction
)_wrap_SizerItem_GetMinSize
, METH_O
, NULL
},
53970 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
)_wrap_SizerItem_GetMinSizeWithBorder
, METH_O
, NULL
},
53971 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53972 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53973 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53974 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53975 { (char *)"SizerItem_GetRatio", (PyCFunction
)_wrap_SizerItem_GetRatio
, METH_O
, NULL
},
53976 { (char *)"SizerItem_GetRect", (PyCFunction
)_wrap_SizerItem_GetRect
, METH_O
, NULL
},
53977 { (char *)"SizerItem_IsWindow", (PyCFunction
)_wrap_SizerItem_IsWindow
, METH_O
, NULL
},
53978 { (char *)"SizerItem_IsSizer", (PyCFunction
)_wrap_SizerItem_IsSizer
, METH_O
, NULL
},
53979 { (char *)"SizerItem_IsSpacer", (PyCFunction
)_wrap_SizerItem_IsSpacer
, METH_O
, NULL
},
53980 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53981 { (char *)"SizerItem_GetProportion", (PyCFunction
)_wrap_SizerItem_GetProportion
, METH_O
, NULL
},
53982 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53983 { (char *)"SizerItem_GetFlag", (PyCFunction
)_wrap_SizerItem_GetFlag
, METH_O
, NULL
},
53984 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53985 { (char *)"SizerItem_GetBorder", (PyCFunction
)_wrap_SizerItem_GetBorder
, METH_O
, NULL
},
53986 { (char *)"SizerItem_GetWindow", (PyCFunction
)_wrap_SizerItem_GetWindow
, METH_O
, NULL
},
53987 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53988 { (char *)"SizerItem_GetSizer", (PyCFunction
)_wrap_SizerItem_GetSizer
, METH_O
, NULL
},
53989 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53990 { (char *)"SizerItem_GetSpacer", (PyCFunction
)_wrap_SizerItem_GetSpacer
, METH_O
, NULL
},
53991 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53992 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53993 { (char *)"SizerItem_IsShown", (PyCFunction
)_wrap_SizerItem_IsShown
, METH_O
, NULL
},
53994 { (char *)"SizerItem_GetPosition", (PyCFunction
)_wrap_SizerItem_GetPosition
, METH_O
, NULL
},
53995 { (char *)"SizerItem_GetUserData", (PyCFunction
)_wrap_SizerItem_GetUserData
, METH_O
, NULL
},
53996 { (char *)"SizerItem_SetUserData", (PyCFunction
) _wrap_SizerItem_SetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
53997 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
53998 { (char *)"SizerItem_swiginit", SizerItem_swiginit
, METH_VARARGS
, NULL
},
53999 { (char *)"delete_Sizer", (PyCFunction
)_wrap_delete_Sizer
, METH_O
, NULL
},
54000 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54001 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54002 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54003 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54004 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54005 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54006 { (char *)"Sizer_GetItem", (PyCFunction
) _wrap_Sizer_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54007 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54008 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54009 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54010 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54011 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54012 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54013 { (char *)"Sizer_GetSize", (PyCFunction
)_wrap_Sizer_GetSize
, METH_O
, NULL
},
54014 { (char *)"Sizer_GetPosition", (PyCFunction
)_wrap_Sizer_GetPosition
, METH_O
, NULL
},
54015 { (char *)"Sizer_GetMinSize", (PyCFunction
)_wrap_Sizer_GetMinSize
, METH_O
, NULL
},
54016 { (char *)"Sizer_RecalcSizes", (PyCFunction
)_wrap_Sizer_RecalcSizes
, METH_O
, NULL
},
54017 { (char *)"Sizer_CalcMin", (PyCFunction
)_wrap_Sizer_CalcMin
, METH_O
, NULL
},
54018 { (char *)"Sizer_Layout", (PyCFunction
)_wrap_Sizer_Layout
, METH_O
, NULL
},
54019 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54020 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54021 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54022 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54023 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54024 { (char *)"Sizer_DeleteWindows", (PyCFunction
)_wrap_Sizer_DeleteWindows
, METH_O
, NULL
},
54025 { (char *)"Sizer_GetChildren", (PyCFunction
)_wrap_Sizer_GetChildren
, METH_O
, NULL
},
54026 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54027 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54028 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54029 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
54030 { (char *)"new_PySizer", (PyCFunction
)_wrap_new_PySizer
, METH_NOARGS
, NULL
},
54031 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54032 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
54033 { (char *)"PySizer_swiginit", PySizer_swiginit
, METH_VARARGS
, NULL
},
54034 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54035 { (char *)"BoxSizer_GetOrientation", (PyCFunction
)_wrap_BoxSizer_GetOrientation
, METH_O
, NULL
},
54036 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54037 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
54038 { (char *)"BoxSizer_swiginit", BoxSizer_swiginit
, METH_VARARGS
, NULL
},
54039 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54040 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
)_wrap_StaticBoxSizer_GetStaticBox
, METH_O
, NULL
},
54041 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
54042 { (char *)"StaticBoxSizer_swiginit", StaticBoxSizer_swiginit
, METH_VARARGS
, NULL
},
54043 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54044 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54045 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54046 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54047 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54048 { (char *)"GridSizer_GetCols", (PyCFunction
)_wrap_GridSizer_GetCols
, METH_O
, NULL
},
54049 { (char *)"GridSizer_GetRows", (PyCFunction
)_wrap_GridSizer_GetRows
, METH_O
, NULL
},
54050 { (char *)"GridSizer_GetVGap", (PyCFunction
)_wrap_GridSizer_GetVGap
, METH_O
, NULL
},
54051 { (char *)"GridSizer_GetHGap", (PyCFunction
)_wrap_GridSizer_GetHGap
, METH_O
, NULL
},
54052 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
54053 { (char *)"GridSizer_swiginit", GridSizer_swiginit
, METH_VARARGS
, NULL
},
54054 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54055 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54056 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54057 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54058 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54059 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54060 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
)_wrap_FlexGridSizer_GetFlexibleDirection
, METH_O
, NULL
},
54061 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54062 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
)_wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_O
, NULL
},
54063 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
)_wrap_FlexGridSizer_GetRowHeights
, METH_O
, NULL
},
54064 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
)_wrap_FlexGridSizer_GetColWidths
, METH_O
, NULL
},
54065 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
54066 { (char *)"FlexGridSizer_swiginit", FlexGridSizer_swiginit
, METH_VARARGS
, NULL
},
54067 { (char *)"new_StdDialogButtonSizer", (PyCFunction
)_wrap_new_StdDialogButtonSizer
, METH_NOARGS
, NULL
},
54068 { (char *)"StdDialogButtonSizer_AddButton", (PyCFunction
) _wrap_StdDialogButtonSizer_AddButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54069 { (char *)"StdDialogButtonSizer_Realize", (PyCFunction
)_wrap_StdDialogButtonSizer_Realize
, METH_O
, NULL
},
54070 { (char *)"StdDialogButtonSizer_SetAffirmativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetAffirmativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54071 { (char *)"StdDialogButtonSizer_SetNegativeButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetNegativeButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54072 { (char *)"StdDialogButtonSizer_SetCancelButton", (PyCFunction
) _wrap_StdDialogButtonSizer_SetCancelButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54073 { (char *)"StdDialogButtonSizer_GetAffirmativeButton", (PyCFunction
)_wrap_StdDialogButtonSizer_GetAffirmativeButton
, METH_O
, NULL
},
54074 { (char *)"StdDialogButtonSizer_GetApplyButton", (PyCFunction
)_wrap_StdDialogButtonSizer_GetApplyButton
, METH_O
, NULL
},
54075 { (char *)"StdDialogButtonSizer_GetNegativeButton", (PyCFunction
)_wrap_StdDialogButtonSizer_GetNegativeButton
, METH_O
, NULL
},
54076 { (char *)"StdDialogButtonSizer_GetCancelButton", (PyCFunction
)_wrap_StdDialogButtonSizer_GetCancelButton
, METH_O
, NULL
},
54077 { (char *)"StdDialogButtonSizer_GetHelpButton", (PyCFunction
)_wrap_StdDialogButtonSizer_GetHelpButton
, METH_O
, NULL
},
54078 { (char *)"StdDialogButtonSizer_swigregister", StdDialogButtonSizer_swigregister
, METH_VARARGS
, NULL
},
54079 { (char *)"StdDialogButtonSizer_swiginit", StdDialogButtonSizer_swiginit
, METH_VARARGS
, NULL
},
54080 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54081 { (char *)"delete_GBPosition", (PyCFunction
)_wrap_delete_GBPosition
, METH_O
, NULL
},
54082 { (char *)"GBPosition_GetRow", (PyCFunction
)_wrap_GBPosition_GetRow
, METH_O
, NULL
},
54083 { (char *)"GBPosition_GetCol", (PyCFunction
)_wrap_GBPosition_GetCol
, METH_O
, NULL
},
54084 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54085 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54086 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54087 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54088 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54089 { (char *)"GBPosition_Get", (PyCFunction
)_wrap_GBPosition_Get
, METH_O
, NULL
},
54090 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
54091 { (char *)"GBPosition_swiginit", GBPosition_swiginit
, METH_VARARGS
, NULL
},
54092 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54093 { (char *)"delete_GBSpan", (PyCFunction
)_wrap_delete_GBSpan
, METH_O
, NULL
},
54094 { (char *)"GBSpan_GetRowspan", (PyCFunction
)_wrap_GBSpan_GetRowspan
, METH_O
, NULL
},
54095 { (char *)"GBSpan_GetColspan", (PyCFunction
)_wrap_GBSpan_GetColspan
, METH_O
, NULL
},
54096 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54097 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54098 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54099 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54100 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54101 { (char *)"GBSpan_Get", (PyCFunction
)_wrap_GBSpan_Get
, METH_O
, NULL
},
54102 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
54103 { (char *)"GBSpan_swiginit", GBSpan_swiginit
, METH_VARARGS
, NULL
},
54104 { (char *)"new_GBSizerItem", (PyCFunction
)_wrap_new_GBSizerItem
, METH_NOARGS
, NULL
},
54105 { (char *)"delete_GBSizerItem", (PyCFunction
)_wrap_delete_GBSizerItem
, METH_O
, NULL
},
54106 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54107 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54108 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54109 { (char *)"GBSizerItem_GetPos", (PyCFunction
)_wrap_GBSizerItem_GetPos
, METH_O
, NULL
},
54110 { (char *)"GBSizerItem_GetSpan", (PyCFunction
)_wrap_GBSizerItem_GetSpan
, METH_O
, NULL
},
54111 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54112 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54113 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54114 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54115 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
)_wrap_GBSizerItem_GetEndPos
, METH_O
, NULL
},
54116 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
)_wrap_GBSizerItem_GetGBSizer
, METH_O
, NULL
},
54117 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54118 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
54119 { (char *)"GBSizerItem_swiginit", GBSizerItem_swiginit
, METH_VARARGS
, NULL
},
54120 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54121 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54122 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54123 { (char *)"GridBagSizer_GetCellSize", (PyCFunction
) _wrap_GridBagSizer_GetCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54124 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
)_wrap_GridBagSizer_GetEmptyCellSize
, METH_O
, NULL
},
54125 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54126 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
54127 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
54128 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
54129 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
54130 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
54131 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54132 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54133 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54134 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54135 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
54136 { (char *)"GridBagSizer_swiginit", GridBagSizer_swiginit
, METH_VARARGS
, NULL
},
54137 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54138 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54139 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54140 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54141 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54142 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54143 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54144 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54145 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
)_wrap_IndividualLayoutConstraint_Unconstrained
, METH_O
, NULL
},
54146 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
)_wrap_IndividualLayoutConstraint_AsIs
, METH_O
, NULL
},
54147 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_O
, NULL
},
54148 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetMyEdge
, METH_O
, NULL
},
54149 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54150 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54151 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetMargin
, METH_O
, NULL
},
54152 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54153 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetValue
, METH_O
, NULL
},
54154 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetPercent
, METH_O
, NULL
},
54155 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_O
, NULL
},
54156 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetDone
, METH_O
, NULL
},
54157 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54158 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
)_wrap_IndividualLayoutConstraint_GetRelationship
, METH_O
, NULL
},
54159 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54160 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54161 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54162 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54163 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
54164 { (char *)"LayoutConstraints_left_get", (PyCFunction
)_wrap_LayoutConstraints_left_get
, METH_O
, NULL
},
54165 { (char *)"LayoutConstraints_top_get", (PyCFunction
)_wrap_LayoutConstraints_top_get
, METH_O
, NULL
},
54166 { (char *)"LayoutConstraints_right_get", (PyCFunction
)_wrap_LayoutConstraints_right_get
, METH_O
, NULL
},
54167 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
)_wrap_LayoutConstraints_bottom_get
, METH_O
, NULL
},
54168 { (char *)"LayoutConstraints_width_get", (PyCFunction
)_wrap_LayoutConstraints_width_get
, METH_O
, NULL
},
54169 { (char *)"LayoutConstraints_height_get", (PyCFunction
)_wrap_LayoutConstraints_height_get
, METH_O
, NULL
},
54170 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
)_wrap_LayoutConstraints_centreX_get
, METH_O
, NULL
},
54171 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
)_wrap_LayoutConstraints_centreY_get
, METH_O
, NULL
},
54172 { (char *)"new_LayoutConstraints", (PyCFunction
)_wrap_new_LayoutConstraints
, METH_NOARGS
, NULL
},
54173 { (char *)"delete_LayoutConstraints", (PyCFunction
)_wrap_delete_LayoutConstraints
, METH_O
, NULL
},
54174 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
54175 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
)_wrap_LayoutConstraints_AreSatisfied
, METH_O
, NULL
},
54176 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
54177 { (char *)"LayoutConstraints_swiginit", LayoutConstraints_swiginit
, METH_VARARGS
, NULL
},
54178 { NULL
, NULL
, 0, NULL
}
54182 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
54184 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
54185 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
54187 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
54188 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
54190 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
54191 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
54193 static void *_p_wxStdDialogButtonSizerTo_p_wxSizer(void *x
) {
54194 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
54196 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
54197 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
54199 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
54200 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
54202 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
54203 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
54205 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
54206 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
54208 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
54209 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
54211 static void *_p_wxStdDialogButtonSizerTo_p_wxBoxSizer(void *x
) {
54212 return (void *)((wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
54214 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
54215 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
54217 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
54218 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
54220 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
54221 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
54223 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
54224 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
54226 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
54227 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
54229 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
54230 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
54232 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
54233 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
54235 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
54236 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
54238 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
54239 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
54241 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
54242 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
54244 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
54245 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
54247 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
54248 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
54250 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
54251 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
54253 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
54254 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
54256 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
54257 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
54259 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
54260 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
54262 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
54263 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
54265 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
54266 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
54268 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
54269 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
54271 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
54272 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
54274 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
54275 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
54277 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
54278 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
54280 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
54281 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
54283 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
54284 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
54286 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
54287 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
54289 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
54290 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
54292 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
54293 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
54295 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
54296 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
54298 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
54299 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
54301 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
54302 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
54304 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
54305 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
54307 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
54308 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
54310 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
54311 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
54313 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
54314 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
54316 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
54317 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
54319 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
54320 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
54322 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
54323 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
54325 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
54326 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
54328 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
54329 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
54331 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
54332 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
54334 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
54335 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
54337 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
54338 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
54340 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
54341 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
54343 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
54344 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
54346 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
54347 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
54349 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
54350 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
54352 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
54353 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
54355 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
54356 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
54358 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
54359 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
54361 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
54362 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
54364 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
54365 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
54367 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
54368 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
54370 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
54371 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
54373 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
54374 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
54376 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
54377 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
54379 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
54380 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
54382 static void *_p_wxPyImageHandlerTo_p_wxImageHandler(void *x
) {
54383 return (void *)((wxImageHandler
*) ((wxPyImageHandler
*) x
));
54385 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
54386 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
54388 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
54389 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
54391 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
54392 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
54394 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
54395 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
54397 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
54398 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
54400 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
54401 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
54403 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
54404 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
54406 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
54407 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
54409 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
54410 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
54412 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
54413 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
54415 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
54416 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
54418 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
54419 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
54421 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
54422 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
54424 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
54425 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
54427 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
54428 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
54430 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
54431 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
54433 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
54434 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
54436 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
54437 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
54439 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
54440 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
54442 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
54443 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
54445 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
54446 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
54448 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
54449 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
54451 static void *_p_wxSizerTo_p_wxObject(void *x
) {
54452 return (void *)((wxObject
*) ((wxSizer
*) x
));
54454 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
54455 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
54457 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
54458 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
54460 static void *_p_wxEventTo_p_wxObject(void *x
) {
54461 return (void *)((wxObject
*) ((wxEvent
*) x
));
54463 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
54464 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
54466 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
54467 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
54469 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
54470 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
54472 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
54473 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
54475 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
54476 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
54478 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
54479 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
54481 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
54482 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
54484 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
54485 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
54487 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
54488 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
54490 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
54491 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
54493 static void *_p_wxControlTo_p_wxObject(void *x
) {
54494 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
54496 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
54497 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
54499 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
54500 return (void *)((wxObject
*) ((wxFSFile
*) x
));
54502 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
54503 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
54505 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
54506 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
54508 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
54509 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
54511 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
54512 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
54514 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
54515 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
54517 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
54518 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
54520 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
54521 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
54523 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
54524 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
54526 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
54527 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
54529 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
54530 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
54532 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
54533 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
54535 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
54536 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
54538 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
54539 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
54541 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
54542 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
54544 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
54545 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
54547 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
54548 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
54550 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
54551 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
54553 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
54554 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
54556 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
54557 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
54559 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
54560 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
54562 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
54563 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
54565 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
54566 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
54568 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
54569 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
54571 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
54572 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
54574 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
54575 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
54577 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
54578 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
54580 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
54581 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
54583 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
54584 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
54586 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
54587 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
54589 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
54590 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
54592 static void *_p_wxImageTo_p_wxObject(void *x
) {
54593 return (void *)((wxObject
*) ((wxImage
*) x
));
54595 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
54596 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
54598 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
54599 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
54601 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
54602 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
54604 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
54605 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
54607 static void *_p_wxWindowTo_p_wxObject(void *x
) {
54608 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
54610 static void *_p_wxMenuTo_p_wxObject(void *x
) {
54611 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
54613 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
54614 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
54616 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
54617 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
54619 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
54620 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
54622 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
54623 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
54625 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
54626 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
54628 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
54629 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
54631 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
54632 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
54634 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
54635 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
54637 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
54638 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
54640 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
54641 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
54643 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
54644 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
54646 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
54647 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
54649 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
54650 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
54652 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
54653 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
54655 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
54656 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
54658 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
54659 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
54661 static void *_p_wxControlTo_p_wxWindow(void *x
) {
54662 return (void *)((wxWindow
*) ((wxControl
*) x
));
54664 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
54665 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
54667 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
54668 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
54670 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
54671 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
54673 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
54674 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
54676 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
54677 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
54679 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
54680 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
54682 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
54683 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
54685 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
54686 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
54688 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
54689 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
54691 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
54692 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
54694 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
54695 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
54697 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
54698 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
54700 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
54701 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
54703 static swig_type_info _swigt__p_buffer
= {"_p_buffer", "buffer *", 0, 0, (void*)0, 0};
54704 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
54705 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};
54706 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
54707 static swig_type_info _swigt__p_long
= {"_p_long", "long *", 0, 0, (void*)0, 0};
54708 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
54709 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
54710 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
54711 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", "wxANIHandler *", 0, 0, (void*)0, 0};
54712 static swig_type_info _swigt__p_wxAcceleratorEntry
= {"_p_wxAcceleratorEntry", "wxAcceleratorEntry *", 0, 0, (void*)0, 0};
54713 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", "wxAcceleratorTable *", 0, 0, (void*)0, 0};
54714 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", "wxActivateEvent *", 0, 0, (void*)0, 0};
54715 static swig_type_info _swigt__p_wxAppTraits
= {"_p_wxAppTraits", "wxAppTraits *", 0, 0, (void*)0, 0};
54716 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
54717 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", "wxBMPHandler *", 0, 0, (void*)0, 0};
54718 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
54719 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", "wxBoxSizer *", 0, 0, (void*)0, 0};
54720 static swig_type_info _swigt__p_wxButton
= {"_p_wxButton", "wxButton *", 0, 0, (void*)0, 0};
54721 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", "wxCURHandler *", 0, 0, (void*)0, 0};
54722 static swig_type_info _swigt__p_wxCaret
= {"_p_wxCaret", "wxCaret *", 0, 0, (void*)0, 0};
54723 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", "wxChildFocusEvent *", 0, 0, (void*)0, 0};
54724 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", "wxClipboardTextEvent *", 0, 0, (void*)0, 0};
54725 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", "wxCloseEvent *", 0, 0, (void*)0, 0};
54726 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
54727 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
54728 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", "wxContextMenuEvent *", 0, 0, (void*)0, 0};
54729 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
54730 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", "wxControlWithItems *", 0, 0, (void*)0, 0};
54731 static swig_type_info _swigt__p_wxCursor
= {"_p_wxCursor", "wxCursor *", 0, 0, (void*)0, 0};
54732 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
54733 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", "wxDateEvent *", 0, 0, (void*)0, 0};
54734 static swig_type_info _swigt__p_wxDateTime
= {"_p_wxDateTime", "wxDateTime *", 0, 0, (void*)0, 0};
54735 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", "wxDisplayChangedEvent *", 0, 0, (void*)0, 0};
54736 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", "wxDropFilesEvent *", 0, 0, (void*)0, 0};
54737 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
54738 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", "wxEraseEvent *", 0, 0, (void*)0, 0};
54739 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
54740 static swig_type_info _swigt__p_wxEventLoop
= {"_p_wxEventLoop", "wxEventLoop *", 0, 0, (void*)0, 0};
54741 static swig_type_info _swigt__p_wxEventLoopActivator
= {"_p_wxEventLoopActivator", "wxEventLoopActivator *", 0, 0, (void*)0, 0};
54742 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
54743 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", "wxFSFile *", 0, 0, (void*)0, 0};
54744 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
54745 static swig_type_info _swigt__p_wxFileSystemHandler
= {"_p_wxFileSystemHandler", "wxFileSystemHandler *", 0, 0, (void*)0, 0};
54746 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", "wxFlexGridSizer *", 0, 0, (void*)0, 0};
54747 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", "wxFocusEvent *", 0, 0, (void*)0, 0};
54748 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
54749 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
54750 static swig_type_info _swigt__p_wxGBPosition
= {"_p_wxGBPosition", "wxGBPosition *", 0, 0, (void*)0, 0};
54751 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", "wxGBSizerItem *", 0, 0, (void*)0, 0};
54752 static swig_type_info _swigt__p_wxGBSpan
= {"_p_wxGBSpan", "wxGBSpan *", 0, 0, (void*)0, 0};
54753 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", "wxGIFHandler *", 0, 0, (void*)0, 0};
54754 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", "wxGridBagSizer *", 0, 0, (void*)0, 0};
54755 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", "wxGridSizer *", 0, 0, (void*)0, 0};
54756 static swig_type_info _swigt__p_wxHelpEvent__Origin
= {"_p_wxHelpEvent__Origin", "wxHelpEvent::Origin *", 0, 0, (void*)0, 0};
54757 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", "wxICOHandler *", 0, 0, (void*)0, 0};
54758 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", "wxIconizeEvent *", 0, 0, (void*)0, 0};
54759 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", "wxIdleEvent *", 0, 0, (void*)0, 0};
54760 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", "wxImage *", 0, 0, (void*)0, 0};
54761 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", "wxImageHandler *", 0, 0, (void*)0, 0};
54762 static swig_type_info _swigt__p_wxImageHistogram
= {"_p_wxImageHistogram", "wxImageHistogram *", 0, 0, (void*)0, 0};
54763 static swig_type_info _swigt__p_wxImage_HSVValue
= {"_p_wxImage_HSVValue", "wxImage_HSVValue *", 0, 0, (void*)0, 0};
54764 static swig_type_info _swigt__p_wxImage_RGBValue
= {"_p_wxImage_RGBValue", "wxImage_RGBValue *", 0, 0, (void*)0, 0};
54765 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", "wxIndividualLayoutConstraint *", 0, 0, (void*)0, 0};
54766 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", "wxInitDialogEvent *", 0, 0, (void*)0, 0};
54767 static swig_type_info _swigt__p_wxInputStream
= {"_p_wxInputStream", "wxInputStream *", 0, 0, (void*)0, 0};
54768 static swig_type_info _swigt__p_wxInternetFSHandler
= {"_p_wxInternetFSHandler", "wxInternetFSHandler *", 0, 0, (void*)0, 0};
54769 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
54770 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", "wxJPEGHandler *", 0, 0, (void*)0, 0};
54771 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", "wxKeyEvent *", 0, 0, (void*)0, 0};
54772 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", "wxLayoutConstraints *", 0, 0, (void*)0, 0};
54773 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", "wxMaximizeEvent *", 0, 0, (void*)0, 0};
54774 static swig_type_info _swigt__p_wxMemoryFSHandler
= {"_p_wxMemoryFSHandler", "wxMemoryFSHandler *", 0, 0, (void*)0, 0};
54775 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
54776 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
54777 static swig_type_info _swigt__p_wxMenuBarBase
= {"_p_wxMenuBarBase", "wxMenuBarBase *", 0, 0, (void*)0, 0};
54778 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", "wxMenuEvent *", 0, 0, (void*)0, 0};
54779 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", "wxMenuItem *", 0, 0, (void*)0, 0};
54780 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", "wxMouseCaptureChangedEvent *", 0, 0, (void*)0, 0};
54781 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", "wxMouseEvent *", 0, 0, (void*)0, 0};
54782 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", "wxMoveEvent *", 0, 0, (void*)0, 0};
54783 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", "wxNavigationKeyEvent *", 0, 0, (void*)0, 0};
54784 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", "wxNcPaintEvent *", 0, 0, (void*)0, 0};
54785 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
54786 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
54787 static swig_type_info _swigt__p_wxOutputStream
= {"_p_wxOutputStream", "wxOutputStream *", 0, 0, (void*)0, 0};
54788 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", "wxPCXHandler *", 0, 0, (void*)0, 0};
54789 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", "wxPNGHandler *", 0, 0, (void*)0, 0};
54790 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", "wxPNMHandler *", 0, 0, (void*)0, 0};
54791 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", "wxPaintEvent *", 0, 0, (void*)0, 0};
54792 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", "wxPaletteChangedEvent *", 0, 0, (void*)0, 0};
54793 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
54794 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
54795 static swig_type_info _swigt__p_wxPoint2D
= {"_p_wxPoint2D", "wxPoint2D *", 0, 0, (void*)0, 0};
54796 static swig_type_info _swigt__p_wxPropagateOnce
= {"_p_wxPropagateOnce", "wxPropagateOnce *", 0, 0, (void*)0, 0};
54797 static swig_type_info _swigt__p_wxPropagationDisabler
= {"_p_wxPropagationDisabler", "wxPropagationDisabler *", 0, 0, (void*)0, 0};
54798 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", "wxPyApp *", 0, 0, (void*)0, 0};
54799 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", "wxPyCommandEvent *", 0, 0, (void*)0, 0};
54800 static swig_type_info _swigt__p_wxPyDropTarget
= {"_p_wxPyDropTarget", "wxPyDropTarget *", 0, 0, (void*)0, 0};
54801 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", "wxPyEvent *", 0, 0, (void*)0, 0};
54802 static swig_type_info _swigt__p_wxPyFileSystemHandler
= {"_p_wxPyFileSystemHandler", "wxPyFileSystemHandler *", 0, 0, (void*)0, 0};
54803 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", "wxPyImageHandler *", 0, 0, (void*)0, 0};
54804 static swig_type_info _swigt__p_wxPyInputStream
= {"_p_wxPyInputStream", "wxPyInputStream *", 0, 0, (void*)0, 0};
54805 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", "wxPySizer *", 0, 0, (void*)0, 0};
54806 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", "wxPyValidator *", 0, 0, (void*)0, 0};
54807 static swig_type_info _swigt__p_wxQuantize
= {"_p_wxQuantize", "wxQuantize *", 0, 0, (void*)0, 0};
54808 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", "wxQueryNewPaletteEvent *", 0, 0, (void*)0, 0};
54809 static swig_type_info _swigt__p_wxRealPoint
= {"_p_wxRealPoint", "wxRealPoint *", 0, 0, (void*)0, 0};
54810 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
54811 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
54812 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", "wxScrollEvent *", 0, 0, (void*)0, 0};
54813 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
54814 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", "wxSetCursorEvent *", 0, 0, (void*)0, 0};
54815 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", "wxShowEvent *", 0, 0, (void*)0, 0};
54816 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
54817 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", "wxSizeEvent *", 0, 0, (void*)0, 0};
54818 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", "wxSizer *", 0, 0, (void*)0, 0};
54819 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", "wxSizerItem *", 0, 0, (void*)0, 0};
54820 static swig_type_info _swigt__p_wxStaticBox
= {"_p_wxStaticBox", "wxStaticBox *", 0, 0, (void*)0, 0};
54821 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", "wxStaticBoxSizer *", 0, 0, (void*)0, 0};
54822 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
54823 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", "wxSysColourChangedEvent *", 0, 0, (void*)0, 0};
54824 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", "wxTIFFHandler *", 0, 0, (void*)0, 0};
54825 static swig_type_info _swigt__p_wxToolTip
= {"_p_wxToolTip", "wxToolTip *", 0, 0, (void*)0, 0};
54826 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", "wxUpdateUIEvent *", 0, 0, (void*)0, 0};
54827 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
54828 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
54829 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
54830 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", "wxWindowCreateEvent *", 0, 0, (void*)0, 0};
54831 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", "wxWindowDestroyEvent *", 0, 0, (void*)0, 0};
54832 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", "wxXPMHandler *", 0, 0, (void*)0, 0};
54833 static swig_type_info _swigt__p_wxZipFSHandler
= {"_p_wxZipFSHandler", "wxZipFSHandler *", 0, 0, (void*)0, 0};
54835 static swig_type_info
*swig_type_initial
[] = {
54838 &_swigt__p_form_ops_t
,
54841 &_swigt__p_unsigned_char
,
54842 &_swigt__p_unsigned_int
,
54843 &_swigt__p_unsigned_long
,
54844 &_swigt__p_wxANIHandler
,
54845 &_swigt__p_wxAcceleratorEntry
,
54846 &_swigt__p_wxAcceleratorTable
,
54847 &_swigt__p_wxActivateEvent
,
54848 &_swigt__p_wxAppTraits
,
54849 &_swigt__p_wxArrayString
,
54850 &_swigt__p_wxBMPHandler
,
54851 &_swigt__p_wxBitmap
,
54852 &_swigt__p_wxBoxSizer
,
54853 &_swigt__p_wxButton
,
54854 &_swigt__p_wxCURHandler
,
54855 &_swigt__p_wxCaret
,
54856 &_swigt__p_wxChildFocusEvent
,
54857 &_swigt__p_wxClipboardTextEvent
,
54858 &_swigt__p_wxCloseEvent
,
54859 &_swigt__p_wxColour
,
54860 &_swigt__p_wxCommandEvent
,
54861 &_swigt__p_wxContextMenuEvent
,
54862 &_swigt__p_wxControl
,
54863 &_swigt__p_wxControlWithItems
,
54864 &_swigt__p_wxCursor
,
54866 &_swigt__p_wxDateEvent
,
54867 &_swigt__p_wxDateTime
,
54868 &_swigt__p_wxDisplayChangedEvent
,
54869 &_swigt__p_wxDropFilesEvent
,
54870 &_swigt__p_wxDuplexMode
,
54871 &_swigt__p_wxEraseEvent
,
54872 &_swigt__p_wxEvent
,
54873 &_swigt__p_wxEventLoop
,
54874 &_swigt__p_wxEventLoopActivator
,
54875 &_swigt__p_wxEvtHandler
,
54876 &_swigt__p_wxFSFile
,
54877 &_swigt__p_wxFileSystem
,
54878 &_swigt__p_wxFileSystemHandler
,
54879 &_swigt__p_wxFlexGridSizer
,
54880 &_swigt__p_wxFocusEvent
,
54882 &_swigt__p_wxFrame
,
54883 &_swigt__p_wxGBPosition
,
54884 &_swigt__p_wxGBSizerItem
,
54885 &_swigt__p_wxGBSpan
,
54886 &_swigt__p_wxGIFHandler
,
54887 &_swigt__p_wxGridBagSizer
,
54888 &_swigt__p_wxGridSizer
,
54889 &_swigt__p_wxHelpEvent__Origin
,
54890 &_swigt__p_wxICOHandler
,
54891 &_swigt__p_wxIconizeEvent
,
54892 &_swigt__p_wxIdleEvent
,
54893 &_swigt__p_wxImage
,
54894 &_swigt__p_wxImageHandler
,
54895 &_swigt__p_wxImageHistogram
,
54896 &_swigt__p_wxImage_HSVValue
,
54897 &_swigt__p_wxImage_RGBValue
,
54898 &_swigt__p_wxIndividualLayoutConstraint
,
54899 &_swigt__p_wxInitDialogEvent
,
54900 &_swigt__p_wxInputStream
,
54901 &_swigt__p_wxInternetFSHandler
,
54902 &_swigt__p_wxItemContainer
,
54903 &_swigt__p_wxJPEGHandler
,
54904 &_swigt__p_wxKeyEvent
,
54905 &_swigt__p_wxLayoutConstraints
,
54906 &_swigt__p_wxMaximizeEvent
,
54907 &_swigt__p_wxMemoryFSHandler
,
54909 &_swigt__p_wxMenuBar
,
54910 &_swigt__p_wxMenuBarBase
,
54911 &_swigt__p_wxMenuEvent
,
54912 &_swigt__p_wxMenuItem
,
54913 &_swigt__p_wxMouseCaptureChangedEvent
,
54914 &_swigt__p_wxMouseEvent
,
54915 &_swigt__p_wxMoveEvent
,
54916 &_swigt__p_wxNavigationKeyEvent
,
54917 &_swigt__p_wxNcPaintEvent
,
54918 &_swigt__p_wxNotifyEvent
,
54919 &_swigt__p_wxObject
,
54920 &_swigt__p_wxOutputStream
,
54921 &_swigt__p_wxPCXHandler
,
54922 &_swigt__p_wxPNGHandler
,
54923 &_swigt__p_wxPNMHandler
,
54924 &_swigt__p_wxPaintEvent
,
54925 &_swigt__p_wxPaletteChangedEvent
,
54926 &_swigt__p_wxPaperSize
,
54927 &_swigt__p_wxPoint
,
54928 &_swigt__p_wxPoint2D
,
54929 &_swigt__p_wxPropagateOnce
,
54930 &_swigt__p_wxPropagationDisabler
,
54931 &_swigt__p_wxPyApp
,
54932 &_swigt__p_wxPyCommandEvent
,
54933 &_swigt__p_wxPyDropTarget
,
54934 &_swigt__p_wxPyEvent
,
54935 &_swigt__p_wxPyFileSystemHandler
,
54936 &_swigt__p_wxPyImageHandler
,
54937 &_swigt__p_wxPyInputStream
,
54938 &_swigt__p_wxPySizer
,
54939 &_swigt__p_wxPyValidator
,
54940 &_swigt__p_wxQuantize
,
54941 &_swigt__p_wxQueryNewPaletteEvent
,
54942 &_swigt__p_wxRealPoint
,
54944 &_swigt__p_wxRegion
,
54945 &_swigt__p_wxScrollEvent
,
54946 &_swigt__p_wxScrollWinEvent
,
54947 &_swigt__p_wxSetCursorEvent
,
54948 &_swigt__p_wxShowEvent
,
54950 &_swigt__p_wxSizeEvent
,
54951 &_swigt__p_wxSizer
,
54952 &_swigt__p_wxSizerItem
,
54953 &_swigt__p_wxStaticBox
,
54954 &_swigt__p_wxStaticBoxSizer
,
54955 &_swigt__p_wxStdDialogButtonSizer
,
54956 &_swigt__p_wxSysColourChangedEvent
,
54957 &_swigt__p_wxTIFFHandler
,
54958 &_swigt__p_wxToolTip
,
54959 &_swigt__p_wxUpdateUIEvent
,
54960 &_swigt__p_wxValidator
,
54961 &_swigt__p_wxVisualAttributes
,
54962 &_swigt__p_wxWindow
,
54963 &_swigt__p_wxWindowCreateEvent
,
54964 &_swigt__p_wxWindowDestroyEvent
,
54965 &_swigt__p_wxXPMHandler
,
54966 &_swigt__p_wxZipFSHandler
,
54969 static swig_cast_info _swigc__p_buffer
[] = { {&_swigt__p_buffer
, 0, 0, 0},{0, 0, 0, 0}};
54970 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
54971 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
54972 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
54973 static swig_cast_info _swigc__p_long
[] = { {&_swigt__p_long
, 0, 0, 0},{0, 0, 0, 0}};
54974 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
54975 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
54976 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
54977 static swig_cast_info _swigc__p_wxANIHandler
[] = { {&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
54978 static swig_cast_info _swigc__p_wxAcceleratorEntry
[] = { {&_swigt__p_wxAcceleratorEntry
, 0, 0, 0},{0, 0, 0, 0}};
54979 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = { {&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
54980 static swig_cast_info _swigc__p_wxActivateEvent
[] = { {&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
54981 static swig_cast_info _swigc__p_wxAppTraits
[] = { {&_swigt__p_wxAppTraits
, 0, 0, 0},{0, 0, 0, 0}};
54982 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
54983 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}};
54984 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
54985 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}};
54986 static swig_cast_info _swigc__p_wxButton
[] = { {&_swigt__p_wxButton
, 0, 0, 0},{0, 0, 0, 0}};
54987 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}};
54988 static swig_cast_info _swigc__p_wxCaret
[] = { {&_swigt__p_wxCaret
, 0, 0, 0},{0, 0, 0, 0}};
54989 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = { {&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
54990 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = { {&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
54991 static swig_cast_info _swigc__p_wxCloseEvent
[] = { {&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
54992 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
54993 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, 0, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}};
54994 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = { {&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
54995 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}};
54996 static swig_cast_info _swigc__p_wxControlWithItems
[] = { {&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
54997 static swig_cast_info _swigc__p_wxCursor
[] = { {&_swigt__p_wxCursor
, 0, 0, 0},{0, 0, 0, 0}};
54998 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
54999 static swig_cast_info _swigc__p_wxDateEvent
[] = { {&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
55000 static swig_cast_info _swigc__p_wxDateTime
[] = { {&_swigt__p_wxDateTime
, 0, 0, 0},{0, 0, 0, 0}};
55001 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = { {&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
55002 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = { {&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
55003 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
55004 static swig_cast_info _swigc__p_wxEraseEvent
[] = { {&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
55005 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_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_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_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}};
55006 static swig_cast_info _swigc__p_wxEventLoop
[] = { {&_swigt__p_wxEventLoop
, 0, 0, 0},{0, 0, 0, 0}};
55007 static swig_cast_info _swigc__p_wxEventLoopActivator
[] = { {&_swigt__p_wxEventLoopActivator
, 0, 0, 0},{0, 0, 0, 0}};
55008 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}};
55009 static swig_cast_info _swigc__p_wxFSFile
[] = { {&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
55010 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
55011 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}};
55012 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}};
55013 static swig_cast_info _swigc__p_wxFocusEvent
[] = { {&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
55014 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
55015 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxFrame
, 0, 0, 0},{0, 0, 0, 0}};
55016 static swig_cast_info _swigc__p_wxGBPosition
[] = { {&_swigt__p_wxGBPosition
, 0, 0, 0},{0, 0, 0, 0}};
55017 static swig_cast_info _swigc__p_wxGBSizerItem
[] = { {&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
55018 static swig_cast_info _swigc__p_wxGBSpan
[] = { {&_swigt__p_wxGBSpan
, 0, 0, 0},{0, 0, 0, 0}};
55019 static swig_cast_info _swigc__p_wxGIFHandler
[] = { {&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
55020 static swig_cast_info _swigc__p_wxGridBagSizer
[] = { {&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
55021 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}};
55022 static swig_cast_info _swigc__p_wxHelpEvent__Origin
[] = { {&_swigt__p_wxHelpEvent__Origin
, 0, 0, 0},{0, 0, 0, 0}};
55023 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}};
55024 static swig_cast_info _swigc__p_wxIconizeEvent
[] = { {&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
55025 static swig_cast_info _swigc__p_wxIdleEvent
[] = { {&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
55026 static swig_cast_info _swigc__p_wxImage
[] = { {&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
55027 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}};
55028 static swig_cast_info _swigc__p_wxImageHistogram
[] = { {&_swigt__p_wxImageHistogram
, 0, 0, 0},{0, 0, 0, 0}};
55029 static swig_cast_info _swigc__p_wxImage_HSVValue
[] = { {&_swigt__p_wxImage_HSVValue
, 0, 0, 0},{0, 0, 0, 0}};
55030 static swig_cast_info _swigc__p_wxImage_RGBValue
[] = { {&_swigt__p_wxImage_RGBValue
, 0, 0, 0},{0, 0, 0, 0}};
55031 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = { {&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
55032 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = { {&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
55033 static swig_cast_info _swigc__p_wxInputStream
[] = { {&_swigt__p_wxInputStream
, 0, 0, 0},{0, 0, 0, 0}};
55034 static swig_cast_info _swigc__p_wxInternetFSHandler
[] = { {&_swigt__p_wxInternetFSHandler
, 0, 0, 0},{0, 0, 0, 0}};
55035 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}};
55036 static swig_cast_info _swigc__p_wxJPEGHandler
[] = { {&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
55037 static swig_cast_info _swigc__p_wxKeyEvent
[] = { {&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
55038 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = { {&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
55039 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = { {&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
55040 static swig_cast_info _swigc__p_wxMemoryFSHandler
[] = { {&_swigt__p_wxMemoryFSHandler
, 0, 0, 0},{0, 0, 0, 0}};
55041 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
55042 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
55043 static swig_cast_info _swigc__p_wxMenuBarBase
[] = { {&_swigt__p_wxMenuBarBase
, 0, 0, 0},{0, 0, 0, 0}};
55044 static swig_cast_info _swigc__p_wxMenuEvent
[] = { {&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
55045 static swig_cast_info _swigc__p_wxMenuItem
[] = { {&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
55046 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = { {&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
55047 static swig_cast_info _swigc__p_wxMouseEvent
[] = { {&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
55048 static swig_cast_info _swigc__p_wxMoveEvent
[] = { {&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
55049 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = { {&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
55050 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = { {&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
55051 static swig_cast_info _swigc__p_wxNotifyEvent
[] = { {&_swigt__p_wxNotifyEvent
, 0, 0, 0},{0, 0, 0, 0}};
55052 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_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_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_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_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_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_wxPNMHandler
, _p_wxPNMHandlerTo_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}};
55053 static swig_cast_info _swigc__p_wxOutputStream
[] = { {&_swigt__p_wxOutputStream
, 0, 0, 0},{0, 0, 0, 0}};
55054 static swig_cast_info _swigc__p_wxPCXHandler
[] = { {&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
55055 static swig_cast_info _swigc__p_wxPNGHandler
[] = { {&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
55056 static swig_cast_info _swigc__p_wxPNMHandler
[] = { {&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
55057 static swig_cast_info _swigc__p_wxPaintEvent
[] = { {&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
55058 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = { {&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
55059 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
55060 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
55061 static swig_cast_info _swigc__p_wxPoint2D
[] = { {&_swigt__p_wxPoint2D
, 0, 0, 0},{0, 0, 0, 0}};
55062 static swig_cast_info _swigc__p_wxPropagateOnce
[] = { {&_swigt__p_wxPropagateOnce
, 0, 0, 0},{0, 0, 0, 0}};
55063 static swig_cast_info _swigc__p_wxPropagationDisabler
[] = { {&_swigt__p_wxPropagationDisabler
, 0, 0, 0},{0, 0, 0, 0}};
55064 static swig_cast_info _swigc__p_wxPyApp
[] = { {&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
55065 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = { {&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
55066 static swig_cast_info _swigc__p_wxPyDropTarget
[] = { {&_swigt__p_wxPyDropTarget
, 0, 0, 0},{0, 0, 0, 0}};
55067 static swig_cast_info _swigc__p_wxPyEvent
[] = { {&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
55068 static swig_cast_info _swigc__p_wxPyFileSystemHandler
[] = { {&_swigt__p_wxPyFileSystemHandler
, 0, 0, 0},{0, 0, 0, 0}};
55069 static swig_cast_info _swigc__p_wxPyImageHandler
[] = { {&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
55070 static swig_cast_info _swigc__p_wxPyInputStream
[] = { {&_swigt__p_wxPyInputStream
, 0, 0, 0},{0, 0, 0, 0}};
55071 static swig_cast_info _swigc__p_wxPySizer
[] = { {&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
55072 static swig_cast_info _swigc__p_wxPyValidator
[] = { {&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
55073 static swig_cast_info _swigc__p_wxQuantize
[] = { {&_swigt__p_wxQuantize
, 0, 0, 0},{0, 0, 0, 0}};
55074 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = { {&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
55075 static swig_cast_info _swigc__p_wxRealPoint
[] = { {&_swigt__p_wxRealPoint
, 0, 0, 0},{0, 0, 0, 0}};
55076 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
55077 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
55078 static swig_cast_info _swigc__p_wxScrollEvent
[] = { {&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
55079 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
55080 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = { {&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
55081 static swig_cast_info _swigc__p_wxShowEvent
[] = { {&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
55082 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
55083 static swig_cast_info _swigc__p_wxSizeEvent
[] = { {&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
55084 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}};
55085 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}};
55086 static swig_cast_info _swigc__p_wxStaticBox
[] = { {&_swigt__p_wxStaticBox
, 0, 0, 0},{0, 0, 0, 0}};
55087 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = { {&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
55088 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
55089 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = { {&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
55090 static swig_cast_info _swigc__p_wxTIFFHandler
[] = { {&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
55091 static swig_cast_info _swigc__p_wxToolTip
[] = { {&_swigt__p_wxToolTip
, 0, 0, 0},{0, 0, 0, 0}};
55092 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = { {&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
55093 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}};
55094 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
55095 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}};
55096 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = { {&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
55097 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = { {&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
55098 static swig_cast_info _swigc__p_wxXPMHandler
[] = { {&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
55099 static swig_cast_info _swigc__p_wxZipFSHandler
[] = { {&_swigt__p_wxZipFSHandler
, 0, 0, 0},{0, 0, 0, 0}};
55101 static swig_cast_info
*swig_cast_initial
[] = {
55104 _swigc__p_form_ops_t
,
55107 _swigc__p_unsigned_char
,
55108 _swigc__p_unsigned_int
,
55109 _swigc__p_unsigned_long
,
55110 _swigc__p_wxANIHandler
,
55111 _swigc__p_wxAcceleratorEntry
,
55112 _swigc__p_wxAcceleratorTable
,
55113 _swigc__p_wxActivateEvent
,
55114 _swigc__p_wxAppTraits
,
55115 _swigc__p_wxArrayString
,
55116 _swigc__p_wxBMPHandler
,
55117 _swigc__p_wxBitmap
,
55118 _swigc__p_wxBoxSizer
,
55119 _swigc__p_wxButton
,
55120 _swigc__p_wxCURHandler
,
55122 _swigc__p_wxChildFocusEvent
,
55123 _swigc__p_wxClipboardTextEvent
,
55124 _swigc__p_wxCloseEvent
,
55125 _swigc__p_wxColour
,
55126 _swigc__p_wxCommandEvent
,
55127 _swigc__p_wxContextMenuEvent
,
55128 _swigc__p_wxControl
,
55129 _swigc__p_wxControlWithItems
,
55130 _swigc__p_wxCursor
,
55132 _swigc__p_wxDateEvent
,
55133 _swigc__p_wxDateTime
,
55134 _swigc__p_wxDisplayChangedEvent
,
55135 _swigc__p_wxDropFilesEvent
,
55136 _swigc__p_wxDuplexMode
,
55137 _swigc__p_wxEraseEvent
,
55139 _swigc__p_wxEventLoop
,
55140 _swigc__p_wxEventLoopActivator
,
55141 _swigc__p_wxEvtHandler
,
55142 _swigc__p_wxFSFile
,
55143 _swigc__p_wxFileSystem
,
55144 _swigc__p_wxFileSystemHandler
,
55145 _swigc__p_wxFlexGridSizer
,
55146 _swigc__p_wxFocusEvent
,
55149 _swigc__p_wxGBPosition
,
55150 _swigc__p_wxGBSizerItem
,
55151 _swigc__p_wxGBSpan
,
55152 _swigc__p_wxGIFHandler
,
55153 _swigc__p_wxGridBagSizer
,
55154 _swigc__p_wxGridSizer
,
55155 _swigc__p_wxHelpEvent__Origin
,
55156 _swigc__p_wxICOHandler
,
55157 _swigc__p_wxIconizeEvent
,
55158 _swigc__p_wxIdleEvent
,
55160 _swigc__p_wxImageHandler
,
55161 _swigc__p_wxImageHistogram
,
55162 _swigc__p_wxImage_HSVValue
,
55163 _swigc__p_wxImage_RGBValue
,
55164 _swigc__p_wxIndividualLayoutConstraint
,
55165 _swigc__p_wxInitDialogEvent
,
55166 _swigc__p_wxInputStream
,
55167 _swigc__p_wxInternetFSHandler
,
55168 _swigc__p_wxItemContainer
,
55169 _swigc__p_wxJPEGHandler
,
55170 _swigc__p_wxKeyEvent
,
55171 _swigc__p_wxLayoutConstraints
,
55172 _swigc__p_wxMaximizeEvent
,
55173 _swigc__p_wxMemoryFSHandler
,
55175 _swigc__p_wxMenuBar
,
55176 _swigc__p_wxMenuBarBase
,
55177 _swigc__p_wxMenuEvent
,
55178 _swigc__p_wxMenuItem
,
55179 _swigc__p_wxMouseCaptureChangedEvent
,
55180 _swigc__p_wxMouseEvent
,
55181 _swigc__p_wxMoveEvent
,
55182 _swigc__p_wxNavigationKeyEvent
,
55183 _swigc__p_wxNcPaintEvent
,
55184 _swigc__p_wxNotifyEvent
,
55185 _swigc__p_wxObject
,
55186 _swigc__p_wxOutputStream
,
55187 _swigc__p_wxPCXHandler
,
55188 _swigc__p_wxPNGHandler
,
55189 _swigc__p_wxPNMHandler
,
55190 _swigc__p_wxPaintEvent
,
55191 _swigc__p_wxPaletteChangedEvent
,
55192 _swigc__p_wxPaperSize
,
55194 _swigc__p_wxPoint2D
,
55195 _swigc__p_wxPropagateOnce
,
55196 _swigc__p_wxPropagationDisabler
,
55198 _swigc__p_wxPyCommandEvent
,
55199 _swigc__p_wxPyDropTarget
,
55200 _swigc__p_wxPyEvent
,
55201 _swigc__p_wxPyFileSystemHandler
,
55202 _swigc__p_wxPyImageHandler
,
55203 _swigc__p_wxPyInputStream
,
55204 _swigc__p_wxPySizer
,
55205 _swigc__p_wxPyValidator
,
55206 _swigc__p_wxQuantize
,
55207 _swigc__p_wxQueryNewPaletteEvent
,
55208 _swigc__p_wxRealPoint
,
55210 _swigc__p_wxRegion
,
55211 _swigc__p_wxScrollEvent
,
55212 _swigc__p_wxScrollWinEvent
,
55213 _swigc__p_wxSetCursorEvent
,
55214 _swigc__p_wxShowEvent
,
55216 _swigc__p_wxSizeEvent
,
55218 _swigc__p_wxSizerItem
,
55219 _swigc__p_wxStaticBox
,
55220 _swigc__p_wxStaticBoxSizer
,
55221 _swigc__p_wxStdDialogButtonSizer
,
55222 _swigc__p_wxSysColourChangedEvent
,
55223 _swigc__p_wxTIFFHandler
,
55224 _swigc__p_wxToolTip
,
55225 _swigc__p_wxUpdateUIEvent
,
55226 _swigc__p_wxValidator
,
55227 _swigc__p_wxVisualAttributes
,
55228 _swigc__p_wxWindow
,
55229 _swigc__p_wxWindowCreateEvent
,
55230 _swigc__p_wxWindowDestroyEvent
,
55231 _swigc__p_wxXPMHandler
,
55232 _swigc__p_wxZipFSHandler
,
55236 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
55238 static swig_const_info swig_const_table
[] = {
55239 {0, 0, 0, 0.0, 0, 0}};
55244 /* -----------------------------------------------------------------------------
55245 * Type initialization:
55246 * This problem is tough by the requirement that no dynamic
55247 * memory is used. Also, since swig_type_info structures store pointers to
55248 * swig_cast_info structures and swig_cast_info structures store pointers back
55249 * to swig_type_info structures, we need some lookup code at initialization.
55250 * The idea is that swig generates all the structures that are needed.
55251 * The runtime then collects these partially filled structures.
55252 * The SWIG_InitializeModule function takes these initial arrays out of
55253 * swig_module, and does all the lookup, filling in the swig_module.types
55254 * array with the correct data and linking the correct swig_cast_info
55255 * structures together.
55257 * The generated swig_type_info structures are assigned staticly to an initial
55258 * array. We just loop though that array, and handle each type individually.
55259 * First we lookup if this type has been already loaded, and if so, use the
55260 * loaded structure instead of the generated one. Then we have to fill in the
55261 * cast linked list. The cast data is initially stored in something like a
55262 * two-dimensional array. Each row corresponds to a type (there are the same
55263 * number of rows as there are in the swig_type_initial array). Each entry in
55264 * a column is one of the swig_cast_info structures for that type.
55265 * The cast_initial array is actually an array of arrays, because each row has
55266 * a variable number of columns. So to actually build the cast linked list,
55267 * we find the array of casts associated with the type, and loop through it
55268 * adding the casts to the list. The one last trick we need to do is making
55269 * sure the type pointer in the swig_cast_info struct is correct.
55271 * First off, we lookup the cast->type name to see if it is already loaded.
55272 * There are three cases to handle:
55273 * 1) If the cast->type has already been loaded AND the type we are adding
55274 * casting info to has not been loaded (it is in this module), THEN we
55275 * replace the cast->type pointer with the type pointer that has already
55277 * 2) If BOTH types (the one we are adding casting info to, and the
55278 * cast->type) are loaded, THEN the cast info has already been loaded by
55279 * the previous module so we just ignore it.
55280 * 3) Finally, if cast->type has not already been loaded, then we add that
55281 * swig_cast_info to the linked list (because the cast->type) pointer will
55283 * ----------------------------------------------------------------------------- */
55293 #define SWIGRUNTIME_DEBUG
55297 SWIG_InitializeModule(void *clientdata
) {
55299 swig_module_info
*module_head
;
55300 static int init_run
= 0;
55302 clientdata
= clientdata
;
55304 if (init_run
) return;
55307 /* Initialize the swig_module */
55308 swig_module
.type_initial
= swig_type_initial
;
55309 swig_module
.cast_initial
= swig_cast_initial
;
55311 /* Try and load any already created modules */
55312 module_head
= SWIG_GetModule(clientdata
);
55314 swig_module
.next
= module_head
->next
;
55315 module_head
->next
= &swig_module
;
55317 /* This is the first module loaded */
55318 swig_module
.next
= &swig_module
;
55319 SWIG_SetModule(clientdata
, &swig_module
);
55322 /* Now work on filling in swig_module.types */
55323 #ifdef SWIGRUNTIME_DEBUG
55324 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
55326 for (i
= 0; i
< swig_module
.size
; ++i
) {
55327 swig_type_info
*type
= 0;
55328 swig_type_info
*ret
;
55329 swig_cast_info
*cast
;
55331 #ifdef SWIGRUNTIME_DEBUG
55332 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
55335 /* if there is another module already loaded */
55336 if (swig_module
.next
!= &swig_module
) {
55337 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
55340 /* Overwrite clientdata field */
55341 #ifdef SWIGRUNTIME_DEBUG
55342 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
55344 if (swig_module
.type_initial
[i
]->clientdata
) {
55345 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
55346 #ifdef SWIGRUNTIME_DEBUG
55347 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
55351 type
= swig_module
.type_initial
[i
];
55354 /* Insert casting types */
55355 cast
= swig_module
.cast_initial
[i
];
55356 while (cast
->type
) {
55357 /* Don't need to add information already in the list */
55359 #ifdef SWIGRUNTIME_DEBUG
55360 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
55362 if (swig_module
.next
!= &swig_module
) {
55363 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
55364 #ifdef SWIGRUNTIME_DEBUG
55365 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
55369 if (type
== swig_module
.type_initial
[i
]) {
55370 #ifdef SWIGRUNTIME_DEBUG
55371 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
55376 /* Check for casting already in the list */
55377 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
55378 #ifdef SWIGRUNTIME_DEBUG
55379 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
55381 if (!ocast
) ret
= 0;
55386 #ifdef SWIGRUNTIME_DEBUG
55387 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
55390 type
->cast
->prev
= cast
;
55391 cast
->next
= type
->cast
;
55397 /* Set entry in modules->types array equal to the type */
55398 swig_module
.types
[i
] = type
;
55400 swig_module
.types
[i
] = 0;
55402 #ifdef SWIGRUNTIME_DEBUG
55403 printf("**** SWIG_InitializeModule: Cast List ******\n");
55404 for (i
= 0; i
< swig_module
.size
; ++i
) {
55406 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
55407 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
55408 while (cast
->type
) {
55409 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
55413 printf("---- Total casts: %d\n",j
);
55415 printf("**** SWIG_InitializeModule: Cast List ******\n");
55419 /* This function will propagate the clientdata field of type to
55420 * any new swig_type_info structures that have been added into the list
55421 * of equivalent types. It is like calling
55422 * SWIG_TypeClientData(type, clientdata) a second time.
55425 SWIG_PropagateClientData(void) {
55427 swig_cast_info
*equiv
;
55428 static int init_run
= 0;
55430 if (init_run
) return;
55433 for (i
= 0; i
< swig_module
.size
; i
++) {
55434 if (swig_module
.types
[i
]->clientdata
) {
55435 equiv
= swig_module
.types
[i
]->cast
;
55437 if (!equiv
->converter
) {
55438 if (equiv
->type
&& !equiv
->type
->clientdata
)
55439 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
55441 equiv
= equiv
->next
;
55461 /* Python-specific SWIG API */
55462 #define SWIG_newvarlink() SWIG_Python_newvarlink()
55463 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
55464 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
55466 /* -----------------------------------------------------------------------------
55467 * global variable support code.
55468 * ----------------------------------------------------------------------------- */
55470 typedef struct swig_globalvar
{
55471 char *name
; /* Name of global variable */
55472 PyObject
*(*get_attr
)(void); /* Return the current value */
55473 int (*set_attr
)(PyObject
*); /* Set the value */
55474 struct swig_globalvar
*next
;
55477 typedef struct swig_varlinkobject
{
55479 swig_globalvar
*vars
;
55480 } swig_varlinkobject
;
55482 SWIGINTERN PyObject
*
55483 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
55484 return PyString_FromString("<Swig global variables>");
55487 SWIGINTERN PyObject
*
55488 swig_varlink_str(swig_varlinkobject
*v
) {
55489 PyObject
*str
= PyString_FromString("(");
55490 swig_globalvar
*var
;
55491 for (var
= v
->vars
; var
; var
=var
->next
) {
55492 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
55493 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
55495 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
55500 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
55501 PyObject
*str
= swig_varlink_str(v
);
55502 fprintf(fp
,"Swig global variables ");
55503 fprintf(fp
,"%s\n", PyString_AsString(str
));
55509 swig_varlink_dealloc(swig_varlinkobject
*v
) {
55510 swig_globalvar
*var
= v
->vars
;
55512 swig_globalvar
*n
= var
->next
;
55519 SWIGINTERN PyObject
*
55520 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
55521 PyObject
*res
= NULL
;
55522 swig_globalvar
*var
= v
->vars
;
55524 if (strcmp(var
->name
,n
) == 0) {
55525 res
= (*var
->get_attr
)();
55530 if (res
== NULL
&& !PyErr_Occurred()) {
55531 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
55537 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
55539 swig_globalvar
*var
= v
->vars
;
55541 if (strcmp(var
->name
,n
) == 0) {
55542 res
= (*var
->set_attr
)(p
);
55547 if (res
== 1 && !PyErr_Occurred()) {
55548 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
55553 SWIGINTERN PyTypeObject
*
55554 swig_varlink_type(void) {
55555 static char varlink__doc__
[] = "Swig var link object";
55556 static PyTypeObject varlink_type
;
55557 static int type_init
= 0;
55559 const PyTypeObject tmp
55561 PyObject_HEAD_INIT(NULL
)
55562 0, /* Number of items in variable part (ob_size) */
55563 (char *)"swigvarlink", /* Type name (tp_name) */
55564 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
55565 0, /* Itemsize (tp_itemsize) */
55566 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
55567 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
55568 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
55569 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
55570 0, /* tp_compare */
55571 (reprfunc
) swig_varlink_repr
, /* tp_repr */
55572 0, /* tp_as_number */
55573 0, /* tp_as_sequence */
55574 0, /* tp_as_mapping */
55577 (reprfunc
)swig_varlink_str
, /* tp_str */
55578 0, /* tp_getattro */
55579 0, /* tp_setattro */
55580 0, /* tp_as_buffer */
55582 varlink__doc__
, /* tp_doc */
55583 0, /* tp_traverse */
55585 0, /* tp_richcompare */
55586 0, /* tp_weaklistoffset */
55587 #if PY_VERSION_HEX >= 0x02020000
55588 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
55590 #if PY_VERSION_HEX >= 0x02030000
55593 #ifdef COUNT_ALLOCS
55594 0,0,0,0 /* tp_alloc -> tp_next */
55597 varlink_type
= tmp
;
55598 varlink_type
.ob_type
= &PyType_Type
;
55601 return &varlink_type
;
55604 /* Create a variable linking object for use later */
55605 SWIGINTERN PyObject
*
55606 SWIG_Python_newvarlink(void) {
55607 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
55611 return ((PyObject
*) result
);
55615 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
55616 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
55617 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
55619 size_t size
= strlen(name
)+1;
55620 gv
->name
= (char *)malloc(size
);
55622 strncpy(gv
->name
,name
,size
);
55623 gv
->get_attr
= get_attr
;
55624 gv
->set_attr
= set_attr
;
55625 gv
->next
= v
->vars
;
55631 SWIGINTERN PyObject
*
55633 static PyObject
*_SWIG_globals
= 0;
55634 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
55635 return _SWIG_globals
;
55638 /* -----------------------------------------------------------------------------
55639 * constants/methods manipulation
55640 * ----------------------------------------------------------------------------- */
55642 /* Install Constants */
55644 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
55647 for (i
= 0; constants
[i
].type
; ++i
) {
55648 switch(constants
[i
].type
) {
55649 case SWIG_PY_POINTER
:
55650 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
55652 case SWIG_PY_BINARY
:
55653 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
55660 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
55666 /* -----------------------------------------------------------------------------*/
55667 /* Fix SwigMethods to carry the callback ptrs when needed */
55668 /* -----------------------------------------------------------------------------*/
55671 SWIG_Python_FixMethods(PyMethodDef
*methods
,
55672 swig_const_info
*const_table
,
55673 swig_type_info
**types
,
55674 swig_type_info
**types_initial
) {
55676 for (i
= 0; methods
[i
].ml_name
; ++i
) {
55677 char *c
= methods
[i
].ml_doc
;
55678 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
55680 swig_const_info
*ci
= 0;
55681 char *name
= c
+ 10;
55682 for (j
= 0; const_table
[j
].type
; ++j
) {
55683 if (strncmp(const_table
[j
].name
, name
,
55684 strlen(const_table
[j
].name
)) == 0) {
55685 ci
= &(const_table
[j
]);
55690 size_t shift
= (ci
->ptype
) - types
;
55691 swig_type_info
*ty
= types_initial
[shift
];
55692 size_t ldoc
= (c
- methods
[i
].ml_doc
);
55693 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
55694 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
55697 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
55699 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
55701 strncpy(buff
, "swig_ptr: ", 10);
55703 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
55704 methods
[i
].ml_doc
= ndoc
;
55716 /* -----------------------------------------------------------------------------*
55717 * Partial Init method
55718 * -----------------------------------------------------------------------------*/
55723 SWIGEXPORT
void SWIG_init(void) {
55726 /* Fix SwigMethods to carry the callback ptrs when needed */
55727 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
55729 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
55730 d
= PyModule_GetDict(m
);
55732 SWIG_InitializeModule(0);
55733 SWIG_InstallConstants(d
,swig_const_table
);
55737 #ifndef wxPyUSE_EXPORT
55738 // Make our API structure a CObject so other modules can import it
55739 // from this module.
55740 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
55741 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
55745 SWIG_Python_SetConstant(d
, "NOT_FOUND",SWIG_From_int(static_cast< int >(wxNOT_FOUND
)));
55746 SWIG_Python_SetConstant(d
, "VSCROLL",SWIG_From_int(static_cast< int >(wxVSCROLL
)));
55747 SWIG_Python_SetConstant(d
, "HSCROLL",SWIG_From_int(static_cast< int >(wxHSCROLL
)));
55748 SWIG_Python_SetConstant(d
, "CAPTION",SWIG_From_int(static_cast< int >(wxCAPTION
)));
55749 SWIG_Python_SetConstant(d
, "DOUBLE_BORDER",SWIG_From_int(static_cast< int >(wxDOUBLE_BORDER
)));
55750 SWIG_Python_SetConstant(d
, "SUNKEN_BORDER",SWIG_From_int(static_cast< int >(wxSUNKEN_BORDER
)));
55751 SWIG_Python_SetConstant(d
, "RAISED_BORDER",SWIG_From_int(static_cast< int >(wxRAISED_BORDER
)));
55752 SWIG_Python_SetConstant(d
, "BORDER",SWIG_From_int(static_cast< int >(wxBORDER
)));
55753 SWIG_Python_SetConstant(d
, "SIMPLE_BORDER",SWIG_From_int(static_cast< int >(wxSIMPLE_BORDER
)));
55754 SWIG_Python_SetConstant(d
, "STATIC_BORDER",SWIG_From_int(static_cast< int >(wxSTATIC_BORDER
)));
55755 SWIG_Python_SetConstant(d
, "TRANSPARENT_WINDOW",SWIG_From_int(static_cast< int >(wxTRANSPARENT_WINDOW
)));
55756 SWIG_Python_SetConstant(d
, "NO_BORDER",SWIG_From_int(static_cast< int >(wxNO_BORDER
)));
55757 SWIG_Python_SetConstant(d
, "DEFAULT_CONTROL_BORDER",SWIG_From_int(static_cast< int >(wxDEFAULT_CONTROL_BORDER
)));
55758 SWIG_Python_SetConstant(d
, "DEFAULT_STATUSBAR_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_STATUSBAR_STYLE
)));
55759 SWIG_Python_SetConstant(d
, "TAB_TRAVERSAL",SWIG_From_int(static_cast< int >(wxTAB_TRAVERSAL
)));
55760 SWIG_Python_SetConstant(d
, "WANTS_CHARS",SWIG_From_int(static_cast< int >(wxWANTS_CHARS
)));
55761 SWIG_Python_SetConstant(d
, "POPUP_WINDOW",SWIG_From_int(static_cast< int >(wxPOPUP_WINDOW
)));
55762 SWIG_Python_SetConstant(d
, "CENTER_FRAME",SWIG_From_int(static_cast< int >(wxCENTER_FRAME
)));
55763 SWIG_Python_SetConstant(d
, "CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxCENTRE_ON_SCREEN
)));
55764 SWIG_Python_SetConstant(d
, "CENTER_ON_SCREEN",SWIG_From_int(static_cast< int >(wxCENTER_ON_SCREEN
)));
55765 SWIG_Python_SetConstant(d
, "CLIP_CHILDREN",SWIG_From_int(static_cast< int >(wxCLIP_CHILDREN
)));
55766 SWIG_Python_SetConstant(d
, "CLIP_SIBLINGS",SWIG_From_int(static_cast< int >(wxCLIP_SIBLINGS
)));
55767 SWIG_Python_SetConstant(d
, "WINDOW_STYLE_MASK",SWIG_From_int(static_cast< int >(wxWINDOW_STYLE_MASK
)));
55768 SWIG_Python_SetConstant(d
, "ALWAYS_SHOW_SB",SWIG_From_int(static_cast< int >(wxALWAYS_SHOW_SB
)));
55769 SWIG_Python_SetConstant(d
, "RETAINED",SWIG_From_int(static_cast< int >(wxRETAINED
)));
55770 SWIG_Python_SetConstant(d
, "BACKINGSTORE",SWIG_From_int(static_cast< int >(wxBACKINGSTORE
)));
55771 SWIG_Python_SetConstant(d
, "COLOURED",SWIG_From_int(static_cast< int >(wxCOLOURED
)));
55772 SWIG_Python_SetConstant(d
, "FIXED_LENGTH",SWIG_From_int(static_cast< int >(wxFIXED_LENGTH
)));
55773 SWIG_Python_SetConstant(d
, "LB_NEEDED_SB",SWIG_From_int(static_cast< int >(wxLB_NEEDED_SB
)));
55774 SWIG_Python_SetConstant(d
, "LB_ALWAYS_SB",SWIG_From_int(static_cast< int >(wxLB_ALWAYS_SB
)));
55775 SWIG_Python_SetConstant(d
, "LB_SORT",SWIG_From_int(static_cast< int >(wxLB_SORT
)));
55776 SWIG_Python_SetConstant(d
, "LB_SINGLE",SWIG_From_int(static_cast< int >(wxLB_SINGLE
)));
55777 SWIG_Python_SetConstant(d
, "LB_MULTIPLE",SWIG_From_int(static_cast< int >(wxLB_MULTIPLE
)));
55778 SWIG_Python_SetConstant(d
, "LB_EXTENDED",SWIG_From_int(static_cast< int >(wxLB_EXTENDED
)));
55779 SWIG_Python_SetConstant(d
, "LB_OWNERDRAW",SWIG_From_int(static_cast< int >(wxLB_OWNERDRAW
)));
55780 SWIG_Python_SetConstant(d
, "LB_HSCROLL",SWIG_From_int(static_cast< int >(wxLB_HSCROLL
)));
55781 SWIG_Python_SetConstant(d
, "PROCESS_ENTER",SWIG_From_int(static_cast< int >(wxPROCESS_ENTER
)));
55782 SWIG_Python_SetConstant(d
, "PASSWORD",SWIG_From_int(static_cast< int >(wxPASSWORD
)));
55783 SWIG_Python_SetConstant(d
, "CB_SIMPLE",SWIG_From_int(static_cast< int >(wxCB_SIMPLE
)));
55784 SWIG_Python_SetConstant(d
, "CB_DROPDOWN",SWIG_From_int(static_cast< int >(wxCB_DROPDOWN
)));
55785 SWIG_Python_SetConstant(d
, "CB_SORT",SWIG_From_int(static_cast< int >(wxCB_SORT
)));
55786 SWIG_Python_SetConstant(d
, "CB_READONLY",SWIG_From_int(static_cast< int >(wxCB_READONLY
)));
55787 SWIG_Python_SetConstant(d
, "RA_HORIZONTAL",SWIG_From_int(static_cast< int >(wxRA_HORIZONTAL
)));
55788 SWIG_Python_SetConstant(d
, "RA_VERTICAL",SWIG_From_int(static_cast< int >(wxRA_VERTICAL
)));
55789 SWIG_Python_SetConstant(d
, "RA_SPECIFY_ROWS",SWIG_From_int(static_cast< int >(wxRA_SPECIFY_ROWS
)));
55790 SWIG_Python_SetConstant(d
, "RA_SPECIFY_COLS",SWIG_From_int(static_cast< int >(wxRA_SPECIFY_COLS
)));
55791 SWIG_Python_SetConstant(d
, "RA_USE_CHECKBOX",SWIG_From_int(static_cast< int >(wxRA_USE_CHECKBOX
)));
55792 SWIG_Python_SetConstant(d
, "RB_GROUP",SWIG_From_int(static_cast< int >(wxRB_GROUP
)));
55793 SWIG_Python_SetConstant(d
, "RB_SINGLE",SWIG_From_int(static_cast< int >(wxRB_SINGLE
)));
55794 SWIG_Python_SetConstant(d
, "SB_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSB_HORIZONTAL
)));
55795 SWIG_Python_SetConstant(d
, "SB_VERTICAL",SWIG_From_int(static_cast< int >(wxSB_VERTICAL
)));
55796 SWIG_Python_SetConstant(d
, "RB_USE_CHECKBOX",SWIG_From_int(static_cast< int >(wxRB_USE_CHECKBOX
)));
55797 SWIG_Python_SetConstant(d
, "ST_SIZEGRIP",SWIG_From_int(static_cast< int >(wxST_SIZEGRIP
)));
55798 SWIG_Python_SetConstant(d
, "ST_NO_AUTORESIZE",SWIG_From_int(static_cast< int >(wxST_NO_AUTORESIZE
)));
55799 SWIG_Python_SetConstant(d
, "ST_DOTS_MIDDLE",SWIG_From_int(static_cast< int >(wxST_DOTS_MIDDLE
)));
55800 SWIG_Python_SetConstant(d
, "ST_DOTS_END",SWIG_From_int(static_cast< int >(wxST_DOTS_END
)));
55801 SWIG_Python_SetConstant(d
, "FLOOD_SURFACE",SWIG_From_int(static_cast< int >(wxFLOOD_SURFACE
)));
55802 SWIG_Python_SetConstant(d
, "FLOOD_BORDER",SWIG_From_int(static_cast< int >(wxFLOOD_BORDER
)));
55803 SWIG_Python_SetConstant(d
, "ODDEVEN_RULE",SWIG_From_int(static_cast< int >(wxODDEVEN_RULE
)));
55804 SWIG_Python_SetConstant(d
, "WINDING_RULE",SWIG_From_int(static_cast< int >(wxWINDING_RULE
)));
55805 SWIG_Python_SetConstant(d
, "TOOL_TOP",SWIG_From_int(static_cast< int >(wxTOOL_TOP
)));
55806 SWIG_Python_SetConstant(d
, "TOOL_BOTTOM",SWIG_From_int(static_cast< int >(wxTOOL_BOTTOM
)));
55807 SWIG_Python_SetConstant(d
, "TOOL_LEFT",SWIG_From_int(static_cast< int >(wxTOOL_LEFT
)));
55808 SWIG_Python_SetConstant(d
, "TOOL_RIGHT",SWIG_From_int(static_cast< int >(wxTOOL_RIGHT
)));
55809 SWIG_Python_SetConstant(d
, "OK",SWIG_From_int(static_cast< int >(wxOK
)));
55810 SWIG_Python_SetConstant(d
, "YES_NO",SWIG_From_int(static_cast< int >(wxYES_NO
)));
55811 SWIG_Python_SetConstant(d
, "CANCEL",SWIG_From_int(static_cast< int >(wxCANCEL
)));
55812 SWIG_Python_SetConstant(d
, "YES",SWIG_From_int(static_cast< int >(wxYES
)));
55813 SWIG_Python_SetConstant(d
, "NO",SWIG_From_int(static_cast< int >(wxNO
)));
55814 SWIG_Python_SetConstant(d
, "NO_DEFAULT",SWIG_From_int(static_cast< int >(wxNO_DEFAULT
)));
55815 SWIG_Python_SetConstant(d
, "YES_DEFAULT",SWIG_From_int(static_cast< int >(wxYES_DEFAULT
)));
55816 SWIG_Python_SetConstant(d
, "ICON_EXCLAMATION",SWIG_From_int(static_cast< int >(wxICON_EXCLAMATION
)));
55817 SWIG_Python_SetConstant(d
, "ICON_HAND",SWIG_From_int(static_cast< int >(wxICON_HAND
)));
55818 SWIG_Python_SetConstant(d
, "ICON_QUESTION",SWIG_From_int(static_cast< int >(wxICON_QUESTION
)));
55819 SWIG_Python_SetConstant(d
, "ICON_INFORMATION",SWIG_From_int(static_cast< int >(wxICON_INFORMATION
)));
55820 SWIG_Python_SetConstant(d
, "ICON_STOP",SWIG_From_int(static_cast< int >(wxICON_STOP
)));
55821 SWIG_Python_SetConstant(d
, "ICON_ASTERISK",SWIG_From_int(static_cast< int >(wxICON_ASTERISK
)));
55822 SWIG_Python_SetConstant(d
, "ICON_MASK",SWIG_From_int(static_cast< int >(wxICON_MASK
)));
55823 SWIG_Python_SetConstant(d
, "ICON_WARNING",SWIG_From_int(static_cast< int >(wxICON_WARNING
)));
55824 SWIG_Python_SetConstant(d
, "ICON_ERROR",SWIG_From_int(static_cast< int >(wxICON_ERROR
)));
55825 SWIG_Python_SetConstant(d
, "FORWARD",SWIG_From_int(static_cast< int >(wxFORWARD
)));
55826 SWIG_Python_SetConstant(d
, "BACKWARD",SWIG_From_int(static_cast< int >(wxBACKWARD
)));
55827 SWIG_Python_SetConstant(d
, "RESET",SWIG_From_int(static_cast< int >(wxRESET
)));
55828 SWIG_Python_SetConstant(d
, "HELP",SWIG_From_int(static_cast< int >(wxHELP
)));
55829 SWIG_Python_SetConstant(d
, "MORE",SWIG_From_int(static_cast< int >(wxMORE
)));
55830 SWIG_Python_SetConstant(d
, "SETUP",SWIG_From_int(static_cast< int >(wxSETUP
)));
55831 SWIG_Python_SetConstant(d
, "SIZE_AUTO_WIDTH",SWIG_From_int(static_cast< int >(wxSIZE_AUTO_WIDTH
)));
55832 SWIG_Python_SetConstant(d
, "SIZE_AUTO_HEIGHT",SWIG_From_int(static_cast< int >(wxSIZE_AUTO_HEIGHT
)));
55833 SWIG_Python_SetConstant(d
, "SIZE_AUTO",SWIG_From_int(static_cast< int >(wxSIZE_AUTO
)));
55834 SWIG_Python_SetConstant(d
, "SIZE_USE_EXISTING",SWIG_From_int(static_cast< int >(wxSIZE_USE_EXISTING
)));
55835 SWIG_Python_SetConstant(d
, "SIZE_ALLOW_MINUS_ONE",SWIG_From_int(static_cast< int >(wxSIZE_ALLOW_MINUS_ONE
)));
55836 SWIG_Python_SetConstant(d
, "SIZE_FORCE",SWIG_From_int(static_cast< int >(wxSIZE_FORCE
)));
55837 SWIG_Python_SetConstant(d
, "PORTRAIT",SWIG_From_int(static_cast< int >(wxPORTRAIT
)));
55838 SWIG_Python_SetConstant(d
, "LANDSCAPE",SWIG_From_int(static_cast< int >(wxLANDSCAPE
)));
55839 SWIG_Python_SetConstant(d
, "PRINT_QUALITY_HIGH",SWIG_From_int(static_cast< int >(wxPRINT_QUALITY_HIGH
)));
55840 SWIG_Python_SetConstant(d
, "PRINT_QUALITY_MEDIUM",SWIG_From_int(static_cast< int >(wxPRINT_QUALITY_MEDIUM
)));
55841 SWIG_Python_SetConstant(d
, "PRINT_QUALITY_LOW",SWIG_From_int(static_cast< int >(wxPRINT_QUALITY_LOW
)));
55842 SWIG_Python_SetConstant(d
, "PRINT_QUALITY_DRAFT",SWIG_From_int(static_cast< int >(wxPRINT_QUALITY_DRAFT
)));
55843 SWIG_Python_SetConstant(d
, "ID_ANY",SWIG_From_int(static_cast< int >(wxID_ANY
)));
55844 SWIG_Python_SetConstant(d
, "ID_SEPARATOR",SWIG_From_int(static_cast< int >(wxID_SEPARATOR
)));
55845 SWIG_Python_SetConstant(d
, "ID_NONE",SWIG_From_int(static_cast< int >(wxID_NONE
)));
55846 SWIG_Python_SetConstant(d
, "ID_LOWEST",SWIG_From_int(static_cast< int >(wxID_LOWEST
)));
55847 SWIG_Python_SetConstant(d
, "ID_OPEN",SWIG_From_int(static_cast< int >(wxID_OPEN
)));
55848 SWIG_Python_SetConstant(d
, "ID_CLOSE",SWIG_From_int(static_cast< int >(wxID_CLOSE
)));
55849 SWIG_Python_SetConstant(d
, "ID_NEW",SWIG_From_int(static_cast< int >(wxID_NEW
)));
55850 SWIG_Python_SetConstant(d
, "ID_SAVE",SWIG_From_int(static_cast< int >(wxID_SAVE
)));
55851 SWIG_Python_SetConstant(d
, "ID_SAVEAS",SWIG_From_int(static_cast< int >(wxID_SAVEAS
)));
55852 SWIG_Python_SetConstant(d
, "ID_REVERT",SWIG_From_int(static_cast< int >(wxID_REVERT
)));
55853 SWIG_Python_SetConstant(d
, "ID_EXIT",SWIG_From_int(static_cast< int >(wxID_EXIT
)));
55854 SWIG_Python_SetConstant(d
, "ID_UNDO",SWIG_From_int(static_cast< int >(wxID_UNDO
)));
55855 SWIG_Python_SetConstant(d
, "ID_REDO",SWIG_From_int(static_cast< int >(wxID_REDO
)));
55856 SWIG_Python_SetConstant(d
, "ID_HELP",SWIG_From_int(static_cast< int >(wxID_HELP
)));
55857 SWIG_Python_SetConstant(d
, "ID_PRINT",SWIG_From_int(static_cast< int >(wxID_PRINT
)));
55858 SWIG_Python_SetConstant(d
, "ID_PRINT_SETUP",SWIG_From_int(static_cast< int >(wxID_PRINT_SETUP
)));
55859 SWIG_Python_SetConstant(d
, "ID_PREVIEW",SWIG_From_int(static_cast< int >(wxID_PREVIEW
)));
55860 SWIG_Python_SetConstant(d
, "ID_ABOUT",SWIG_From_int(static_cast< int >(wxID_ABOUT
)));
55861 SWIG_Python_SetConstant(d
, "ID_HELP_CONTENTS",SWIG_From_int(static_cast< int >(wxID_HELP_CONTENTS
)));
55862 SWIG_Python_SetConstant(d
, "ID_HELP_COMMANDS",SWIG_From_int(static_cast< int >(wxID_HELP_COMMANDS
)));
55863 SWIG_Python_SetConstant(d
, "ID_HELP_PROCEDURES",SWIG_From_int(static_cast< int >(wxID_HELP_PROCEDURES
)));
55864 SWIG_Python_SetConstant(d
, "ID_HELP_CONTEXT",SWIG_From_int(static_cast< int >(wxID_HELP_CONTEXT
)));
55865 SWIG_Python_SetConstant(d
, "ID_CLOSE_ALL",SWIG_From_int(static_cast< int >(wxID_CLOSE_ALL
)));
55866 SWIG_Python_SetConstant(d
, "ID_PREFERENCES",SWIG_From_int(static_cast< int >(wxID_PREFERENCES
)));
55867 SWIG_Python_SetConstant(d
, "ID_CUT",SWIG_From_int(static_cast< int >(wxID_CUT
)));
55868 SWIG_Python_SetConstant(d
, "ID_COPY",SWIG_From_int(static_cast< int >(wxID_COPY
)));
55869 SWIG_Python_SetConstant(d
, "ID_PASTE",SWIG_From_int(static_cast< int >(wxID_PASTE
)));
55870 SWIG_Python_SetConstant(d
, "ID_CLEAR",SWIG_From_int(static_cast< int >(wxID_CLEAR
)));
55871 SWIG_Python_SetConstant(d
, "ID_FIND",SWIG_From_int(static_cast< int >(wxID_FIND
)));
55872 SWIG_Python_SetConstant(d
, "ID_DUPLICATE",SWIG_From_int(static_cast< int >(wxID_DUPLICATE
)));
55873 SWIG_Python_SetConstant(d
, "ID_SELECTALL",SWIG_From_int(static_cast< int >(wxID_SELECTALL
)));
55874 SWIG_Python_SetConstant(d
, "ID_DELETE",SWIG_From_int(static_cast< int >(wxID_DELETE
)));
55875 SWIG_Python_SetConstant(d
, "ID_REPLACE",SWIG_From_int(static_cast< int >(wxID_REPLACE
)));
55876 SWIG_Python_SetConstant(d
, "ID_REPLACE_ALL",SWIG_From_int(static_cast< int >(wxID_REPLACE_ALL
)));
55877 SWIG_Python_SetConstant(d
, "ID_PROPERTIES",SWIG_From_int(static_cast< int >(wxID_PROPERTIES
)));
55878 SWIG_Python_SetConstant(d
, "ID_VIEW_DETAILS",SWIG_From_int(static_cast< int >(wxID_VIEW_DETAILS
)));
55879 SWIG_Python_SetConstant(d
, "ID_VIEW_LARGEICONS",SWIG_From_int(static_cast< int >(wxID_VIEW_LARGEICONS
)));
55880 SWIG_Python_SetConstant(d
, "ID_VIEW_SMALLICONS",SWIG_From_int(static_cast< int >(wxID_VIEW_SMALLICONS
)));
55881 SWIG_Python_SetConstant(d
, "ID_VIEW_LIST",SWIG_From_int(static_cast< int >(wxID_VIEW_LIST
)));
55882 SWIG_Python_SetConstant(d
, "ID_VIEW_SORTDATE",SWIG_From_int(static_cast< int >(wxID_VIEW_SORTDATE
)));
55883 SWIG_Python_SetConstant(d
, "ID_VIEW_SORTNAME",SWIG_From_int(static_cast< int >(wxID_VIEW_SORTNAME
)));
55884 SWIG_Python_SetConstant(d
, "ID_VIEW_SORTSIZE",SWIG_From_int(static_cast< int >(wxID_VIEW_SORTSIZE
)));
55885 SWIG_Python_SetConstant(d
, "ID_VIEW_SORTTYPE",SWIG_From_int(static_cast< int >(wxID_VIEW_SORTTYPE
)));
55886 SWIG_Python_SetConstant(d
, "ID_FILE1",SWIG_From_int(static_cast< int >(wxID_FILE1
)));
55887 SWIG_Python_SetConstant(d
, "ID_FILE2",SWIG_From_int(static_cast< int >(wxID_FILE2
)));
55888 SWIG_Python_SetConstant(d
, "ID_FILE3",SWIG_From_int(static_cast< int >(wxID_FILE3
)));
55889 SWIG_Python_SetConstant(d
, "ID_FILE4",SWIG_From_int(static_cast< int >(wxID_FILE4
)));
55890 SWIG_Python_SetConstant(d
, "ID_FILE5",SWIG_From_int(static_cast< int >(wxID_FILE5
)));
55891 SWIG_Python_SetConstant(d
, "ID_FILE6",SWIG_From_int(static_cast< int >(wxID_FILE6
)));
55892 SWIG_Python_SetConstant(d
, "ID_FILE7",SWIG_From_int(static_cast< int >(wxID_FILE7
)));
55893 SWIG_Python_SetConstant(d
, "ID_FILE8",SWIG_From_int(static_cast< int >(wxID_FILE8
)));
55894 SWIG_Python_SetConstant(d
, "ID_FILE9",SWIG_From_int(static_cast< int >(wxID_FILE9
)));
55895 SWIG_Python_SetConstant(d
, "ID_OK",SWIG_From_int(static_cast< int >(wxID_OK
)));
55896 SWIG_Python_SetConstant(d
, "ID_CANCEL",SWIG_From_int(static_cast< int >(wxID_CANCEL
)));
55897 SWIG_Python_SetConstant(d
, "ID_APPLY",SWIG_From_int(static_cast< int >(wxID_APPLY
)));
55898 SWIG_Python_SetConstant(d
, "ID_YES",SWIG_From_int(static_cast< int >(wxID_YES
)));
55899 SWIG_Python_SetConstant(d
, "ID_NO",SWIG_From_int(static_cast< int >(wxID_NO
)));
55900 SWIG_Python_SetConstant(d
, "ID_STATIC",SWIG_From_int(static_cast< int >(wxID_STATIC
)));
55901 SWIG_Python_SetConstant(d
, "ID_FORWARD",SWIG_From_int(static_cast< int >(wxID_FORWARD
)));
55902 SWIG_Python_SetConstant(d
, "ID_BACKWARD",SWIG_From_int(static_cast< int >(wxID_BACKWARD
)));
55903 SWIG_Python_SetConstant(d
, "ID_DEFAULT",SWIG_From_int(static_cast< int >(wxID_DEFAULT
)));
55904 SWIG_Python_SetConstant(d
, "ID_MORE",SWIG_From_int(static_cast< int >(wxID_MORE
)));
55905 SWIG_Python_SetConstant(d
, "ID_SETUP",SWIG_From_int(static_cast< int >(wxID_SETUP
)));
55906 SWIG_Python_SetConstant(d
, "ID_RESET",SWIG_From_int(static_cast< int >(wxID_RESET
)));
55907 SWIG_Python_SetConstant(d
, "ID_CONTEXT_HELP",SWIG_From_int(static_cast< int >(wxID_CONTEXT_HELP
)));
55908 SWIG_Python_SetConstant(d
, "ID_YESTOALL",SWIG_From_int(static_cast< int >(wxID_YESTOALL
)));
55909 SWIG_Python_SetConstant(d
, "ID_NOTOALL",SWIG_From_int(static_cast< int >(wxID_NOTOALL
)));
55910 SWIG_Python_SetConstant(d
, "ID_ABORT",SWIG_From_int(static_cast< int >(wxID_ABORT
)));
55911 SWIG_Python_SetConstant(d
, "ID_RETRY",SWIG_From_int(static_cast< int >(wxID_RETRY
)));
55912 SWIG_Python_SetConstant(d
, "ID_IGNORE",SWIG_From_int(static_cast< int >(wxID_IGNORE
)));
55913 SWIG_Python_SetConstant(d
, "ID_ADD",SWIG_From_int(static_cast< int >(wxID_ADD
)));
55914 SWIG_Python_SetConstant(d
, "ID_REMOVE",SWIG_From_int(static_cast< int >(wxID_REMOVE
)));
55915 SWIG_Python_SetConstant(d
, "ID_UP",SWIG_From_int(static_cast< int >(wxID_UP
)));
55916 SWIG_Python_SetConstant(d
, "ID_DOWN",SWIG_From_int(static_cast< int >(wxID_DOWN
)));
55917 SWIG_Python_SetConstant(d
, "ID_HOME",SWIG_From_int(static_cast< int >(wxID_HOME
)));
55918 SWIG_Python_SetConstant(d
, "ID_REFRESH",SWIG_From_int(static_cast< int >(wxID_REFRESH
)));
55919 SWIG_Python_SetConstant(d
, "ID_STOP",SWIG_From_int(static_cast< int >(wxID_STOP
)));
55920 SWIG_Python_SetConstant(d
, "ID_INDEX",SWIG_From_int(static_cast< int >(wxID_INDEX
)));
55921 SWIG_Python_SetConstant(d
, "ID_BOLD",SWIG_From_int(static_cast< int >(wxID_BOLD
)));
55922 SWIG_Python_SetConstant(d
, "ID_ITALIC",SWIG_From_int(static_cast< int >(wxID_ITALIC
)));
55923 SWIG_Python_SetConstant(d
, "ID_JUSTIFY_CENTER",SWIG_From_int(static_cast< int >(wxID_JUSTIFY_CENTER
)));
55924 SWIG_Python_SetConstant(d
, "ID_JUSTIFY_FILL",SWIG_From_int(static_cast< int >(wxID_JUSTIFY_FILL
)));
55925 SWIG_Python_SetConstant(d
, "ID_JUSTIFY_RIGHT",SWIG_From_int(static_cast< int >(wxID_JUSTIFY_RIGHT
)));
55926 SWIG_Python_SetConstant(d
, "ID_JUSTIFY_LEFT",SWIG_From_int(static_cast< int >(wxID_JUSTIFY_LEFT
)));
55927 SWIG_Python_SetConstant(d
, "ID_UNDERLINE",SWIG_From_int(static_cast< int >(wxID_UNDERLINE
)));
55928 SWIG_Python_SetConstant(d
, "ID_INDENT",SWIG_From_int(static_cast< int >(wxID_INDENT
)));
55929 SWIG_Python_SetConstant(d
, "ID_UNINDENT",SWIG_From_int(static_cast< int >(wxID_UNINDENT
)));
55930 SWIG_Python_SetConstant(d
, "ID_ZOOM_100",SWIG_From_int(static_cast< int >(wxID_ZOOM_100
)));
55931 SWIG_Python_SetConstant(d
, "ID_ZOOM_FIT",SWIG_From_int(static_cast< int >(wxID_ZOOM_FIT
)));
55932 SWIG_Python_SetConstant(d
, "ID_ZOOM_IN",SWIG_From_int(static_cast< int >(wxID_ZOOM_IN
)));
55933 SWIG_Python_SetConstant(d
, "ID_ZOOM_OUT",SWIG_From_int(static_cast< int >(wxID_ZOOM_OUT
)));
55934 SWIG_Python_SetConstant(d
, "ID_UNDELETE",SWIG_From_int(static_cast< int >(wxID_UNDELETE
)));
55935 SWIG_Python_SetConstant(d
, "ID_REVERT_TO_SAVED",SWIG_From_int(static_cast< int >(wxID_REVERT_TO_SAVED
)));
55936 SWIG_Python_SetConstant(d
, "ID_HIGHEST",SWIG_From_int(static_cast< int >(wxID_HIGHEST
)));
55937 SWIG_Python_SetConstant(d
, "ACCEL_ALT",SWIG_From_int(static_cast< int >(wxACCEL_ALT
)));
55938 SWIG_Python_SetConstant(d
, "ACCEL_CTRL",SWIG_From_int(static_cast< int >(wxACCEL_CTRL
)));
55939 SWIG_Python_SetConstant(d
, "ACCEL_SHIFT",SWIG_From_int(static_cast< int >(wxACCEL_SHIFT
)));
55940 SWIG_Python_SetConstant(d
, "ACCEL_NORMAL",SWIG_From_int(static_cast< int >(wxACCEL_NORMAL
)));
55941 SWIG_Python_SetConstant(d
, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE
)));
55942 SWIG_Python_SetConstant(d
, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL
)));
55943 SWIG_Python_SetConstant(d
, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT
)));
55944 SWIG_Python_SetConstant(d
, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME
)));
55945 SWIG_Python_SetConstant(d
, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME
)));
55946 SWIG_Python_SetConstant(d
, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME
)));
55947 SWIG_Python_SetConstant(d
, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH
)));
55948 SWIG_Python_SetConstant(d
, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP
)));
55949 SWIG_Python_SetConstant(d
, "MENU_TEAROFF",SWIG_From_int(static_cast< int >(wxMENU_TEAROFF
)));
55950 SWIG_Python_SetConstant(d
, "MB_DOCKABLE",SWIG_From_int(static_cast< int >(wxMB_DOCKABLE
)));
55951 SWIG_Python_SetConstant(d
, "NO_FULL_REPAINT_ON_RESIZE",SWIG_From_int(static_cast< int >(wxNO_FULL_REPAINT_ON_RESIZE
)));
55952 SWIG_Python_SetConstant(d
, "FULL_REPAINT_ON_RESIZE",SWIG_From_int(static_cast< int >(wxFULL_REPAINT_ON_RESIZE
)));
55953 SWIG_Python_SetConstant(d
, "LI_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLI_HORIZONTAL
)));
55954 SWIG_Python_SetConstant(d
, "LI_VERTICAL",SWIG_From_int(static_cast< int >(wxLI_VERTICAL
)));
55955 SWIG_Python_SetConstant(d
, "WS_EX_VALIDATE_RECURSIVELY",SWIG_From_int(static_cast< int >(wxWS_EX_VALIDATE_RECURSIVELY
)));
55956 SWIG_Python_SetConstant(d
, "WS_EX_BLOCK_EVENTS",SWIG_From_int(static_cast< int >(wxWS_EX_BLOCK_EVENTS
)));
55957 SWIG_Python_SetConstant(d
, "WS_EX_TRANSIENT",SWIG_From_int(static_cast< int >(wxWS_EX_TRANSIENT
)));
55958 SWIG_Python_SetConstant(d
, "WS_EX_THEMED_BACKGROUND",SWIG_From_int(static_cast< int >(wxWS_EX_THEMED_BACKGROUND
)));
55959 SWIG_Python_SetConstant(d
, "WS_EX_PROCESS_IDLE",SWIG_From_int(static_cast< int >(wxWS_EX_PROCESS_IDLE
)));
55960 SWIG_Python_SetConstant(d
, "WS_EX_PROCESS_UI_UPDATES",SWIG_From_int(static_cast< int >(wxWS_EX_PROCESS_UI_UPDATES
)));
55961 SWIG_Python_SetConstant(d
, "MM_TEXT",SWIG_From_int(static_cast< int >(wxMM_TEXT
)));
55962 SWIG_Python_SetConstant(d
, "MM_LOMETRIC",SWIG_From_int(static_cast< int >(wxMM_LOMETRIC
)));
55963 SWIG_Python_SetConstant(d
, "MM_HIMETRIC",SWIG_From_int(static_cast< int >(wxMM_HIMETRIC
)));
55964 SWIG_Python_SetConstant(d
, "MM_LOENGLISH",SWIG_From_int(static_cast< int >(wxMM_LOENGLISH
)));
55965 SWIG_Python_SetConstant(d
, "MM_HIENGLISH",SWIG_From_int(static_cast< int >(wxMM_HIENGLISH
)));
55966 SWIG_Python_SetConstant(d
, "MM_TWIPS",SWIG_From_int(static_cast< int >(wxMM_TWIPS
)));
55967 SWIG_Python_SetConstant(d
, "MM_ISOTROPIC",SWIG_From_int(static_cast< int >(wxMM_ISOTROPIC
)));
55968 SWIG_Python_SetConstant(d
, "MM_ANISOTROPIC",SWIG_From_int(static_cast< int >(wxMM_ANISOTROPIC
)));
55969 SWIG_Python_SetConstant(d
, "MM_POINTS",SWIG_From_int(static_cast< int >(wxMM_POINTS
)));
55970 SWIG_Python_SetConstant(d
, "MM_METRIC",SWIG_From_int(static_cast< int >(wxMM_METRIC
)));
55971 SWIG_Python_SetConstant(d
, "CENTRE",SWIG_From_int(static_cast< int >(wxCENTRE
)));
55972 SWIG_Python_SetConstant(d
, "CENTER",SWIG_From_int(static_cast< int >(wxCENTER
)));
55973 SWIG_Python_SetConstant(d
, "HORIZONTAL",SWIG_From_int(static_cast< int >(wxHORIZONTAL
)));
55974 SWIG_Python_SetConstant(d
, "VERTICAL",SWIG_From_int(static_cast< int >(wxVERTICAL
)));
55975 SWIG_Python_SetConstant(d
, "BOTH",SWIG_From_int(static_cast< int >(wxBOTH
)));
55976 SWIG_Python_SetConstant(d
, "LEFT",SWIG_From_int(static_cast< int >(wxLEFT
)));
55977 SWIG_Python_SetConstant(d
, "RIGHT",SWIG_From_int(static_cast< int >(wxRIGHT
)));
55978 SWIG_Python_SetConstant(d
, "UP",SWIG_From_int(static_cast< int >(wxUP
)));
55979 SWIG_Python_SetConstant(d
, "DOWN",SWIG_From_int(static_cast< int >(wxDOWN
)));
55980 SWIG_Python_SetConstant(d
, "TOP",SWIG_From_int(static_cast< int >(wxTOP
)));
55981 SWIG_Python_SetConstant(d
, "BOTTOM",SWIG_From_int(static_cast< int >(wxBOTTOM
)));
55982 SWIG_Python_SetConstant(d
, "NORTH",SWIG_From_int(static_cast< int >(wxNORTH
)));
55983 SWIG_Python_SetConstant(d
, "SOUTH",SWIG_From_int(static_cast< int >(wxSOUTH
)));
55984 SWIG_Python_SetConstant(d
, "WEST",SWIG_From_int(static_cast< int >(wxWEST
)));
55985 SWIG_Python_SetConstant(d
, "EAST",SWIG_From_int(static_cast< int >(wxEAST
)));
55986 SWIG_Python_SetConstant(d
, "ALL",SWIG_From_int(static_cast< int >(wxALL
)));
55987 SWIG_Python_SetConstant(d
, "ALIGN_NOT",SWIG_From_int(static_cast< int >(wxALIGN_NOT
)));
55988 SWIG_Python_SetConstant(d
, "ALIGN_CENTER_HORIZONTAL",SWIG_From_int(static_cast< int >(wxALIGN_CENTER_HORIZONTAL
)));
55989 SWIG_Python_SetConstant(d
, "ALIGN_CENTRE_HORIZONTAL",SWIG_From_int(static_cast< int >(wxALIGN_CENTRE_HORIZONTAL
)));
55990 SWIG_Python_SetConstant(d
, "ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxALIGN_LEFT
)));
55991 SWIG_Python_SetConstant(d
, "ALIGN_TOP",SWIG_From_int(static_cast< int >(wxALIGN_TOP
)));
55992 SWIG_Python_SetConstant(d
, "ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxALIGN_RIGHT
)));
55993 SWIG_Python_SetConstant(d
, "ALIGN_BOTTOM",SWIG_From_int(static_cast< int >(wxALIGN_BOTTOM
)));
55994 SWIG_Python_SetConstant(d
, "ALIGN_CENTER_VERTICAL",SWIG_From_int(static_cast< int >(wxALIGN_CENTER_VERTICAL
)));
55995 SWIG_Python_SetConstant(d
, "ALIGN_CENTRE_VERTICAL",SWIG_From_int(static_cast< int >(wxALIGN_CENTRE_VERTICAL
)));
55996 SWIG_Python_SetConstant(d
, "ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxALIGN_CENTER
)));
55997 SWIG_Python_SetConstant(d
, "ALIGN_CENTRE",SWIG_From_int(static_cast< int >(wxALIGN_CENTRE
)));
55998 SWIG_Python_SetConstant(d
, "ALIGN_MASK",SWIG_From_int(static_cast< int >(wxALIGN_MASK
)));
55999 SWIG_Python_SetConstant(d
, "STRETCH_NOT",SWIG_From_int(static_cast< int >(wxSTRETCH_NOT
)));
56000 SWIG_Python_SetConstant(d
, "SHRINK",SWIG_From_int(static_cast< int >(wxSHRINK
)));
56001 SWIG_Python_SetConstant(d
, "GROW",SWIG_From_int(static_cast< int >(wxGROW
)));
56002 SWIG_Python_SetConstant(d
, "EXPAND",SWIG_From_int(static_cast< int >(wxEXPAND
)));
56003 SWIG_Python_SetConstant(d
, "SHAPED",SWIG_From_int(static_cast< int >(wxSHAPED
)));
56004 SWIG_Python_SetConstant(d
, "FIXED_MINSIZE",SWIG_From_int(static_cast< int >(wxFIXED_MINSIZE
)));
56005 SWIG_Python_SetConstant(d
, "TILE",SWIG_From_int(static_cast< int >(wxTILE
)));
56006 SWIG_Python_SetConstant(d
, "ADJUST_MINSIZE",SWIG_From_int(static_cast< int >(wxADJUST_MINSIZE
)));
56007 SWIG_Python_SetConstant(d
, "BORDER_DEFAULT",SWIG_From_int(static_cast< int >(wxBORDER_DEFAULT
)));
56008 SWIG_Python_SetConstant(d
, "BORDER_NONE",SWIG_From_int(static_cast< int >(wxBORDER_NONE
)));
56009 SWIG_Python_SetConstant(d
, "BORDER_STATIC",SWIG_From_int(static_cast< int >(wxBORDER_STATIC
)));
56010 SWIG_Python_SetConstant(d
, "BORDER_SIMPLE",SWIG_From_int(static_cast< int >(wxBORDER_SIMPLE
)));
56011 SWIG_Python_SetConstant(d
, "BORDER_RAISED",SWIG_From_int(static_cast< int >(wxBORDER_RAISED
)));
56012 SWIG_Python_SetConstant(d
, "BORDER_SUNKEN",SWIG_From_int(static_cast< int >(wxBORDER_SUNKEN
)));
56013 SWIG_Python_SetConstant(d
, "BORDER_DOUBLE",SWIG_From_int(static_cast< int >(wxBORDER_DOUBLE
)));
56014 SWIG_Python_SetConstant(d
, "BORDER_MASK",SWIG_From_int(static_cast< int >(wxBORDER_MASK
)));
56015 SWIG_Python_SetConstant(d
, "BG_STYLE_SYSTEM",SWIG_From_int(static_cast< int >(wxBG_STYLE_SYSTEM
)));
56016 SWIG_Python_SetConstant(d
, "BG_STYLE_COLOUR",SWIG_From_int(static_cast< int >(wxBG_STYLE_COLOUR
)));
56017 SWIG_Python_SetConstant(d
, "BG_STYLE_CUSTOM",SWIG_From_int(static_cast< int >(wxBG_STYLE_CUSTOM
)));
56018 SWIG_Python_SetConstant(d
, "DEFAULT",SWIG_From_int(static_cast< int >(wxDEFAULT
)));
56019 SWIG_Python_SetConstant(d
, "DECORATIVE",SWIG_From_int(static_cast< int >(wxDECORATIVE
)));
56020 SWIG_Python_SetConstant(d
, "ROMAN",SWIG_From_int(static_cast< int >(wxROMAN
)));
56021 SWIG_Python_SetConstant(d
, "SCRIPT",SWIG_From_int(static_cast< int >(wxSCRIPT
)));
56022 SWIG_Python_SetConstant(d
, "SWISS",SWIG_From_int(static_cast< int >(wxSWISS
)));
56023 SWIG_Python_SetConstant(d
, "MODERN",SWIG_From_int(static_cast< int >(wxMODERN
)));
56024 SWIG_Python_SetConstant(d
, "TELETYPE",SWIG_From_int(static_cast< int >(wxTELETYPE
)));
56025 SWIG_Python_SetConstant(d
, "VARIABLE",SWIG_From_int(static_cast< int >(wxVARIABLE
)));
56026 SWIG_Python_SetConstant(d
, "FIXED",SWIG_From_int(static_cast< int >(wxFIXED
)));
56027 SWIG_Python_SetConstant(d
, "NORMAL",SWIG_From_int(static_cast< int >(wxNORMAL
)));
56028 SWIG_Python_SetConstant(d
, "LIGHT",SWIG_From_int(static_cast< int >(wxLIGHT
)));
56029 SWIG_Python_SetConstant(d
, "BOLD",SWIG_From_int(static_cast< int >(wxBOLD
)));
56030 SWIG_Python_SetConstant(d
, "ITALIC",SWIG_From_int(static_cast< int >(wxITALIC
)));
56031 SWIG_Python_SetConstant(d
, "SLANT",SWIG_From_int(static_cast< int >(wxSLANT
)));
56032 SWIG_Python_SetConstant(d
, "SOLID",SWIG_From_int(static_cast< int >(wxSOLID
)));
56033 SWIG_Python_SetConstant(d
, "DOT",SWIG_From_int(static_cast< int >(wxDOT
)));
56034 SWIG_Python_SetConstant(d
, "LONG_DASH",SWIG_From_int(static_cast< int >(wxLONG_DASH
)));
56035 SWIG_Python_SetConstant(d
, "SHORT_DASH",SWIG_From_int(static_cast< int >(wxSHORT_DASH
)));
56036 SWIG_Python_SetConstant(d
, "DOT_DASH",SWIG_From_int(static_cast< int >(wxDOT_DASH
)));
56037 SWIG_Python_SetConstant(d
, "USER_DASH",SWIG_From_int(static_cast< int >(wxUSER_DASH
)));
56038 SWIG_Python_SetConstant(d
, "TRANSPARENT",SWIG_From_int(static_cast< int >(wxTRANSPARENT
)));
56039 SWIG_Python_SetConstant(d
, "STIPPLE",SWIG_From_int(static_cast< int >(wxSTIPPLE
)));
56040 SWIG_Python_SetConstant(d
, "STIPPLE_MASK",SWIG_From_int(static_cast< int >(wxSTIPPLE_MASK
)));
56041 SWIG_Python_SetConstant(d
, "STIPPLE_MASK_OPAQUE",SWIG_From_int(static_cast< int >(wxSTIPPLE_MASK_OPAQUE
)));
56042 SWIG_Python_SetConstant(d
, "BDIAGONAL_HATCH",SWIG_From_int(static_cast< int >(wxBDIAGONAL_HATCH
)));
56043 SWIG_Python_SetConstant(d
, "CROSSDIAG_HATCH",SWIG_From_int(static_cast< int >(wxCROSSDIAG_HATCH
)));
56044 SWIG_Python_SetConstant(d
, "FDIAGONAL_HATCH",SWIG_From_int(static_cast< int >(wxFDIAGONAL_HATCH
)));
56045 SWIG_Python_SetConstant(d
, "CROSS_HATCH",SWIG_From_int(static_cast< int >(wxCROSS_HATCH
)));
56046 SWIG_Python_SetConstant(d
, "HORIZONTAL_HATCH",SWIG_From_int(static_cast< int >(wxHORIZONTAL_HATCH
)));
56047 SWIG_Python_SetConstant(d
, "VERTICAL_HATCH",SWIG_From_int(static_cast< int >(wxVERTICAL_HATCH
)));
56048 SWIG_Python_SetConstant(d
, "JOIN_BEVEL",SWIG_From_int(static_cast< int >(wxJOIN_BEVEL
)));
56049 SWIG_Python_SetConstant(d
, "JOIN_MITER",SWIG_From_int(static_cast< int >(wxJOIN_MITER
)));
56050 SWIG_Python_SetConstant(d
, "JOIN_ROUND",SWIG_From_int(static_cast< int >(wxJOIN_ROUND
)));
56051 SWIG_Python_SetConstant(d
, "CAP_ROUND",SWIG_From_int(static_cast< int >(wxCAP_ROUND
)));
56052 SWIG_Python_SetConstant(d
, "CAP_PROJECTING",SWIG_From_int(static_cast< int >(wxCAP_PROJECTING
)));
56053 SWIG_Python_SetConstant(d
, "CAP_BUTT",SWIG_From_int(static_cast< int >(wxCAP_BUTT
)));
56054 SWIG_Python_SetConstant(d
, "CLEAR",SWIG_From_int(static_cast< int >(wxCLEAR
)));
56055 SWIG_Python_SetConstant(d
, "XOR",SWIG_From_int(static_cast< int >(wxXOR
)));
56056 SWIG_Python_SetConstant(d
, "INVERT",SWIG_From_int(static_cast< int >(wxINVERT
)));
56057 SWIG_Python_SetConstant(d
, "OR_REVERSE",SWIG_From_int(static_cast< int >(wxOR_REVERSE
)));
56058 SWIG_Python_SetConstant(d
, "AND_REVERSE",SWIG_From_int(static_cast< int >(wxAND_REVERSE
)));
56059 SWIG_Python_SetConstant(d
, "COPY",SWIG_From_int(static_cast< int >(wxCOPY
)));
56060 SWIG_Python_SetConstant(d
, "AND",SWIG_From_int(static_cast< int >(wxAND
)));
56061 SWIG_Python_SetConstant(d
, "AND_INVERT",SWIG_From_int(static_cast< int >(wxAND_INVERT
)));
56062 SWIG_Python_SetConstant(d
, "NO_OP",SWIG_From_int(static_cast< int >(wxNO_OP
)));
56063 SWIG_Python_SetConstant(d
, "NOR",SWIG_From_int(static_cast< int >(wxNOR
)));
56064 SWIG_Python_SetConstant(d
, "EQUIV",SWIG_From_int(static_cast< int >(wxEQUIV
)));
56065 SWIG_Python_SetConstant(d
, "SRC_INVERT",SWIG_From_int(static_cast< int >(wxSRC_INVERT
)));
56066 SWIG_Python_SetConstant(d
, "OR_INVERT",SWIG_From_int(static_cast< int >(wxOR_INVERT
)));
56067 SWIG_Python_SetConstant(d
, "NAND",SWIG_From_int(static_cast< int >(wxNAND
)));
56068 SWIG_Python_SetConstant(d
, "OR",SWIG_From_int(static_cast< int >(wxOR
)));
56069 SWIG_Python_SetConstant(d
, "SET",SWIG_From_int(static_cast< int >(wxSET
)));
56070 SWIG_Python_SetConstant(d
, "WXK_BACK",SWIG_From_int(static_cast< int >(WXK_BACK
)));
56071 SWIG_Python_SetConstant(d
, "WXK_TAB",SWIG_From_int(static_cast< int >(WXK_TAB
)));
56072 SWIG_Python_SetConstant(d
, "WXK_RETURN",SWIG_From_int(static_cast< int >(WXK_RETURN
)));
56073 SWIG_Python_SetConstant(d
, "WXK_ESCAPE",SWIG_From_int(static_cast< int >(WXK_ESCAPE
)));
56074 SWIG_Python_SetConstant(d
, "WXK_SPACE",SWIG_From_int(static_cast< int >(WXK_SPACE
)));
56075 SWIG_Python_SetConstant(d
, "WXK_DELETE",SWIG_From_int(static_cast< int >(WXK_DELETE
)));
56076 SWIG_Python_SetConstant(d
, "WXK_START",SWIG_From_int(static_cast< int >(WXK_START
)));
56077 SWIG_Python_SetConstant(d
, "WXK_LBUTTON",SWIG_From_int(static_cast< int >(WXK_LBUTTON
)));
56078 SWIG_Python_SetConstant(d
, "WXK_RBUTTON",SWIG_From_int(static_cast< int >(WXK_RBUTTON
)));
56079 SWIG_Python_SetConstant(d
, "WXK_CANCEL",SWIG_From_int(static_cast< int >(WXK_CANCEL
)));
56080 SWIG_Python_SetConstant(d
, "WXK_MBUTTON",SWIG_From_int(static_cast< int >(WXK_MBUTTON
)));
56081 SWIG_Python_SetConstant(d
, "WXK_CLEAR",SWIG_From_int(static_cast< int >(WXK_CLEAR
)));
56082 SWIG_Python_SetConstant(d
, "WXK_SHIFT",SWIG_From_int(static_cast< int >(WXK_SHIFT
)));
56083 SWIG_Python_SetConstant(d
, "WXK_ALT",SWIG_From_int(static_cast< int >(WXK_ALT
)));
56084 SWIG_Python_SetConstant(d
, "WXK_CONTROL",SWIG_From_int(static_cast< int >(WXK_CONTROL
)));
56085 SWIG_Python_SetConstant(d
, "WXK_MENU",SWIG_From_int(static_cast< int >(WXK_MENU
)));
56086 SWIG_Python_SetConstant(d
, "WXK_PAUSE",SWIG_From_int(static_cast< int >(WXK_PAUSE
)));
56087 SWIG_Python_SetConstant(d
, "WXK_CAPITAL",SWIG_From_int(static_cast< int >(WXK_CAPITAL
)));
56088 SWIG_Python_SetConstant(d
, "WXK_PRIOR",SWIG_From_int(static_cast< int >(WXK_PRIOR
)));
56089 SWIG_Python_SetConstant(d
, "WXK_NEXT",SWIG_From_int(static_cast< int >(WXK_NEXT
)));
56090 SWIG_Python_SetConstant(d
, "WXK_END",SWIG_From_int(static_cast< int >(WXK_END
)));
56091 SWIG_Python_SetConstant(d
, "WXK_HOME",SWIG_From_int(static_cast< int >(WXK_HOME
)));
56092 SWIG_Python_SetConstant(d
, "WXK_LEFT",SWIG_From_int(static_cast< int >(WXK_LEFT
)));
56093 SWIG_Python_SetConstant(d
, "WXK_UP",SWIG_From_int(static_cast< int >(WXK_UP
)));
56094 SWIG_Python_SetConstant(d
, "WXK_RIGHT",SWIG_From_int(static_cast< int >(WXK_RIGHT
)));
56095 SWIG_Python_SetConstant(d
, "WXK_DOWN",SWIG_From_int(static_cast< int >(WXK_DOWN
)));
56096 SWIG_Python_SetConstant(d
, "WXK_SELECT",SWIG_From_int(static_cast< int >(WXK_SELECT
)));
56097 SWIG_Python_SetConstant(d
, "WXK_PRINT",SWIG_From_int(static_cast< int >(WXK_PRINT
)));
56098 SWIG_Python_SetConstant(d
, "WXK_EXECUTE",SWIG_From_int(static_cast< int >(WXK_EXECUTE
)));
56099 SWIG_Python_SetConstant(d
, "WXK_SNAPSHOT",SWIG_From_int(static_cast< int >(WXK_SNAPSHOT
)));
56100 SWIG_Python_SetConstant(d
, "WXK_INSERT",SWIG_From_int(static_cast< int >(WXK_INSERT
)));
56101 SWIG_Python_SetConstant(d
, "WXK_HELP",SWIG_From_int(static_cast< int >(WXK_HELP
)));
56102 SWIG_Python_SetConstant(d
, "WXK_NUMPAD0",SWIG_From_int(static_cast< int >(WXK_NUMPAD0
)));
56103 SWIG_Python_SetConstant(d
, "WXK_NUMPAD1",SWIG_From_int(static_cast< int >(WXK_NUMPAD1
)));
56104 SWIG_Python_SetConstant(d
, "WXK_NUMPAD2",SWIG_From_int(static_cast< int >(WXK_NUMPAD2
)));
56105 SWIG_Python_SetConstant(d
, "WXK_NUMPAD3",SWIG_From_int(static_cast< int >(WXK_NUMPAD3
)));
56106 SWIG_Python_SetConstant(d
, "WXK_NUMPAD4",SWIG_From_int(static_cast< int >(WXK_NUMPAD4
)));
56107 SWIG_Python_SetConstant(d
, "WXK_NUMPAD5",SWIG_From_int(static_cast< int >(WXK_NUMPAD5
)));
56108 SWIG_Python_SetConstant(d
, "WXK_NUMPAD6",SWIG_From_int(static_cast< int >(WXK_NUMPAD6
)));
56109 SWIG_Python_SetConstant(d
, "WXK_NUMPAD7",SWIG_From_int(static_cast< int >(WXK_NUMPAD7
)));
56110 SWIG_Python_SetConstant(d
, "WXK_NUMPAD8",SWIG_From_int(static_cast< int >(WXK_NUMPAD8
)));
56111 SWIG_Python_SetConstant(d
, "WXK_NUMPAD9",SWIG_From_int(static_cast< int >(WXK_NUMPAD9
)));
56112 SWIG_Python_SetConstant(d
, "WXK_MULTIPLY",SWIG_From_int(static_cast< int >(WXK_MULTIPLY
)));
56113 SWIG_Python_SetConstant(d
, "WXK_ADD",SWIG_From_int(static_cast< int >(WXK_ADD
)));
56114 SWIG_Python_SetConstant(d
, "WXK_SEPARATOR",SWIG_From_int(static_cast< int >(WXK_SEPARATOR
)));
56115 SWIG_Python_SetConstant(d
, "WXK_SUBTRACT",SWIG_From_int(static_cast< int >(WXK_SUBTRACT
)));
56116 SWIG_Python_SetConstant(d
, "WXK_DECIMAL",SWIG_From_int(static_cast< int >(WXK_DECIMAL
)));
56117 SWIG_Python_SetConstant(d
, "WXK_DIVIDE",SWIG_From_int(static_cast< int >(WXK_DIVIDE
)));
56118 SWIG_Python_SetConstant(d
, "WXK_F1",SWIG_From_int(static_cast< int >(WXK_F1
)));
56119 SWIG_Python_SetConstant(d
, "WXK_F2",SWIG_From_int(static_cast< int >(WXK_F2
)));
56120 SWIG_Python_SetConstant(d
, "WXK_F3",SWIG_From_int(static_cast< int >(WXK_F3
)));
56121 SWIG_Python_SetConstant(d
, "WXK_F4",SWIG_From_int(static_cast< int >(WXK_F4
)));
56122 SWIG_Python_SetConstant(d
, "WXK_F5",SWIG_From_int(static_cast< int >(WXK_F5
)));
56123 SWIG_Python_SetConstant(d
, "WXK_F6",SWIG_From_int(static_cast< int >(WXK_F6
)));
56124 SWIG_Python_SetConstant(d
, "WXK_F7",SWIG_From_int(static_cast< int >(WXK_F7
)));
56125 SWIG_Python_SetConstant(d
, "WXK_F8",SWIG_From_int(static_cast< int >(WXK_F8
)));
56126 SWIG_Python_SetConstant(d
, "WXK_F9",SWIG_From_int(static_cast< int >(WXK_F9
)));
56127 SWIG_Python_SetConstant(d
, "WXK_F10",SWIG_From_int(static_cast< int >(WXK_F10
)));
56128 SWIG_Python_SetConstant(d
, "WXK_F11",SWIG_From_int(static_cast< int >(WXK_F11
)));
56129 SWIG_Python_SetConstant(d
, "WXK_F12",SWIG_From_int(static_cast< int >(WXK_F12
)));
56130 SWIG_Python_SetConstant(d
, "WXK_F13",SWIG_From_int(static_cast< int >(WXK_F13
)));
56131 SWIG_Python_SetConstant(d
, "WXK_F14",SWIG_From_int(static_cast< int >(WXK_F14
)));
56132 SWIG_Python_SetConstant(d
, "WXK_F15",SWIG_From_int(static_cast< int >(WXK_F15
)));
56133 SWIG_Python_SetConstant(d
, "WXK_F16",SWIG_From_int(static_cast< int >(WXK_F16
)));
56134 SWIG_Python_SetConstant(d
, "WXK_F17",SWIG_From_int(static_cast< int >(WXK_F17
)));
56135 SWIG_Python_SetConstant(d
, "WXK_F18",SWIG_From_int(static_cast< int >(WXK_F18
)));
56136 SWIG_Python_SetConstant(d
, "WXK_F19",SWIG_From_int(static_cast< int >(WXK_F19
)));
56137 SWIG_Python_SetConstant(d
, "WXK_F20",SWIG_From_int(static_cast< int >(WXK_F20
)));
56138 SWIG_Python_SetConstant(d
, "WXK_F21",SWIG_From_int(static_cast< int >(WXK_F21
)));
56139 SWIG_Python_SetConstant(d
, "WXK_F22",SWIG_From_int(static_cast< int >(WXK_F22
)));
56140 SWIG_Python_SetConstant(d
, "WXK_F23",SWIG_From_int(static_cast< int >(WXK_F23
)));
56141 SWIG_Python_SetConstant(d
, "WXK_F24",SWIG_From_int(static_cast< int >(WXK_F24
)));
56142 SWIG_Python_SetConstant(d
, "WXK_NUMLOCK",SWIG_From_int(static_cast< int >(WXK_NUMLOCK
)));
56143 SWIG_Python_SetConstant(d
, "WXK_SCROLL",SWIG_From_int(static_cast< int >(WXK_SCROLL
)));
56144 SWIG_Python_SetConstant(d
, "WXK_PAGEUP",SWIG_From_int(static_cast< int >(WXK_PAGEUP
)));
56145 SWIG_Python_SetConstant(d
, "WXK_PAGEDOWN",SWIG_From_int(static_cast< int >(WXK_PAGEDOWN
)));
56146 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_SPACE",SWIG_From_int(static_cast< int >(WXK_NUMPAD_SPACE
)));
56147 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_TAB",SWIG_From_int(static_cast< int >(WXK_NUMPAD_TAB
)));
56148 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_ENTER",SWIG_From_int(static_cast< int >(WXK_NUMPAD_ENTER
)));
56149 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_F1",SWIG_From_int(static_cast< int >(WXK_NUMPAD_F1
)));
56150 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_F2",SWIG_From_int(static_cast< int >(WXK_NUMPAD_F2
)));
56151 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_F3",SWIG_From_int(static_cast< int >(WXK_NUMPAD_F3
)));
56152 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_F4",SWIG_From_int(static_cast< int >(WXK_NUMPAD_F4
)));
56153 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_HOME",SWIG_From_int(static_cast< int >(WXK_NUMPAD_HOME
)));
56154 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_LEFT",SWIG_From_int(static_cast< int >(WXK_NUMPAD_LEFT
)));
56155 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_UP",SWIG_From_int(static_cast< int >(WXK_NUMPAD_UP
)));
56156 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_RIGHT",SWIG_From_int(static_cast< int >(WXK_NUMPAD_RIGHT
)));
56157 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_DOWN",SWIG_From_int(static_cast< int >(WXK_NUMPAD_DOWN
)));
56158 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_PRIOR",SWIG_From_int(static_cast< int >(WXK_NUMPAD_PRIOR
)));
56159 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_PAGEUP",SWIG_From_int(static_cast< int >(WXK_NUMPAD_PAGEUP
)));
56160 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_NEXT",SWIG_From_int(static_cast< int >(WXK_NUMPAD_NEXT
)));
56161 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_PAGEDOWN",SWIG_From_int(static_cast< int >(WXK_NUMPAD_PAGEDOWN
)));
56162 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_END",SWIG_From_int(static_cast< int >(WXK_NUMPAD_END
)));
56163 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_BEGIN",SWIG_From_int(static_cast< int >(WXK_NUMPAD_BEGIN
)));
56164 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_INSERT",SWIG_From_int(static_cast< int >(WXK_NUMPAD_INSERT
)));
56165 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_DELETE",SWIG_From_int(static_cast< int >(WXK_NUMPAD_DELETE
)));
56166 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_EQUAL",SWIG_From_int(static_cast< int >(WXK_NUMPAD_EQUAL
)));
56167 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_MULTIPLY",SWIG_From_int(static_cast< int >(WXK_NUMPAD_MULTIPLY
)));
56168 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_ADD",SWIG_From_int(static_cast< int >(WXK_NUMPAD_ADD
)));
56169 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_SEPARATOR",SWIG_From_int(static_cast< int >(WXK_NUMPAD_SEPARATOR
)));
56170 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_SUBTRACT",SWIG_From_int(static_cast< int >(WXK_NUMPAD_SUBTRACT
)));
56171 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_DECIMAL",SWIG_From_int(static_cast< int >(WXK_NUMPAD_DECIMAL
)));
56172 SWIG_Python_SetConstant(d
, "WXK_NUMPAD_DIVIDE",SWIG_From_int(static_cast< int >(WXK_NUMPAD_DIVIDE
)));
56173 SWIG_Python_SetConstant(d
, "WXK_WINDOWS_LEFT",SWIG_From_int(static_cast< int >(WXK_WINDOWS_LEFT
)));
56174 SWIG_Python_SetConstant(d
, "WXK_WINDOWS_RIGHT",SWIG_From_int(static_cast< int >(WXK_WINDOWS_RIGHT
)));
56175 SWIG_Python_SetConstant(d
, "WXK_WINDOWS_MENU",SWIG_From_int(static_cast< int >(WXK_WINDOWS_MENU
)));
56176 SWIG_Python_SetConstant(d
, "WXK_COMMAND",SWIG_From_int(static_cast< int >(WXK_COMMAND
)));
56177 SWIG_Python_SetConstant(d
, "WXK_SPECIAL1",SWIG_From_int(static_cast< int >(WXK_SPECIAL1
)));
56178 SWIG_Python_SetConstant(d
, "WXK_SPECIAL2",SWIG_From_int(static_cast< int >(WXK_SPECIAL2
)));
56179 SWIG_Python_SetConstant(d
, "WXK_SPECIAL3",SWIG_From_int(static_cast< int >(WXK_SPECIAL3
)));
56180 SWIG_Python_SetConstant(d
, "WXK_SPECIAL4",SWIG_From_int(static_cast< int >(WXK_SPECIAL4
)));
56181 SWIG_Python_SetConstant(d
, "WXK_SPECIAL5",SWIG_From_int(static_cast< int >(WXK_SPECIAL5
)));
56182 SWIG_Python_SetConstant(d
, "WXK_SPECIAL6",SWIG_From_int(static_cast< int >(WXK_SPECIAL6
)));
56183 SWIG_Python_SetConstant(d
, "WXK_SPECIAL7",SWIG_From_int(static_cast< int >(WXK_SPECIAL7
)));
56184 SWIG_Python_SetConstant(d
, "WXK_SPECIAL8",SWIG_From_int(static_cast< int >(WXK_SPECIAL8
)));
56185 SWIG_Python_SetConstant(d
, "WXK_SPECIAL9",SWIG_From_int(static_cast< int >(WXK_SPECIAL9
)));
56186 SWIG_Python_SetConstant(d
, "WXK_SPECIAL10",SWIG_From_int(static_cast< int >(WXK_SPECIAL10
)));
56187 SWIG_Python_SetConstant(d
, "WXK_SPECIAL11",SWIG_From_int(static_cast< int >(WXK_SPECIAL11
)));
56188 SWIG_Python_SetConstant(d
, "WXK_SPECIAL12",SWIG_From_int(static_cast< int >(WXK_SPECIAL12
)));
56189 SWIG_Python_SetConstant(d
, "WXK_SPECIAL13",SWIG_From_int(static_cast< int >(WXK_SPECIAL13
)));
56190 SWIG_Python_SetConstant(d
, "WXK_SPECIAL14",SWIG_From_int(static_cast< int >(WXK_SPECIAL14
)));
56191 SWIG_Python_SetConstant(d
, "WXK_SPECIAL15",SWIG_From_int(static_cast< int >(WXK_SPECIAL15
)));
56192 SWIG_Python_SetConstant(d
, "WXK_SPECIAL16",SWIG_From_int(static_cast< int >(WXK_SPECIAL16
)));
56193 SWIG_Python_SetConstant(d
, "WXK_SPECIAL17",SWIG_From_int(static_cast< int >(WXK_SPECIAL17
)));
56194 SWIG_Python_SetConstant(d
, "WXK_SPECIAL18",SWIG_From_int(static_cast< int >(WXK_SPECIAL18
)));
56195 SWIG_Python_SetConstant(d
, "WXK_SPECIAL19",SWIG_From_int(static_cast< int >(WXK_SPECIAL19
)));
56196 SWIG_Python_SetConstant(d
, "WXK_SPECIAL20",SWIG_From_int(static_cast< int >(WXK_SPECIAL20
)));
56197 SWIG_Python_SetConstant(d
, "PAPER_NONE",SWIG_From_int(static_cast< int >(wxPAPER_NONE
)));
56198 SWIG_Python_SetConstant(d
, "PAPER_LETTER",SWIG_From_int(static_cast< int >(wxPAPER_LETTER
)));
56199 SWIG_Python_SetConstant(d
, "PAPER_LEGAL",SWIG_From_int(static_cast< int >(wxPAPER_LEGAL
)));
56200 SWIG_Python_SetConstant(d
, "PAPER_A4",SWIG_From_int(static_cast< int >(wxPAPER_A4
)));
56201 SWIG_Python_SetConstant(d
, "PAPER_CSHEET",SWIG_From_int(static_cast< int >(wxPAPER_CSHEET
)));
56202 SWIG_Python_SetConstant(d
, "PAPER_DSHEET",SWIG_From_int(static_cast< int >(wxPAPER_DSHEET
)));
56203 SWIG_Python_SetConstant(d
, "PAPER_ESHEET",SWIG_From_int(static_cast< int >(wxPAPER_ESHEET
)));
56204 SWIG_Python_SetConstant(d
, "PAPER_LETTERSMALL",SWIG_From_int(static_cast< int >(wxPAPER_LETTERSMALL
)));
56205 SWIG_Python_SetConstant(d
, "PAPER_TABLOID",SWIG_From_int(static_cast< int >(wxPAPER_TABLOID
)));
56206 SWIG_Python_SetConstant(d
, "PAPER_LEDGER",SWIG_From_int(static_cast< int >(wxPAPER_LEDGER
)));
56207 SWIG_Python_SetConstant(d
, "PAPER_STATEMENT",SWIG_From_int(static_cast< int >(wxPAPER_STATEMENT
)));
56208 SWIG_Python_SetConstant(d
, "PAPER_EXECUTIVE",SWIG_From_int(static_cast< int >(wxPAPER_EXECUTIVE
)));
56209 SWIG_Python_SetConstant(d
, "PAPER_A3",SWIG_From_int(static_cast< int >(wxPAPER_A3
)));
56210 SWIG_Python_SetConstant(d
, "PAPER_A4SMALL",SWIG_From_int(static_cast< int >(wxPAPER_A4SMALL
)));
56211 SWIG_Python_SetConstant(d
, "PAPER_A5",SWIG_From_int(static_cast< int >(wxPAPER_A5
)));
56212 SWIG_Python_SetConstant(d
, "PAPER_B4",SWIG_From_int(static_cast< int >(wxPAPER_B4
)));
56213 SWIG_Python_SetConstant(d
, "PAPER_B5",SWIG_From_int(static_cast< int >(wxPAPER_B5
)));
56214 SWIG_Python_SetConstant(d
, "PAPER_FOLIO",SWIG_From_int(static_cast< int >(wxPAPER_FOLIO
)));
56215 SWIG_Python_SetConstant(d
, "PAPER_QUARTO",SWIG_From_int(static_cast< int >(wxPAPER_QUARTO
)));
56216 SWIG_Python_SetConstant(d
, "PAPER_10X14",SWIG_From_int(static_cast< int >(wxPAPER_10X14
)));
56217 SWIG_Python_SetConstant(d
, "PAPER_11X17",SWIG_From_int(static_cast< int >(wxPAPER_11X17
)));
56218 SWIG_Python_SetConstant(d
, "PAPER_NOTE",SWIG_From_int(static_cast< int >(wxPAPER_NOTE
)));
56219 SWIG_Python_SetConstant(d
, "PAPER_ENV_9",SWIG_From_int(static_cast< int >(wxPAPER_ENV_9
)));
56220 SWIG_Python_SetConstant(d
, "PAPER_ENV_10",SWIG_From_int(static_cast< int >(wxPAPER_ENV_10
)));
56221 SWIG_Python_SetConstant(d
, "PAPER_ENV_11",SWIG_From_int(static_cast< int >(wxPAPER_ENV_11
)));
56222 SWIG_Python_SetConstant(d
, "PAPER_ENV_12",SWIG_From_int(static_cast< int >(wxPAPER_ENV_12
)));
56223 SWIG_Python_SetConstant(d
, "PAPER_ENV_14",SWIG_From_int(static_cast< int >(wxPAPER_ENV_14
)));
56224 SWIG_Python_SetConstant(d
, "PAPER_ENV_DL",SWIG_From_int(static_cast< int >(wxPAPER_ENV_DL
)));
56225 SWIG_Python_SetConstant(d
, "PAPER_ENV_C5",SWIG_From_int(static_cast< int >(wxPAPER_ENV_C5
)));
56226 SWIG_Python_SetConstant(d
, "PAPER_ENV_C3",SWIG_From_int(static_cast< int >(wxPAPER_ENV_C3
)));
56227 SWIG_Python_SetConstant(d
, "PAPER_ENV_C4",SWIG_From_int(static_cast< int >(wxPAPER_ENV_C4
)));
56228 SWIG_Python_SetConstant(d
, "PAPER_ENV_C6",SWIG_From_int(static_cast< int >(wxPAPER_ENV_C6
)));
56229 SWIG_Python_SetConstant(d
, "PAPER_ENV_C65",SWIG_From_int(static_cast< int >(wxPAPER_ENV_C65
)));
56230 SWIG_Python_SetConstant(d
, "PAPER_ENV_B4",SWIG_From_int(static_cast< int >(wxPAPER_ENV_B4
)));
56231 SWIG_Python_SetConstant(d
, "PAPER_ENV_B5",SWIG_From_int(static_cast< int >(wxPAPER_ENV_B5
)));
56232 SWIG_Python_SetConstant(d
, "PAPER_ENV_B6",SWIG_From_int(static_cast< int >(wxPAPER_ENV_B6
)));
56233 SWIG_Python_SetConstant(d
, "PAPER_ENV_ITALY",SWIG_From_int(static_cast< int >(wxPAPER_ENV_ITALY
)));
56234 SWIG_Python_SetConstant(d
, "PAPER_ENV_MONARCH",SWIG_From_int(static_cast< int >(wxPAPER_ENV_MONARCH
)));
56235 SWIG_Python_SetConstant(d
, "PAPER_ENV_PERSONAL",SWIG_From_int(static_cast< int >(wxPAPER_ENV_PERSONAL
)));
56236 SWIG_Python_SetConstant(d
, "PAPER_FANFOLD_US",SWIG_From_int(static_cast< int >(wxPAPER_FANFOLD_US
)));
56237 SWIG_Python_SetConstant(d
, "PAPER_FANFOLD_STD_GERMAN",SWIG_From_int(static_cast< int >(wxPAPER_FANFOLD_STD_GERMAN
)));
56238 SWIG_Python_SetConstant(d
, "PAPER_FANFOLD_LGL_GERMAN",SWIG_From_int(static_cast< int >(wxPAPER_FANFOLD_LGL_GERMAN
)));
56239 SWIG_Python_SetConstant(d
, "PAPER_ISO_B4",SWIG_From_int(static_cast< int >(wxPAPER_ISO_B4
)));
56240 SWIG_Python_SetConstant(d
, "PAPER_JAPANESE_POSTCARD",SWIG_From_int(static_cast< int >(wxPAPER_JAPANESE_POSTCARD
)));
56241 SWIG_Python_SetConstant(d
, "PAPER_9X11",SWIG_From_int(static_cast< int >(wxPAPER_9X11
)));
56242 SWIG_Python_SetConstant(d
, "PAPER_10X11",SWIG_From_int(static_cast< int >(wxPAPER_10X11
)));
56243 SWIG_Python_SetConstant(d
, "PAPER_15X11",SWIG_From_int(static_cast< int >(wxPAPER_15X11
)));
56244 SWIG_Python_SetConstant(d
, "PAPER_ENV_INVITE",SWIG_From_int(static_cast< int >(wxPAPER_ENV_INVITE
)));
56245 SWIG_Python_SetConstant(d
, "PAPER_LETTER_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_LETTER_EXTRA
)));
56246 SWIG_Python_SetConstant(d
, "PAPER_LEGAL_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_LEGAL_EXTRA
)));
56247 SWIG_Python_SetConstant(d
, "PAPER_TABLOID_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_TABLOID_EXTRA
)));
56248 SWIG_Python_SetConstant(d
, "PAPER_A4_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_A4_EXTRA
)));
56249 SWIG_Python_SetConstant(d
, "PAPER_LETTER_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_LETTER_TRANSVERSE
)));
56250 SWIG_Python_SetConstant(d
, "PAPER_A4_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_A4_TRANSVERSE
)));
56251 SWIG_Python_SetConstant(d
, "PAPER_LETTER_EXTRA_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_LETTER_EXTRA_TRANSVERSE
)));
56252 SWIG_Python_SetConstant(d
, "PAPER_A_PLUS",SWIG_From_int(static_cast< int >(wxPAPER_A_PLUS
)));
56253 SWIG_Python_SetConstant(d
, "PAPER_B_PLUS",SWIG_From_int(static_cast< int >(wxPAPER_B_PLUS
)));
56254 SWIG_Python_SetConstant(d
, "PAPER_LETTER_PLUS",SWIG_From_int(static_cast< int >(wxPAPER_LETTER_PLUS
)));
56255 SWIG_Python_SetConstant(d
, "PAPER_A4_PLUS",SWIG_From_int(static_cast< int >(wxPAPER_A4_PLUS
)));
56256 SWIG_Python_SetConstant(d
, "PAPER_A5_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_A5_TRANSVERSE
)));
56257 SWIG_Python_SetConstant(d
, "PAPER_B5_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_B5_TRANSVERSE
)));
56258 SWIG_Python_SetConstant(d
, "PAPER_A3_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_A3_EXTRA
)));
56259 SWIG_Python_SetConstant(d
, "PAPER_A5_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_A5_EXTRA
)));
56260 SWIG_Python_SetConstant(d
, "PAPER_B5_EXTRA",SWIG_From_int(static_cast< int >(wxPAPER_B5_EXTRA
)));
56261 SWIG_Python_SetConstant(d
, "PAPER_A2",SWIG_From_int(static_cast< int >(wxPAPER_A2
)));
56262 SWIG_Python_SetConstant(d
, "PAPER_A3_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_A3_TRANSVERSE
)));
56263 SWIG_Python_SetConstant(d
, "PAPER_A3_EXTRA_TRANSVERSE",SWIG_From_int(static_cast< int >(wxPAPER_A3_EXTRA_TRANSVERSE
)));
56264 SWIG_Python_SetConstant(d
, "PAPER_DBL_JAPANESE_POSTCARD",SWIG_From_int(static_cast< int >(wxPAPER_DBL_JAPANESE_POSTCARD
)));
56265 SWIG_Python_SetConstant(d
, "PAPER_A6",SWIG_From_int(static_cast< int >(wxPAPER_A6
)));
56266 SWIG_Python_SetConstant(d
, "PAPER_JENV_KAKU2",SWIG_From_int(static_cast< int >(wxPAPER_JENV_KAKU2
)));
56267 SWIG_Python_SetConstant(d
, "PAPER_JENV_KAKU3",SWIG_From_int(static_cast< int >(wxPAPER_JENV_KAKU3
)));
56268 SWIG_Python_SetConstant(d
, "PAPER_JENV_CHOU3",SWIG_From_int(static_cast< int >(wxPAPER_JENV_CHOU3
)));
56269 SWIG_Python_SetConstant(d
, "PAPER_JENV_CHOU4",SWIG_From_int(static_cast< int >(wxPAPER_JENV_CHOU4
)));
56270 SWIG_Python_SetConstant(d
, "PAPER_LETTER_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_LETTER_ROTATED
)));
56271 SWIG_Python_SetConstant(d
, "PAPER_A3_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_A3_ROTATED
)));
56272 SWIG_Python_SetConstant(d
, "PAPER_A4_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_A4_ROTATED
)));
56273 SWIG_Python_SetConstant(d
, "PAPER_A5_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_A5_ROTATED
)));
56274 SWIG_Python_SetConstant(d
, "PAPER_B4_JIS_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_B4_JIS_ROTATED
)));
56275 SWIG_Python_SetConstant(d
, "PAPER_B5_JIS_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_B5_JIS_ROTATED
)));
56276 SWIG_Python_SetConstant(d
, "PAPER_JAPANESE_POSTCARD_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JAPANESE_POSTCARD_ROTATED
)));
56277 SWIG_Python_SetConstant(d
, "PAPER_DBL_JAPANESE_POSTCARD_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_DBL_JAPANESE_POSTCARD_ROTATED
)));
56278 SWIG_Python_SetConstant(d
, "PAPER_A6_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_A6_ROTATED
)));
56279 SWIG_Python_SetConstant(d
, "PAPER_JENV_KAKU2_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JENV_KAKU2_ROTATED
)));
56280 SWIG_Python_SetConstant(d
, "PAPER_JENV_KAKU3_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JENV_KAKU3_ROTATED
)));
56281 SWIG_Python_SetConstant(d
, "PAPER_JENV_CHOU3_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JENV_CHOU3_ROTATED
)));
56282 SWIG_Python_SetConstant(d
, "PAPER_JENV_CHOU4_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JENV_CHOU4_ROTATED
)));
56283 SWIG_Python_SetConstant(d
, "PAPER_B6_JIS",SWIG_From_int(static_cast< int >(wxPAPER_B6_JIS
)));
56284 SWIG_Python_SetConstant(d
, "PAPER_B6_JIS_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_B6_JIS_ROTATED
)));
56285 SWIG_Python_SetConstant(d
, "PAPER_12X11",SWIG_From_int(static_cast< int >(wxPAPER_12X11
)));
56286 SWIG_Python_SetConstant(d
, "PAPER_JENV_YOU4",SWIG_From_int(static_cast< int >(wxPAPER_JENV_YOU4
)));
56287 SWIG_Python_SetConstant(d
, "PAPER_JENV_YOU4_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_JENV_YOU4_ROTATED
)));
56288 SWIG_Python_SetConstant(d
, "PAPER_P16K",SWIG_From_int(static_cast< int >(wxPAPER_P16K
)));
56289 SWIG_Python_SetConstant(d
, "PAPER_P32K",SWIG_From_int(static_cast< int >(wxPAPER_P32K
)));
56290 SWIG_Python_SetConstant(d
, "PAPER_P32KBIG",SWIG_From_int(static_cast< int >(wxPAPER_P32KBIG
)));
56291 SWIG_Python_SetConstant(d
, "PAPER_PENV_1",SWIG_From_int(static_cast< int >(wxPAPER_PENV_1
)));
56292 SWIG_Python_SetConstant(d
, "PAPER_PENV_2",SWIG_From_int(static_cast< int >(wxPAPER_PENV_2
)));
56293 SWIG_Python_SetConstant(d
, "PAPER_PENV_3",SWIG_From_int(static_cast< int >(wxPAPER_PENV_3
)));
56294 SWIG_Python_SetConstant(d
, "PAPER_PENV_4",SWIG_From_int(static_cast< int >(wxPAPER_PENV_4
)));
56295 SWIG_Python_SetConstant(d
, "PAPER_PENV_5",SWIG_From_int(static_cast< int >(wxPAPER_PENV_5
)));
56296 SWIG_Python_SetConstant(d
, "PAPER_PENV_6",SWIG_From_int(static_cast< int >(wxPAPER_PENV_6
)));
56297 SWIG_Python_SetConstant(d
, "PAPER_PENV_7",SWIG_From_int(static_cast< int >(wxPAPER_PENV_7
)));
56298 SWIG_Python_SetConstant(d
, "PAPER_PENV_8",SWIG_From_int(static_cast< int >(wxPAPER_PENV_8
)));
56299 SWIG_Python_SetConstant(d
, "PAPER_PENV_9",SWIG_From_int(static_cast< int >(wxPAPER_PENV_9
)));
56300 SWIG_Python_SetConstant(d
, "PAPER_PENV_10",SWIG_From_int(static_cast< int >(wxPAPER_PENV_10
)));
56301 SWIG_Python_SetConstant(d
, "PAPER_P16K_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_P16K_ROTATED
)));
56302 SWIG_Python_SetConstant(d
, "PAPER_P32K_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_P32K_ROTATED
)));
56303 SWIG_Python_SetConstant(d
, "PAPER_P32KBIG_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_P32KBIG_ROTATED
)));
56304 SWIG_Python_SetConstant(d
, "PAPER_PENV_1_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_1_ROTATED
)));
56305 SWIG_Python_SetConstant(d
, "PAPER_PENV_2_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_2_ROTATED
)));
56306 SWIG_Python_SetConstant(d
, "PAPER_PENV_3_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_3_ROTATED
)));
56307 SWIG_Python_SetConstant(d
, "PAPER_PENV_4_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_4_ROTATED
)));
56308 SWIG_Python_SetConstant(d
, "PAPER_PENV_5_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_5_ROTATED
)));
56309 SWIG_Python_SetConstant(d
, "PAPER_PENV_6_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_6_ROTATED
)));
56310 SWIG_Python_SetConstant(d
, "PAPER_PENV_7_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_7_ROTATED
)));
56311 SWIG_Python_SetConstant(d
, "PAPER_PENV_8_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_8_ROTATED
)));
56312 SWIG_Python_SetConstant(d
, "PAPER_PENV_9_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_9_ROTATED
)));
56313 SWIG_Python_SetConstant(d
, "PAPER_PENV_10_ROTATED",SWIG_From_int(static_cast< int >(wxPAPER_PENV_10_ROTATED
)));
56314 SWIG_Python_SetConstant(d
, "DUPLEX_SIMPLEX",SWIG_From_int(static_cast< int >(wxDUPLEX_SIMPLEX
)));
56315 SWIG_Python_SetConstant(d
, "DUPLEX_HORIZONTAL",SWIG_From_int(static_cast< int >(wxDUPLEX_HORIZONTAL
)));
56316 SWIG_Python_SetConstant(d
, "DUPLEX_VERTICAL",SWIG_From_int(static_cast< int >(wxDUPLEX_VERTICAL
)));
56317 SWIG_Python_SetConstant(d
, "ITEM_SEPARATOR",SWIG_From_int(static_cast< int >(wxITEM_SEPARATOR
)));
56318 SWIG_Python_SetConstant(d
, "ITEM_NORMAL",SWIG_From_int(static_cast< int >(wxITEM_NORMAL
)));
56319 SWIG_Python_SetConstant(d
, "ITEM_CHECK",SWIG_From_int(static_cast< int >(wxITEM_CHECK
)));
56320 SWIG_Python_SetConstant(d
, "ITEM_RADIO",SWIG_From_int(static_cast< int >(wxITEM_RADIO
)));
56321 SWIG_Python_SetConstant(d
, "ITEM_MAX",SWIG_From_int(static_cast< int >(wxITEM_MAX
)));
56322 SWIG_Python_SetConstant(d
, "HT_NOWHERE",SWIG_From_int(static_cast< int >(wxHT_NOWHERE
)));
56323 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_FIRST",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_FIRST
)));
56324 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_ARROW_LINE_1",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_ARROW_LINE_1
)));
56325 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_ARROW_LINE_2",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_ARROW_LINE_2
)));
56326 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_ARROW_PAGE_1",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_ARROW_PAGE_1
)));
56327 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_ARROW_PAGE_2",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_ARROW_PAGE_2
)));
56328 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_THUMB",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_THUMB
)));
56329 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_BAR_1",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_BAR_1
)));
56330 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_BAR_2",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_BAR_2
)));
56331 SWIG_Python_SetConstant(d
, "HT_SCROLLBAR_LAST",SWIG_From_int(static_cast< int >(wxHT_SCROLLBAR_LAST
)));
56332 SWIG_Python_SetConstant(d
, "HT_WINDOW_OUTSIDE",SWIG_From_int(static_cast< int >(wxHT_WINDOW_OUTSIDE
)));
56333 SWIG_Python_SetConstant(d
, "HT_WINDOW_INSIDE",SWIG_From_int(static_cast< int >(wxHT_WINDOW_INSIDE
)));
56334 SWIG_Python_SetConstant(d
, "HT_WINDOW_VERT_SCROLLBAR",SWIG_From_int(static_cast< int >(wxHT_WINDOW_VERT_SCROLLBAR
)));
56335 SWIG_Python_SetConstant(d
, "HT_WINDOW_HORZ_SCROLLBAR",SWIG_From_int(static_cast< int >(wxHT_WINDOW_HORZ_SCROLLBAR
)));
56336 SWIG_Python_SetConstant(d
, "HT_WINDOW_CORNER",SWIG_From_int(static_cast< int >(wxHT_WINDOW_CORNER
)));
56337 SWIG_Python_SetConstant(d
, "HT_MAX",SWIG_From_int(static_cast< int >(wxHT_MAX
)));
56338 SWIG_Python_SetConstant(d
, "MOD_NONE",SWIG_From_int(static_cast< int >(wxMOD_NONE
)));
56339 SWIG_Python_SetConstant(d
, "MOD_ALT",SWIG_From_int(static_cast< int >(wxMOD_ALT
)));
56340 SWIG_Python_SetConstant(d
, "MOD_CONTROL",SWIG_From_int(static_cast< int >(wxMOD_CONTROL
)));
56341 SWIG_Python_SetConstant(d
, "MOD_ALTGR",SWIG_From_int(static_cast< int >(wxMOD_ALTGR
)));
56342 SWIG_Python_SetConstant(d
, "MOD_SHIFT",SWIG_From_int(static_cast< int >(wxMOD_SHIFT
)));
56343 SWIG_Python_SetConstant(d
, "MOD_META",SWIG_From_int(static_cast< int >(wxMOD_META
)));
56344 SWIG_Python_SetConstant(d
, "MOD_WIN",SWIG_From_int(static_cast< int >(wxMOD_WIN
)));
56345 SWIG_Python_SetConstant(d
, "MOD_CMD",SWIG_From_int(static_cast< int >(wxMOD_CMD
)));
56346 SWIG_Python_SetConstant(d
, "MOD_ALL",SWIG_From_int(static_cast< int >(wxMOD_ALL
)));
56347 SWIG_Python_SetConstant(d
, "UPDATE_UI_NONE",SWIG_From_int(static_cast< int >(wxUPDATE_UI_NONE
)));
56348 SWIG_Python_SetConstant(d
, "UPDATE_UI_RECURSE",SWIG_From_int(static_cast< int >(wxUPDATE_UI_RECURSE
)));
56349 SWIG_Python_SetConstant(d
, "UPDATE_UI_FROMIDLE",SWIG_From_int(static_cast< int >(wxUPDATE_UI_FROMIDLE
)));
56350 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
56351 SWIG_addvarlink(SWIG_globals(),(char*)"EmptyString",EmptyString_get
, EmptyString_set
);
56352 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_INVALID",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_INVALID
)));
56353 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_BMP",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_BMP
)));
56354 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_ICO",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_ICO
)));
56355 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_CUR",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_CUR
)));
56356 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_XBM",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_XBM
)));
56357 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_XBM_DATA",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_XBM_DATA
)));
56358 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_XPM",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_XPM
)));
56359 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_XPM_DATA",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_XPM_DATA
)));
56360 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_TIF",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_TIF
)));
56361 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_GIF",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_GIF
)));
56362 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_PNG",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_PNG
)));
56363 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_JPEG",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_JPEG
)));
56364 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_PNM",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_PNM
)));
56365 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_PCX",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_PCX
)));
56366 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_PICT",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_PICT
)));
56367 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_ICON",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_ICON
)));
56368 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_ANI",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_ANI
)));
56369 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_IFF",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_IFF
)));
56370 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_MACCURSOR",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_MACCURSOR
)));
56371 SWIG_Python_SetConstant(d
, "BITMAP_TYPE_ANY",SWIG_From_int(static_cast< int >(wxBITMAP_TYPE_ANY
)));
56372 SWIG_Python_SetConstant(d
, "CURSOR_NONE",SWIG_From_int(static_cast< int >(wxCURSOR_NONE
)));
56373 SWIG_Python_SetConstant(d
, "CURSOR_ARROW",SWIG_From_int(static_cast< int >(wxCURSOR_ARROW
)));
56374 SWIG_Python_SetConstant(d
, "CURSOR_RIGHT_ARROW",SWIG_From_int(static_cast< int >(wxCURSOR_RIGHT_ARROW
)));
56375 SWIG_Python_SetConstant(d
, "CURSOR_BULLSEYE",SWIG_From_int(static_cast< int >(wxCURSOR_BULLSEYE
)));
56376 SWIG_Python_SetConstant(d
, "CURSOR_CHAR",SWIG_From_int(static_cast< int >(wxCURSOR_CHAR
)));
56377 SWIG_Python_SetConstant(d
, "CURSOR_CROSS",SWIG_From_int(static_cast< int >(wxCURSOR_CROSS
)));
56378 SWIG_Python_SetConstant(d
, "CURSOR_HAND",SWIG_From_int(static_cast< int >(wxCURSOR_HAND
)));
56379 SWIG_Python_SetConstant(d
, "CURSOR_IBEAM",SWIG_From_int(static_cast< int >(wxCURSOR_IBEAM
)));
56380 SWIG_Python_SetConstant(d
, "CURSOR_LEFT_BUTTON",SWIG_From_int(static_cast< int >(wxCURSOR_LEFT_BUTTON
)));
56381 SWIG_Python_SetConstant(d
, "CURSOR_MAGNIFIER",SWIG_From_int(static_cast< int >(wxCURSOR_MAGNIFIER
)));
56382 SWIG_Python_SetConstant(d
, "CURSOR_MIDDLE_BUTTON",SWIG_From_int(static_cast< int >(wxCURSOR_MIDDLE_BUTTON
)));
56383 SWIG_Python_SetConstant(d
, "CURSOR_NO_ENTRY",SWIG_From_int(static_cast< int >(wxCURSOR_NO_ENTRY
)));
56384 SWIG_Python_SetConstant(d
, "CURSOR_PAINT_BRUSH",SWIG_From_int(static_cast< int >(wxCURSOR_PAINT_BRUSH
)));
56385 SWIG_Python_SetConstant(d
, "CURSOR_PENCIL",SWIG_From_int(static_cast< int >(wxCURSOR_PENCIL
)));
56386 SWIG_Python_SetConstant(d
, "CURSOR_POINT_LEFT",SWIG_From_int(static_cast< int >(wxCURSOR_POINT_LEFT
)));
56387 SWIG_Python_SetConstant(d
, "CURSOR_POINT_RIGHT",SWIG_From_int(static_cast< int >(wxCURSOR_POINT_RIGHT
)));
56388 SWIG_Python_SetConstant(d
, "CURSOR_QUESTION_ARROW",SWIG_From_int(static_cast< int >(wxCURSOR_QUESTION_ARROW
)));
56389 SWIG_Python_SetConstant(d
, "CURSOR_RIGHT_BUTTON",SWIG_From_int(static_cast< int >(wxCURSOR_RIGHT_BUTTON
)));
56390 SWIG_Python_SetConstant(d
, "CURSOR_SIZENESW",SWIG_From_int(static_cast< int >(wxCURSOR_SIZENESW
)));
56391 SWIG_Python_SetConstant(d
, "CURSOR_SIZENS",SWIG_From_int(static_cast< int >(wxCURSOR_SIZENS
)));
56392 SWIG_Python_SetConstant(d
, "CURSOR_SIZENWSE",SWIG_From_int(static_cast< int >(wxCURSOR_SIZENWSE
)));
56393 SWIG_Python_SetConstant(d
, "CURSOR_SIZEWE",SWIG_From_int(static_cast< int >(wxCURSOR_SIZEWE
)));
56394 SWIG_Python_SetConstant(d
, "CURSOR_SIZING",SWIG_From_int(static_cast< int >(wxCURSOR_SIZING
)));
56395 SWIG_Python_SetConstant(d
, "CURSOR_SPRAYCAN",SWIG_From_int(static_cast< int >(wxCURSOR_SPRAYCAN
)));
56396 SWIG_Python_SetConstant(d
, "CURSOR_WAIT",SWIG_From_int(static_cast< int >(wxCURSOR_WAIT
)));
56397 SWIG_Python_SetConstant(d
, "CURSOR_WATCH",SWIG_From_int(static_cast< int >(wxCURSOR_WATCH
)));
56398 SWIG_Python_SetConstant(d
, "CURSOR_BLANK",SWIG_From_int(static_cast< int >(wxCURSOR_BLANK
)));
56399 SWIG_Python_SetConstant(d
, "CURSOR_DEFAULT",SWIG_From_int(static_cast< int >(wxCURSOR_DEFAULT
)));
56400 SWIG_Python_SetConstant(d
, "CURSOR_COPY_ARROW",SWIG_From_int(static_cast< int >(wxCURSOR_COPY_ARROW
)));
56401 SWIG_Python_SetConstant(d
, "CURSOR_ARROWWAIT",SWIG_From_int(static_cast< int >(wxCURSOR_ARROWWAIT
)));
56402 SWIG_Python_SetConstant(d
, "CURSOR_MAX",SWIG_From_int(static_cast< int >(wxCURSOR_MAX
)));
56403 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultPosition",DefaultPosition_get
, DefaultPosition_set
);
56404 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultSize",DefaultSize_get
, DefaultSize_set
);
56405 SWIG_Python_SetConstant(d
, "FromStart",SWIG_From_int(static_cast< int >(wxFromStart
)));
56406 SWIG_Python_SetConstant(d
, "FromCurrent",SWIG_From_int(static_cast< int >(wxFromCurrent
)));
56407 SWIG_Python_SetConstant(d
, "FromEnd",SWIG_From_int(static_cast< int >(wxFromEnd
)));
56409 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
56412 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
56414 SWIG_Python_SetConstant(d
, "IMAGE_ALPHA_TRANSPARENT",SWIG_From_int(static_cast< int >(wxIMAGE_ALPHA_TRANSPARENT
)));
56415 SWIG_Python_SetConstant(d
, "IMAGE_ALPHA_THRESHOLD",SWIG_From_int(static_cast< int >(wxIMAGE_ALPHA_THRESHOLD
)));
56416 SWIG_Python_SetConstant(d
, "IMAGE_ALPHA_OPAQUE",SWIG_From_int(static_cast< int >(wxIMAGE_ALPHA_OPAQUE
)));
56417 SWIG_addvarlink(SWIG_globals(),(char*)"NullImage",NullImage_get
, NullImage_set
);
56418 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_FILENAME",IMAGE_OPTION_FILENAME_get
, IMAGE_OPTION_FILENAME_set
);
56419 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_BMP_FORMAT",IMAGE_OPTION_BMP_FORMAT_get
, IMAGE_OPTION_BMP_FORMAT_set
);
56420 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",IMAGE_OPTION_CUR_HOTSPOT_X_get
, IMAGE_OPTION_CUR_HOTSPOT_X_set
);
56421 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",IMAGE_OPTION_CUR_HOTSPOT_Y_get
, IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
56422 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_RESOLUTION",IMAGE_OPTION_RESOLUTION_get
, IMAGE_OPTION_RESOLUTION_set
);
56423 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_RESOLUTIONX",IMAGE_OPTION_RESOLUTIONX_get
, IMAGE_OPTION_RESOLUTIONX_set
);
56424 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_RESOLUTIONY",IMAGE_OPTION_RESOLUTIONY_get
, IMAGE_OPTION_RESOLUTIONY_set
);
56425 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_RESOLUTIONUNIT",IMAGE_OPTION_RESOLUTIONUNIT_get
, IMAGE_OPTION_RESOLUTIONUNIT_set
);
56426 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_QUALITY",IMAGE_OPTION_QUALITY_get
, IMAGE_OPTION_QUALITY_set
);
56427 SWIG_Python_SetConstant(d
, "IMAGE_RESOLUTION_INCHES",SWIG_From_int(static_cast< int >(wxIMAGE_RESOLUTION_INCHES
)));
56428 SWIG_Python_SetConstant(d
, "IMAGE_RESOLUTION_CM",SWIG_From_int(static_cast< int >(wxIMAGE_RESOLUTION_CM
)));
56429 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_BITSPERSAMPLE",IMAGE_OPTION_BITSPERSAMPLE_get
, IMAGE_OPTION_BITSPERSAMPLE_set
);
56430 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_SAMPLESPERPIXEL",IMAGE_OPTION_SAMPLESPERPIXEL_get
, IMAGE_OPTION_SAMPLESPERPIXEL_set
);
56431 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_COMPRESSION",IMAGE_OPTION_COMPRESSION_get
, IMAGE_OPTION_COMPRESSION_set
);
56432 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_IMAGEDESCRIPTOR",IMAGE_OPTION_IMAGEDESCRIPTOR_get
, IMAGE_OPTION_IMAGEDESCRIPTOR_set
);
56433 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_PNG_FORMAT",IMAGE_OPTION_PNG_FORMAT_get
, IMAGE_OPTION_PNG_FORMAT_set
);
56434 SWIG_addvarlink(SWIG_globals(),(char*)"IMAGE_OPTION_PNG_BITDEPTH",IMAGE_OPTION_PNG_BITDEPTH_get
, IMAGE_OPTION_PNG_BITDEPTH_set
);
56435 SWIG_Python_SetConstant(d
, "PNG_TYPE_COLOUR",SWIG_From_int(static_cast< int >(wxPNG_TYPE_COLOUR
)));
56436 SWIG_Python_SetConstant(d
, "PNG_TYPE_GREY",SWIG_From_int(static_cast< int >(wxPNG_TYPE_GREY
)));
56437 SWIG_Python_SetConstant(d
, "PNG_TYPE_GREY_RED",SWIG_From_int(static_cast< int >(wxPNG_TYPE_GREY_RED
)));
56438 SWIG_Python_SetConstant(d
, "BMP_24BPP",SWIG_From_int(static_cast< int >(wxBMP_24BPP
)));
56439 SWIG_Python_SetConstant(d
, "BMP_8BPP",SWIG_From_int(static_cast< int >(wxBMP_8BPP
)));
56440 SWIG_Python_SetConstant(d
, "BMP_8BPP_GREY",SWIG_From_int(static_cast< int >(wxBMP_8BPP_GREY
)));
56441 SWIG_Python_SetConstant(d
, "BMP_8BPP_GRAY",SWIG_From_int(static_cast< int >(wxBMP_8BPP_GRAY
)));
56442 SWIG_Python_SetConstant(d
, "BMP_8BPP_RED",SWIG_From_int(static_cast< int >(wxBMP_8BPP_RED
)));
56443 SWIG_Python_SetConstant(d
, "BMP_8BPP_PALETTE",SWIG_From_int(static_cast< int >(wxBMP_8BPP_PALETTE
)));
56444 SWIG_Python_SetConstant(d
, "BMP_4BPP",SWIG_From_int(static_cast< int >(wxBMP_4BPP
)));
56445 SWIG_Python_SetConstant(d
, "BMP_1BPP",SWIG_From_int(static_cast< int >(wxBMP_1BPP
)));
56446 SWIG_Python_SetConstant(d
, "BMP_1BPP_BW",SWIG_From_int(static_cast< int >(wxBMP_1BPP_BW
)));
56447 SWIG_Python_SetConstant(d
, "QUANTIZE_INCLUDE_WINDOWS_COLOURS",SWIG_From_int(static_cast< int >(wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
)));
56448 SWIG_Python_SetConstant(d
, "QUANTIZE_FILL_DESTINATION_IMAGE",SWIG_From_int(static_cast< int >(wxQUANTIZE_FILL_DESTINATION_IMAGE
)));
56449 SWIG_Python_SetConstant(d
, "EVENT_PROPAGATE_NONE",SWIG_From_int(static_cast< int >(wxEVENT_PROPAGATE_NONE
)));
56450 SWIG_Python_SetConstant(d
, "EVENT_PROPAGATE_MAX",SWIG_From_int(static_cast< int >(wxEVENT_PROPAGATE_MAX
)));
56451 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
56452 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
56453 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
56454 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
56455 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
56456 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
56457 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
56458 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
56459 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
56460 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
56461 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
56462 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
56463 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
56464 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
56465 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
56466 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
56467 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
56468 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
56469 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
56470 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
56471 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
56472 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
56473 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
56474 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
56475 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
56476 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
56477 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
56478 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
56479 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
56480 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
56481 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
56482 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
56483 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
56484 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
56485 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
56486 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
56487 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
56488 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
56489 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
56490 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
56491 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
56492 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
56493 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
56494 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
56495 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
56496 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
56497 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
56498 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
56499 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
56500 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
56501 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
56502 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
56503 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
56504 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
56505 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
56506 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
56507 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
56508 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
56509 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
56510 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
56511 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
56512 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
56513 PyDict_SetItemString(d
, "wxEVT_SCROLL_CHANGED", PyInt_FromLong(wxEVT_SCROLL_CHANGED
));
56514 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
56515 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
56516 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
56517 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
56518 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
56519 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
56520 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
56521 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
56522 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
56523 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
56524 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
56525 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
56526 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
56527 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
56528 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
56529 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
56530 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
56531 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
56532 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
56533 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
56534 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
56535 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
56536 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
56537 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
56538 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
56539 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
56540 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
56541 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
56542 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
56543 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
56544 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
56545 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
56546 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
56547 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
56548 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
56549 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
56550 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
56551 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
56552 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
56553 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
56554 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
56555 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
56556 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
56557 PyDict_SetItemString(d
, "wxEVT_HIBERNATE", PyInt_FromLong(wxEVT_HIBERNATE
));
56558 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_COPY", PyInt_FromLong(wxEVT_COMMAND_TEXT_COPY
));
56559 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_CUT", PyInt_FromLong(wxEVT_COMMAND_TEXT_CUT
));
56560 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_PASTE", PyInt_FromLong(wxEVT_COMMAND_TEXT_PASTE
));
56561 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
56562 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
56563 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
56564 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
56565 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
56566 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
56567 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
56568 SWIG_Python_SetConstant(d
, "MOUSE_BTN_ANY",SWIG_From_int(static_cast< int >(wxMOUSE_BTN_ANY
)));
56569 SWIG_Python_SetConstant(d
, "MOUSE_BTN_NONE",SWIG_From_int(static_cast< int >(wxMOUSE_BTN_NONE
)));
56570 SWIG_Python_SetConstant(d
, "MOUSE_BTN_LEFT",SWIG_From_int(static_cast< int >(wxMOUSE_BTN_LEFT
)));
56571 SWIG_Python_SetConstant(d
, "MOUSE_BTN_MIDDLE",SWIG_From_int(static_cast< int >(wxMOUSE_BTN_MIDDLE
)));
56572 SWIG_Python_SetConstant(d
, "MOUSE_BTN_RIGHT",SWIG_From_int(static_cast< int >(wxMOUSE_BTN_RIGHT
)));
56573 SWIG_Python_SetConstant(d
, "UPDATE_UI_PROCESS_ALL",SWIG_From_int(static_cast< int >(wxUPDATE_UI_PROCESS_ALL
)));
56574 SWIG_Python_SetConstant(d
, "UPDATE_UI_PROCESS_SPECIFIED",SWIG_From_int(static_cast< int >(wxUPDATE_UI_PROCESS_SPECIFIED
)));
56575 SWIG_Python_SetConstant(d
, "NavigationKeyEvent_IsBackward",SWIG_From_int(static_cast< int >(wxNavigationKeyEvent::IsBackward
)));
56576 SWIG_Python_SetConstant(d
, "NavigationKeyEvent_IsForward",SWIG_From_int(static_cast< int >(wxNavigationKeyEvent::IsForward
)));
56577 SWIG_Python_SetConstant(d
, "NavigationKeyEvent_WinChange",SWIG_From_int(static_cast< int >(wxNavigationKeyEvent::WinChange
)));
56578 SWIG_Python_SetConstant(d
, "NavigationKeyEvent_FromTab",SWIG_From_int(static_cast< int >(wxNavigationKeyEvent::FromTab
)));
56579 SWIG_Python_SetConstant(d
, "IDLE_PROCESS_ALL",SWIG_From_int(static_cast< int >(wxIDLE_PROCESS_ALL
)));
56580 SWIG_Python_SetConstant(d
, "IDLE_PROCESS_SPECIFIED",SWIG_From_int(static_cast< int >(wxIDLE_PROCESS_SPECIFIED
)));
56581 PyDict_SetItemString(d
, "wxEVT_DATE_CHANGED", PyInt_FromLong(wxEVT_DATE_CHANGED
));
56582 SWIG_Python_SetConstant(d
, "PYAPP_ASSERT_SUPPRESS",SWIG_From_int(static_cast< int >(wxPYAPP_ASSERT_SUPPRESS
)));
56583 SWIG_Python_SetConstant(d
, "PYAPP_ASSERT_EXCEPTION",SWIG_From_int(static_cast< int >(wxPYAPP_ASSERT_EXCEPTION
)));
56584 SWIG_Python_SetConstant(d
, "PYAPP_ASSERT_DIALOG",SWIG_From_int(static_cast< int >(wxPYAPP_ASSERT_DIALOG
)));
56585 SWIG_Python_SetConstant(d
, "PYAPP_ASSERT_LOG",SWIG_From_int(static_cast< int >(wxPYAPP_ASSERT_LOG
)));
56586 SWIG_Python_SetConstant(d
, "PRINT_WINDOWS",SWIG_From_int(static_cast< int >(wxPRINT_WINDOWS
)));
56587 SWIG_Python_SetConstant(d
, "PRINT_POSTSCRIPT",SWIG_From_int(static_cast< int >(wxPRINT_POSTSCRIPT
)));
56588 SWIG_addvarlink(SWIG_globals(),(char*)"NullAcceleratorTable",NullAcceleratorTable_get
, NullAcceleratorTable_set
);
56589 SWIG_addvarlink(SWIG_globals(),(char*)"PanelNameStr",PanelNameStr_get
, PanelNameStr_set
);
56590 SWIG_Python_SetConstant(d
, "WINDOW_VARIANT_NORMAL",SWIG_From_int(static_cast< int >(wxWINDOW_VARIANT_NORMAL
)));
56591 SWIG_Python_SetConstant(d
, "WINDOW_VARIANT_SMALL",SWIG_From_int(static_cast< int >(wxWINDOW_VARIANT_SMALL
)));
56592 SWIG_Python_SetConstant(d
, "WINDOW_VARIANT_MINI",SWIG_From_int(static_cast< int >(wxWINDOW_VARIANT_MINI
)));
56593 SWIG_Python_SetConstant(d
, "WINDOW_VARIANT_LARGE",SWIG_From_int(static_cast< int >(wxWINDOW_VARIANT_LARGE
)));
56594 SWIG_Python_SetConstant(d
, "WINDOW_VARIANT_MAX",SWIG_From_int(static_cast< int >(wxWINDOW_VARIANT_MAX
)));
56595 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultValidator",DefaultValidator_get
, DefaultValidator_set
);
56596 SWIG_addvarlink(SWIG_globals(),(char*)"ControlNameStr",ControlNameStr_get
, ControlNameStr_set
);
56597 SWIG_Python_SetConstant(d
, "FLEX_GROWMODE_NONE",SWIG_From_int(static_cast< int >(wxFLEX_GROWMODE_NONE
)));
56598 SWIG_Python_SetConstant(d
, "FLEX_GROWMODE_SPECIFIED",SWIG_From_int(static_cast< int >(wxFLEX_GROWMODE_SPECIFIED
)));
56599 SWIG_Python_SetConstant(d
, "FLEX_GROWMODE_ALL",SWIG_From_int(static_cast< int >(wxFLEX_GROWMODE_ALL
)));
56600 SWIG_addvarlink(SWIG_globals(),(char*)"DefaultSpan",DefaultSpan_get
, DefaultSpan_set
);
56601 SWIG_Python_SetConstant(d
, "Left",SWIG_From_int(static_cast< int >(wxLeft
)));
56602 SWIG_Python_SetConstant(d
, "Top",SWIG_From_int(static_cast< int >(wxTop
)));
56603 SWIG_Python_SetConstant(d
, "Right",SWIG_From_int(static_cast< int >(wxRight
)));
56604 SWIG_Python_SetConstant(d
, "Bottom",SWIG_From_int(static_cast< int >(wxBottom
)));
56605 SWIG_Python_SetConstant(d
, "Width",SWIG_From_int(static_cast< int >(wxWidth
)));
56606 SWIG_Python_SetConstant(d
, "Height",SWIG_From_int(static_cast< int >(wxHeight
)));
56607 SWIG_Python_SetConstant(d
, "Centre",SWIG_From_int(static_cast< int >(wxCentre
)));
56608 SWIG_Python_SetConstant(d
, "Center",SWIG_From_int(static_cast< int >(wxCenter
)));
56609 SWIG_Python_SetConstant(d
, "CentreX",SWIG_From_int(static_cast< int >(wxCentreX
)));
56610 SWIG_Python_SetConstant(d
, "CentreY",SWIG_From_int(static_cast< int >(wxCentreY
)));
56611 SWIG_Python_SetConstant(d
, "Unconstrained",SWIG_From_int(static_cast< int >(wxUnconstrained
)));
56612 SWIG_Python_SetConstant(d
, "AsIs",SWIG_From_int(static_cast< int >(wxAsIs
)));
56613 SWIG_Python_SetConstant(d
, "PercentOf",SWIG_From_int(static_cast< int >(wxPercentOf
)));
56614 SWIG_Python_SetConstant(d
, "Above",SWIG_From_int(static_cast< int >(wxAbove
)));
56615 SWIG_Python_SetConstant(d
, "Below",SWIG_From_int(static_cast< int >(wxBelow
)));
56616 SWIG_Python_SetConstant(d
, "LeftOf",SWIG_From_int(static_cast< int >(wxLeftOf
)));
56617 SWIG_Python_SetConstant(d
, "RightOf",SWIG_From_int(static_cast< int >(wxRightOf
)));
56618 SWIG_Python_SetConstant(d
, "SameAs",SWIG_From_int(static_cast< int >(wxSameAs
)));
56619 SWIG_Python_SetConstant(d
, "Absolute",SWIG_From_int(static_cast< int >(wxAbsolute
)));
56621 // Initialize threading, some globals and such
56625 // Although these are defined in __version__ they need to be here too so
56626 // that an assert can be done to ensure that the wxPython and the wxWindows
56628 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
56629 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
56630 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));