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 * ----------------------------------------------------------------------------- */
14 template<class T
> class SwigValueWrapper
{
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
19 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
20 ~SwigValueWrapper() { delete tt
; }
21 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
22 operator T
&() const { return *tt
; }
23 T
*operator&() { return tt
; }
25 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 #ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31 # if defined(__SUNPRO_CC)
32 # define SWIG_TEMPLATE_DISAMBIGUATOR template
34 # define SWIG_TEMPLATE_DISAMBIGUATOR
41 /***********************************************************************
44 * This file contains generic CAPI SWIG runtime support for pointer
47 ************************************************************************/
49 /* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51 #define SWIG_RUNTIME_VERSION "1"
53 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54 #ifdef SWIG_TYPE_TABLE
55 #define SWIG_QUOTE_STRING(x) #x
56 #define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57 #define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
59 #define SWIG_TYPE_TABLE_NAME
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
81 #define SWIGRUNTIME static
83 #ifndef SWIGRUNTIMEINLINE
84 #define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
91 typedef void *(*swig_converter_func
)(void *);
92 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
94 typedef struct swig_type_info
{
96 swig_converter_func converter
;
99 swig_dycast_func dcast
;
100 struct swig_type_info
*next
;
101 struct swig_type_info
*prev
;
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
112 SWIG_TypeNameComp(const char *f1
, const char *l1
,
113 const char *f2
, const char *l2
) {
114 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
115 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
116 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
117 if (*f1
!= *f2
) return *f1
- *f2
;
119 return (l1
- f1
) - (l2
- f2
);
123 Check type equivalence in a name list like <name1>|<name2>|...
126 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
128 const char* te
= tb
+ strlen(tb
);
130 while (!equiv
&& *ne
) {
131 for (nb
= ne
; *ne
; ++ne
) {
132 if (*ne
== '|') break;
134 equiv
= SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0;
141 Register a type mapping with the type-checking
143 SWIGRUNTIME swig_type_info
*
144 SWIG_TypeRegisterTL(swig_type_info
**tl
, swig_type_info
*ti
) {
145 swig_type_info
*tc
, *head
, *ret
, *next
;
146 /* Check to see if this type has already been registered */
149 /* check simple type equivalence */
150 int typeequiv
= (strcmp(tc
->name
, ti
->name
) == 0);
151 /* check full type equivalence, resolving typedefs */
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc
->str
&& ti
->str
&& !strstr(tc
->str
,"|")) {
155 typeequiv
= SWIG_TypeEquiv(ti
->str
,tc
->str
);
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti
->clientdata
) tc
->clientdata
= ti
->clientdata
;
174 /* Build linked lists */
178 /* Patch up the rest of the links */
185 if (next
) next
->prev
= head
;
194 SWIGRUNTIME swig_type_info
*
195 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
197 if (!ty
) return 0; /* Void pointer */
198 s
= ty
->next
; /* First element always just a name */
200 if (strcmp(s
->name
,c
) == 0) {
201 if (s
== ty
->next
) return s
;
202 /* Move s to the top of the linked list */
203 s
->prev
->next
= s
->next
;
205 s
->next
->prev
= s
->prev
;
207 /* Insert s as second element in the list */
209 if (ty
->next
) ty
->next
->prev
= s
;
215 } while (s
&& (s
!= ty
->next
));
220 Cast a pointer up an inheritance hierarchy
222 SWIGRUNTIMEINLINE
void *
223 SWIG_TypeCast(swig_type_info
*ty
, void *ptr
) {
224 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
228 Dynamic pointer casting. Down an inheritance hierarchy
230 SWIGRUNTIME swig_type_info
*
231 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
232 swig_type_info
*lastty
= ty
;
233 if (!ty
|| !ty
->dcast
) return ty
;
234 while (ty
&& (ty
->dcast
)) {
235 ty
= (*ty
->dcast
)(ptr
);
242 Return the name associated with this type
244 SWIGRUNTIMEINLINE
const char *
245 SWIG_TypeName(const swig_type_info
*ty
) {
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
253 SWIGRUNTIME
const char *
254 SWIG_TypePrettyName(const swig_type_info
*type
) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
259 if (type
->str
!= NULL
) {
260 const char *last_name
= type
->str
;
262 for (s
= type
->str
; *s
; s
++)
263 if (*s
== '|') last_name
= s
+1;
271 Search for a swig_type_info structure
273 SWIGRUNTIME swig_type_info
*
274 SWIG_TypeQueryTL(swig_type_info
*tl
, const char *name
) {
275 swig_type_info
*ty
= tl
;
277 if (ty
->str
&& (SWIG_TypeEquiv(ty
->str
,name
))) return ty
;
278 if (ty
->name
&& (strcmp(name
,ty
->name
) == 0)) return ty
;
285 Set the clientdata field for a type
288 SWIG_TypeClientDataTL(swig_type_info
*tl
, swig_type_info
*ti
, void *clientdata
) {
289 swig_type_info
*tc
, *equiv
;
290 if (ti
->clientdata
) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti
->clientdata
= clientdata
;
295 if (!equiv
->converter
) {
298 if ((strcmp(tc
->name
, equiv
->name
) == 0))
299 SWIG_TypeClientDataTL(tl
,tc
,clientdata
);
308 Pack binary data into a string
311 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
312 static char hex
[17] = "0123456789abcdef";
313 unsigned char *u
= (unsigned char *) ptr
;
314 const unsigned char *eu
= u
+ sz
;
315 register unsigned char uu
;
316 for (; u
!= eu
; ++u
) {
318 *(c
++) = hex
[(uu
& 0xf0) >> 4];
319 *(c
++) = hex
[uu
& 0xf];
325 Unpack binary data from a string
327 SWIGRUNTIME
const char *
328 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
329 register unsigned char *u
= (unsigned char *) ptr
;
330 register const unsigned char *eu
= u
+ sz
;
331 for (; u
!= eu
; ++u
) {
332 register int d
= *(c
++);
333 register unsigned char uu
= 0;
334 if ((d
>= '0') && (d
<= '9'))
335 uu
= ((d
- '0') << 4);
336 else if ((d
>= 'a') && (d
<= 'f'))
337 uu
= ((d
- ('a'-10)) << 4);
341 if ((d
>= '0') && (d
<= '9'))
343 else if ((d
>= 'a') && (d
<= 'f'))
344 uu
|= (d
- ('a'-10));
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
359 SWIG_PropagateClientDataTL(swig_type_info
*tl
, swig_type_info
*type
) {
360 swig_type_info
*equiv
= type
->next
;
362 if (!type
->clientdata
) return;
364 if (!equiv
->converter
) {
367 if ((strcmp(tc
->name
, equiv
->name
) == 0) && !tc
->clientdata
)
368 SWIG_TypeClientDataTL(tl
,tc
, type
->clientdata
);
377 Pack 'void *' into a string buffer.
380 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
382 if ((2*sizeof(void *) + 2) > bsz
) return 0;
384 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
385 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
390 SWIGRUNTIME
const char *
391 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
393 if (strcmp(c
,"NULL") == 0) {
400 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
404 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
406 size_t lname
= (name
? strlen(name
) : 0);
407 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
409 r
= SWIG_PackData(r
,ptr
,sz
);
411 strncpy(r
,name
,lname
+1);
418 SWIGRUNTIME
const char *
419 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
421 if (strcmp(c
,"NULL") == 0) {
428 return SWIG_UnpackData(++c
,ptr
,sz
);
435 /***********************************************************************
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
442 * Author : David Beazley (beazley@cs.uchicago.edu)
444 * Copyright (c) 1999-2000, The University of Chicago
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
448 ************************************************************************/
451 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452 # if !defined(STATIC_LINKED)
453 # define SWIGEXPORT(a) __declspec(dllexport) a
455 # define SWIGEXPORT(a) a
458 # define SWIGEXPORT(a) a
466 /*************************************************************************/
469 /* The static type info list */
471 static swig_type_info
*swig_type_list
= 0;
472 static swig_type_info
**swig_type_list_handle
= &swig_type_list
;
475 /* Register a type mapping with the type-checking */
476 static swig_type_info
*
477 SWIG_TypeRegister(swig_type_info
*ti
) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle
, ti
);
481 /* Search for a swig_type_info structure */
482 static swig_type_info
*
483 SWIG_TypeQuery(const char *name
) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle
, name
);
487 /* Set the clientdata field for a type */
489 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle
, ti
, clientdata
);
493 /* This function will propagate the clientdata field of type to
494 * any new swig_type_info structures that have been added into the list
495 * of equivalent types. It is like calling
496 * SWIG_TypeClientData(type, clientdata) a second time.
499 SWIG_PropagateClientData(swig_type_info
*type
) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle
, type
);
507 /* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
515 /* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
520 #define SWIGINTERN static
523 #ifndef SWIGINTERNSHORT
525 #define SWIGINTERNSHORT static inline
527 #define SWIGINTERNSHORT static
528 #endif /* __cplusplus */
533 Exception handling in wrappers
535 #define SWIG_fail goto fail
536 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537 #define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538 #define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539 #define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540 #define SWIG_null_ref(type) SWIG_Python_NullRef(type)
545 #define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
548 /* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
553 #define SWIG_PY_INT 1
554 #define SWIG_PY_FLOAT 2
555 #define SWIG_PY_STRING 3
556 #define SWIG_PY_POINTER 4
557 #define SWIG_PY_BINARY 5
559 /* Constant information structure */
560 typedef struct swig_const_info
{
566 swig_type_info
**ptype
;
570 /* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573 #define SWIG_OLDOBJ 1
574 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575 #define SWIG_PYSTR SWIG_NEWOBJ + 1
582 /***********************************************************************
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
592 /* Common SWIG API */
593 #define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594 #define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
598 /* Python-specific SWIG API */
599 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
603 /* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
611 #if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612 # define SWIG_COBJECT_TYPES
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
624 /* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
628 #ifndef SWIG_BUFFER_SIZE
629 #define SWIG_BUFFER_SIZE 1024
632 #if defined(SWIG_COBJECT_TYPES)
633 #if !defined(SWIG_COBJECT_PYTHON)
634 /* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
644 /* Declarations for objects of type PySwigObject */
647 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int flags
)
649 char result
[SWIG_BUFFER_SIZE
];
650 if (SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
))) {
651 fputs("<Swig Object at ", fp
); fputs(result
, fp
); fputs(">", fp
);
658 SWIGRUNTIME PyObject
*
659 PySwigObject_repr(PySwigObject
*v
)
661 char result
[SWIG_BUFFER_SIZE
];
662 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
663 PyString_FromFormat("<Swig Object at %s>", result
) : 0;
666 SWIGRUNTIME PyObject
*
667 PySwigObject_str(PySwigObject
*v
)
669 char result
[SWIG_BUFFER_SIZE
];
670 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->desc
, sizeof(result
)) ?
671 PyString_FromString(result
) : 0;
674 SWIGRUNTIME PyObject
*
675 PySwigObject_long(PySwigObject
*v
)
677 return PyLong_FromUnsignedLong((unsigned long) v
->ptr
);
680 SWIGRUNTIME PyObject
*
681 PySwigObject_oct(PySwigObject
*v
)
684 unsigned long x
= (unsigned long)v
->ptr
;
688 PyOS_snprintf(buf
, sizeof(buf
), "0%lo", x
);
689 return PyString_FromString(buf
);
692 SWIGRUNTIME PyObject
*
693 PySwigObject_hex(PySwigObject
*v
)
696 PyOS_snprintf(buf
, sizeof(buf
), "0x%lx", (unsigned long)v
->ptr
);
697 return PyString_FromString(buf
);
701 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
703 int c
= strcmp(v
->desc
, w
->desc
);
709 return (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
714 PySwigObject_dealloc(PySwigObject
*self
)
719 SWIGRUNTIME PyTypeObject
*
720 PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__
[] =
722 "Swig object carries a C/C++ instance pointer";
724 static PyNumberMethods PySwigObject_as_number
= {
725 (binaryfunc
)0, /*nb_add*/
726 (binaryfunc
)0, /*nb_subtract*/
727 (binaryfunc
)0, /*nb_multiply*/
728 (binaryfunc
)0, /*nb_divide*/
729 (binaryfunc
)0, /*nb_remainder*/
730 (binaryfunc
)0, /*nb_divmod*/
731 (ternaryfunc
)0,/*nb_power*/
732 (unaryfunc
)0, /*nb_negative*/
733 (unaryfunc
)0, /*nb_positive*/
734 (unaryfunc
)0, /*nb_absolute*/
735 (inquiry
)0, /*nb_nonzero*/
742 (coercion
)0, /*nb_coerce*/
743 (unaryfunc
)PySwigObject_long
, /*nb_int*/
744 (unaryfunc
)PySwigObject_long
, /*nb_long*/
745 (unaryfunc
)0, /*nb_float*/
746 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
747 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
748 #if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
753 static int type_init
= 0;
754 static PyTypeObject PySwigObject_Type
;
758 PyObject_HEAD_INIT(&PyType_Type
)
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject
), /*tp_basicsize*/
764 (destructor
)PySwigObject_dealloc
, /*tp_dealloc*/
765 (printfunc
)PySwigObject_print
, /*tp_print*/
766 (getattrfunc
)0, /*tp_getattr*/
767 (setattrfunc
)0, /*tp_setattr*/
768 (cmpfunc
)PySwigObject_compare
, /*tp_compare*/
769 (reprfunc
)PySwigObject_repr
, /*tp_repr*/
770 &PySwigObject_as_number
, /*tp_as_number*/
771 0, /*tp_as_sequence*/
773 (hashfunc
)0, /*tp_hash*/
774 (ternaryfunc
)0, /*tp_call*/
775 (reprfunc
)PySwigObject_str
, /*tp_str*/
776 /* Space for future expansion */
778 PySwigObject_Type__doc__
, /* Documentation string */
779 #if PY_VERSION_HEX >= 0x02000000
783 #if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
787 #if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
790 #if PY_VERSION_HEX >= 0x02030000
794 0,0,0,0 /* tp_alloc -> tp_next */
798 PySwigObject_Type
= tmp
;
802 return &PySwigObject_Type
;
805 SWIGRUNTIME PyObject
*
806 PySwigObject_FromVoidPtrAndDesc(void *ptr
, const char *desc
)
808 PySwigObject
*self
= PyObject_NEW(PySwigObject
, PySwigObject_GetType());
809 if (self
== NULL
) return NULL
;
812 return (PyObject
*)self
;
815 SWIGRUNTIMEINLINE
void *
816 PySwigObject_AsVoidPtr(PyObject
*self
)
818 return ((PySwigObject
*)self
)->ptr
;
821 SWIGRUNTIMEINLINE
const char *
822 PySwigObject_GetDesc(PyObject
*self
)
824 return ((PySwigObject
*)self
)->desc
;
827 SWIGRUNTIMEINLINE
int
828 PySwigObject_Check(PyObject
*op
) {
829 return ((op
)->ob_type
== PySwigObject_GetType())
830 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
845 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int flags
)
847 char result
[SWIG_BUFFER_SIZE
];
848 fputs("<Swig Packed ", fp
);
849 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
858 SWIGRUNTIME PyObject
*
859 PySwigPacked_repr(PySwigPacked
*v
)
861 char result
[SWIG_BUFFER_SIZE
];
862 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->desc
);
865 return PyString_FromFormat("<Swig Packed %s>", v
->desc
);
869 SWIGRUNTIME PyObject
*
870 PySwigPacked_str(PySwigPacked
*v
)
872 char result
[SWIG_BUFFER_SIZE
];
873 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
874 return PyString_FromFormat("%s%s", result
, v
->desc
);
876 return PyString_FromFormat("%s", v
->desc
);
881 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
883 int c
= strcmp(v
->desc
, w
->desc
);
889 int s
= (i
< j
) ? -1 : (i
> j
) ? 1 : 0;
890 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
895 PySwigPacked_dealloc(PySwigPacked
*self
)
901 SWIGRUNTIME PyTypeObject
*
902 PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__
[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init
= 0;
907 static PyTypeObject PySwigPacked_Type
;
910 PyObject_HEAD_INIT(&PyType_Type
)
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked
), /*tp_basicsize*/
916 (destructor
)PySwigPacked_dealloc
, /*tp_dealloc*/
917 (printfunc
)PySwigPacked_print
, /*tp_print*/
918 (getattrfunc
)0, /*tp_getattr*/
919 (setattrfunc
)0, /*tp_setattr*/
920 (cmpfunc
)PySwigPacked_compare
, /*tp_compare*/
921 (reprfunc
)PySwigPacked_repr
, /*tp_repr*/
923 0, /*tp_as_sequence*/
925 (hashfunc
)0, /*tp_hash*/
926 (ternaryfunc
)0, /*tp_call*/
927 (reprfunc
)PySwigPacked_str
, /*tp_str*/
928 /* Space for future expansion */
930 PySwigPacked_Type__doc__
, /* Documentation string */
931 #if PY_VERSION_HEX >= 0x02000000
935 #if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
939 #if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
942 #if PY_VERSION_HEX >= 0x02030000
946 0,0,0,0 /* tp_alloc -> tp_next */
950 PySwigPacked_Type
= tmp
;
956 return &PySwigPacked_Type
;
959 SWIGRUNTIME PyObject
*
960 PySwigPacked_FromDataAndDesc(void *ptr
, size_t size
, const char *desc
)
962 PySwigPacked
*self
= PyObject_NEW(PySwigPacked
, PySwigPacked_GetType());
966 void *pack
= malloc(size
);
967 memcpy(pack
, ptr
, size
);
971 return (PyObject
*) self
;
975 SWIGRUNTIMEINLINE
const char *
976 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
978 PySwigPacked
*self
= (PySwigPacked
*)obj
;
979 if (self
->size
!= size
) return 0;
980 memcpy(ptr
, self
->pack
, size
);
984 SWIGRUNTIMEINLINE
const char *
985 PySwigPacked_GetDesc(PyObject
*self
)
987 return ((PySwigPacked
*)self
)->desc
;
990 SWIGRUNTIMEINLINE
int
991 PySwigPacked_Check(PyObject
*op
) {
992 return ((op
)->ob_type
== PySwigPacked_GetType())
993 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
997 /* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1001 #define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002 #define PySwigObject_Check(obj) PyCObject_Check(obj)
1003 #define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004 #define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1010 /* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1015 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj
)) {
1020 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
1022 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
1029 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
1031 PyObject
*str
= PyObject_Str(obj
);
1032 const char *cstr
= str
? PyString_AsString(str
) : 0;
1034 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
1037 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
1044 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
1046 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
1050 SWIGRUNTIMEINLINE
void
1051 SWIG_Python_NullRef(const char *type
)
1054 PyErr_Format(PyExc_TypeError
, "null reference of type '%s' was received",type
);
1056 PyErr_Format(PyExc_TypeError
, "null reference was received");
1061 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
1063 if (PyErr_Occurred()) {
1065 PyObject
*value
= 0;
1066 PyObject
*traceback
= 0;
1067 PyErr_Fetch(&type
, &value
, &traceback
);
1069 PyObject
*old_str
= PyObject_Str(value
);
1073 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
1075 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
1086 SWIG_Python_ArgFail(int argnum
)
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1091 sprintf(mesg
, "argument number %d:", argnum
);
1092 return SWIG_Python_AddErrMesg(mesg
, 1);
1099 /* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1103 /* Convert a pointer value */
1105 SWIG_Python_ConvertPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
) {
1108 static PyObject
*SWIG_this
= 0;
1110 PyObject
*pyobj
= 0;
1114 if (obj
== Py_None
) {
1119 #ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj
))) {
1122 SWIG_this
= PyString_FromString("this");
1124 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1126 if (!obj
) goto type_error
;
1127 if (!PySwigObject_Check(obj
)) {
1132 vptr
= PySwigObject_AsVoidPtr(obj
);
1133 c
= (const char *) PySwigObject_GetDesc(obj
);
1134 if (newref
) { Py_DECREF(obj
); }
1137 if (!(PyString_Check(obj
))) {
1139 SWIG_this
= PyString_FromString("this");
1141 obj
= PyObject_GetAttr(obj
,SWIG_this
);
1143 if (!obj
) goto type_error
;
1144 if (!PyString_Check(obj
)) {
1149 c
= PyString_AS_STRING(obj
);
1150 /* Pointer values must start with leading underscore */
1151 c
= SWIG_UnpackVoidPtr(c
, &vptr
, ty
->name
);
1152 if (newref
) { Py_DECREF(obj
); }
1153 if (!c
) goto type_error
;
1159 tc
= SWIG_TypeCheck(c
,ty
);
1160 if (!tc
) goto type_error
;
1161 *ptr
= SWIG_TypeCast(tc
,vptr
);
1166 if ((pyobj
) && (flags
& SWIG_POINTER_DISOWN
)) {
1167 PyObject_SetAttrString(pyobj
,(char*)"thisown",Py_False
);
1173 if (pyobj
&& !obj
) {
1175 if (PyCFunction_Check(obj
)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
1178 c
= doc
? strstr(doc
, "swig_ptr: ") : 0;
1180 c
= SWIG_UnpackVoidPtr(c
+ 10, &vptr
, ty
->name
);
1181 if (!c
) goto type_error
;
1186 if (flags
& SWIG_POINTER_EXCEPTION
) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1190 SWIG_Python_TypeError("C/C++ pointer", obj
);
1196 /* Convert a pointer value, signal an exception on a type mismatch */
1198 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
1200 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
1202 if (flags
& SWIG_POINTER_EXCEPTION
) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1204 SWIG_Python_ArgFail(argnum
);
1210 /* Convert a packed value value */
1212 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
, int flags
) {
1216 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
1219 if ((!obj
) || (!PyString_Check(obj
))) goto type_error
;
1220 c
= PyString_AS_STRING(obj
);
1221 /* Pointer values must start with leading underscore */
1222 c
= SWIG_UnpackDataName(c
, ptr
, sz
, ty
->name
);
1224 if (!c
) goto type_error
;
1226 tc
= SWIG_TypeCheck(c
,ty
);
1227 if (!tc
) goto type_error
;
1233 if (flags
& SWIG_POINTER_EXCEPTION
) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
1237 SWIG_Python_TypeError("C/C++ packed data", obj
);
1243 /* Create a new array object */
1244 SWIGRUNTIME PyObject
*
1245 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int own
) {
1251 #ifdef SWIG_COBJECT_TYPES
1252 robj
= PySwigObject_FromVoidPtrAndDesc((void *) ptr
, (char *)type
->name
);
1255 char result
[SWIG_BUFFER_SIZE
];
1256 robj
= SWIG_PackVoidPtr(result
, ptr
, type
->name
, sizeof(result
)) ?
1257 PyString_FromString(result
) : 0;
1260 if (!robj
|| (robj
== Py_None
)) return robj
;
1261 if (type
->clientdata
) {
1263 PyObject
*args
= Py_BuildValue((char*)"(O)", robj
);
1265 inst
= PyObject_CallObject((PyObject
*) type
->clientdata
, args
);
1269 PyObject_SetAttrString(inst
,(char*)"thisown",Py_True
);
1277 SWIGRUNTIME PyObject
*
1278 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
1284 #if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj
= PySwigPacked_FromDataAndDesc((void *) ptr
, sz
, (char *)type
->name
);
1288 char result
[SWIG_BUFFER_SIZE
];
1289 robj
= SWIG_PackDataName(result
, ptr
, sz
, type
->name
, sizeof(result
)) ?
1290 PyString_FromString(result
) : 0;
1296 /* -----------------------------------------------------------------------------*
1298 * -----------------------------------------------------------------------------*/
1300 #ifdef SWIG_LINK_RUNTIME
1301 void *SWIG_ReturnGlobalTypeList(void *);
1304 SWIGRUNTIME swig_type_info
**
1305 SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer
= (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer
) {
1309 #ifdef SWIG_LINK_RUNTIME
1310 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
1312 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
1314 if (PyErr_Occurred()) {
1316 type_pointer
= (void *)0;
1320 return (swig_type_info
**) type_pointer
;
1324 Search for a swig_type_info structure
1326 SWIGRUNTIMEINLINE swig_type_info
*
1327 SWIG_Python_GetTypeList() {
1328 swig_type_info
**tlh
= SWIG_Python_GetTypeListHandle();
1329 return tlh
? *tlh
: (swig_type_info
*)0;
1332 #define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
1339 /* -------- TYPES TABLE (BEGIN) -------- */
1341 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
1342 #define SWIGTYPE_p_wxPreviewFrame swig_types[1]
1343 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
1344 #define SWIGTYPE_p_wxPyPanel swig_types[3]
1345 #define SWIGTYPE_p_wxMenu swig_types[4]
1346 #define SWIGTYPE_p_wxFontData swig_types[5]
1347 #define SWIGTYPE_p_wxEvent swig_types[6]
1348 #define SWIGTYPE_p_wxPrintData swig_types[7]
1349 #define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
1350 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[9]
1351 #define SWIGTYPE_p_wxIconBundle swig_types[10]
1352 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[11]
1353 #define SWIGTYPE_p_wxFindDialogEvent swig_types[12]
1354 #define SWIGTYPE_p_wxPreviewCanvas swig_types[13]
1355 #define SWIGTYPE_p_wxFont swig_types[14]
1356 #define SWIGTYPE_p_wxSplitterEvent swig_types[15]
1357 #define SWIGTYPE_p_wxRegion swig_types[16]
1358 #define SWIGTYPE_ptrdiff_t swig_types[17]
1359 #define SWIGTYPE_std__ptrdiff_t swig_types[18]
1360 #define SWIGTYPE_p_wxFindReplaceData swig_types[19]
1361 #define SWIGTYPE_p_int swig_types[20]
1362 #define SWIGTYPE_p_wxSize swig_types[21]
1363 #define SWIGTYPE_p_wxDC swig_types[22]
1364 #define SWIGTYPE_p_wxIcon swig_types[23]
1365 #define SWIGTYPE_p_wxVisualAttributes swig_types[24]
1366 #define SWIGTYPE_p_wxMDIChildFrame swig_types[25]
1367 #define SWIGTYPE_p_wxColourData swig_types[26]
1368 #define SWIGTYPE_p_wxNotifyEvent swig_types[27]
1369 #define SWIGTYPE_p_wxPyWindow swig_types[28]
1370 #define SWIGTYPE_p_form_ops_t swig_types[29]
1371 #define SWIGTYPE_p_wxSplashScreen swig_types[30]
1372 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[31]
1373 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[32]
1374 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[33]
1375 #define SWIGTYPE_p_wxFileDialog swig_types[34]
1376 #define SWIGTYPE_p_wxTextEntryDialog swig_types[35]
1377 #define SWIGTYPE_p_wxMessageDialog swig_types[36]
1378 #define SWIGTYPE_p_wxProgressDialog swig_types[37]
1379 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[38]
1380 #define SWIGTYPE_p_wxPrinter swig_types[39]
1381 #define SWIGTYPE_p_wxArrayInt swig_types[40]
1382 #define SWIGTYPE_p_wxDuplexMode swig_types[41]
1383 #define SWIGTYPE_p_wxEvtHandler swig_types[42]
1384 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[43]
1385 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[44]
1386 #define SWIGTYPE_p_wxPyVListBox swig_types[45]
1387 #define SWIGTYPE_p_wxRect swig_types[46]
1388 #define SWIGTYPE_p_char swig_types[47]
1389 #define SWIGTYPE_p_wxMiniFrame swig_types[48]
1390 #define SWIGTYPE_p_wxFrame swig_types[49]
1391 #define SWIGTYPE_p_wxPyPrintout swig_types[50]
1392 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[51]
1393 #define SWIGTYPE_p_wxScrollWinEvent swig_types[52]
1394 #define SWIGTYPE_p_wxPaperSize swig_types[53]
1395 #define SWIGTYPE_p_wxStatusBar swig_types[54]
1396 #define SWIGTYPE_p_wxMDIParentFrame swig_types[55]
1397 #define SWIGTYPE_p_wxPoint swig_types[56]
1398 #define SWIGTYPE_p_wxObject swig_types[57]
1399 #define SWIGTYPE_p_unsigned_long swig_types[58]
1400 #define SWIGTYPE_p_wxTipWindow swig_types[59]
1401 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[60]
1402 #define SWIGTYPE_p_wxSplitterWindow swig_types[61]
1403 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[62]
1404 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[63]
1405 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[64]
1406 #define SWIGTYPE_p_wxPopupWindow swig_types[65]
1407 #define SWIGTYPE_p_wxSashWindow swig_types[66]
1408 #define SWIGTYPE_p_wxTopLevelWindow swig_types[67]
1409 #define SWIGTYPE_p_wxWindow swig_types[68]
1410 #define SWIGTYPE_p_wxScrolledWindow swig_types[69]
1411 #define SWIGTYPE_p_wxMenuBar swig_types[70]
1412 #define SWIGTYPE_p_wxMDIClientWindow swig_types[71]
1413 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[72]
1414 #define SWIGTYPE_p_wxPrintPreview swig_types[73]
1415 #define SWIGTYPE_p_wxSashEvent swig_types[74]
1416 #define SWIGTYPE_p_wxString swig_types[75]
1417 #define SWIGTYPE_p_wxPyPrintPreview swig_types[76]
1418 #define SWIGTYPE_p_wxDirDialog swig_types[77]
1419 #define SWIGTYPE_p_wxColourDialog swig_types[78]
1420 #define SWIGTYPE_p_wxDialog swig_types[79]
1421 #define SWIGTYPE_p_wxPanel swig_types[80]
1422 #define SWIGTYPE_p_wxFontDialog swig_types[81]
1423 #define SWIGTYPE_p_wxPageSetupDialog swig_types[82]
1424 #define SWIGTYPE_p_wxPrintDialog swig_types[83]
1425 #define SWIGTYPE_p_wxFileSystem swig_types[84]
1426 #define SWIGTYPE_p_wxBitmap swig_types[85]
1427 #define SWIGTYPE_unsigned_int swig_types[86]
1428 #define SWIGTYPE_p_unsigned_int swig_types[87]
1429 #define SWIGTYPE_p_unsigned_char swig_types[88]
1430 #define SWIGTYPE_p_wxCommandEvent swig_types[89]
1431 #define SWIGTYPE_p_wxPreviewControlBar swig_types[90]
1432 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[91]
1433 #define SWIGTYPE_p_wxColour swig_types[92]
1434 #define SWIGTYPE_p_wxToolBar swig_types[93]
1435 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[94]
1436 #define SWIGTYPE_p_wxPrintDialogData swig_types[95]
1437 static swig_type_info
*swig_types
[97];
1439 /* -------- TYPES TABLE (END) -------- */
1442 /*-----------------------------------------------
1443 @(target):= _windows_.so
1444 ------------------------------------------------*/
1445 #define SWIG_init init_windows_
1447 #define SWIG_name "_windows_"
1449 #include "wx/wxPython/wxPython.h"
1450 #include "wx/wxPython/pyclasses.h"
1453 static const wxString
wxPyEmptyString(wxEmptyString
);
1454 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1462 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
1465 if (value
< min_value
) {
1467 PyErr_Format(PyExc_OverflowError
,
1468 "value %ld is less than '%s' minimum %ld",
1469 value
, errmsg
, min_value
);
1472 } else if (value
> max_value
) {
1474 PyErr_Format(PyExc_OverflowError
,
1475 "value %ld is greater than '%s' maximum %ld",
1476 value
, errmsg
, max_value
);
1485 SWIG_AsVal_long(PyObject
* obj
, long* val
)
1487 if (PyNumber_Check(obj
)) {
1488 if (val
) *val
= PyInt_AsLong(obj
);
1492 SWIG_type_error("number", obj
);
1498 #if INT_MAX != LONG_MAX
1500 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1502 const char* errmsg
= val
? "int" : (char*)0;
1504 if (SWIG_AsVal_long(obj
, &v
)) {
1505 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
1506 if (val
) *val
= (int)(v
);
1515 SWIG_type_error(errmsg
, obj
);
1521 SWIG_AsVal_int(PyObject
*obj
, int *val
)
1523 return SWIG_AsVal_long(obj
,(long*)val
);
1529 SWIG_As_int(PyObject
* obj
)
1532 if (!SWIG_AsVal_int(obj
, &v
)) {
1534 this is needed to make valgrind/purify happier.
1536 memset((void*)&v
, 0, sizeof(int));
1542 SWIGINTERNSHORT
long
1543 SWIG_As_long(PyObject
* obj
)
1546 if (!SWIG_AsVal_long(obj
, &v
)) {
1548 this is needed to make valgrind/purify happier.
1550 memset((void*)&v
, 0, sizeof(long));
1557 SWIG_Check_int(PyObject
* obj
)
1559 return SWIG_AsVal_int(obj
, (int*)0);
1564 SWIG_Check_long(PyObject
* obj
)
1566 return SWIG_AsVal_long(obj
, (long*)0);
1571 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
1573 if (obj
== Py_True
) {
1574 if (val
) *val
= true;
1577 if (obj
== Py_False
) {
1578 if (val
) *val
= false;
1582 if (SWIG_AsVal_int(obj
, &res
)) {
1583 if (val
) *val
= res
? true : false;
1589 SWIG_type_error("bool", obj
);
1595 SWIGINTERNSHORT
bool
1596 SWIG_As_bool(PyObject
* obj
)
1599 if (!SWIG_AsVal_bool(obj
, &v
)) {
1601 this is needed to make valgrind/purify happier.
1603 memset((void*)&v
, 0, sizeof(bool));
1610 SWIG_Check_bool(PyObject
* obj
)
1612 return SWIG_AsVal_bool(obj
, (bool*)0);
1616 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1617 #define SWIG_From_int PyInt_FromLong
1621 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
1627 } else if (target
== Py_None
) {
1631 if (!PyTuple_Check(target
)) {
1633 target
= PyTuple_New(1);
1634 PyTuple_SetItem(target
, 0, o2
);
1636 o3
= PyTuple_New(1);
1637 PyTuple_SetItem(o3
, 0, o
);
1640 target
= PySequence_Concat(o2
, o3
);
1650 SWIG_AsVal_double(PyObject
*obj
, double* val
)
1652 if (PyNumber_Check(obj
)) {
1653 if (val
) *val
= PyFloat_AsDouble(obj
);
1657 SWIG_type_error("number", obj
);
1663 SWIGINTERNSHORT
double
1664 SWIG_As_double(PyObject
* obj
)
1667 if (!SWIG_AsVal_double(obj
, &v
)) {
1669 this is needed to make valgrind/purify happier.
1671 memset((void*)&v
, 0, sizeof(double));
1678 SWIG_Check_double(PyObject
* obj
)
1680 return SWIG_AsVal_double(obj
, (double*)0);
1684 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1685 #define SWIG_From_double PyFloat_FromDouble
1688 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
1689 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
1690 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
1691 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
1692 static void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){ /*wxPyRaiseNotImplemented();*/ }
1693 static bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow
const *self
){ /*wxPyRaiseNotImplemented();*/ return false; }
1695 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1696 #define SWIG_From_long PyInt_FromLong
1701 static wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
1703 self
->GetFieldRect(i
, r
);
1706 static const wxString
wxPySplitterNameStr(wxT("splitter"));
1707 static const wxString
wxPySashNameStr(wxT("sashWindow"));
1708 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
1710 #include <wx/popupwin.h>
1713 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
1716 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
1717 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
1718 : wxPopupTransientWindow(parent
, style
) {}
1720 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
1721 DEC_PYCALLBACK__(OnDismiss
);
1722 DEC_PYCALLBACK_BOOL_(CanDismiss
);
1727 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
1728 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
1729 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
1732 #include <wx/tipwin.h>
1734 static wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
1735 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
1738 #include <wx/tipwin.h>
1741 #include <wx/vscroll.h>
1744 class wxPyVScrolledWindow
: public wxVScrolledWindow
1746 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
);
1748 wxPyVScrolledWindow() : wxVScrolledWindow() {}
1750 wxPyVScrolledWindow(wxWindow
*parent
,
1751 wxWindowID id
= wxID_ANY
,
1752 const wxPoint
& pos
= wxDefaultPosition
,
1753 const wxSize
& size
= wxDefaultSize
,
1755 const wxString
& name
= wxPyPanelNameStr
)
1756 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
1759 // Overridable virtuals
1761 // this function must be overridden in the derived class and it should
1762 // return the height of the given line in pixels
1763 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
1766 // this function doesn't have to be overridden but it may be useful to do
1767 // it if calculating the lines heights is a relatively expensive operation
1768 // as it gives the user code a possibility to calculate several of them at
1771 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
1772 // shouldn't rely on the latter being called for all lines in the interval
1773 // specified here. It is also possible that OnGetLineHeight() will be
1774 // called for the lines outside of this interval, so this is really just a
1775 // hint, not a promise.
1777 // finally note that lineMin is inclusive, while lineMax is exclusive, as
1779 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
1782 // when the number of lines changes, we try to estimate the total height
1783 // of all lines which is a rather expensive operation in terms of lines
1784 // access, so if the user code may estimate the average height
1785 // better/faster than we do, it should override this function to implement
1788 // this function should return the best guess for the total height it may
1790 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
1793 // Also expose some other interesting protected methods
1796 // find the index of the line we need to show at the top of the window such
1797 // that the last (fully or partially) visible line is the given one
1798 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
1799 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
1801 // get the total height of the lines between lineMin (inclusive) and
1802 // lineMax (exclusive)
1803 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
1804 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
1810 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
1812 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
1813 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
1814 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
1818 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
1821 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
1822 SWIG_type_error("unsigned number", obj
);
1825 *val
= (unsigned long)v
;
1830 SWIGINTERNSHORT
unsigned long
1831 SWIG_As_unsigned_SS_long(PyObject
* obj
)
1834 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
1836 this is needed to make valgrind/purify happier.
1838 memset((void*)&v
, 0, sizeof(unsigned long));
1845 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
1847 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
1851 SWIGINTERNSHORT PyObject
*
1852 SWIG_From_unsigned_SS_long(unsigned long value
)
1854 return (value
> LONG_MAX
) ?
1855 PyLong_FromUnsignedLong(value
)
1856 : PyInt_FromLong((long)(value
));
1860 #include <wx/vlbox.h>
1862 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
1864 class wxPyVListBox
: public wxVListBox
1866 DECLARE_ABSTRACT_CLASS(wxPyVListBox
);
1868 wxPyVListBox() : wxVListBox() {}
1870 wxPyVListBox(wxWindow
*parent
,
1871 wxWindowID id
= wxID_ANY
,
1872 const wxPoint
& pos
= wxDefaultPosition
,
1873 const wxSize
& size
= wxDefaultSize
,
1875 const wxString
& name
= wxPyVListBoxNameStr
)
1876 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
1879 // Overridable virtuals
1881 // the derived class must implement this function to actually draw the item
1882 // with the given index on the provided DC
1883 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
1884 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
1887 // the derived class must implement this method to return the height of the
1889 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
1890 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
1893 // this method may be used to draw separators between the lines; note that
1894 // the rectangle may be modified, typically to deflate it a bit before
1895 // passing to OnDrawItem()
1897 // the base class version doesn't do anything
1898 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
1899 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
1902 // this method is used to draw the items background and, maybe, a border
1905 // the base class version implements a reasonable default behaviour which
1906 // consists in drawing the selected item with the standard background
1907 // colour and drawing a border around the item if it is either selected or
1909 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
1910 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
1916 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
1918 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
1919 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
1920 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
1921 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
1924 static PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
1925 unsigned long cookie
= 0;
1926 int selected
= self
->GetFirstSelected(cookie
);
1927 bool blocked
= wxPyBeginBlockThreads();
1928 PyObject
* tup
= PyTuple_New(2);
1929 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
1930 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
1931 wxPyEndBlockThreads(blocked
);
1934 static PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
1935 int selected
= self
->GetNextSelected(cookie
);
1936 bool blocked
= wxPyBeginBlockThreads();
1937 PyObject
* tup
= PyTuple_New(2);
1938 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
1939 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
1940 wxPyEndBlockThreads(blocked
);
1944 #include <wx/htmllbox.h>
1947 class wxPyHtmlListBox
: public wxHtmlListBox
1949 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
);
1951 wxPyHtmlListBox() : wxHtmlListBox() {}
1953 wxPyHtmlListBox(wxWindow
*parent
,
1954 wxWindowID id
= wxID_ANY
,
1955 const wxPoint
& pos
= wxDefaultPosition
,
1956 const wxSize
& size
= wxDefaultSize
,
1958 const wxString
& name
= wxPyVListBoxNameStr
)
1959 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
1962 // Overridable virtuals
1964 // this method must be implemented in the derived class and should return
1965 // the body (i.e. without <html>) of the HTML for the given item
1966 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
1968 // this function may be overridden to decorate HTML returned by OnGetItem()
1969 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
1972 // // this method allows to customize the selection appearance: it may be used
1973 // // to specify the colour of the text which normally has the given colour
1974 // // colFg when it is inside the selection
1976 // // by default, the original colour is not used at all and all text has the
1977 // // same (default for this system) colour inside selection
1978 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
1980 // // this is the same as GetSelectedTextColour() but allows to customize the
1981 // // background colour -- this is even more rarely used as you can change it
1982 // // globally using SetSelectionBackground()
1983 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
1990 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
1992 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
1993 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
1999 #ifndef wxHAS_TASK_BAR_ICON
2000 // implement dummy classes for platforms that don't have it
2002 class wxTaskBarIcon
: public wxEvtHandler
2005 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
2009 class wxTaskBarIconEvent
: public wxEvent
2012 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
2013 { wxPyRaiseNotImplemented(); }
2014 virtual wxEvent
* Clone() const { return NULL
; }
2015 bool IsOk() const { return false; }
2016 bool IsIconInstalled() const { return false; }
2017 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
2018 bool RemoveIcon() { return false; }
2019 bool PopupMenu(wxMenu
*menu
) { return false; }
2023 wxEVT_TASKBAR_MOVE
= 0,
2024 wxEVT_TASKBAR_LEFT_DOWN
= 0,
2025 wxEVT_TASKBAR_LEFT_UP
= 0,
2026 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
2027 wxEVT_TASKBAR_RIGHT_UP
= 0,
2028 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
2029 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
2034 // Otherwise make a class that can virtualize CreatePopupMenu
2035 class wxPyTaskBarIcon
: public wxTaskBarIcon
2037 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
);
2039 wxPyTaskBarIcon() : wxTaskBarIcon()
2042 wxMenu
* CreatePopupMenu() {
2043 wxMenu
*rval
= NULL
;
2045 bool blocked
= wxPyBeginBlockThreads();
2046 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
2049 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2051 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
2056 wxPyEndBlockThreads(blocked
);
2058 rval
= wxTaskBarIcon::CreatePopupMenu();
2065 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
2069 static void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
2073 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
2074 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
2075 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
2076 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
2077 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
2078 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
2079 static PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
2081 self
->GetFilenames(arr
);
2082 return wxArrayString2PyList_helper(arr
);
2084 static PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
2086 self
->GetPaths(arr
);
2087 return wxArrayString2PyList_helper(arr
);
2089 static PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
2090 return wxArrayInt2PyList_helper(self
->GetSelections());
2092 static wxSingleChoiceDialog
*new_wxSingleChoiceDialog(wxWindow
*parent
,wxString
const &message
,wxString
const &caption
,int choices
,wxString
*choices_array
,long style
=wxCHOICEDLG_STYLE
,wxPoint
const &pos
=wxDefaultPosition
){
2093 return new wxSingleChoiceDialog(parent
, message
, caption
,
2094 choices
, choices_array
, NULL
, style
, pos
);
2096 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
2100 // C++ version of Python aware wxWindow
2101 class wxPyWindow
: public wxWindow
2103 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
2105 wxPyWindow() : wxWindow() {}
2106 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
2107 const wxPoint
& pos
= wxDefaultPosition
,
2108 const wxSize
& size
= wxDefaultSize
,
2110 const wxString
& name
= wxPyPanelNameStr
)
2111 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
2113 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
2115 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2116 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2117 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2118 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2120 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2121 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2122 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2124 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2125 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2127 DEC_PYCALLBACK__(InitDialog
);
2128 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2129 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2130 DEC_PYCALLBACK_BOOL_(Validate
);
2132 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2133 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2134 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2136 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2137 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2139 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2140 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
2141 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2146 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
2148 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
2149 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
2150 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
2151 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
2153 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
2154 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
2155 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
2157 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
2158 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
2160 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
2161 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
2162 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
2163 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
2165 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
2166 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
2167 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
2169 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
2170 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
2172 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
2173 IMP_PYCALLBACK__COLOUR(wxPyWindow
, wxWindow
, ApplyParentThemeBackground
);
2174 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
2177 // C++ version of Python aware wxPanel
2178 class wxPyPanel
: public wxPanel
2180 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
2182 wxPyPanel() : wxPanel() {}
2183 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
2184 const wxPoint
& pos
= wxDefaultPosition
,
2185 const wxSize
& size
= wxDefaultSize
,
2187 const wxString
& name
= wxPyPanelNameStr
)
2188 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
2190 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
2193 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2194 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2195 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2196 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2198 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2199 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2200 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2202 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2203 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2205 DEC_PYCALLBACK__(InitDialog
);
2206 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2207 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2208 DEC_PYCALLBACK_BOOL_(Validate
);
2210 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2211 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2212 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2214 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2215 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2217 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2218 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
2219 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2224 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
2226 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
2227 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
2228 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
2229 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
2231 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
2232 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
2233 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
2235 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
2236 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
2238 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
2239 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
2240 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
2241 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
2243 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
2244 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
2245 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
2247 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
2248 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
2250 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
2251 IMP_PYCALLBACK__COLOUR(wxPyPanel
, wxPanel
, ApplyParentThemeBackground
);
2252 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
2255 // C++ version of Python aware wxScrolledWindow
2256 class wxPyScrolledWindow
: public wxScrolledWindow
2258 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
2260 wxPyScrolledWindow() : wxScrolledWindow() {}
2261 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
2262 const wxPoint
& pos
= wxDefaultPosition
,
2263 const wxSize
& size
= wxDefaultSize
,
2265 const wxString
& name
= wxPyPanelNameStr
)
2266 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
2268 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
2270 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
2271 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
2272 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
2273 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
2275 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
2276 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
2277 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
2279 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
2280 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
2282 DEC_PYCALLBACK__(InitDialog
);
2283 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
2284 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
2285 DEC_PYCALLBACK_BOOL_(Validate
);
2287 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
2288 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
2289 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
2291 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
2292 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
2294 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
2295 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
2296 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
2301 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
2303 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
2304 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
2305 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
2306 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
2308 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
2309 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
2310 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
2312 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
2313 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
2315 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
2316 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
2317 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
2318 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
2320 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
2321 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
2322 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
2324 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
2325 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
2327 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
2328 IMP_PYCALLBACK__COLOUR(wxPyScrolledWindow
, wxScrolledWindow
, ApplyParentThemeBackground
);
2329 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
2333 #include "wx/wxPython/printfw.h"
2336 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
2337 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
2340 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
2342 // Since this one would be tough and ugly to do with the Macros...
2343 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
2344 bool hadErr
= false;
2347 bool blocked
= wxPyBeginBlockThreads();
2348 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
2349 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
2350 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
2353 val
= PyTuple_GetItem(result
, 0);
2354 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
2357 val
= PyTuple_GetItem(result
, 1);
2358 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
2361 val
= PyTuple_GetItem(result
, 2);
2362 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
2365 val
= PyTuple_GetItem(result
, 3);
2366 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
2373 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
2378 wxPyEndBlockThreads(blocked
);
2380 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
2383 void wxPyPrintout::base_GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
2384 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
2388 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
2389 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
2390 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
2391 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
2392 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
2393 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
2394 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
2400 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
2401 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
2402 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
2405 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
2406 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2409 bool blocked = wxPyBeginBlockThreads(); \
2410 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
2411 PyObject* win = wxPyMake_wxObject(a,false); \
2412 PyObject* dc = wxPyMake_wxObject(&b,false); \
2413 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
2417 wxPyEndBlockThreads(blocked); \
2419 rval = PCLASS::CBNAME(a, b); \
2422 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
2423 return PCLASS::CBNAME(a, b); \
2429 class wxPyPrintPreview
: public wxPrintPreview
2431 DECLARE_CLASS(wxPyPrintPreview
)
2433 wxPyPrintPreview(wxPyPrintout
* printout
,
2434 wxPyPrintout
* printoutForPrinting
,
2435 wxPrintDialogData
* data
=NULL
)
2436 : wxPrintPreview(printout
, printoutForPrinting
, data
)
2438 wxPyPrintPreview(wxPyPrintout
* printout
,
2439 wxPyPrintout
* printoutForPrinting
,
2440 wxPrintData
* data
=NULL
)
2441 : wxPrintPreview(printout
, printoutForPrinting
, data
)
2444 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
2445 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
2446 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
2447 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
2448 DEC_PYCALLBACK_VOID_INT(SetZoom
);
2449 DEC_PYCALLBACK_BOOL_BOOL(Print
);
2450 DEC_PYCALLBACK_VOID_(DetermineScaling
);
2455 // Stupid renamed classes... Fix this in 2.5...
2456 #if defined(__WXMSW__)
2457 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
2458 #elif defined(__WXMAC__)
2459 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
2461 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
2464 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
2465 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
2466 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
2467 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
2468 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
2469 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
2470 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
2473 class wxPyPreviewFrame
: public wxPreviewFrame
2475 DECLARE_CLASS(wxPyPreviewFrame
);
2477 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
2478 const wxString
& title
,
2479 const wxPoint
& pos
= wxDefaultPosition
,
2480 const wxSize
& size
= wxDefaultSize
,
2481 long style
= wxDEFAULT_FRAME_STYLE
,
2482 const wxString
& name
= wxPyFrameNameStr
)
2483 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
2486 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
2487 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
2489 DEC_PYCALLBACK_VOID_(Initialize
);
2490 DEC_PYCALLBACK_VOID_(CreateCanvas
);
2491 DEC_PYCALLBACK_VOID_(CreateControlBar
);
2496 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
2498 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
2499 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
2500 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
2503 class wxPyPreviewControlBar
: public wxPreviewControlBar
2505 DECLARE_CLASS(wxPyPreviewControlBar
);
2507 wxPyPreviewControlBar(wxPrintPreview
*preview
,
2510 const wxPoint
& pos
= wxDefaultPosition
,
2511 const wxSize
& size
= wxDefaultSize
,
2513 const wxString
& name
= wxPyPanelNameStr
)
2514 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
2517 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
2519 DEC_PYCALLBACK_VOID_(CreateButtons
);
2520 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
2525 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
2526 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
2527 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
2532 static PyObject
*_wrap_new_Panel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2533 PyObject
*resultobj
;
2534 wxWindow
*arg1
= (wxWindow
*) 0 ;
2535 int arg2
= (int) (int)-1 ;
2536 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2537 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2538 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2539 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2540 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
2541 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
2542 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
2546 bool temp6
= false ;
2547 PyObject
* obj0
= 0 ;
2548 PyObject
* obj1
= 0 ;
2549 PyObject
* obj2
= 0 ;
2550 PyObject
* obj3
= 0 ;
2551 PyObject
* obj4
= 0 ;
2552 PyObject
* obj5
= 0 ;
2554 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2559 if (SWIG_arg_fail(1)) SWIG_fail
;
2562 arg2
= (int const)(SWIG_As_int(obj1
));
2563 if (SWIG_arg_fail(2)) SWIG_fail
;
2569 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2575 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2580 arg5
= (long)(SWIG_As_long(obj4
));
2581 if (SWIG_arg_fail(5)) SWIG_fail
;
2586 arg6
= wxString_in_helper(obj5
);
2587 if (arg6
== NULL
) SWIG_fail
;
2592 if (!wxPyCheckForApp()) SWIG_fail
;
2593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2594 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
2596 wxPyEndAllowThreads(__tstate
);
2597 if (PyErr_Occurred()) SWIG_fail
;
2599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
2614 static PyObject
*_wrap_new_PrePanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2615 PyObject
*resultobj
;
2621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePanel",kwnames
)) goto fail
;
2623 if (!wxPyCheckForApp()) SWIG_fail
;
2624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2625 result
= (wxPanel
*)new wxPanel();
2627 wxPyEndAllowThreads(__tstate
);
2628 if (PyErr_Occurred()) SWIG_fail
;
2630 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPanel
, 1);
2637 static PyObject
*_wrap_Panel_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2638 PyObject
*resultobj
;
2639 wxPanel
*arg1
= (wxPanel
*) 0 ;
2640 wxWindow
*arg2
= (wxWindow
*) 0 ;
2641 int arg3
= (int) (int)-1 ;
2642 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2643 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2644 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2645 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2646 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
2647 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
2648 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2652 bool temp7
= false ;
2653 PyObject
* obj0
= 0 ;
2654 PyObject
* obj1
= 0 ;
2655 PyObject
* obj2
= 0 ;
2656 PyObject
* obj3
= 0 ;
2657 PyObject
* obj4
= 0 ;
2658 PyObject
* obj5
= 0 ;
2659 PyObject
* obj6
= 0 ;
2661 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2665 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2666 if (SWIG_arg_fail(1)) SWIG_fail
;
2667 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2668 if (SWIG_arg_fail(2)) SWIG_fail
;
2671 arg3
= (int const)(SWIG_As_int(obj2
));
2672 if (SWIG_arg_fail(3)) SWIG_fail
;
2678 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2684 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2689 arg6
= (long)(SWIG_As_long(obj5
));
2690 if (SWIG_arg_fail(6)) SWIG_fail
;
2695 arg7
= wxString_in_helper(obj6
);
2696 if (arg7
== NULL
) SWIG_fail
;
2701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2702 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
2704 wxPyEndAllowThreads(__tstate
);
2705 if (PyErr_Occurred()) SWIG_fail
;
2708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2724 static PyObject
*_wrap_Panel_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2725 PyObject
*resultobj
;
2726 wxPanel
*arg1
= (wxPanel
*) 0 ;
2727 PyObject
* obj0
= 0 ;
2729 (char *) "self", NULL
2732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_InitDialog",kwnames
,&obj0
)) goto fail
;
2733 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2734 if (SWIG_arg_fail(1)) SWIG_fail
;
2736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2737 (arg1
)->InitDialog();
2739 wxPyEndAllowThreads(__tstate
);
2740 if (PyErr_Occurred()) SWIG_fail
;
2742 Py_INCREF(Py_None
); resultobj
= Py_None
;
2749 static PyObject
*_wrap_Panel_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2750 PyObject
*resultobj
;
2751 wxPanel
*arg1
= (wxPanel
*) 0 ;
2752 PyObject
* obj0
= 0 ;
2754 (char *) "self", NULL
2757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocus",kwnames
,&obj0
)) goto fail
;
2758 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2759 if (SWIG_arg_fail(1)) SWIG_fail
;
2761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2764 wxPyEndAllowThreads(__tstate
);
2765 if (PyErr_Occurred()) SWIG_fail
;
2767 Py_INCREF(Py_None
); resultobj
= Py_None
;
2774 static PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2775 PyObject
*resultobj
;
2776 wxPanel
*arg1
= (wxPanel
*) 0 ;
2777 PyObject
* obj0
= 0 ;
2779 (char *) "self", NULL
2782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Panel_SetFocusIgnoringChildren",kwnames
,&obj0
)) goto fail
;
2783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPanel
, SWIG_POINTER_EXCEPTION
| 0);
2784 if (SWIG_arg_fail(1)) SWIG_fail
;
2786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2787 (arg1
)->SetFocusIgnoringChildren();
2789 wxPyEndAllowThreads(__tstate
);
2790 if (PyErr_Occurred()) SWIG_fail
;
2792 Py_INCREF(Py_None
); resultobj
= Py_None
;
2799 static PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2800 PyObject
*resultobj
;
2801 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
2802 wxVisualAttributes result
;
2803 PyObject
* obj0
= 0 ;
2805 (char *) "variant", NULL
2808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2811 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
2812 if (SWIG_arg_fail(1)) SWIG_fail
;
2816 if (!wxPyCheckForApp()) SWIG_fail
;
2817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2818 result
= wxPanel::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2820 wxPyEndAllowThreads(__tstate
);
2821 if (PyErr_Occurred()) SWIG_fail
;
2824 wxVisualAttributes
* resultptr
;
2825 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
2826 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2834 static PyObject
* Panel_swigregister(PyObject
*, PyObject
*args
) {
2836 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2837 SWIG_TypeClientData(SWIGTYPE_p_wxPanel
, obj
);
2839 return Py_BuildValue((char *)"");
2841 static PyObject
*_wrap_new_ScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2842 PyObject
*resultobj
;
2843 wxWindow
*arg1
= (wxWindow
*) 0 ;
2844 int arg2
= (int) (int)-1 ;
2845 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2846 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2847 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2848 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2849 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
2850 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
2851 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
2852 wxScrolledWindow
*result
;
2855 bool temp6
= false ;
2856 PyObject
* obj0
= 0 ;
2857 PyObject
* obj1
= 0 ;
2858 PyObject
* obj2
= 0 ;
2859 PyObject
* obj3
= 0 ;
2860 PyObject
* obj4
= 0 ;
2861 PyObject
* obj5
= 0 ;
2863 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
2867 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2868 if (SWIG_arg_fail(1)) SWIG_fail
;
2871 arg2
= (int const)(SWIG_As_int(obj1
));
2872 if (SWIG_arg_fail(2)) SWIG_fail
;
2878 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2884 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2889 arg5
= (long)(SWIG_As_long(obj4
));
2890 if (SWIG_arg_fail(5)) SWIG_fail
;
2895 arg6
= wxString_in_helper(obj5
);
2896 if (arg6
== NULL
) SWIG_fail
;
2901 if (!wxPyCheckForApp()) SWIG_fail
;
2902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2903 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
2905 wxPyEndAllowThreads(__tstate
);
2906 if (PyErr_Occurred()) SWIG_fail
;
2908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
2923 static PyObject
*_wrap_new_PreScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2924 PyObject
*resultobj
;
2925 wxScrolledWindow
*result
;
2930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrolledWindow",kwnames
)) goto fail
;
2932 if (!wxPyCheckForApp()) SWIG_fail
;
2933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2934 result
= (wxScrolledWindow
*)new wxScrolledWindow();
2936 wxPyEndAllowThreads(__tstate
);
2937 if (PyErr_Occurred()) SWIG_fail
;
2939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrolledWindow
, 1);
2946 static PyObject
*_wrap_ScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2947 PyObject
*resultobj
;
2948 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
2949 wxWindow
*arg2
= (wxWindow
*) 0 ;
2950 int arg3
= (int) (int)-1 ;
2951 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2952 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2953 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2954 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2955 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
2956 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
2957 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
2961 bool temp7
= false ;
2962 PyObject
* obj0
= 0 ;
2963 PyObject
* obj1
= 0 ;
2964 PyObject
* obj2
= 0 ;
2965 PyObject
* obj3
= 0 ;
2966 PyObject
* obj4
= 0 ;
2967 PyObject
* obj5
= 0 ;
2968 PyObject
* obj6
= 0 ;
2970 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
2974 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
2975 if (SWIG_arg_fail(1)) SWIG_fail
;
2976 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
2977 if (SWIG_arg_fail(2)) SWIG_fail
;
2980 arg3
= (int const)(SWIG_As_int(obj2
));
2981 if (SWIG_arg_fail(3)) SWIG_fail
;
2987 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2993 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2998 arg6
= (long)(SWIG_As_long(obj5
));
2999 if (SWIG_arg_fail(6)) SWIG_fail
;
3004 arg7
= wxString_in_helper(obj6
);
3005 if (arg7
== NULL
) SWIG_fail
;
3010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3011 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3013 wxPyEndAllowThreads(__tstate
);
3014 if (PyErr_Occurred()) SWIG_fail
;
3017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3033 static PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3034 PyObject
*resultobj
;
3035 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3040 int arg6
= (int) 0 ;
3041 int arg7
= (int) 0 ;
3042 bool arg8
= (bool) false ;
3043 PyObject
* obj0
= 0 ;
3044 PyObject
* obj1
= 0 ;
3045 PyObject
* obj2
= 0 ;
3046 PyObject
* obj3
= 0 ;
3047 PyObject
* obj4
= 0 ;
3048 PyObject
* obj5
= 0 ;
3049 PyObject
* obj6
= 0 ;
3050 PyObject
* obj7
= 0 ;
3052 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
3055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3056 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3057 if (SWIG_arg_fail(1)) SWIG_fail
;
3059 arg2
= (int)(SWIG_As_int(obj1
));
3060 if (SWIG_arg_fail(2)) SWIG_fail
;
3063 arg3
= (int)(SWIG_As_int(obj2
));
3064 if (SWIG_arg_fail(3)) SWIG_fail
;
3067 arg4
= (int)(SWIG_As_int(obj3
));
3068 if (SWIG_arg_fail(4)) SWIG_fail
;
3071 arg5
= (int)(SWIG_As_int(obj4
));
3072 if (SWIG_arg_fail(5)) SWIG_fail
;
3076 arg6
= (int)(SWIG_As_int(obj5
));
3077 if (SWIG_arg_fail(6)) SWIG_fail
;
3082 arg7
= (int)(SWIG_As_int(obj6
));
3083 if (SWIG_arg_fail(7)) SWIG_fail
;
3088 arg8
= (bool)(SWIG_As_bool(obj7
));
3089 if (SWIG_arg_fail(8)) SWIG_fail
;
3093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3094 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
3096 wxPyEndAllowThreads(__tstate
);
3097 if (PyErr_Occurred()) SWIG_fail
;
3099 Py_INCREF(Py_None
); resultobj
= Py_None
;
3106 static PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3107 PyObject
*resultobj
;
3108 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3111 PyObject
* obj0
= 0 ;
3112 PyObject
* obj1
= 0 ;
3113 PyObject
* obj2
= 0 ;
3115 (char *) "self",(char *) "x",(char *) "y", NULL
3118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3119 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3120 if (SWIG_arg_fail(1)) SWIG_fail
;
3122 arg2
= (int)(SWIG_As_int(obj1
));
3123 if (SWIG_arg_fail(2)) SWIG_fail
;
3126 arg3
= (int)(SWIG_As_int(obj2
));
3127 if (SWIG_arg_fail(3)) SWIG_fail
;
3130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3131 (arg1
)->Scroll(arg2
,arg3
);
3133 wxPyEndAllowThreads(__tstate
);
3134 if (PyErr_Occurred()) SWIG_fail
;
3136 Py_INCREF(Py_None
); resultobj
= Py_None
;
3143 static PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3144 PyObject
*resultobj
;
3145 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3148 PyObject
* obj0
= 0 ;
3149 PyObject
* obj1
= 0 ;
3151 (char *) "self",(char *) "orient", NULL
3154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3156 if (SWIG_arg_fail(1)) SWIG_fail
;
3158 arg2
= (int)(SWIG_As_int(obj1
));
3159 if (SWIG_arg_fail(2)) SWIG_fail
;
3162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3163 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
3165 wxPyEndAllowThreads(__tstate
);
3166 if (PyErr_Occurred()) SWIG_fail
;
3169 resultobj
= SWIG_From_int((int)(result
));
3177 static PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3178 PyObject
*resultobj
;
3179 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3182 PyObject
* obj0
= 0 ;
3183 PyObject
* obj1
= 0 ;
3184 PyObject
* obj2
= 0 ;
3186 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
3189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3190 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3191 if (SWIG_arg_fail(1)) SWIG_fail
;
3193 arg2
= (int)(SWIG_As_int(obj1
));
3194 if (SWIG_arg_fail(2)) SWIG_fail
;
3197 arg3
= (int)(SWIG_As_int(obj2
));
3198 if (SWIG_arg_fail(3)) SWIG_fail
;
3201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3202 (arg1
)->SetScrollPageSize(arg2
,arg3
);
3204 wxPyEndAllowThreads(__tstate
);
3205 if (PyErr_Occurred()) SWIG_fail
;
3207 Py_INCREF(Py_None
); resultobj
= Py_None
;
3214 static PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3215 PyObject
*resultobj
;
3216 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3219 PyObject
* obj0
= 0 ;
3220 PyObject
* obj1
= 0 ;
3221 PyObject
* obj2
= 0 ;
3223 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
3226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3228 if (SWIG_arg_fail(1)) SWIG_fail
;
3230 arg2
= (int)(SWIG_As_int(obj1
));
3231 if (SWIG_arg_fail(2)) SWIG_fail
;
3234 arg3
= (int)(SWIG_As_int(obj2
));
3235 if (SWIG_arg_fail(3)) SWIG_fail
;
3238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3239 (arg1
)->SetScrollRate(arg2
,arg3
);
3241 wxPyEndAllowThreads(__tstate
);
3242 if (PyErr_Occurred()) SWIG_fail
;
3244 Py_INCREF(Py_None
); resultobj
= Py_None
;
3251 static PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3252 PyObject
*resultobj
;
3253 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3254 int *arg2
= (int *) 0 ;
3255 int *arg3
= (int *) 0 ;
3260 PyObject
* obj0
= 0 ;
3262 (char *) "self", NULL
3265 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3266 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames
,&obj0
)) goto fail
;
3268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3269 if (SWIG_arg_fail(1)) SWIG_fail
;
3271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3272 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
3274 wxPyEndAllowThreads(__tstate
);
3275 if (PyErr_Occurred()) SWIG_fail
;
3277 Py_INCREF(Py_None
); resultobj
= Py_None
;
3278 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3279 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3280 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3281 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
3288 static PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3289 PyObject
*resultobj
;
3290 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3293 PyObject
* obj0
= 0 ;
3294 PyObject
* obj1
= 0 ;
3295 PyObject
* obj2
= 0 ;
3297 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
3300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3301 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3302 if (SWIG_arg_fail(1)) SWIG_fail
;
3304 arg2
= (bool)(SWIG_As_bool(obj1
));
3305 if (SWIG_arg_fail(2)) SWIG_fail
;
3308 arg3
= (bool)(SWIG_As_bool(obj2
));
3309 if (SWIG_arg_fail(3)) SWIG_fail
;
3312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3313 (arg1
)->EnableScrolling(arg2
,arg3
);
3315 wxPyEndAllowThreads(__tstate
);
3316 if (PyErr_Occurred()) SWIG_fail
;
3318 Py_INCREF(Py_None
); resultobj
= Py_None
;
3325 static PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3326 PyObject
*resultobj
;
3327 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3328 int *arg2
= (int *) 0 ;
3329 int *arg3
= (int *) 0 ;
3334 PyObject
* obj0
= 0 ;
3336 (char *) "self", NULL
3339 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3340 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetViewStart",kwnames
,&obj0
)) goto fail
;
3342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3343 if (SWIG_arg_fail(1)) SWIG_fail
;
3345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3346 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
3348 wxPyEndAllowThreads(__tstate
);
3349 if (PyErr_Occurred()) SWIG_fail
;
3351 Py_INCREF(Py_None
); resultobj
= Py_None
;
3352 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3353 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
3354 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3355 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
3362 static PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3363 PyObject
*resultobj
;
3364 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3367 PyObject
* obj0
= 0 ;
3368 PyObject
* obj1
= 0 ;
3369 PyObject
* obj2
= 0 ;
3371 (char *) "self",(char *) "xs",(char *) "ys", NULL
3374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3376 if (SWIG_arg_fail(1)) SWIG_fail
;
3378 arg2
= (double)(SWIG_As_double(obj1
));
3379 if (SWIG_arg_fail(2)) SWIG_fail
;
3382 arg3
= (double)(SWIG_As_double(obj2
));
3383 if (SWIG_arg_fail(3)) SWIG_fail
;
3386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3387 (arg1
)->SetScale(arg2
,arg3
);
3389 wxPyEndAllowThreads(__tstate
);
3390 if (PyErr_Occurred()) SWIG_fail
;
3392 Py_INCREF(Py_None
); resultobj
= Py_None
;
3399 static PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3400 PyObject
*resultobj
;
3401 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3403 PyObject
* obj0
= 0 ;
3405 (char *) "self", NULL
3408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleX",kwnames
,&obj0
)) goto fail
;
3409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3410 if (SWIG_arg_fail(1)) SWIG_fail
;
3412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3413 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
3415 wxPyEndAllowThreads(__tstate
);
3416 if (PyErr_Occurred()) SWIG_fail
;
3419 resultobj
= SWIG_From_double((double)(result
));
3427 static PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3428 PyObject
*resultobj
;
3429 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3431 PyObject
* obj0
= 0 ;
3433 (char *) "self", NULL
3436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetScaleY",kwnames
,&obj0
)) goto fail
;
3437 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3438 if (SWIG_arg_fail(1)) SWIG_fail
;
3440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3441 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
3443 wxPyEndAllowThreads(__tstate
);
3444 if (PyErr_Occurred()) SWIG_fail
;
3447 resultobj
= SWIG_From_double((double)(result
));
3455 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
3456 PyObject
*resultobj
;
3457 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3461 PyObject
* obj0
= 0 ;
3462 PyObject
* obj1
= 0 ;
3464 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
)) goto fail
;
3465 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3466 if (SWIG_arg_fail(1)) SWIG_fail
;
3469 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3473 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
3475 wxPyEndAllowThreads(__tstate
);
3476 if (PyErr_Occurred()) SWIG_fail
;
3479 wxPoint
* resultptr
;
3480 resultptr
= new wxPoint((wxPoint
&)(result
));
3481 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3489 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
3490 PyObject
*resultobj
;
3491 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3494 int *arg4
= (int *) 0 ;
3495 int *arg5
= (int *) 0 ;
3500 PyObject
* obj0
= 0 ;
3501 PyObject
* obj1
= 0 ;
3502 PyObject
* obj2
= 0 ;
3504 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3505 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3506 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
3507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3508 if (SWIG_arg_fail(1)) SWIG_fail
;
3510 arg2
= (int)(SWIG_As_int(obj1
));
3511 if (SWIG_arg_fail(2)) SWIG_fail
;
3514 arg3
= (int)(SWIG_As_int(obj2
));
3515 if (SWIG_arg_fail(3)) SWIG_fail
;
3518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3519 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
3521 wxPyEndAllowThreads(__tstate
);
3522 if (PyErr_Occurred()) SWIG_fail
;
3524 Py_INCREF(Py_None
); resultobj
= Py_None
;
3525 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3526 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
3527 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3528 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
3535 static PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
3540 argc
= PyObject_Length(args
);
3541 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
3542 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3548 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3557 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
3560 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
,args
);
3568 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3576 _v
= SWIG_Check_int(argv
[1]);
3578 _v
= SWIG_Check_int(argv
[2]);
3580 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
,args
);
3586 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
3591 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*, PyObject
*args
) {
3592 PyObject
*resultobj
;
3593 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3597 PyObject
* obj0
= 0 ;
3598 PyObject
* obj1
= 0 ;
3600 if(!PyArg_ParseTuple(args
,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
)) goto fail
;
3601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3602 if (SWIG_arg_fail(1)) SWIG_fail
;
3605 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3609 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
3611 wxPyEndAllowThreads(__tstate
);
3612 if (PyErr_Occurred()) SWIG_fail
;
3615 wxPoint
* resultptr
;
3616 resultptr
= new wxPoint((wxPoint
&)(result
));
3617 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3625 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*, PyObject
*args
) {
3626 PyObject
*resultobj
;
3627 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3630 int *arg4
= (int *) 0 ;
3631 int *arg5
= (int *) 0 ;
3636 PyObject
* obj0
= 0 ;
3637 PyObject
* obj1
= 0 ;
3638 PyObject
* obj2
= 0 ;
3640 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
3641 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
3642 if(!PyArg_ParseTuple(args
,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
3643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3644 if (SWIG_arg_fail(1)) SWIG_fail
;
3646 arg2
= (int)(SWIG_As_int(obj1
));
3647 if (SWIG_arg_fail(2)) SWIG_fail
;
3650 arg3
= (int)(SWIG_As_int(obj2
));
3651 if (SWIG_arg_fail(3)) SWIG_fail
;
3654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3655 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
3657 wxPyEndAllowThreads(__tstate
);
3658 if (PyErr_Occurred()) SWIG_fail
;
3660 Py_INCREF(Py_None
); resultobj
= Py_None
;
3661 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
3662 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
3663 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
3664 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
3671 static PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
3676 argc
= PyObject_Length(args
);
3677 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
3678 argv
[ii
] = PyTuple_GetItem(args
,ii
);
3684 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3693 _v
= wxPySimple_typecheck(argv
[1], wxT("wxPoint"), 2);
3696 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
,args
);
3704 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxScrolledWindow
, 0) == -1) {
3712 _v
= SWIG_Check_int(argv
[1]);
3714 _v
= SWIG_Check_int(argv
[2]);
3716 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
,args
);
3722 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
3727 static PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3728 PyObject
*resultobj
;
3729 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3730 PyObject
* obj0
= 0 ;
3732 (char *) "self", NULL
3735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames
,&obj0
)) goto fail
;
3736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3737 if (SWIG_arg_fail(1)) SWIG_fail
;
3739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3740 (arg1
)->AdjustScrollbars();
3742 wxPyEndAllowThreads(__tstate
);
3743 if (PyErr_Occurred()) SWIG_fail
;
3745 Py_INCREF(Py_None
); resultobj
= Py_None
;
3752 static PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3753 PyObject
*resultobj
;
3754 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3755 wxScrollWinEvent
*arg2
= 0 ;
3757 PyObject
* obj0
= 0 ;
3758 PyObject
* obj1
= 0 ;
3760 (char *) "self",(char *) "event", NULL
3763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) goto fail
;
3764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3765 if (SWIG_arg_fail(1)) SWIG_fail
;
3767 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxScrollWinEvent
, SWIG_POINTER_EXCEPTION
| 0);
3768 if (SWIG_arg_fail(2)) SWIG_fail
;
3770 SWIG_null_ref("wxScrollWinEvent");
3772 if (SWIG_arg_fail(2)) SWIG_fail
;
3775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3776 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
3778 wxPyEndAllowThreads(__tstate
);
3779 if (PyErr_Occurred()) SWIG_fail
;
3782 resultobj
= SWIG_From_int((int)(result
));
3790 static PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3791 PyObject
*resultobj
;
3792 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3793 wxWindow
*arg2
= (wxWindow
*) 0 ;
3794 PyObject
* obj0
= 0 ;
3795 PyObject
* obj1
= 0 ;
3797 (char *) "self",(char *) "target", NULL
3800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
3801 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3802 if (SWIG_arg_fail(1)) SWIG_fail
;
3803 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
3804 if (SWIG_arg_fail(2)) SWIG_fail
;
3806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3807 (arg1
)->SetTargetWindow(arg2
);
3809 wxPyEndAllowThreads(__tstate
);
3810 if (PyErr_Occurred()) SWIG_fail
;
3812 Py_INCREF(Py_None
); resultobj
= Py_None
;
3819 static PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3820 PyObject
*resultobj
;
3821 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3823 PyObject
* obj0
= 0 ;
3825 (char *) "self", NULL
3828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames
,&obj0
)) goto fail
;
3829 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3830 if (SWIG_arg_fail(1)) SWIG_fail
;
3832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3833 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
3835 wxPyEndAllowThreads(__tstate
);
3836 if (PyErr_Occurred()) SWIG_fail
;
3839 resultobj
= wxPyMake_wxObject(result
, 0);
3847 static PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3848 PyObject
*resultobj
;
3849 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3852 PyObject
* obj0
= 0 ;
3853 PyObject
* obj1
= 0 ;
3855 (char *) "self",(char *) "rect", NULL
3858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
3859 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3860 if (SWIG_arg_fail(1)) SWIG_fail
;
3863 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3867 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
3869 wxPyEndAllowThreads(__tstate
);
3870 if (PyErr_Occurred()) SWIG_fail
;
3872 Py_INCREF(Py_None
); resultobj
= Py_None
;
3879 static PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3880 PyObject
*resultobj
;
3881 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3883 PyObject
* obj0
= 0 ;
3885 (char *) "self", NULL
3888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrolledWindow_GetTargetRect",kwnames
,&obj0
)) goto fail
;
3889 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3890 if (SWIG_arg_fail(1)) SWIG_fail
;
3892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3893 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
3895 wxPyEndAllowThreads(__tstate
);
3896 if (PyErr_Occurred()) SWIG_fail
;
3900 resultptr
= new wxRect((wxRect
&)(result
));
3901 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
3909 static PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3910 PyObject
*resultobj
;
3911 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
3913 PyObject
* obj0
= 0 ;
3914 PyObject
* obj1
= 0 ;
3916 (char *) "self",(char *) "dc", NULL
3919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
3920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
3921 if (SWIG_arg_fail(1)) SWIG_fail
;
3923 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
3924 if (SWIG_arg_fail(2)) SWIG_fail
;
3926 SWIG_null_ref("wxDC");
3928 if (SWIG_arg_fail(2)) SWIG_fail
;
3931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3932 (arg1
)->DoPrepareDC(*arg2
);
3934 wxPyEndAllowThreads(__tstate
);
3935 if (PyErr_Occurred()) SWIG_fail
;
3937 Py_INCREF(Py_None
); resultobj
= Py_None
;
3944 static PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3945 PyObject
*resultobj
;
3946 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3947 wxVisualAttributes result
;
3948 PyObject
* obj0
= 0 ;
3950 (char *) "variant", NULL
3953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3956 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
3957 if (SWIG_arg_fail(1)) SWIG_fail
;
3961 if (!wxPyCheckForApp()) SWIG_fail
;
3962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3963 result
= wxScrolledWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3965 wxPyEndAllowThreads(__tstate
);
3966 if (PyErr_Occurred()) SWIG_fail
;
3969 wxVisualAttributes
* resultptr
;
3970 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
3971 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3979 static PyObject
* ScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
3981 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3982 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow
, obj
);
3984 return Py_BuildValue((char *)"");
3986 static int _wrap_FrameNameStr_set(PyObject
*) {
3987 PyErr_SetString(PyExc_TypeError
,"Variable FrameNameStr is read-only.");
3992 static PyObject
*_wrap_FrameNameStr_get(void) {
3997 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
3999 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
4006 static int _wrap_DialogNameStr_set(PyObject
*) {
4007 PyErr_SetString(PyExc_TypeError
,"Variable DialogNameStr is read-only.");
4012 static PyObject
*_wrap_DialogNameStr_get(void) {
4017 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
4019 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
4026 static int _wrap_StatusLineNameStr_set(PyObject
*) {
4027 PyErr_SetString(PyExc_TypeError
,"Variable StatusLineNameStr is read-only.");
4032 static PyObject
*_wrap_StatusLineNameStr_get(void) {
4037 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
4039 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
4046 static int _wrap_ToolBarNameStr_set(PyObject
*) {
4047 PyErr_SetString(PyExc_TypeError
,"Variable ToolBarNameStr is read-only.");
4052 static PyObject
*_wrap_ToolBarNameStr_get(void) {
4057 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
4059 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
4066 static PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4067 PyObject
*resultobj
;
4068 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4069 bool arg2
= (bool) true ;
4070 PyObject
* obj0
= 0 ;
4071 PyObject
* obj1
= 0 ;
4073 (char *) "self",(char *) "maximize", NULL
4076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
4077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4078 if (SWIG_arg_fail(1)) SWIG_fail
;
4081 arg2
= (bool)(SWIG_As_bool(obj1
));
4082 if (SWIG_arg_fail(2)) SWIG_fail
;
4086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4087 (arg1
)->Maximize(arg2
);
4089 wxPyEndAllowThreads(__tstate
);
4090 if (PyErr_Occurred()) SWIG_fail
;
4092 Py_INCREF(Py_None
); resultobj
= Py_None
;
4099 static PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4100 PyObject
*resultobj
;
4101 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4102 PyObject
* obj0
= 0 ;
4104 (char *) "self", NULL
4107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_Restore",kwnames
,&obj0
)) goto fail
;
4108 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4109 if (SWIG_arg_fail(1)) SWIG_fail
;
4111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4114 wxPyEndAllowThreads(__tstate
);
4115 if (PyErr_Occurred()) SWIG_fail
;
4117 Py_INCREF(Py_None
); resultobj
= Py_None
;
4124 static PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4125 PyObject
*resultobj
;
4126 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4127 bool arg2
= (bool) true ;
4128 PyObject
* obj0
= 0 ;
4129 PyObject
* obj1
= 0 ;
4131 (char *) "self",(char *) "iconize", NULL
4134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) goto fail
;
4135 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4136 if (SWIG_arg_fail(1)) SWIG_fail
;
4139 arg2
= (bool)(SWIG_As_bool(obj1
));
4140 if (SWIG_arg_fail(2)) SWIG_fail
;
4144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4145 (arg1
)->Iconize(arg2
);
4147 wxPyEndAllowThreads(__tstate
);
4148 if (PyErr_Occurred()) SWIG_fail
;
4150 Py_INCREF(Py_None
); resultobj
= Py_None
;
4157 static PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4158 PyObject
*resultobj
;
4159 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4161 PyObject
* obj0
= 0 ;
4163 (char *) "self", NULL
4166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsMaximized",kwnames
,&obj0
)) goto fail
;
4167 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4168 if (SWIG_arg_fail(1)) SWIG_fail
;
4170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4171 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
4173 wxPyEndAllowThreads(__tstate
);
4174 if (PyErr_Occurred()) SWIG_fail
;
4177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4185 static PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4186 PyObject
*resultobj
;
4187 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4189 PyObject
* obj0
= 0 ;
4191 (char *) "self", NULL
4194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsIconized",kwnames
,&obj0
)) goto fail
;
4195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4196 if (SWIG_arg_fail(1)) SWIG_fail
;
4198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4199 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
4201 wxPyEndAllowThreads(__tstate
);
4202 if (PyErr_Occurred()) SWIG_fail
;
4205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4213 static PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4214 PyObject
*resultobj
;
4215 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4217 PyObject
* obj0
= 0 ;
4219 (char *) "self", NULL
4222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetIcon",kwnames
,&obj0
)) goto fail
;
4223 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4224 if (SWIG_arg_fail(1)) SWIG_fail
;
4226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4227 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
4229 wxPyEndAllowThreads(__tstate
);
4230 if (PyErr_Occurred()) SWIG_fail
;
4234 resultptr
= new wxIcon((wxIcon
&)(result
));
4235 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
4243 static PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4244 PyObject
*resultobj
;
4245 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4247 PyObject
* obj0
= 0 ;
4248 PyObject
* obj1
= 0 ;
4250 (char *) "self",(char *) "icon", NULL
4253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
4254 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4255 if (SWIG_arg_fail(1)) SWIG_fail
;
4257 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
4258 if (SWIG_arg_fail(2)) SWIG_fail
;
4260 SWIG_null_ref("wxIcon");
4262 if (SWIG_arg_fail(2)) SWIG_fail
;
4265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4266 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
4268 wxPyEndAllowThreads(__tstate
);
4269 if (PyErr_Occurred()) SWIG_fail
;
4271 Py_INCREF(Py_None
); resultobj
= Py_None
;
4278 static PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4279 PyObject
*resultobj
;
4280 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4281 wxIconBundle
*arg2
= 0 ;
4282 PyObject
* obj0
= 0 ;
4283 PyObject
* obj1
= 0 ;
4285 (char *) "self",(char *) "icons", NULL
4288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) goto fail
;
4289 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4290 if (SWIG_arg_fail(1)) SWIG_fail
;
4292 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIconBundle
, SWIG_POINTER_EXCEPTION
| 0);
4293 if (SWIG_arg_fail(2)) SWIG_fail
;
4295 SWIG_null_ref("wxIconBundle");
4297 if (SWIG_arg_fail(2)) SWIG_fail
;
4300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4301 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
4303 wxPyEndAllowThreads(__tstate
);
4304 if (PyErr_Occurred()) SWIG_fail
;
4306 Py_INCREF(Py_None
); resultobj
= Py_None
;
4313 static PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4314 PyObject
*resultobj
;
4315 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4317 long arg3
= (long) wxFULLSCREEN_ALL
;
4319 PyObject
* obj0
= 0 ;
4320 PyObject
* obj1
= 0 ;
4321 PyObject
* obj2
= 0 ;
4323 (char *) "self",(char *) "show",(char *) "style", NULL
4326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4327 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4328 if (SWIG_arg_fail(1)) SWIG_fail
;
4330 arg2
= (bool)(SWIG_As_bool(obj1
));
4331 if (SWIG_arg_fail(2)) SWIG_fail
;
4335 arg3
= (long)(SWIG_As_long(obj2
));
4336 if (SWIG_arg_fail(3)) SWIG_fail
;
4340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4341 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
4343 wxPyEndAllowThreads(__tstate
);
4344 if (PyErr_Occurred()) SWIG_fail
;
4347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4355 static PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4356 PyObject
*resultobj
;
4357 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4359 PyObject
* obj0
= 0 ;
4361 (char *) "self", NULL
4364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsFullScreen",kwnames
,&obj0
)) goto fail
;
4365 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4366 if (SWIG_arg_fail(1)) SWIG_fail
;
4368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4369 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
4371 wxPyEndAllowThreads(__tstate
);
4372 if (PyErr_Occurred()) SWIG_fail
;
4375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4383 static PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4384 PyObject
*resultobj
;
4385 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4386 wxString
*arg2
= 0 ;
4387 bool temp2
= false ;
4388 PyObject
* obj0
= 0 ;
4389 PyObject
* obj1
= 0 ;
4391 (char *) "self",(char *) "title", NULL
4394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
4395 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4396 if (SWIG_arg_fail(1)) SWIG_fail
;
4398 arg2
= wxString_in_helper(obj1
);
4399 if (arg2
== NULL
) SWIG_fail
;
4403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4404 (arg1
)->SetTitle((wxString
const &)*arg2
);
4406 wxPyEndAllowThreads(__tstate
);
4407 if (PyErr_Occurred()) SWIG_fail
;
4409 Py_INCREF(Py_None
); resultobj
= Py_None
;
4424 static PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4425 PyObject
*resultobj
;
4426 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4428 PyObject
* obj0
= 0 ;
4430 (char *) "self", NULL
4433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_GetTitle",kwnames
,&obj0
)) goto fail
;
4434 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4435 if (SWIG_arg_fail(1)) SWIG_fail
;
4437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4438 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
4440 wxPyEndAllowThreads(__tstate
);
4441 if (PyErr_Occurred()) SWIG_fail
;
4445 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4447 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4456 static PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4457 PyObject
*resultobj
;
4458 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4459 wxRegion
*arg2
= 0 ;
4461 PyObject
* obj0
= 0 ;
4462 PyObject
* obj1
= 0 ;
4464 (char *) "self",(char *) "region", NULL
4467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) goto fail
;
4468 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4469 if (SWIG_arg_fail(1)) SWIG_fail
;
4471 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxRegion
, SWIG_POINTER_EXCEPTION
| 0);
4472 if (SWIG_arg_fail(2)) SWIG_fail
;
4474 SWIG_null_ref("wxRegion");
4476 if (SWIG_arg_fail(2)) SWIG_fail
;
4479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4480 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
4482 wxPyEndAllowThreads(__tstate
);
4483 if (PyErr_Occurred()) SWIG_fail
;
4486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4494 static PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4495 PyObject
*resultobj
;
4496 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4497 int arg2
= (int) wxUSER_ATTENTION_INFO
;
4498 PyObject
* obj0
= 0 ;
4499 PyObject
* obj1
= 0 ;
4501 (char *) "self",(char *) "flags", NULL
4504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) goto fail
;
4505 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4506 if (SWIG_arg_fail(1)) SWIG_fail
;
4509 arg2
= (int)(SWIG_As_int(obj1
));
4510 if (SWIG_arg_fail(2)) SWIG_fail
;
4514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4515 (arg1
)->RequestUserAttention(arg2
);
4517 wxPyEndAllowThreads(__tstate
);
4518 if (PyErr_Occurred()) SWIG_fail
;
4520 Py_INCREF(Py_None
); resultobj
= Py_None
;
4527 static PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4528 PyObject
*resultobj
;
4529 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4531 PyObject
* obj0
= 0 ;
4533 (char *) "self", NULL
4536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_IsActive",kwnames
,&obj0
)) goto fail
;
4537 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4538 if (SWIG_arg_fail(1)) SWIG_fail
;
4540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4541 result
= (bool)(arg1
)->IsActive();
4543 wxPyEndAllowThreads(__tstate
);
4544 if (PyErr_Occurred()) SWIG_fail
;
4547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4555 static PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4556 PyObject
*resultobj
;
4557 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4559 PyObject
* obj0
= 0 ;
4560 PyObject
* obj1
= 0 ;
4562 (char *) "self",(char *) "on", NULL
4565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) goto fail
;
4566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4567 if (SWIG_arg_fail(1)) SWIG_fail
;
4569 arg2
= (bool)(SWIG_As_bool(obj1
));
4570 if (SWIG_arg_fail(2)) SWIG_fail
;
4573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4574 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
4576 wxPyEndAllowThreads(__tstate
);
4577 if (PyErr_Occurred()) SWIG_fail
;
4579 Py_INCREF(Py_None
); resultobj
= Py_None
;
4586 static PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4587 PyObject
*resultobj
;
4588 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
4590 PyObject
* obj0
= 0 ;
4592 (char *) "self", NULL
4595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TopLevelWindow_MacGetMetalAppearance",kwnames
,&obj0
)) goto fail
;
4596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTopLevelWindow
, SWIG_POINTER_EXCEPTION
| 0);
4597 if (SWIG_arg_fail(1)) SWIG_fail
;
4599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4600 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
4602 wxPyEndAllowThreads(__tstate
);
4603 if (PyErr_Occurred()) SWIG_fail
;
4606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4614 static PyObject
* TopLevelWindow_swigregister(PyObject
*, PyObject
*args
) {
4616 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4617 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow
, obj
);
4619 return Py_BuildValue((char *)"");
4621 static PyObject
*_wrap_new_Frame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4622 PyObject
*resultobj
;
4623 wxWindow
*arg1
= (wxWindow
*) 0 ;
4624 int arg2
= (int) (int)-1 ;
4625 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4626 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4627 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4628 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4629 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4630 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4631 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
4632 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
4633 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4635 bool temp3
= false ;
4638 bool temp7
= false ;
4639 PyObject
* obj0
= 0 ;
4640 PyObject
* obj1
= 0 ;
4641 PyObject
* obj2
= 0 ;
4642 PyObject
* obj3
= 0 ;
4643 PyObject
* obj4
= 0 ;
4644 PyObject
* obj5
= 0 ;
4645 PyObject
* obj6
= 0 ;
4647 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4652 if (SWIG_arg_fail(1)) SWIG_fail
;
4655 arg2
= (int const)(SWIG_As_int(obj1
));
4656 if (SWIG_arg_fail(2)) SWIG_fail
;
4661 arg3
= wxString_in_helper(obj2
);
4662 if (arg3
== NULL
) SWIG_fail
;
4669 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4675 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4680 arg6
= (long)(SWIG_As_long(obj5
));
4681 if (SWIG_arg_fail(6)) SWIG_fail
;
4686 arg7
= wxString_in_helper(obj6
);
4687 if (arg7
== NULL
) SWIG_fail
;
4692 if (!wxPyCheckForApp()) SWIG_fail
;
4693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4694 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4696 wxPyEndAllowThreads(__tstate
);
4697 if (PyErr_Occurred()) SWIG_fail
;
4699 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
4722 static PyObject
*_wrap_new_PreFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4723 PyObject
*resultobj
;
4729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFrame",kwnames
)) goto fail
;
4731 if (!wxPyCheckForApp()) SWIG_fail
;
4732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4733 result
= (wxFrame
*)new wxFrame();
4735 wxPyEndAllowThreads(__tstate
);
4736 if (PyErr_Occurred()) SWIG_fail
;
4738 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFrame
, 1);
4745 static PyObject
*_wrap_Frame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4746 PyObject
*resultobj
;
4747 wxFrame
*arg1
= (wxFrame
*) 0 ;
4748 wxWindow
*arg2
= (wxWindow
*) 0 ;
4749 int arg3
= (int) (int)-1 ;
4750 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4751 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4752 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4753 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4754 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4755 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4756 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
4757 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
4758 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4760 bool temp4
= false ;
4763 bool temp8
= false ;
4764 PyObject
* obj0
= 0 ;
4765 PyObject
* obj1
= 0 ;
4766 PyObject
* obj2
= 0 ;
4767 PyObject
* obj3
= 0 ;
4768 PyObject
* obj4
= 0 ;
4769 PyObject
* obj5
= 0 ;
4770 PyObject
* obj6
= 0 ;
4771 PyObject
* obj7
= 0 ;
4773 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4778 if (SWIG_arg_fail(1)) SWIG_fail
;
4779 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
4780 if (SWIG_arg_fail(2)) SWIG_fail
;
4783 arg3
= (int const)(SWIG_As_int(obj2
));
4784 if (SWIG_arg_fail(3)) SWIG_fail
;
4789 arg4
= wxString_in_helper(obj3
);
4790 if (arg4
== NULL
) SWIG_fail
;
4797 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4803 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4808 arg7
= (long)(SWIG_As_long(obj6
));
4809 if (SWIG_arg_fail(7)) SWIG_fail
;
4814 arg8
= wxString_in_helper(obj7
);
4815 if (arg8
== NULL
) SWIG_fail
;
4820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4821 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4823 wxPyEndAllowThreads(__tstate
);
4824 if (PyErr_Occurred()) SWIG_fail
;
4827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4851 static PyObject
*_wrap_Frame_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4852 PyObject
*resultobj
;
4853 wxFrame
*arg1
= (wxFrame
*) 0 ;
4855 PyObject
* obj0
= 0 ;
4857 (char *) "self", NULL
4860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
4861 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4862 if (SWIG_arg_fail(1)) SWIG_fail
;
4864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4865 result
= ((wxFrame
const *)arg1
)->GetClientAreaOrigin();
4867 wxPyEndAllowThreads(__tstate
);
4868 if (PyErr_Occurred()) SWIG_fail
;
4871 wxPoint
* resultptr
;
4872 resultptr
= new wxPoint((wxPoint
&)(result
));
4873 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4881 static PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4882 PyObject
*resultobj
;
4883 wxFrame
*arg1
= (wxFrame
*) 0 ;
4884 PyObject
* obj0
= 0 ;
4886 (char *) "self", NULL
4889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_SendSizeEvent",kwnames
,&obj0
)) goto fail
;
4890 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4891 if (SWIG_arg_fail(1)) SWIG_fail
;
4893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4894 (arg1
)->SendSizeEvent();
4896 wxPyEndAllowThreads(__tstate
);
4897 if (PyErr_Occurred()) SWIG_fail
;
4899 Py_INCREF(Py_None
); resultobj
= Py_None
;
4906 static PyObject
*_wrap_Frame_SetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4907 PyObject
*resultobj
;
4908 wxFrame
*arg1
= (wxFrame
*) 0 ;
4909 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
4910 PyObject
* obj0
= 0 ;
4911 PyObject
* obj1
= 0 ;
4913 (char *) "self",(char *) "menubar", NULL
4916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) goto fail
;
4917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4918 if (SWIG_arg_fail(1)) SWIG_fail
;
4919 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenuBar
, SWIG_POINTER_EXCEPTION
| 0);
4920 if (SWIG_arg_fail(2)) SWIG_fail
;
4922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4923 (arg1
)->SetMenuBar(arg2
);
4925 wxPyEndAllowThreads(__tstate
);
4926 if (PyErr_Occurred()) SWIG_fail
;
4928 Py_INCREF(Py_None
); resultobj
= Py_None
;
4935 static PyObject
*_wrap_Frame_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4936 PyObject
*resultobj
;
4937 wxFrame
*arg1
= (wxFrame
*) 0 ;
4939 PyObject
* obj0
= 0 ;
4941 (char *) "self", NULL
4944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetMenuBar",kwnames
,&obj0
)) goto fail
;
4945 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4946 if (SWIG_arg_fail(1)) SWIG_fail
;
4948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4949 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
4951 wxPyEndAllowThreads(__tstate
);
4952 if (PyErr_Occurred()) SWIG_fail
;
4955 resultobj
= wxPyMake_wxObject(result
, 0);
4963 static PyObject
*_wrap_Frame_ProcessCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4964 PyObject
*resultobj
;
4965 wxFrame
*arg1
= (wxFrame
*) 0 ;
4968 PyObject
* obj0
= 0 ;
4969 PyObject
* obj1
= 0 ;
4971 (char *) "self",(char *) "winid", NULL
4974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
4975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
4976 if (SWIG_arg_fail(1)) SWIG_fail
;
4978 arg2
= (int)(SWIG_As_int(obj1
));
4979 if (SWIG_arg_fail(2)) SWIG_fail
;
4982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4983 result
= (bool)(arg1
)->ProcessCommand(arg2
);
4985 wxPyEndAllowThreads(__tstate
);
4986 if (PyErr_Occurred()) SWIG_fail
;
4989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4997 static PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4998 PyObject
*resultobj
;
4999 wxFrame
*arg1
= (wxFrame
*) 0 ;
5000 int arg2
= (int) 1 ;
5001 long arg3
= (long) wxST_SIZEGRIP
;
5002 int arg4
= (int) 0 ;
5003 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
5004 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
5005 wxStatusBar
*result
;
5006 bool temp5
= false ;
5007 PyObject
* obj0
= 0 ;
5008 PyObject
* obj1
= 0 ;
5009 PyObject
* obj2
= 0 ;
5010 PyObject
* obj3
= 0 ;
5011 PyObject
* obj4
= 0 ;
5013 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
5016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5018 if (SWIG_arg_fail(1)) SWIG_fail
;
5021 arg2
= (int)(SWIG_As_int(obj1
));
5022 if (SWIG_arg_fail(2)) SWIG_fail
;
5027 arg3
= (long)(SWIG_As_long(obj2
));
5028 if (SWIG_arg_fail(3)) SWIG_fail
;
5033 arg4
= (int)(SWIG_As_int(obj3
));
5034 if (SWIG_arg_fail(4)) SWIG_fail
;
5039 arg5
= wxString_in_helper(obj4
);
5040 if (arg5
== NULL
) SWIG_fail
;
5045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5046 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
5048 wxPyEndAllowThreads(__tstate
);
5049 if (PyErr_Occurred()) SWIG_fail
;
5052 resultobj
= wxPyMake_wxObject(result
, 0);
5068 static PyObject
*_wrap_Frame_GetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5069 PyObject
*resultobj
;
5070 wxFrame
*arg1
= (wxFrame
*) 0 ;
5071 wxStatusBar
*result
;
5072 PyObject
* obj0
= 0 ;
5074 (char *) "self", NULL
5077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBar",kwnames
,&obj0
)) goto fail
;
5078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5079 if (SWIG_arg_fail(1)) SWIG_fail
;
5081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5082 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
5084 wxPyEndAllowThreads(__tstate
);
5085 if (PyErr_Occurred()) SWIG_fail
;
5088 resultobj
= wxPyMake_wxObject(result
, 0);
5096 static PyObject
*_wrap_Frame_SetStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5097 PyObject
*resultobj
;
5098 wxFrame
*arg1
= (wxFrame
*) 0 ;
5099 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
5100 PyObject
* obj0
= 0 ;
5101 PyObject
* obj1
= 0 ;
5103 (char *) "self",(char *) "statBar", NULL
5106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5108 if (SWIG_arg_fail(1)) SWIG_fail
;
5109 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
5110 if (SWIG_arg_fail(2)) SWIG_fail
;
5112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5113 (arg1
)->SetStatusBar(arg2
);
5115 wxPyEndAllowThreads(__tstate
);
5116 if (PyErr_Occurred()) SWIG_fail
;
5118 Py_INCREF(Py_None
); resultobj
= Py_None
;
5125 static PyObject
*_wrap_Frame_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5126 PyObject
*resultobj
;
5127 wxFrame
*arg1
= (wxFrame
*) 0 ;
5128 wxString
*arg2
= 0 ;
5129 int arg3
= (int) 0 ;
5130 bool temp2
= false ;
5131 PyObject
* obj0
= 0 ;
5132 PyObject
* obj1
= 0 ;
5133 PyObject
* obj2
= 0 ;
5135 (char *) "self",(char *) "text",(char *) "number", NULL
5138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5139 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5140 if (SWIG_arg_fail(1)) SWIG_fail
;
5142 arg2
= wxString_in_helper(obj1
);
5143 if (arg2
== NULL
) SWIG_fail
;
5148 arg3
= (int)(SWIG_As_int(obj2
));
5149 if (SWIG_arg_fail(3)) SWIG_fail
;
5153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5154 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
5156 wxPyEndAllowThreads(__tstate
);
5157 if (PyErr_Occurred()) SWIG_fail
;
5159 Py_INCREF(Py_None
); resultobj
= Py_None
;
5174 static PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5175 PyObject
*resultobj
;
5176 wxFrame
*arg1
= (wxFrame
*) 0 ;
5178 int *arg3
= (int *) 0 ;
5179 PyObject
* obj0
= 0 ;
5180 PyObject
* obj1
= 0 ;
5182 (char *) "self",(char *) "widths", NULL
5185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
5186 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5187 if (SWIG_arg_fail(1)) SWIG_fail
;
5189 arg2
= PyList_Size(obj1
);
5190 arg3
= int_LIST_helper(obj1
);
5191 if (arg3
== NULL
) SWIG_fail
;
5194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5195 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
5197 wxPyEndAllowThreads(__tstate
);
5198 if (PyErr_Occurred()) SWIG_fail
;
5200 Py_INCREF(Py_None
); resultobj
= Py_None
;
5202 if (arg3
) delete [] arg3
;
5207 if (arg3
) delete [] arg3
;
5213 static PyObject
*_wrap_Frame_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5214 PyObject
*resultobj
;
5215 wxFrame
*arg1
= (wxFrame
*) 0 ;
5216 wxString
*arg2
= 0 ;
5217 int arg3
= (int) 0 ;
5218 bool temp2
= false ;
5219 PyObject
* obj0
= 0 ;
5220 PyObject
* obj1
= 0 ;
5221 PyObject
* obj2
= 0 ;
5223 (char *) "self",(char *) "text",(char *) "number", NULL
5226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5227 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5228 if (SWIG_arg_fail(1)) SWIG_fail
;
5230 arg2
= wxString_in_helper(obj1
);
5231 if (arg2
== NULL
) SWIG_fail
;
5236 arg3
= (int)(SWIG_As_int(obj2
));
5237 if (SWIG_arg_fail(3)) SWIG_fail
;
5241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5242 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
5244 wxPyEndAllowThreads(__tstate
);
5245 if (PyErr_Occurred()) SWIG_fail
;
5247 Py_INCREF(Py_None
); resultobj
= Py_None
;
5262 static PyObject
*_wrap_Frame_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5263 PyObject
*resultobj
;
5264 wxFrame
*arg1
= (wxFrame
*) 0 ;
5265 int arg2
= (int) 0 ;
5266 PyObject
* obj0
= 0 ;
5267 PyObject
* obj1
= 0 ;
5269 (char *) "self",(char *) "number", NULL
5272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
5273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5274 if (SWIG_arg_fail(1)) SWIG_fail
;
5277 arg2
= (int)(SWIG_As_int(obj1
));
5278 if (SWIG_arg_fail(2)) SWIG_fail
;
5282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5283 (arg1
)->PopStatusText(arg2
);
5285 wxPyEndAllowThreads(__tstate
);
5286 if (PyErr_Occurred()) SWIG_fail
;
5288 Py_INCREF(Py_None
); resultobj
= Py_None
;
5295 static PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5296 PyObject
*resultobj
;
5297 wxFrame
*arg1
= (wxFrame
*) 0 ;
5299 PyObject
* obj0
= 0 ;
5300 PyObject
* obj1
= 0 ;
5302 (char *) "self",(char *) "n", NULL
5305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) goto fail
;
5306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5307 if (SWIG_arg_fail(1)) SWIG_fail
;
5309 arg2
= (int)(SWIG_As_int(obj1
));
5310 if (SWIG_arg_fail(2)) SWIG_fail
;
5313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5314 (arg1
)->SetStatusBarPane(arg2
);
5316 wxPyEndAllowThreads(__tstate
);
5317 if (PyErr_Occurred()) SWIG_fail
;
5319 Py_INCREF(Py_None
); resultobj
= Py_None
;
5326 static PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5327 PyObject
*resultobj
;
5328 wxFrame
*arg1
= (wxFrame
*) 0 ;
5330 PyObject
* obj0
= 0 ;
5332 (char *) "self", NULL
5335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetStatusBarPane",kwnames
,&obj0
)) goto fail
;
5336 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5337 if (SWIG_arg_fail(1)) SWIG_fail
;
5339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5340 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
5342 wxPyEndAllowThreads(__tstate
);
5343 if (PyErr_Occurred()) SWIG_fail
;
5346 resultobj
= SWIG_From_int((int)(result
));
5354 static PyObject
*_wrap_Frame_CreateToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5355 PyObject
*resultobj
;
5356 wxFrame
*arg1
= (wxFrame
*) 0 ;
5357 long arg2
= (long) -1 ;
5358 int arg3
= (int) -1 ;
5359 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
5360 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5362 bool temp4
= false ;
5363 PyObject
* obj0
= 0 ;
5364 PyObject
* obj1
= 0 ;
5365 PyObject
* obj2
= 0 ;
5366 PyObject
* obj3
= 0 ;
5368 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
5371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5373 if (SWIG_arg_fail(1)) SWIG_fail
;
5376 arg2
= (long)(SWIG_As_long(obj1
));
5377 if (SWIG_arg_fail(2)) SWIG_fail
;
5382 arg3
= (int)(SWIG_As_int(obj2
));
5383 if (SWIG_arg_fail(3)) SWIG_fail
;
5388 arg4
= wxString_in_helper(obj3
);
5389 if (arg4
== NULL
) SWIG_fail
;
5394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5395 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
5397 wxPyEndAllowThreads(__tstate
);
5398 if (PyErr_Occurred()) SWIG_fail
;
5401 resultobj
= wxPyMake_wxObject(result
, 0);
5417 static PyObject
*_wrap_Frame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5418 PyObject
*resultobj
;
5419 wxFrame
*arg1
= (wxFrame
*) 0 ;
5421 PyObject
* obj0
= 0 ;
5423 (char *) "self", NULL
5426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Frame_GetToolBar",kwnames
,&obj0
)) goto fail
;
5427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5428 if (SWIG_arg_fail(1)) SWIG_fail
;
5430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5431 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
5433 wxPyEndAllowThreads(__tstate
);
5434 if (PyErr_Occurred()) SWIG_fail
;
5437 resultobj
= wxPyMake_wxObject(result
, 0);
5445 static PyObject
*_wrap_Frame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5446 PyObject
*resultobj
;
5447 wxFrame
*arg1
= (wxFrame
*) 0 ;
5448 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
5449 PyObject
* obj0
= 0 ;
5450 PyObject
* obj1
= 0 ;
5452 (char *) "self",(char *) "toolbar", NULL
5455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
5456 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5457 if (SWIG_arg_fail(1)) SWIG_fail
;
5458 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
5459 if (SWIG_arg_fail(2)) SWIG_fail
;
5461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5462 (arg1
)->SetToolBar(arg2
);
5464 wxPyEndAllowThreads(__tstate
);
5465 if (PyErr_Occurred()) SWIG_fail
;
5467 Py_INCREF(Py_None
); resultobj
= Py_None
;
5474 static PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5475 PyObject
*resultobj
;
5476 wxFrame
*arg1
= (wxFrame
*) 0 ;
5477 wxString
*arg2
= 0 ;
5479 bool temp2
= false ;
5480 PyObject
* obj0
= 0 ;
5481 PyObject
* obj1
= 0 ;
5482 PyObject
* obj2
= 0 ;
5484 (char *) "self",(char *) "text",(char *) "show", NULL
5487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5489 if (SWIG_arg_fail(1)) SWIG_fail
;
5491 arg2
= wxString_in_helper(obj1
);
5492 if (arg2
== NULL
) SWIG_fail
;
5496 arg3
= (bool)(SWIG_As_bool(obj2
));
5497 if (SWIG_arg_fail(3)) SWIG_fail
;
5500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5501 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
5503 wxPyEndAllowThreads(__tstate
);
5504 if (PyErr_Occurred()) SWIG_fail
;
5506 Py_INCREF(Py_None
); resultobj
= Py_None
;
5521 static PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5522 PyObject
*resultobj
;
5523 wxFrame
*arg1
= (wxFrame
*) 0 ;
5524 wxMenu
*arg2
= (wxMenu
*) NULL
;
5525 PyObject
* obj0
= 0 ;
5526 PyObject
* obj1
= 0 ;
5528 (char *) "self",(char *) "menu", NULL
5531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) goto fail
;
5532 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
5533 if (SWIG_arg_fail(1)) SWIG_fail
;
5535 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
5536 if (SWIG_arg_fail(2)) SWIG_fail
;
5539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5540 (arg1
)->DoMenuUpdates(arg2
);
5542 wxPyEndAllowThreads(__tstate
);
5543 if (PyErr_Occurred()) SWIG_fail
;
5545 Py_INCREF(Py_None
); resultobj
= Py_None
;
5552 static PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5553 PyObject
*resultobj
;
5554 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5555 wxVisualAttributes result
;
5556 PyObject
* obj0
= 0 ;
5558 (char *) "variant", NULL
5561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5564 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
5565 if (SWIG_arg_fail(1)) SWIG_fail
;
5569 if (!wxPyCheckForApp()) SWIG_fail
;
5570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5571 result
= wxFrame::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5573 wxPyEndAllowThreads(__tstate
);
5574 if (PyErr_Occurred()) SWIG_fail
;
5577 wxVisualAttributes
* resultptr
;
5578 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
5579 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5587 static PyObject
* Frame_swigregister(PyObject
*, PyObject
*args
) {
5589 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5590 SWIG_TypeClientData(SWIGTYPE_p_wxFrame
, obj
);
5592 return Py_BuildValue((char *)"");
5594 static PyObject
*_wrap_new_Dialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5595 PyObject
*resultobj
;
5596 wxWindow
*arg1
= (wxWindow
*) 0 ;
5597 int arg2
= (int) (int)-1 ;
5598 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5599 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5600 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5601 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5602 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5603 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5604 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
5605 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
5606 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5608 bool temp3
= false ;
5611 bool temp7
= false ;
5612 PyObject
* obj0
= 0 ;
5613 PyObject
* obj1
= 0 ;
5614 PyObject
* obj2
= 0 ;
5615 PyObject
* obj3
= 0 ;
5616 PyObject
* obj4
= 0 ;
5617 PyObject
* obj5
= 0 ;
5618 PyObject
* obj6
= 0 ;
5620 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5624 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5625 if (SWIG_arg_fail(1)) SWIG_fail
;
5628 arg2
= (int const)(SWIG_As_int(obj1
));
5629 if (SWIG_arg_fail(2)) SWIG_fail
;
5634 arg3
= wxString_in_helper(obj2
);
5635 if (arg3
== NULL
) SWIG_fail
;
5642 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5648 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5653 arg6
= (long)(SWIG_As_long(obj5
));
5654 if (SWIG_arg_fail(6)) SWIG_fail
;
5659 arg7
= wxString_in_helper(obj6
);
5660 if (arg7
== NULL
) SWIG_fail
;
5665 if (!wxPyCheckForApp()) SWIG_fail
;
5666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5667 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5669 wxPyEndAllowThreads(__tstate
);
5670 if (PyErr_Occurred()) SWIG_fail
;
5672 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
5695 static PyObject
*_wrap_new_PreDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5696 PyObject
*resultobj
;
5702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDialog",kwnames
)) goto fail
;
5704 if (!wxPyCheckForApp()) SWIG_fail
;
5705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5706 result
= (wxDialog
*)new wxDialog();
5708 wxPyEndAllowThreads(__tstate
);
5709 if (PyErr_Occurred()) SWIG_fail
;
5711 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDialog
, 1);
5718 static PyObject
*_wrap_Dialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5719 PyObject
*resultobj
;
5720 wxDialog
*arg1
= (wxDialog
*) 0 ;
5721 wxWindow
*arg2
= (wxWindow
*) 0 ;
5722 int arg3
= (int) (int)-1 ;
5723 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5724 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5725 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5726 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5727 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5728 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5729 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
5730 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
5731 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5733 bool temp4
= false ;
5736 bool temp8
= false ;
5737 PyObject
* obj0
= 0 ;
5738 PyObject
* obj1
= 0 ;
5739 PyObject
* obj2
= 0 ;
5740 PyObject
* obj3
= 0 ;
5741 PyObject
* obj4
= 0 ;
5742 PyObject
* obj5
= 0 ;
5743 PyObject
* obj6
= 0 ;
5744 PyObject
* obj7
= 0 ;
5746 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5751 if (SWIG_arg_fail(1)) SWIG_fail
;
5752 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
5753 if (SWIG_arg_fail(2)) SWIG_fail
;
5756 arg3
= (int const)(SWIG_As_int(obj2
));
5757 if (SWIG_arg_fail(3)) SWIG_fail
;
5762 arg4
= wxString_in_helper(obj3
);
5763 if (arg4
== NULL
) SWIG_fail
;
5770 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5776 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5781 arg7
= (long)(SWIG_As_long(obj6
));
5782 if (SWIG_arg_fail(7)) SWIG_fail
;
5787 arg8
= wxString_in_helper(obj7
);
5788 if (arg8
== NULL
) SWIG_fail
;
5793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5794 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5796 wxPyEndAllowThreads(__tstate
);
5797 if (PyErr_Occurred()) SWIG_fail
;
5800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5824 static PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5825 PyObject
*resultobj
;
5826 wxDialog
*arg1
= (wxDialog
*) 0 ;
5828 PyObject
* obj0
= 0 ;
5829 PyObject
* obj1
= 0 ;
5831 (char *) "self",(char *) "returnCode", NULL
5834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) goto fail
;
5835 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5836 if (SWIG_arg_fail(1)) SWIG_fail
;
5838 arg2
= (int)(SWIG_As_int(obj1
));
5839 if (SWIG_arg_fail(2)) SWIG_fail
;
5842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5843 (arg1
)->SetReturnCode(arg2
);
5845 wxPyEndAllowThreads(__tstate
);
5846 if (PyErr_Occurred()) SWIG_fail
;
5848 Py_INCREF(Py_None
); resultobj
= Py_None
;
5855 static PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5856 PyObject
*resultobj
;
5857 wxDialog
*arg1
= (wxDialog
*) 0 ;
5859 PyObject
* obj0
= 0 ;
5861 (char *) "self", NULL
5864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_GetReturnCode",kwnames
,&obj0
)) goto fail
;
5865 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5866 if (SWIG_arg_fail(1)) SWIG_fail
;
5868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5869 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
5871 wxPyEndAllowThreads(__tstate
);
5872 if (PyErr_Occurred()) SWIG_fail
;
5875 resultobj
= SWIG_From_int((int)(result
));
5883 static PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5884 PyObject
*resultobj
;
5885 wxDialog
*arg1
= (wxDialog
*) 0 ;
5886 wxString
*arg2
= 0 ;
5888 bool temp2
= false ;
5889 PyObject
* obj0
= 0 ;
5890 PyObject
* obj1
= 0 ;
5892 (char *) "self",(char *) "message", NULL
5895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
5896 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5897 if (SWIG_arg_fail(1)) SWIG_fail
;
5899 arg2
= wxString_in_helper(obj1
);
5900 if (arg2
== NULL
) SWIG_fail
;
5904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5905 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
5907 wxPyEndAllowThreads(__tstate
);
5908 if (PyErr_Occurred()) SWIG_fail
;
5911 resultobj
= wxPyMake_wxSizer(result
, 0);
5927 static PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5928 PyObject
*resultobj
;
5929 wxDialog
*arg1
= (wxDialog
*) 0 ;
5932 PyObject
* obj0
= 0 ;
5933 PyObject
* obj1
= 0 ;
5935 (char *) "self",(char *) "flags", NULL
5938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
5939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5940 if (SWIG_arg_fail(1)) SWIG_fail
;
5942 arg2
= (long)(SWIG_As_long(obj1
));
5943 if (SWIG_arg_fail(2)) SWIG_fail
;
5946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5947 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
5949 wxPyEndAllowThreads(__tstate
);
5950 if (PyErr_Occurred()) SWIG_fail
;
5953 resultobj
= wxPyMake_wxSizer(result
, 0);
5961 static PyObject
*_wrap_Dialog_IsModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5962 PyObject
*resultobj
;
5963 wxDialog
*arg1
= (wxDialog
*) 0 ;
5965 PyObject
* obj0
= 0 ;
5967 (char *) "self", NULL
5970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_IsModal",kwnames
,&obj0
)) goto fail
;
5971 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
5972 if (SWIG_arg_fail(1)) SWIG_fail
;
5974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5975 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
5977 wxPyEndAllowThreads(__tstate
);
5978 if (PyErr_Occurred()) SWIG_fail
;
5981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5989 static PyObject
*_wrap_Dialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5990 PyObject
*resultobj
;
5991 wxDialog
*arg1
= (wxDialog
*) 0 ;
5993 PyObject
* obj0
= 0 ;
5995 (char *) "self", NULL
5998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Dialog_ShowModal",kwnames
,&obj0
)) goto fail
;
5999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6000 if (SWIG_arg_fail(1)) SWIG_fail
;
6002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6003 result
= (int)(arg1
)->ShowModal();
6005 wxPyEndAllowThreads(__tstate
);
6006 if (PyErr_Occurred()) SWIG_fail
;
6009 resultobj
= SWIG_From_int((int)(result
));
6017 static PyObject
*_wrap_Dialog_EndModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6018 PyObject
*resultobj
;
6019 wxDialog
*arg1
= (wxDialog
*) 0 ;
6021 PyObject
* obj0
= 0 ;
6022 PyObject
* obj1
= 0 ;
6024 (char *) "self",(char *) "retCode", NULL
6027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) goto fail
;
6028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDialog
, SWIG_POINTER_EXCEPTION
| 0);
6029 if (SWIG_arg_fail(1)) SWIG_fail
;
6031 arg2
= (int)(SWIG_As_int(obj1
));
6032 if (SWIG_arg_fail(2)) SWIG_fail
;
6035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6036 (arg1
)->EndModal(arg2
);
6038 wxPyEndAllowThreads(__tstate
);
6039 if (PyErr_Occurred()) SWIG_fail
;
6041 Py_INCREF(Py_None
); resultobj
= Py_None
;
6048 static PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6049 PyObject
*resultobj
;
6050 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6051 wxVisualAttributes result
;
6052 PyObject
* obj0
= 0 ;
6054 (char *) "variant", NULL
6057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6060 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
6061 if (SWIG_arg_fail(1)) SWIG_fail
;
6065 if (!wxPyCheckForApp()) SWIG_fail
;
6066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6067 result
= wxDialog::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6069 wxPyEndAllowThreads(__tstate
);
6070 if (PyErr_Occurred()) SWIG_fail
;
6073 wxVisualAttributes
* resultptr
;
6074 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
6075 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6083 static PyObject
* Dialog_swigregister(PyObject
*, PyObject
*args
) {
6085 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6086 SWIG_TypeClientData(SWIGTYPE_p_wxDialog
, obj
);
6088 return Py_BuildValue((char *)"");
6090 static PyObject
*_wrap_new_MiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6091 PyObject
*resultobj
;
6092 wxWindow
*arg1
= (wxWindow
*) 0 ;
6093 int arg2
= (int) (int)-1 ;
6094 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6095 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6096 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6097 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6098 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6099 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6100 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6101 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6102 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6103 wxMiniFrame
*result
;
6104 bool temp3
= false ;
6107 bool temp7
= false ;
6108 PyObject
* obj0
= 0 ;
6109 PyObject
* obj1
= 0 ;
6110 PyObject
* obj2
= 0 ;
6111 PyObject
* obj3
= 0 ;
6112 PyObject
* obj4
= 0 ;
6113 PyObject
* obj5
= 0 ;
6114 PyObject
* obj6
= 0 ;
6116 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
6120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6121 if (SWIG_arg_fail(1)) SWIG_fail
;
6124 arg2
= (int const)(SWIG_As_int(obj1
));
6125 if (SWIG_arg_fail(2)) SWIG_fail
;
6130 arg3
= wxString_in_helper(obj2
);
6131 if (arg3
== NULL
) SWIG_fail
;
6138 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6144 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6149 arg6
= (long)(SWIG_As_long(obj5
));
6150 if (SWIG_arg_fail(6)) SWIG_fail
;
6155 arg7
= wxString_in_helper(obj6
);
6156 if (arg7
== NULL
) SWIG_fail
;
6161 if (!wxPyCheckForApp()) SWIG_fail
;
6162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6163 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6165 wxPyEndAllowThreads(__tstate
);
6166 if (PyErr_Occurred()) SWIG_fail
;
6168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
6191 static PyObject
*_wrap_new_PreMiniFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6192 PyObject
*resultobj
;
6193 wxMiniFrame
*result
;
6198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMiniFrame",kwnames
)) goto fail
;
6200 if (!wxPyCheckForApp()) SWIG_fail
;
6201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6202 result
= (wxMiniFrame
*)new wxMiniFrame();
6204 wxPyEndAllowThreads(__tstate
);
6205 if (PyErr_Occurred()) SWIG_fail
;
6207 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMiniFrame
, 1);
6214 static PyObject
*_wrap_MiniFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6215 PyObject
*resultobj
;
6216 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
6217 wxWindow
*arg2
= (wxWindow
*) 0 ;
6218 int arg3
= (int) (int)-1 ;
6219 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6220 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6221 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6222 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6223 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6224 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6225 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6226 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6227 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6229 bool temp4
= false ;
6232 bool temp8
= false ;
6233 PyObject
* obj0
= 0 ;
6234 PyObject
* obj1
= 0 ;
6235 PyObject
* obj2
= 0 ;
6236 PyObject
* obj3
= 0 ;
6237 PyObject
* obj4
= 0 ;
6238 PyObject
* obj5
= 0 ;
6239 PyObject
* obj6
= 0 ;
6240 PyObject
* obj7
= 0 ;
6242 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6246 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_EXCEPTION
| 0);
6247 if (SWIG_arg_fail(1)) SWIG_fail
;
6248 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6249 if (SWIG_arg_fail(2)) SWIG_fail
;
6252 arg3
= (int const)(SWIG_As_int(obj2
));
6253 if (SWIG_arg_fail(3)) SWIG_fail
;
6258 arg4
= wxString_in_helper(obj3
);
6259 if (arg4
== NULL
) SWIG_fail
;
6266 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6272 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6277 arg7
= (long)(SWIG_As_long(obj6
));
6278 if (SWIG_arg_fail(7)) SWIG_fail
;
6283 arg8
= wxString_in_helper(obj7
);
6284 if (arg8
== NULL
) SWIG_fail
;
6289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6290 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6292 wxPyEndAllowThreads(__tstate
);
6293 if (PyErr_Occurred()) SWIG_fail
;
6296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6320 static PyObject
* MiniFrame_swigregister(PyObject
*, PyObject
*args
) {
6322 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6323 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame
, obj
);
6325 return Py_BuildValue((char *)"");
6327 static PyObject
*_wrap_new_SplashScreenWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6328 PyObject
*resultobj
;
6329 wxBitmap
*arg1
= 0 ;
6330 wxWindow
*arg2
= (wxWindow
*) 0 ;
6332 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6333 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6334 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6335 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6336 long arg6
= (long) wxNO_BORDER
;
6337 wxSplashScreenWindow
*result
;
6340 PyObject
* obj0
= 0 ;
6341 PyObject
* obj1
= 0 ;
6342 PyObject
* obj2
= 0 ;
6343 PyObject
* obj3
= 0 ;
6344 PyObject
* obj4
= 0 ;
6345 PyObject
* obj5
= 0 ;
6347 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
6352 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6353 if (SWIG_arg_fail(1)) SWIG_fail
;
6355 SWIG_null_ref("wxBitmap");
6357 if (SWIG_arg_fail(1)) SWIG_fail
;
6359 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6360 if (SWIG_arg_fail(2)) SWIG_fail
;
6362 arg3
= (int)(SWIG_As_int(obj2
));
6363 if (SWIG_arg_fail(3)) SWIG_fail
;
6368 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6374 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6379 arg6
= (long)(SWIG_As_long(obj5
));
6380 if (SWIG_arg_fail(6)) SWIG_fail
;
6384 if (!wxPyCheckForApp()) SWIG_fail
;
6385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6386 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
6388 wxPyEndAllowThreads(__tstate
);
6389 if (PyErr_Occurred()) SWIG_fail
;
6391 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 1);
6398 static PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6399 PyObject
*resultobj
;
6400 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
6401 wxBitmap
*arg2
= 0 ;
6402 PyObject
* obj0
= 0 ;
6403 PyObject
* obj1
= 0 ;
6405 (char *) "self",(char *) "bitmap", NULL
6408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
6409 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_EXCEPTION
| 0);
6410 if (SWIG_arg_fail(1)) SWIG_fail
;
6412 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6413 if (SWIG_arg_fail(2)) SWIG_fail
;
6415 SWIG_null_ref("wxBitmap");
6417 if (SWIG_arg_fail(2)) SWIG_fail
;
6420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6421 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
6423 wxPyEndAllowThreads(__tstate
);
6424 if (PyErr_Occurred()) SWIG_fail
;
6426 Py_INCREF(Py_None
); resultobj
= Py_None
;
6433 static PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6434 PyObject
*resultobj
;
6435 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
6437 PyObject
* obj0
= 0 ;
6439 (char *) "self", NULL
6442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreenWindow_GetBitmap",kwnames
,&obj0
)) goto fail
;
6443 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_EXCEPTION
| 0);
6444 if (SWIG_arg_fail(1)) SWIG_fail
;
6446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6448 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
6449 result
= (wxBitmap
*) &_result_ref
;
6452 wxPyEndAllowThreads(__tstate
);
6453 if (PyErr_Occurred()) SWIG_fail
;
6456 wxBitmap
* resultptr
= new wxBitmap(*result
);
6457 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
6465 static PyObject
* SplashScreenWindow_swigregister(PyObject
*, PyObject
*args
) {
6467 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6468 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow
, obj
);
6470 return Py_BuildValue((char *)"");
6472 static PyObject
*_wrap_new_SplashScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6473 PyObject
*resultobj
;
6474 wxBitmap
*arg1
= 0 ;
6477 wxWindow
*arg4
= (wxWindow
*) 0 ;
6478 int arg5
= (int) -1 ;
6479 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
6480 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
6481 wxSize
const &arg7_defvalue
= wxDefaultSize
;
6482 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
6483 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
6484 wxSplashScreen
*result
;
6487 PyObject
* obj0
= 0 ;
6488 PyObject
* obj1
= 0 ;
6489 PyObject
* obj2
= 0 ;
6490 PyObject
* obj3
= 0 ;
6491 PyObject
* obj4
= 0 ;
6492 PyObject
* obj5
= 0 ;
6493 PyObject
* obj6
= 0 ;
6494 PyObject
* obj7
= 0 ;
6496 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
6499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxBitmap
, SWIG_POINTER_EXCEPTION
| 0);
6502 if (SWIG_arg_fail(1)) SWIG_fail
;
6504 SWIG_null_ref("wxBitmap");
6506 if (SWIG_arg_fail(1)) SWIG_fail
;
6509 arg2
= (long)(SWIG_As_long(obj1
));
6510 if (SWIG_arg_fail(2)) SWIG_fail
;
6513 arg3
= (int)(SWIG_As_int(obj2
));
6514 if (SWIG_arg_fail(3)) SWIG_fail
;
6516 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6517 if (SWIG_arg_fail(4)) SWIG_fail
;
6520 arg5
= (int)(SWIG_As_int(obj4
));
6521 if (SWIG_arg_fail(5)) SWIG_fail
;
6527 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
6533 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
6538 arg8
= (long)(SWIG_As_long(obj7
));
6539 if (SWIG_arg_fail(8)) SWIG_fail
;
6543 if (!wxPyCheckForApp()) SWIG_fail
;
6544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6545 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
6547 wxPyEndAllowThreads(__tstate
);
6548 if (PyErr_Occurred()) SWIG_fail
;
6550 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreen
, 1);
6557 static PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6558 PyObject
*resultobj
;
6559 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6561 PyObject
* obj0
= 0 ;
6563 (char *) "self", NULL
6566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashStyle",kwnames
,&obj0
)) goto fail
;
6567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6568 if (SWIG_arg_fail(1)) SWIG_fail
;
6570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6571 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
6573 wxPyEndAllowThreads(__tstate
);
6574 if (PyErr_Occurred()) SWIG_fail
;
6577 resultobj
= SWIG_From_long((long)(result
));
6585 static PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6586 PyObject
*resultobj
;
6587 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6588 wxSplashScreenWindow
*result
;
6589 PyObject
* obj0
= 0 ;
6591 (char *) "self", NULL
6594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetSplashWindow",kwnames
,&obj0
)) goto fail
;
6595 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6596 if (SWIG_arg_fail(1)) SWIG_fail
;
6598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6599 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
6601 wxPyEndAllowThreads(__tstate
);
6602 if (PyErr_Occurred()) SWIG_fail
;
6604 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0);
6611 static PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6612 PyObject
*resultobj
;
6613 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
6615 PyObject
* obj0
= 0 ;
6617 (char *) "self", NULL
6620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplashScreen_GetTimeout",kwnames
,&obj0
)) goto fail
;
6621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_EXCEPTION
| 0);
6622 if (SWIG_arg_fail(1)) SWIG_fail
;
6624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6625 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
6627 wxPyEndAllowThreads(__tstate
);
6628 if (PyErr_Occurred()) SWIG_fail
;
6631 resultobj
= SWIG_From_int((int)(result
));
6639 static PyObject
* SplashScreen_swigregister(PyObject
*, PyObject
*args
) {
6641 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6642 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen
, obj
);
6644 return Py_BuildValue((char *)"");
6646 static PyObject
*_wrap_new_StatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6647 PyObject
*resultobj
;
6648 wxWindow
*arg1
= (wxWindow
*) 0 ;
6649 int arg2
= (int) -1 ;
6650 long arg3
= (long) wxST_SIZEGRIP
;
6651 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
6652 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6653 wxStatusBar
*result
;
6654 bool temp4
= false ;
6655 PyObject
* obj0
= 0 ;
6656 PyObject
* obj1
= 0 ;
6657 PyObject
* obj2
= 0 ;
6658 PyObject
* obj3
= 0 ;
6660 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6664 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6665 if (SWIG_arg_fail(1)) SWIG_fail
;
6668 arg2
= (int)(SWIG_As_int(obj1
));
6669 if (SWIG_arg_fail(2)) SWIG_fail
;
6674 arg3
= (long)(SWIG_As_long(obj2
));
6675 if (SWIG_arg_fail(3)) SWIG_fail
;
6680 arg4
= wxString_in_helper(obj3
);
6681 if (arg4
== NULL
) SWIG_fail
;
6686 if (!wxPyCheckForApp()) SWIG_fail
;
6687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6688 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
6690 wxPyEndAllowThreads(__tstate
);
6691 if (PyErr_Occurred()) SWIG_fail
;
6693 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
6708 static PyObject
*_wrap_new_PreStatusBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6709 PyObject
*resultobj
;
6710 wxStatusBar
*result
;
6715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStatusBar",kwnames
)) goto fail
;
6717 if (!wxPyCheckForApp()) SWIG_fail
;
6718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6719 result
= (wxStatusBar
*)new wxStatusBar();
6721 wxPyEndAllowThreads(__tstate
);
6722 if (PyErr_Occurred()) SWIG_fail
;
6724 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStatusBar
, 1);
6731 static PyObject
*_wrap_StatusBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6732 PyObject
*resultobj
;
6733 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6734 wxWindow
*arg2
= (wxWindow
*) 0 ;
6735 int arg3
= (int) -1 ;
6736 long arg4
= (long) wxST_SIZEGRIP
;
6737 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6738 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6740 bool temp5
= false ;
6741 PyObject
* obj0
= 0 ;
6742 PyObject
* obj1
= 0 ;
6743 PyObject
* obj2
= 0 ;
6744 PyObject
* obj3
= 0 ;
6745 PyObject
* obj4
= 0 ;
6747 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
6750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6751 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6752 if (SWIG_arg_fail(1)) SWIG_fail
;
6753 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
6754 if (SWIG_arg_fail(2)) SWIG_fail
;
6757 arg3
= (int)(SWIG_As_int(obj2
));
6758 if (SWIG_arg_fail(3)) SWIG_fail
;
6763 arg4
= (long)(SWIG_As_long(obj3
));
6764 if (SWIG_arg_fail(4)) SWIG_fail
;
6769 arg5
= wxString_in_helper(obj4
);
6770 if (arg5
== NULL
) SWIG_fail
;
6775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6776 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6778 wxPyEndAllowThreads(__tstate
);
6779 if (PyErr_Occurred()) SWIG_fail
;
6782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6798 static PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6799 PyObject
*resultobj
;
6800 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6801 int arg2
= (int) 1 ;
6802 PyObject
* obj0
= 0 ;
6803 PyObject
* obj1
= 0 ;
6805 (char *) "self",(char *) "number", NULL
6808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) goto fail
;
6809 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6810 if (SWIG_arg_fail(1)) SWIG_fail
;
6813 arg2
= (int)(SWIG_As_int(obj1
));
6814 if (SWIG_arg_fail(2)) SWIG_fail
;
6818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6819 (arg1
)->SetFieldsCount(arg2
);
6821 wxPyEndAllowThreads(__tstate
);
6822 if (PyErr_Occurred()) SWIG_fail
;
6824 Py_INCREF(Py_None
); resultobj
= Py_None
;
6831 static PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6832 PyObject
*resultobj
;
6833 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6835 PyObject
* obj0
= 0 ;
6837 (char *) "self", NULL
6840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetFieldsCount",kwnames
,&obj0
)) goto fail
;
6841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6842 if (SWIG_arg_fail(1)) SWIG_fail
;
6844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6845 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
6847 wxPyEndAllowThreads(__tstate
);
6848 if (PyErr_Occurred()) SWIG_fail
;
6851 resultobj
= SWIG_From_int((int)(result
));
6859 static PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6860 PyObject
*resultobj
;
6861 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6862 wxString
*arg2
= 0 ;
6863 int arg3
= (int) 0 ;
6864 bool temp2
= false ;
6865 PyObject
* obj0
= 0 ;
6866 PyObject
* obj1
= 0 ;
6867 PyObject
* obj2
= 0 ;
6869 (char *) "self",(char *) "text",(char *) "number", NULL
6872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6874 if (SWIG_arg_fail(1)) SWIG_fail
;
6876 arg2
= wxString_in_helper(obj1
);
6877 if (arg2
== NULL
) SWIG_fail
;
6882 arg3
= (int)(SWIG_As_int(obj2
));
6883 if (SWIG_arg_fail(3)) SWIG_fail
;
6887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6888 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6890 wxPyEndAllowThreads(__tstate
);
6891 if (PyErr_Occurred()) SWIG_fail
;
6893 Py_INCREF(Py_None
); resultobj
= Py_None
;
6908 static PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6909 PyObject
*resultobj
;
6910 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6911 int arg2
= (int) 0 ;
6913 PyObject
* obj0
= 0 ;
6914 PyObject
* obj1
= 0 ;
6916 (char *) "self",(char *) "number", NULL
6919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
6920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6921 if (SWIG_arg_fail(1)) SWIG_fail
;
6924 arg2
= (int)(SWIG_As_int(obj1
));
6925 if (SWIG_arg_fail(2)) SWIG_fail
;
6929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6930 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
6932 wxPyEndAllowThreads(__tstate
);
6933 if (PyErr_Occurred()) SWIG_fail
;
6937 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6939 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6948 static PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6949 PyObject
*resultobj
;
6950 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
6951 wxString
*arg2
= 0 ;
6952 int arg3
= (int) 0 ;
6953 bool temp2
= false ;
6954 PyObject
* obj0
= 0 ;
6955 PyObject
* obj1
= 0 ;
6956 PyObject
* obj2
= 0 ;
6958 (char *) "self",(char *) "text",(char *) "number", NULL
6961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
6963 if (SWIG_arg_fail(1)) SWIG_fail
;
6965 arg2
= wxString_in_helper(obj1
);
6966 if (arg2
== NULL
) SWIG_fail
;
6971 arg3
= (int)(SWIG_As_int(obj2
));
6972 if (SWIG_arg_fail(3)) SWIG_fail
;
6976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6977 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6979 wxPyEndAllowThreads(__tstate
);
6980 if (PyErr_Occurred()) SWIG_fail
;
6982 Py_INCREF(Py_None
); resultobj
= Py_None
;
6997 static PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6998 PyObject
*resultobj
;
6999 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7000 int arg2
= (int) 0 ;
7001 PyObject
* obj0
= 0 ;
7002 PyObject
* obj1
= 0 ;
7004 (char *) "self",(char *) "number", NULL
7007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) goto fail
;
7008 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7009 if (SWIG_arg_fail(1)) SWIG_fail
;
7012 arg2
= (int)(SWIG_As_int(obj1
));
7013 if (SWIG_arg_fail(2)) SWIG_fail
;
7017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7018 (arg1
)->PopStatusText(arg2
);
7020 wxPyEndAllowThreads(__tstate
);
7021 if (PyErr_Occurred()) SWIG_fail
;
7023 Py_INCREF(Py_None
); resultobj
= Py_None
;
7030 static PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7031 PyObject
*resultobj
;
7032 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7034 int *arg3
= (int *) 0 ;
7035 PyObject
* obj0
= 0 ;
7036 PyObject
* obj1
= 0 ;
7038 (char *) "self",(char *) "widths", NULL
7041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) goto fail
;
7042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7043 if (SWIG_arg_fail(1)) SWIG_fail
;
7045 arg2
= PyList_Size(obj1
);
7046 arg3
= int_LIST_helper(obj1
);
7047 if (arg3
== NULL
) SWIG_fail
;
7050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7051 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
7053 wxPyEndAllowThreads(__tstate
);
7054 if (PyErr_Occurred()) SWIG_fail
;
7056 Py_INCREF(Py_None
); resultobj
= Py_None
;
7058 if (arg3
) delete [] arg3
;
7063 if (arg3
) delete [] arg3
;
7069 static PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7070 PyObject
*resultobj
;
7071 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7073 int *arg3
= (int *) 0 ;
7074 PyObject
* obj0
= 0 ;
7075 PyObject
* obj1
= 0 ;
7077 (char *) "self",(char *) "styles", NULL
7080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) goto fail
;
7081 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7082 if (SWIG_arg_fail(1)) SWIG_fail
;
7084 arg2
= PyList_Size(obj1
);
7085 arg3
= int_LIST_helper(obj1
);
7086 if (arg3
== NULL
) SWIG_fail
;
7089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7090 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
7092 wxPyEndAllowThreads(__tstate
);
7093 if (PyErr_Occurred()) SWIG_fail
;
7095 Py_INCREF(Py_None
); resultobj
= Py_None
;
7097 if (arg3
) delete [] arg3
;
7102 if (arg3
) delete [] arg3
;
7108 static PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7109 PyObject
*resultobj
;
7110 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7113 PyObject
* obj0
= 0 ;
7114 PyObject
* obj1
= 0 ;
7116 (char *) "self",(char *) "i", NULL
7119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) goto fail
;
7120 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7121 if (SWIG_arg_fail(1)) SWIG_fail
;
7123 arg2
= (int)(SWIG_As_int(obj1
));
7124 if (SWIG_arg_fail(2)) SWIG_fail
;
7127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7128 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
7130 wxPyEndAllowThreads(__tstate
);
7131 if (PyErr_Occurred()) SWIG_fail
;
7135 resultptr
= new wxRect((wxRect
&)(result
));
7136 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
7144 static PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7145 PyObject
*resultobj
;
7146 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7148 PyObject
* obj0
= 0 ;
7149 PyObject
* obj1
= 0 ;
7151 (char *) "self",(char *) "height", NULL
7154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
7155 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7156 if (SWIG_arg_fail(1)) SWIG_fail
;
7158 arg2
= (int)(SWIG_As_int(obj1
));
7159 if (SWIG_arg_fail(2)) SWIG_fail
;
7162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7163 (arg1
)->SetMinHeight(arg2
);
7165 wxPyEndAllowThreads(__tstate
);
7166 if (PyErr_Occurred()) SWIG_fail
;
7168 Py_INCREF(Py_None
); resultobj
= Py_None
;
7175 static PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7176 PyObject
*resultobj
;
7177 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7179 PyObject
* obj0
= 0 ;
7181 (char *) "self", NULL
7184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderX",kwnames
,&obj0
)) goto fail
;
7185 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7186 if (SWIG_arg_fail(1)) SWIG_fail
;
7188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7189 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
7191 wxPyEndAllowThreads(__tstate
);
7192 if (PyErr_Occurred()) SWIG_fail
;
7195 resultobj
= SWIG_From_int((int)(result
));
7203 static PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7204 PyObject
*resultobj
;
7205 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
7207 PyObject
* obj0
= 0 ;
7209 (char *) "self", NULL
7212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StatusBar_GetBorderY",kwnames
,&obj0
)) goto fail
;
7213 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_EXCEPTION
| 0);
7214 if (SWIG_arg_fail(1)) SWIG_fail
;
7216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7217 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
7219 wxPyEndAllowThreads(__tstate
);
7220 if (PyErr_Occurred()) SWIG_fail
;
7223 resultobj
= SWIG_From_int((int)(result
));
7231 static PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7232 PyObject
*resultobj
;
7233 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7234 wxVisualAttributes result
;
7235 PyObject
* obj0
= 0 ;
7237 (char *) "variant", NULL
7240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
7243 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
7244 if (SWIG_arg_fail(1)) SWIG_fail
;
7248 if (!wxPyCheckForApp()) SWIG_fail
;
7249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7250 result
= wxStatusBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
7252 wxPyEndAllowThreads(__tstate
);
7253 if (PyErr_Occurred()) SWIG_fail
;
7256 wxVisualAttributes
* resultptr
;
7257 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
7258 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
7266 static PyObject
* StatusBar_swigregister(PyObject
*, PyObject
*args
) {
7268 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7269 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar
, obj
);
7271 return Py_BuildValue((char *)"");
7273 static int _wrap_SplitterNameStr_set(PyObject
*) {
7274 PyErr_SetString(PyExc_TypeError
,"Variable SplitterNameStr is read-only.");
7279 static PyObject
*_wrap_SplitterNameStr_get(void) {
7284 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
7286 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
7293 static PyObject
*_wrap_new_SplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7294 PyObject
*resultobj
;
7295 wxWindow
*arg1
= (wxWindow
*) 0 ;
7296 int arg2
= (int) -1 ;
7297 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
7298 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
7299 wxSize
const &arg4_defvalue
= wxDefaultSize
;
7300 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
7301 long arg5
= (long) wxSP_3D
;
7302 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
7303 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
7304 wxSplitterWindow
*result
;
7307 bool temp6
= false ;
7308 PyObject
* obj0
= 0 ;
7309 PyObject
* obj1
= 0 ;
7310 PyObject
* obj2
= 0 ;
7311 PyObject
* obj3
= 0 ;
7312 PyObject
* obj4
= 0 ;
7313 PyObject
* obj5
= 0 ;
7315 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
7319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7320 if (SWIG_arg_fail(1)) SWIG_fail
;
7323 arg2
= (int)(SWIG_As_int(obj1
));
7324 if (SWIG_arg_fail(2)) SWIG_fail
;
7330 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
7336 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
7341 arg5
= (long)(SWIG_As_long(obj4
));
7342 if (SWIG_arg_fail(5)) SWIG_fail
;
7347 arg6
= wxString_in_helper(obj5
);
7348 if (arg6
== NULL
) SWIG_fail
;
7353 if (!wxPyCheckForApp()) SWIG_fail
;
7354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7355 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
7357 wxPyEndAllowThreads(__tstate
);
7358 if (PyErr_Occurred()) SWIG_fail
;
7360 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
7375 static PyObject
*_wrap_new_PreSplitterWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7376 PyObject
*resultobj
;
7377 wxSplitterWindow
*result
;
7382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSplitterWindow",kwnames
)) goto fail
;
7384 if (!wxPyCheckForApp()) SWIG_fail
;
7385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7386 result
= (wxSplitterWindow
*)new wxSplitterWindow();
7388 wxPyEndAllowThreads(__tstate
);
7389 if (PyErr_Occurred()) SWIG_fail
;
7391 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterWindow
, 1);
7398 static PyObject
*_wrap_SplitterWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7399 PyObject
*resultobj
;
7400 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7401 wxWindow
*arg2
= (wxWindow
*) 0 ;
7402 int arg3
= (int) -1 ;
7403 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7404 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7405 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7406 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7407 long arg6
= (long) wxSP_3D
;
7408 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
7409 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7413 bool temp7
= false ;
7414 PyObject
* obj0
= 0 ;
7415 PyObject
* obj1
= 0 ;
7416 PyObject
* obj2
= 0 ;
7417 PyObject
* obj3
= 0 ;
7418 PyObject
* obj4
= 0 ;
7419 PyObject
* obj5
= 0 ;
7420 PyObject
* obj6
= 0 ;
7422 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
7426 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7427 if (SWIG_arg_fail(1)) SWIG_fail
;
7428 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7429 if (SWIG_arg_fail(2)) SWIG_fail
;
7432 arg3
= (int)(SWIG_As_int(obj2
));
7433 if (SWIG_arg_fail(3)) SWIG_fail
;
7439 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7445 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7450 arg6
= (long)(SWIG_As_long(obj5
));
7451 if (SWIG_arg_fail(6)) SWIG_fail
;
7456 arg7
= wxString_in_helper(obj6
);
7457 if (arg7
== NULL
) SWIG_fail
;
7462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7463 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7465 wxPyEndAllowThreads(__tstate
);
7466 if (PyErr_Occurred()) SWIG_fail
;
7469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7485 static PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7486 PyObject
*resultobj
;
7487 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7489 PyObject
* obj0
= 0 ;
7491 (char *) "self", NULL
7494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow1",kwnames
,&obj0
)) goto fail
;
7495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7496 if (SWIG_arg_fail(1)) SWIG_fail
;
7498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7499 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
7501 wxPyEndAllowThreads(__tstate
);
7502 if (PyErr_Occurred()) SWIG_fail
;
7505 resultobj
= wxPyMake_wxObject(result
, 0);
7513 static PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7514 PyObject
*resultobj
;
7515 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7517 PyObject
* obj0
= 0 ;
7519 (char *) "self", NULL
7522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetWindow2",kwnames
,&obj0
)) goto fail
;
7523 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7524 if (SWIG_arg_fail(1)) SWIG_fail
;
7526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7527 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
7529 wxPyEndAllowThreads(__tstate
);
7530 if (PyErr_Occurred()) SWIG_fail
;
7533 resultobj
= wxPyMake_wxObject(result
, 0);
7541 static PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7542 PyObject
*resultobj
;
7543 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7545 PyObject
* obj0
= 0 ;
7546 PyObject
* obj1
= 0 ;
7548 (char *) "self",(char *) "mode", NULL
7551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) goto fail
;
7552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7553 if (SWIG_arg_fail(1)) SWIG_fail
;
7555 arg2
= (int)(SWIG_As_int(obj1
));
7556 if (SWIG_arg_fail(2)) SWIG_fail
;
7559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7560 (arg1
)->SetSplitMode(arg2
);
7562 wxPyEndAllowThreads(__tstate
);
7563 if (PyErr_Occurred()) SWIG_fail
;
7565 Py_INCREF(Py_None
); resultobj
= Py_None
;
7572 static PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7573 PyObject
*resultobj
;
7574 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7576 PyObject
* obj0
= 0 ;
7578 (char *) "self", NULL
7581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSplitMode",kwnames
,&obj0
)) goto fail
;
7582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7583 if (SWIG_arg_fail(1)) SWIG_fail
;
7585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7586 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
7588 wxPyEndAllowThreads(__tstate
);
7589 if (PyErr_Occurred()) SWIG_fail
;
7591 resultobj
= SWIG_From_int((result
));
7598 static PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7599 PyObject
*resultobj
;
7600 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7601 wxWindow
*arg2
= (wxWindow
*) 0 ;
7602 PyObject
* obj0
= 0 ;
7603 PyObject
* obj1
= 0 ;
7605 (char *) "self",(char *) "window", NULL
7608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) goto fail
;
7609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7610 if (SWIG_arg_fail(1)) SWIG_fail
;
7611 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7612 if (SWIG_arg_fail(2)) SWIG_fail
;
7614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7615 (arg1
)->Initialize(arg2
);
7617 wxPyEndAllowThreads(__tstate
);
7618 if (PyErr_Occurred()) SWIG_fail
;
7620 Py_INCREF(Py_None
); resultobj
= Py_None
;
7627 static PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7628 PyObject
*resultobj
;
7629 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7630 wxWindow
*arg2
= (wxWindow
*) 0 ;
7631 wxWindow
*arg3
= (wxWindow
*) 0 ;
7632 int arg4
= (int) 0 ;
7634 PyObject
* obj0
= 0 ;
7635 PyObject
* obj1
= 0 ;
7636 PyObject
* obj2
= 0 ;
7637 PyObject
* obj3
= 0 ;
7639 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7643 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7644 if (SWIG_arg_fail(1)) SWIG_fail
;
7645 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7646 if (SWIG_arg_fail(2)) SWIG_fail
;
7647 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7648 if (SWIG_arg_fail(3)) SWIG_fail
;
7651 arg4
= (int)(SWIG_As_int(obj3
));
7652 if (SWIG_arg_fail(4)) SWIG_fail
;
7656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7657 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
7659 wxPyEndAllowThreads(__tstate
);
7660 if (PyErr_Occurred()) SWIG_fail
;
7663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7671 static PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7672 PyObject
*resultobj
;
7673 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7674 wxWindow
*arg2
= (wxWindow
*) 0 ;
7675 wxWindow
*arg3
= (wxWindow
*) 0 ;
7676 int arg4
= (int) 0 ;
7678 PyObject
* obj0
= 0 ;
7679 PyObject
* obj1
= 0 ;
7680 PyObject
* obj2
= 0 ;
7681 PyObject
* obj3
= 0 ;
7683 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
7686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7687 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7688 if (SWIG_arg_fail(1)) SWIG_fail
;
7689 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7690 if (SWIG_arg_fail(2)) SWIG_fail
;
7691 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7692 if (SWIG_arg_fail(3)) SWIG_fail
;
7695 arg4
= (int)(SWIG_As_int(obj3
));
7696 if (SWIG_arg_fail(4)) SWIG_fail
;
7700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7701 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
7703 wxPyEndAllowThreads(__tstate
);
7704 if (PyErr_Occurred()) SWIG_fail
;
7707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7715 static PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7716 PyObject
*resultobj
;
7717 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7718 wxWindow
*arg2
= (wxWindow
*) NULL
;
7720 PyObject
* obj0
= 0 ;
7721 PyObject
* obj1
= 0 ;
7723 (char *) "self",(char *) "toRemove", NULL
7726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) goto fail
;
7727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7728 if (SWIG_arg_fail(1)) SWIG_fail
;
7730 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7731 if (SWIG_arg_fail(2)) SWIG_fail
;
7734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7735 result
= (bool)(arg1
)->Unsplit(arg2
);
7737 wxPyEndAllowThreads(__tstate
);
7738 if (PyErr_Occurred()) SWIG_fail
;
7741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7749 static PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7750 PyObject
*resultobj
;
7751 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7752 wxWindow
*arg2
= (wxWindow
*) 0 ;
7753 wxWindow
*arg3
= (wxWindow
*) 0 ;
7755 PyObject
* obj0
= 0 ;
7756 PyObject
* obj1
= 0 ;
7757 PyObject
* obj2
= 0 ;
7759 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
7762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7764 if (SWIG_arg_fail(1)) SWIG_fail
;
7765 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7766 if (SWIG_arg_fail(2)) SWIG_fail
;
7767 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
7768 if (SWIG_arg_fail(3)) SWIG_fail
;
7770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7771 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
7773 wxPyEndAllowThreads(__tstate
);
7774 if (PyErr_Occurred()) SWIG_fail
;
7777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7785 static PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7786 PyObject
*resultobj
;
7787 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7788 PyObject
* obj0
= 0 ;
7790 (char *) "self", NULL
7793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_UpdateSize",kwnames
,&obj0
)) goto fail
;
7794 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7795 if (SWIG_arg_fail(1)) SWIG_fail
;
7797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7798 (arg1
)->UpdateSize();
7800 wxPyEndAllowThreads(__tstate
);
7801 if (PyErr_Occurred()) SWIG_fail
;
7803 Py_INCREF(Py_None
); resultobj
= Py_None
;
7810 static PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7811 PyObject
*resultobj
;
7812 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7814 PyObject
* obj0
= 0 ;
7816 (char *) "self", NULL
7819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_IsSplit",kwnames
,&obj0
)) goto fail
;
7820 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7821 if (SWIG_arg_fail(1)) SWIG_fail
;
7823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7824 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
7826 wxPyEndAllowThreads(__tstate
);
7827 if (PyErr_Occurred()) SWIG_fail
;
7830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7838 static PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7839 PyObject
*resultobj
;
7840 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7842 PyObject
* obj0
= 0 ;
7843 PyObject
* obj1
= 0 ;
7845 (char *) "self",(char *) "width", NULL
7848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7849 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7850 if (SWIG_arg_fail(1)) SWIG_fail
;
7852 arg2
= (int)(SWIG_As_int(obj1
));
7853 if (SWIG_arg_fail(2)) SWIG_fail
;
7856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7857 (arg1
)->SetSashSize(arg2
);
7859 wxPyEndAllowThreads(__tstate
);
7860 if (PyErr_Occurred()) SWIG_fail
;
7862 Py_INCREF(Py_None
); resultobj
= Py_None
;
7869 static PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7870 PyObject
*resultobj
;
7871 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7873 PyObject
* obj0
= 0 ;
7874 PyObject
* obj1
= 0 ;
7876 (char *) "self",(char *) "width", NULL
7879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
7880 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7881 if (SWIG_arg_fail(1)) SWIG_fail
;
7883 arg2
= (int)(SWIG_As_int(obj1
));
7884 if (SWIG_arg_fail(2)) SWIG_fail
;
7887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7888 (arg1
)->SetBorderSize(arg2
);
7890 wxPyEndAllowThreads(__tstate
);
7891 if (PyErr_Occurred()) SWIG_fail
;
7893 Py_INCREF(Py_None
); resultobj
= Py_None
;
7900 static PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7901 PyObject
*resultobj
;
7902 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7904 PyObject
* obj0
= 0 ;
7906 (char *) "self", NULL
7909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashSize",kwnames
,&obj0
)) goto fail
;
7910 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7911 if (SWIG_arg_fail(1)) SWIG_fail
;
7913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7914 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
7916 wxPyEndAllowThreads(__tstate
);
7917 if (PyErr_Occurred()) SWIG_fail
;
7920 resultobj
= SWIG_From_int((int)(result
));
7928 static PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7929 PyObject
*resultobj
;
7930 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7932 PyObject
* obj0
= 0 ;
7934 (char *) "self", NULL
7937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetBorderSize",kwnames
,&obj0
)) goto fail
;
7938 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7939 if (SWIG_arg_fail(1)) SWIG_fail
;
7941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7942 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
7944 wxPyEndAllowThreads(__tstate
);
7945 if (PyErr_Occurred()) SWIG_fail
;
7948 resultobj
= SWIG_From_int((int)(result
));
7956 static PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7957 PyObject
*resultobj
;
7958 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7960 bool arg3
= (bool) true ;
7961 PyObject
* obj0
= 0 ;
7962 PyObject
* obj1
= 0 ;
7963 PyObject
* obj2
= 0 ;
7965 (char *) "self",(char *) "position",(char *) "redraw", NULL
7968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
7970 if (SWIG_arg_fail(1)) SWIG_fail
;
7972 arg2
= (int)(SWIG_As_int(obj1
));
7973 if (SWIG_arg_fail(2)) SWIG_fail
;
7977 arg3
= (bool)(SWIG_As_bool(obj2
));
7978 if (SWIG_arg_fail(3)) SWIG_fail
;
7982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7983 (arg1
)->SetSashPosition(arg2
,arg3
);
7985 wxPyEndAllowThreads(__tstate
);
7986 if (PyErr_Occurred()) SWIG_fail
;
7988 Py_INCREF(Py_None
); resultobj
= Py_None
;
7995 static PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7996 PyObject
*resultobj
;
7997 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
7999 PyObject
* obj0
= 0 ;
8001 (char *) "self", NULL
8004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashPosition",kwnames
,&obj0
)) goto fail
;
8005 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8006 if (SWIG_arg_fail(1)) SWIG_fail
;
8008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8009 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
8011 wxPyEndAllowThreads(__tstate
);
8012 if (PyErr_Occurred()) SWIG_fail
;
8015 resultobj
= SWIG_From_int((int)(result
));
8023 static PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8024 PyObject
*resultobj
;
8025 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8027 PyObject
* obj0
= 0 ;
8028 PyObject
* obj1
= 0 ;
8030 (char *) "self",(char *) "gravity", NULL
8033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) goto fail
;
8034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8035 if (SWIG_arg_fail(1)) SWIG_fail
;
8037 arg2
= (double)(SWIG_As_double(obj1
));
8038 if (SWIG_arg_fail(2)) SWIG_fail
;
8041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8042 (arg1
)->SetSashGravity(arg2
);
8044 wxPyEndAllowThreads(__tstate
);
8045 if (PyErr_Occurred()) SWIG_fail
;
8047 Py_INCREF(Py_None
); resultobj
= Py_None
;
8054 static PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8055 PyObject
*resultobj
;
8056 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8058 PyObject
* obj0
= 0 ;
8060 (char *) "self", NULL
8063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetSashGravity",kwnames
,&obj0
)) goto fail
;
8064 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8065 if (SWIG_arg_fail(1)) SWIG_fail
;
8067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8068 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
8070 wxPyEndAllowThreads(__tstate
);
8071 if (PyErr_Occurred()) SWIG_fail
;
8074 resultobj
= SWIG_From_double((double)(result
));
8082 static PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8083 PyObject
*resultobj
;
8084 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8086 PyObject
* obj0
= 0 ;
8087 PyObject
* obj1
= 0 ;
8089 (char *) "self",(char *) "min", NULL
8092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8094 if (SWIG_arg_fail(1)) SWIG_fail
;
8096 arg2
= (int)(SWIG_As_int(obj1
));
8097 if (SWIG_arg_fail(2)) SWIG_fail
;
8100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8101 (arg1
)->SetMinimumPaneSize(arg2
);
8103 wxPyEndAllowThreads(__tstate
);
8104 if (PyErr_Occurred()) SWIG_fail
;
8106 Py_INCREF(Py_None
); resultobj
= Py_None
;
8113 static PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8114 PyObject
*resultobj
;
8115 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8117 PyObject
* obj0
= 0 ;
8119 (char *) "self", NULL
8122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames
,&obj0
)) goto fail
;
8123 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8124 if (SWIG_arg_fail(1)) SWIG_fail
;
8126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8127 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
8129 wxPyEndAllowThreads(__tstate
);
8130 if (PyErr_Occurred()) SWIG_fail
;
8133 resultobj
= SWIG_From_int((int)(result
));
8141 static PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8142 PyObject
*resultobj
;
8143 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8146 int arg4
= (int) 5 ;
8148 PyObject
* obj0
= 0 ;
8149 PyObject
* obj1
= 0 ;
8150 PyObject
* obj2
= 0 ;
8151 PyObject
* obj3
= 0 ;
8153 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
8156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8157 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8158 if (SWIG_arg_fail(1)) SWIG_fail
;
8160 arg2
= (int)(SWIG_As_int(obj1
));
8161 if (SWIG_arg_fail(2)) SWIG_fail
;
8164 arg3
= (int)(SWIG_As_int(obj2
));
8165 if (SWIG_arg_fail(3)) SWIG_fail
;
8169 arg4
= (int)(SWIG_As_int(obj3
));
8170 if (SWIG_arg_fail(4)) SWIG_fail
;
8174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8175 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
8177 wxPyEndAllowThreads(__tstate
);
8178 if (PyErr_Occurred()) SWIG_fail
;
8181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8189 static PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8190 PyObject
*resultobj
;
8191 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8192 PyObject
* obj0
= 0 ;
8194 (char *) "self", NULL
8197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
8198 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8199 if (SWIG_arg_fail(1)) SWIG_fail
;
8201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8202 (arg1
)->SizeWindows();
8204 wxPyEndAllowThreads(__tstate
);
8205 if (PyErr_Occurred()) SWIG_fail
;
8207 Py_INCREF(Py_None
); resultobj
= Py_None
;
8214 static PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8215 PyObject
*resultobj
;
8216 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8218 PyObject
* obj0
= 0 ;
8219 PyObject
* obj1
= 0 ;
8221 (char *) "self",(char *) "needUpdating", NULL
8224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) goto fail
;
8225 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8226 if (SWIG_arg_fail(1)) SWIG_fail
;
8228 arg2
= (bool)(SWIG_As_bool(obj1
));
8229 if (SWIG_arg_fail(2)) SWIG_fail
;
8232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8233 (arg1
)->SetNeedUpdating(arg2
);
8235 wxPyEndAllowThreads(__tstate
);
8236 if (PyErr_Occurred()) SWIG_fail
;
8238 Py_INCREF(Py_None
); resultobj
= Py_None
;
8245 static PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8246 PyObject
*resultobj
;
8247 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
8249 PyObject
* obj0
= 0 ;
8251 (char *) "self", NULL
8254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames
,&obj0
)) goto fail
;
8255 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8256 if (SWIG_arg_fail(1)) SWIG_fail
;
8258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8259 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
8261 wxPyEndAllowThreads(__tstate
);
8262 if (PyErr_Occurred()) SWIG_fail
;
8265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8273 static PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8274 PyObject
*resultobj
;
8275 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8276 wxVisualAttributes result
;
8277 PyObject
* obj0
= 0 ;
8279 (char *) "variant", NULL
8282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
8285 arg1
= (wxWindowVariant
)(SWIG_As_int(obj0
));
8286 if (SWIG_arg_fail(1)) SWIG_fail
;
8290 if (!wxPyCheckForApp()) SWIG_fail
;
8291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8292 result
= wxSplitterWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
8294 wxPyEndAllowThreads(__tstate
);
8295 if (PyErr_Occurred()) SWIG_fail
;
8298 wxVisualAttributes
* resultptr
;
8299 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
8300 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
8308 static PyObject
* SplitterWindow_swigregister(PyObject
*, PyObject
*args
) {
8310 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8311 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow
, obj
);
8313 return Py_BuildValue((char *)"");
8315 static PyObject
*_wrap_new_SplitterEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8316 PyObject
*resultobj
;
8317 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
8318 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
8319 wxSplitterEvent
*result
;
8320 PyObject
* obj0
= 0 ;
8321 PyObject
* obj1
= 0 ;
8323 (char *) "type",(char *) "splitter", NULL
8326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
8329 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
8330 if (SWIG_arg_fail(1)) SWIG_fail
;
8334 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_EXCEPTION
| 0);
8335 if (SWIG_arg_fail(2)) SWIG_fail
;
8338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8339 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
8341 wxPyEndAllowThreads(__tstate
);
8342 if (PyErr_Occurred()) SWIG_fail
;
8344 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSplitterEvent
, 1);
8351 static PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8352 PyObject
*resultobj
;
8353 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8355 PyObject
* obj0
= 0 ;
8356 PyObject
* obj1
= 0 ;
8358 (char *) "self",(char *) "pos", NULL
8361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
8362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8363 if (SWIG_arg_fail(1)) SWIG_fail
;
8365 arg2
= (int)(SWIG_As_int(obj1
));
8366 if (SWIG_arg_fail(2)) SWIG_fail
;
8369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8370 (arg1
)->SetSashPosition(arg2
);
8372 wxPyEndAllowThreads(__tstate
);
8373 if (PyErr_Occurred()) SWIG_fail
;
8375 Py_INCREF(Py_None
); resultobj
= Py_None
;
8382 static PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8383 PyObject
*resultobj
;
8384 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8386 PyObject
* obj0
= 0 ;
8388 (char *) "self", NULL
8391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetSashPosition",kwnames
,&obj0
)) goto fail
;
8392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8393 if (SWIG_arg_fail(1)) SWIG_fail
;
8395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8396 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
8398 wxPyEndAllowThreads(__tstate
);
8399 if (PyErr_Occurred()) SWIG_fail
;
8402 resultobj
= SWIG_From_int((int)(result
));
8410 static PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8411 PyObject
*resultobj
;
8412 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8414 PyObject
* obj0
= 0 ;
8416 (char *) "self", NULL
8419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames
,&obj0
)) goto fail
;
8420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8421 if (SWIG_arg_fail(1)) SWIG_fail
;
8423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8424 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
8426 wxPyEndAllowThreads(__tstate
);
8427 if (PyErr_Occurred()) SWIG_fail
;
8430 resultobj
= wxPyMake_wxObject(result
, 0);
8438 static PyObject
*_wrap_SplitterEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8439 PyObject
*resultobj
;
8440 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8442 PyObject
* obj0
= 0 ;
8444 (char *) "self", NULL
8447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetX",kwnames
,&obj0
)) goto fail
;
8448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8449 if (SWIG_arg_fail(1)) SWIG_fail
;
8451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8452 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
8454 wxPyEndAllowThreads(__tstate
);
8455 if (PyErr_Occurred()) SWIG_fail
;
8458 resultobj
= SWIG_From_int((int)(result
));
8466 static PyObject
*_wrap_SplitterEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8467 PyObject
*resultobj
;
8468 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
8470 PyObject
* obj0
= 0 ;
8472 (char *) "self", NULL
8475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SplitterEvent_GetY",kwnames
,&obj0
)) goto fail
;
8476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_EXCEPTION
| 0);
8477 if (SWIG_arg_fail(1)) SWIG_fail
;
8479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8480 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
8482 wxPyEndAllowThreads(__tstate
);
8483 if (PyErr_Occurred()) SWIG_fail
;
8486 resultobj
= SWIG_From_int((int)(result
));
8494 static PyObject
* SplitterEvent_swigregister(PyObject
*, PyObject
*args
) {
8496 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8497 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent
, obj
);
8499 return Py_BuildValue((char *)"");
8501 static int _wrap_SashNameStr_set(PyObject
*) {
8502 PyErr_SetString(PyExc_TypeError
,"Variable SashNameStr is read-only.");
8507 static PyObject
*_wrap_SashNameStr_get(void) {
8512 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
8514 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
8521 static int _wrap_SashLayoutNameStr_set(PyObject
*) {
8522 PyErr_SetString(PyExc_TypeError
,"Variable SashLayoutNameStr is read-only.");
8527 static PyObject
*_wrap_SashLayoutNameStr_get(void) {
8532 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
8534 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
8541 static PyObject
*_wrap_new_SashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8542 PyObject
*resultobj
;
8543 wxWindow
*arg1
= (wxWindow
*) 0 ;
8544 int arg2
= (int) -1 ;
8545 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
8546 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
8547 wxSize
const &arg4_defvalue
= wxDefaultSize
;
8548 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
8549 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8550 wxString
const &arg6_defvalue
= wxPySashNameStr
;
8551 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
8552 wxSashWindow
*result
;
8555 bool temp6
= false ;
8556 PyObject
* obj0
= 0 ;
8557 PyObject
* obj1
= 0 ;
8558 PyObject
* obj2
= 0 ;
8559 PyObject
* obj3
= 0 ;
8560 PyObject
* obj4
= 0 ;
8561 PyObject
* obj5
= 0 ;
8563 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8567 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8568 if (SWIG_arg_fail(1)) SWIG_fail
;
8571 arg2
= (int)(SWIG_As_int(obj1
));
8572 if (SWIG_arg_fail(2)) SWIG_fail
;
8578 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
8584 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
8589 arg5
= (long)(SWIG_As_long(obj4
));
8590 if (SWIG_arg_fail(5)) SWIG_fail
;
8595 arg6
= wxString_in_helper(obj5
);
8596 if (arg6
== NULL
) SWIG_fail
;
8601 if (!wxPyCheckForApp()) SWIG_fail
;
8602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8603 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
8605 wxPyEndAllowThreads(__tstate
);
8606 if (PyErr_Occurred()) SWIG_fail
;
8608 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
8623 static PyObject
*_wrap_new_PreSashWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8624 PyObject
*resultobj
;
8625 wxSashWindow
*result
;
8630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashWindow",kwnames
)) goto fail
;
8632 if (!wxPyCheckForApp()) SWIG_fail
;
8633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8634 result
= (wxSashWindow
*)new wxSashWindow();
8636 wxPyEndAllowThreads(__tstate
);
8637 if (PyErr_Occurred()) SWIG_fail
;
8639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashWindow
, 1);
8646 static PyObject
*_wrap_SashWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8647 PyObject
*resultobj
;
8648 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8649 wxWindow
*arg2
= (wxWindow
*) 0 ;
8650 int arg3
= (int) -1 ;
8651 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8652 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8653 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8654 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8655 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
8656 wxString
const &arg7_defvalue
= wxPySashNameStr
;
8657 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8661 bool temp7
= false ;
8662 PyObject
* obj0
= 0 ;
8663 PyObject
* obj1
= 0 ;
8664 PyObject
* obj2
= 0 ;
8665 PyObject
* obj3
= 0 ;
8666 PyObject
* obj4
= 0 ;
8667 PyObject
* obj5
= 0 ;
8668 PyObject
* obj6
= 0 ;
8670 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
8674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8675 if (SWIG_arg_fail(1)) SWIG_fail
;
8676 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
8677 if (SWIG_arg_fail(2)) SWIG_fail
;
8680 arg3
= (int)(SWIG_As_int(obj2
));
8681 if (SWIG_arg_fail(3)) SWIG_fail
;
8687 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8693 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8698 arg6
= (long)(SWIG_As_long(obj5
));
8699 if (SWIG_arg_fail(6)) SWIG_fail
;
8704 arg7
= wxString_in_helper(obj6
);
8705 if (arg7
== NULL
) SWIG_fail
;
8710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8711 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8713 wxPyEndAllowThreads(__tstate
);
8714 if (PyErr_Occurred()) SWIG_fail
;
8717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8733 static PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8734 PyObject
*resultobj
;
8735 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8736 wxSashEdgePosition arg2
;
8738 PyObject
* obj0
= 0 ;
8739 PyObject
* obj1
= 0 ;
8740 PyObject
* obj2
= 0 ;
8742 (char *) "self",(char *) "edge",(char *) "sash", NULL
8745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8746 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8747 if (SWIG_arg_fail(1)) SWIG_fail
;
8749 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8750 if (SWIG_arg_fail(2)) SWIG_fail
;
8753 arg3
= (bool)(SWIG_As_bool(obj2
));
8754 if (SWIG_arg_fail(3)) SWIG_fail
;
8757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8758 (arg1
)->SetSashVisible((wxSashEdgePosition
)arg2
,arg3
);
8760 wxPyEndAllowThreads(__tstate
);
8761 if (PyErr_Occurred()) SWIG_fail
;
8763 Py_INCREF(Py_None
); resultobj
= Py_None
;
8770 static PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8771 PyObject
*resultobj
;
8772 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8773 wxSashEdgePosition arg2
;
8775 PyObject
* obj0
= 0 ;
8776 PyObject
* obj1
= 0 ;
8778 (char *) "self",(char *) "edge", NULL
8781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
8782 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8783 if (SWIG_arg_fail(1)) SWIG_fail
;
8785 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8786 if (SWIG_arg_fail(2)) SWIG_fail
;
8789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8790 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible((wxSashEdgePosition
)arg2
);
8792 wxPyEndAllowThreads(__tstate
);
8793 if (PyErr_Occurred()) SWIG_fail
;
8796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8804 static PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8805 PyObject
*resultobj
;
8806 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8807 wxSashEdgePosition arg2
;
8809 PyObject
* obj0
= 0 ;
8810 PyObject
* obj1
= 0 ;
8811 PyObject
* obj2
= 0 ;
8813 (char *) "self",(char *) "edge",(char *) "border", NULL
8816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8817 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8818 if (SWIG_arg_fail(1)) SWIG_fail
;
8820 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8821 if (SWIG_arg_fail(2)) SWIG_fail
;
8824 arg3
= (bool)(SWIG_As_bool(obj2
));
8825 if (SWIG_arg_fail(3)) SWIG_fail
;
8828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8829 (arg1
)->SetSashBorder((wxSashEdgePosition
)arg2
,arg3
);
8831 wxPyEndAllowThreads(__tstate
);
8832 if (PyErr_Occurred()) SWIG_fail
;
8834 Py_INCREF(Py_None
); resultobj
= Py_None
;
8841 static PyObject
*_wrap_SashWindow_HasBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8842 PyObject
*resultobj
;
8843 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8844 wxSashEdgePosition arg2
;
8846 PyObject
* obj0
= 0 ;
8847 PyObject
* obj1
= 0 ;
8849 (char *) "self",(char *) "edge", NULL
8852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
8853 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8854 if (SWIG_arg_fail(1)) SWIG_fail
;
8856 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8857 if (SWIG_arg_fail(2)) SWIG_fail
;
8860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8861 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder((wxSashEdgePosition
)arg2
);
8863 wxPyEndAllowThreads(__tstate
);
8864 if (PyErr_Occurred()) SWIG_fail
;
8867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8875 static PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8876 PyObject
*resultobj
;
8877 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8878 wxSashEdgePosition arg2
;
8880 PyObject
* obj0
= 0 ;
8881 PyObject
* obj1
= 0 ;
8883 (char *) "self",(char *) "edge", NULL
8886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
8887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8888 if (SWIG_arg_fail(1)) SWIG_fail
;
8890 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
8891 if (SWIG_arg_fail(2)) SWIG_fail
;
8894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8895 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin((wxSashEdgePosition
)arg2
);
8897 wxPyEndAllowThreads(__tstate
);
8898 if (PyErr_Occurred()) SWIG_fail
;
8901 resultobj
= SWIG_From_int((int)(result
));
8909 static PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8910 PyObject
*resultobj
;
8911 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8913 PyObject
* obj0
= 0 ;
8914 PyObject
* obj1
= 0 ;
8916 (char *) "self",(char *) "width", NULL
8919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8920 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8921 if (SWIG_arg_fail(1)) SWIG_fail
;
8923 arg2
= (int)(SWIG_As_int(obj1
));
8924 if (SWIG_arg_fail(2)) SWIG_fail
;
8927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8928 (arg1
)->SetDefaultBorderSize(arg2
);
8930 wxPyEndAllowThreads(__tstate
);
8931 if (PyErr_Occurred()) SWIG_fail
;
8933 Py_INCREF(Py_None
); resultobj
= Py_None
;
8940 static PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8941 PyObject
*resultobj
;
8942 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8944 PyObject
* obj0
= 0 ;
8946 (char *) "self", NULL
8949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames
,&obj0
)) goto fail
;
8950 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8951 if (SWIG_arg_fail(1)) SWIG_fail
;
8953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8954 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
8956 wxPyEndAllowThreads(__tstate
);
8957 if (PyErr_Occurred()) SWIG_fail
;
8960 resultobj
= SWIG_From_int((int)(result
));
8968 static PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8969 PyObject
*resultobj
;
8970 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
8972 PyObject
* obj0
= 0 ;
8973 PyObject
* obj1
= 0 ;
8975 (char *) "self",(char *) "width", NULL
8978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) goto fail
;
8979 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
8980 if (SWIG_arg_fail(1)) SWIG_fail
;
8982 arg2
= (int)(SWIG_As_int(obj1
));
8983 if (SWIG_arg_fail(2)) SWIG_fail
;
8986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8987 (arg1
)->SetExtraBorderSize(arg2
);
8989 wxPyEndAllowThreads(__tstate
);
8990 if (PyErr_Occurred()) SWIG_fail
;
8992 Py_INCREF(Py_None
); resultobj
= Py_None
;
8999 static PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9000 PyObject
*resultobj
;
9001 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9003 PyObject
* obj0
= 0 ;
9005 (char *) "self", NULL
9008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetExtraBorderSize",kwnames
,&obj0
)) goto fail
;
9009 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9010 if (SWIG_arg_fail(1)) SWIG_fail
;
9012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9013 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
9015 wxPyEndAllowThreads(__tstate
);
9016 if (PyErr_Occurred()) SWIG_fail
;
9019 resultobj
= SWIG_From_int((int)(result
));
9027 static PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9028 PyObject
*resultobj
;
9029 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9031 PyObject
* obj0
= 0 ;
9032 PyObject
* obj1
= 0 ;
9034 (char *) "self",(char *) "min", NULL
9037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
9038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9039 if (SWIG_arg_fail(1)) SWIG_fail
;
9041 arg2
= (int)(SWIG_As_int(obj1
));
9042 if (SWIG_arg_fail(2)) SWIG_fail
;
9045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9046 (arg1
)->SetMinimumSizeX(arg2
);
9048 wxPyEndAllowThreads(__tstate
);
9049 if (PyErr_Occurred()) SWIG_fail
;
9051 Py_INCREF(Py_None
); resultobj
= Py_None
;
9058 static PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9059 PyObject
*resultobj
;
9060 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9062 PyObject
* obj0
= 0 ;
9063 PyObject
* obj1
= 0 ;
9065 (char *) "self",(char *) "min", NULL
9068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
9069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9070 if (SWIG_arg_fail(1)) SWIG_fail
;
9072 arg2
= (int)(SWIG_As_int(obj1
));
9073 if (SWIG_arg_fail(2)) SWIG_fail
;
9076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9077 (arg1
)->SetMinimumSizeY(arg2
);
9079 wxPyEndAllowThreads(__tstate
);
9080 if (PyErr_Occurred()) SWIG_fail
;
9082 Py_INCREF(Py_None
); resultobj
= Py_None
;
9089 static PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9090 PyObject
*resultobj
;
9091 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9093 PyObject
* obj0
= 0 ;
9095 (char *) "self", NULL
9098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeX",kwnames
,&obj0
)) goto fail
;
9099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9100 if (SWIG_arg_fail(1)) SWIG_fail
;
9102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9103 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
9105 wxPyEndAllowThreads(__tstate
);
9106 if (PyErr_Occurred()) SWIG_fail
;
9109 resultobj
= SWIG_From_int((int)(result
));
9117 static PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9118 PyObject
*resultobj
;
9119 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9121 PyObject
* obj0
= 0 ;
9123 (char *) "self", NULL
9126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMinimumSizeY",kwnames
,&obj0
)) goto fail
;
9127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9128 if (SWIG_arg_fail(1)) SWIG_fail
;
9130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9131 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
9133 wxPyEndAllowThreads(__tstate
);
9134 if (PyErr_Occurred()) SWIG_fail
;
9137 resultobj
= SWIG_From_int((int)(result
));
9145 static PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9146 PyObject
*resultobj
;
9147 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9149 PyObject
* obj0
= 0 ;
9150 PyObject
* obj1
= 0 ;
9152 (char *) "self",(char *) "max", NULL
9155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) goto fail
;
9156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9157 if (SWIG_arg_fail(1)) SWIG_fail
;
9159 arg2
= (int)(SWIG_As_int(obj1
));
9160 if (SWIG_arg_fail(2)) SWIG_fail
;
9163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9164 (arg1
)->SetMaximumSizeX(arg2
);
9166 wxPyEndAllowThreads(__tstate
);
9167 if (PyErr_Occurred()) SWIG_fail
;
9169 Py_INCREF(Py_None
); resultobj
= Py_None
;
9176 static PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9177 PyObject
*resultobj
;
9178 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9180 PyObject
* obj0
= 0 ;
9181 PyObject
* obj1
= 0 ;
9183 (char *) "self",(char *) "max", NULL
9186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) goto fail
;
9187 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9188 if (SWIG_arg_fail(1)) SWIG_fail
;
9190 arg2
= (int)(SWIG_As_int(obj1
));
9191 if (SWIG_arg_fail(2)) SWIG_fail
;
9194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9195 (arg1
)->SetMaximumSizeY(arg2
);
9197 wxPyEndAllowThreads(__tstate
);
9198 if (PyErr_Occurred()) SWIG_fail
;
9200 Py_INCREF(Py_None
); resultobj
= Py_None
;
9207 static PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9208 PyObject
*resultobj
;
9209 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9211 PyObject
* obj0
= 0 ;
9213 (char *) "self", NULL
9216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeX",kwnames
,&obj0
)) goto fail
;
9217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9218 if (SWIG_arg_fail(1)) SWIG_fail
;
9220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9221 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
9223 wxPyEndAllowThreads(__tstate
);
9224 if (PyErr_Occurred()) SWIG_fail
;
9227 resultobj
= SWIG_From_int((int)(result
));
9235 static PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9236 PyObject
*resultobj
;
9237 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9239 PyObject
* obj0
= 0 ;
9241 (char *) "self", NULL
9244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_GetMaximumSizeY",kwnames
,&obj0
)) goto fail
;
9245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9246 if (SWIG_arg_fail(1)) SWIG_fail
;
9248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9249 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
9251 wxPyEndAllowThreads(__tstate
);
9252 if (PyErr_Occurred()) SWIG_fail
;
9255 resultobj
= SWIG_From_int((int)(result
));
9263 static PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9264 PyObject
*resultobj
;
9265 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9268 int arg4
= (int) 2 ;
9269 wxSashEdgePosition result
;
9270 PyObject
* obj0
= 0 ;
9271 PyObject
* obj1
= 0 ;
9272 PyObject
* obj2
= 0 ;
9273 PyObject
* obj3
= 0 ;
9275 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
9278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9280 if (SWIG_arg_fail(1)) SWIG_fail
;
9282 arg2
= (int)(SWIG_As_int(obj1
));
9283 if (SWIG_arg_fail(2)) SWIG_fail
;
9286 arg3
= (int)(SWIG_As_int(obj2
));
9287 if (SWIG_arg_fail(3)) SWIG_fail
;
9291 arg4
= (int)(SWIG_As_int(obj3
));
9292 if (SWIG_arg_fail(4)) SWIG_fail
;
9296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9297 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
9299 wxPyEndAllowThreads(__tstate
);
9300 if (PyErr_Occurred()) SWIG_fail
;
9302 resultobj
= SWIG_From_int((result
));
9309 static PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9310 PyObject
*resultobj
;
9311 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
9312 PyObject
* obj0
= 0 ;
9314 (char *) "self", NULL
9317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashWindow_SizeWindows",kwnames
,&obj0
)) goto fail
;
9318 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_EXCEPTION
| 0);
9319 if (SWIG_arg_fail(1)) SWIG_fail
;
9321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9322 (arg1
)->SizeWindows();
9324 wxPyEndAllowThreads(__tstate
);
9325 if (PyErr_Occurred()) SWIG_fail
;
9327 Py_INCREF(Py_None
); resultobj
= Py_None
;
9334 static PyObject
* SashWindow_swigregister(PyObject
*, PyObject
*args
) {
9336 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9337 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow
, obj
);
9339 return Py_BuildValue((char *)"");
9341 static PyObject
*_wrap_new_SashEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9342 PyObject
*resultobj
;
9343 int arg1
= (int) 0 ;
9344 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
9345 wxSashEvent
*result
;
9346 PyObject
* obj0
= 0 ;
9347 PyObject
* obj1
= 0 ;
9349 (char *) "id",(char *) "edge", NULL
9352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
9355 arg1
= (int)(SWIG_As_int(obj0
));
9356 if (SWIG_arg_fail(1)) SWIG_fail
;
9361 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
9362 if (SWIG_arg_fail(2)) SWIG_fail
;
9366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9367 result
= (wxSashEvent
*)new wxSashEvent(arg1
,(wxSashEdgePosition
)arg2
);
9369 wxPyEndAllowThreads(__tstate
);
9370 if (PyErr_Occurred()) SWIG_fail
;
9372 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashEvent
, 1);
9379 static PyObject
*_wrap_SashEvent_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9380 PyObject
*resultobj
;
9381 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9382 wxSashEdgePosition arg2
;
9383 PyObject
* obj0
= 0 ;
9384 PyObject
* obj1
= 0 ;
9386 (char *) "self",(char *) "edge", NULL
9389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
9390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9391 if (SWIG_arg_fail(1)) SWIG_fail
;
9393 arg2
= (wxSashEdgePosition
)(SWIG_As_int(obj1
));
9394 if (SWIG_arg_fail(2)) SWIG_fail
;
9397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9398 (arg1
)->SetEdge((wxSashEdgePosition
)arg2
);
9400 wxPyEndAllowThreads(__tstate
);
9401 if (PyErr_Occurred()) SWIG_fail
;
9403 Py_INCREF(Py_None
); resultobj
= Py_None
;
9410 static PyObject
*_wrap_SashEvent_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9411 PyObject
*resultobj
;
9412 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9413 wxSashEdgePosition result
;
9414 PyObject
* obj0
= 0 ;
9416 (char *) "self", NULL
9419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetEdge",kwnames
,&obj0
)) goto fail
;
9420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9421 if (SWIG_arg_fail(1)) SWIG_fail
;
9423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9424 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
9426 wxPyEndAllowThreads(__tstate
);
9427 if (PyErr_Occurred()) SWIG_fail
;
9429 resultobj
= SWIG_From_int((result
));
9436 static PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9437 PyObject
*resultobj
;
9438 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9441 PyObject
* obj0
= 0 ;
9442 PyObject
* obj1
= 0 ;
9444 (char *) "self",(char *) "rect", NULL
9447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9448 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9449 if (SWIG_arg_fail(1)) SWIG_fail
;
9452 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9456 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
9458 wxPyEndAllowThreads(__tstate
);
9459 if (PyErr_Occurred()) SWIG_fail
;
9461 Py_INCREF(Py_None
); resultobj
= Py_None
;
9468 static PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9469 PyObject
*resultobj
;
9470 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9472 PyObject
* obj0
= 0 ;
9474 (char *) "self", NULL
9477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragRect",kwnames
,&obj0
)) goto fail
;
9478 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9479 if (SWIG_arg_fail(1)) SWIG_fail
;
9481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9482 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
9484 wxPyEndAllowThreads(__tstate
);
9485 if (PyErr_Occurred()) SWIG_fail
;
9489 resultptr
= new wxRect((wxRect
&)(result
));
9490 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
9498 static PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9499 PyObject
*resultobj
;
9500 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9501 wxSashDragStatus arg2
;
9502 PyObject
* obj0
= 0 ;
9503 PyObject
* obj1
= 0 ;
9505 (char *) "self",(char *) "status", NULL
9508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) goto fail
;
9509 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9510 if (SWIG_arg_fail(1)) SWIG_fail
;
9512 arg2
= (wxSashDragStatus
)(SWIG_As_int(obj1
));
9513 if (SWIG_arg_fail(2)) SWIG_fail
;
9516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9517 (arg1
)->SetDragStatus((wxSashDragStatus
)arg2
);
9519 wxPyEndAllowThreads(__tstate
);
9520 if (PyErr_Occurred()) SWIG_fail
;
9522 Py_INCREF(Py_None
); resultobj
= Py_None
;
9529 static PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9530 PyObject
*resultobj
;
9531 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
9532 wxSashDragStatus result
;
9533 PyObject
* obj0
= 0 ;
9535 (char *) "self", NULL
9538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashEvent_GetDragStatus",kwnames
,&obj0
)) goto fail
;
9539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_EXCEPTION
| 0);
9540 if (SWIG_arg_fail(1)) SWIG_fail
;
9542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9543 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
9545 wxPyEndAllowThreads(__tstate
);
9546 if (PyErr_Occurred()) SWIG_fail
;
9548 resultobj
= SWIG_From_int((result
));
9555 static PyObject
* SashEvent_swigregister(PyObject
*, PyObject
*args
) {
9557 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9558 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent
, obj
);
9560 return Py_BuildValue((char *)"");
9562 static PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9563 PyObject
*resultobj
;
9564 int arg1
= (int) 0 ;
9565 wxQueryLayoutInfoEvent
*result
;
9566 PyObject
* obj0
= 0 ;
9571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) goto fail
;
9574 arg1
= (int)(SWIG_As_int(obj0
));
9575 if (SWIG_arg_fail(1)) SWIG_fail
;
9579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9580 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
9582 wxPyEndAllowThreads(__tstate
);
9583 if (PyErr_Occurred()) SWIG_fail
;
9585 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, 1);
9592 static PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9593 PyObject
*resultobj
;
9594 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9596 PyObject
* obj0
= 0 ;
9597 PyObject
* obj1
= 0 ;
9599 (char *) "self",(char *) "length", NULL
9602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) goto fail
;
9603 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9604 if (SWIG_arg_fail(1)) SWIG_fail
;
9606 arg2
= (int)(SWIG_As_int(obj1
));
9607 if (SWIG_arg_fail(2)) SWIG_fail
;
9610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9611 (arg1
)->SetRequestedLength(arg2
);
9613 wxPyEndAllowThreads(__tstate
);
9614 if (PyErr_Occurred()) SWIG_fail
;
9616 Py_INCREF(Py_None
); resultobj
= Py_None
;
9623 static PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9624 PyObject
*resultobj
;
9625 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9627 PyObject
* obj0
= 0 ;
9629 (char *) "self", NULL
9632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames
,&obj0
)) goto fail
;
9633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9634 if (SWIG_arg_fail(1)) SWIG_fail
;
9636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9637 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
9639 wxPyEndAllowThreads(__tstate
);
9640 if (PyErr_Occurred()) SWIG_fail
;
9643 resultobj
= SWIG_From_int((int)(result
));
9651 static PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9652 PyObject
*resultobj
;
9653 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9655 PyObject
* obj0
= 0 ;
9656 PyObject
* obj1
= 0 ;
9658 (char *) "self",(char *) "flags", NULL
9661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9662 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9663 if (SWIG_arg_fail(1)) SWIG_fail
;
9665 arg2
= (int)(SWIG_As_int(obj1
));
9666 if (SWIG_arg_fail(2)) SWIG_fail
;
9669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9670 (arg1
)->SetFlags(arg2
);
9672 wxPyEndAllowThreads(__tstate
);
9673 if (PyErr_Occurred()) SWIG_fail
;
9675 Py_INCREF(Py_None
); resultobj
= Py_None
;
9682 static PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9683 PyObject
*resultobj
;
9684 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9686 PyObject
* obj0
= 0 ;
9688 (char *) "self", NULL
9691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
9692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9693 if (SWIG_arg_fail(1)) SWIG_fail
;
9695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9696 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
9698 wxPyEndAllowThreads(__tstate
);
9699 if (PyErr_Occurred()) SWIG_fail
;
9702 resultobj
= SWIG_From_int((int)(result
));
9710 static PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9711 PyObject
*resultobj
;
9712 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9715 PyObject
* obj0
= 0 ;
9716 PyObject
* obj1
= 0 ;
9718 (char *) "self",(char *) "size", NULL
9721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
9722 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9723 if (SWIG_arg_fail(1)) SWIG_fail
;
9726 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
9729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9730 (arg1
)->SetSize((wxSize
const &)*arg2
);
9732 wxPyEndAllowThreads(__tstate
);
9733 if (PyErr_Occurred()) SWIG_fail
;
9735 Py_INCREF(Py_None
); resultobj
= Py_None
;
9742 static PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9743 PyObject
*resultobj
;
9744 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9746 PyObject
* obj0
= 0 ;
9748 (char *) "self", NULL
9751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames
,&obj0
)) goto fail
;
9752 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9753 if (SWIG_arg_fail(1)) SWIG_fail
;
9755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9756 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
9758 wxPyEndAllowThreads(__tstate
);
9759 if (PyErr_Occurred()) SWIG_fail
;
9763 resultptr
= new wxSize((wxSize
&)(result
));
9764 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
9772 static PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9773 PyObject
*resultobj
;
9774 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9775 wxLayoutOrientation arg2
;
9776 PyObject
* obj0
= 0 ;
9777 PyObject
* obj1
= 0 ;
9779 (char *) "self",(char *) "orient", NULL
9782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
9783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9784 if (SWIG_arg_fail(1)) SWIG_fail
;
9786 arg2
= (wxLayoutOrientation
)(SWIG_As_int(obj1
));
9787 if (SWIG_arg_fail(2)) SWIG_fail
;
9790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9791 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
9793 wxPyEndAllowThreads(__tstate
);
9794 if (PyErr_Occurred()) SWIG_fail
;
9796 Py_INCREF(Py_None
); resultobj
= Py_None
;
9803 static PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9804 PyObject
*resultobj
;
9805 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9806 wxLayoutOrientation result
;
9807 PyObject
* obj0
= 0 ;
9809 (char *) "self", NULL
9812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
9813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9814 if (SWIG_arg_fail(1)) SWIG_fail
;
9816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9817 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
9819 wxPyEndAllowThreads(__tstate
);
9820 if (PyErr_Occurred()) SWIG_fail
;
9822 resultobj
= SWIG_From_int((result
));
9829 static PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9830 PyObject
*resultobj
;
9831 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9832 wxLayoutAlignment arg2
;
9833 PyObject
* obj0
= 0 ;
9834 PyObject
* obj1
= 0 ;
9836 (char *) "self",(char *) "align", NULL
9839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
9840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9841 if (SWIG_arg_fail(1)) SWIG_fail
;
9843 arg2
= (wxLayoutAlignment
)(SWIG_As_int(obj1
));
9844 if (SWIG_arg_fail(2)) SWIG_fail
;
9847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9848 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
9850 wxPyEndAllowThreads(__tstate
);
9851 if (PyErr_Occurred()) SWIG_fail
;
9853 Py_INCREF(Py_None
); resultobj
= Py_None
;
9860 static PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9861 PyObject
*resultobj
;
9862 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
9863 wxLayoutAlignment result
;
9864 PyObject
* obj0
= 0 ;
9866 (char *) "self", NULL
9869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames
,&obj0
)) goto fail
;
9870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_EXCEPTION
| 0);
9871 if (SWIG_arg_fail(1)) SWIG_fail
;
9873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9874 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
9876 wxPyEndAllowThreads(__tstate
);
9877 if (PyErr_Occurred()) SWIG_fail
;
9879 resultobj
= SWIG_From_int((result
));
9886 static PyObject
* QueryLayoutInfoEvent_swigregister(PyObject
*, PyObject
*args
) {
9888 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9889 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, obj
);
9891 return Py_BuildValue((char *)"");
9893 static PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9894 PyObject
*resultobj
;
9895 int arg1
= (int) 0 ;
9896 wxCalculateLayoutEvent
*result
;
9897 PyObject
* obj0
= 0 ;
9902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) goto fail
;
9905 arg1
= (int)(SWIG_As_int(obj0
));
9906 if (SWIG_arg_fail(1)) SWIG_fail
;
9910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9911 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
9913 wxPyEndAllowThreads(__tstate
);
9914 if (PyErr_Occurred()) SWIG_fail
;
9916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, 1);
9923 static PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9924 PyObject
*resultobj
;
9925 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
9927 PyObject
* obj0
= 0 ;
9928 PyObject
* obj1
= 0 ;
9930 (char *) "self",(char *) "flags", NULL
9933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
9934 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
9935 if (SWIG_arg_fail(1)) SWIG_fail
;
9937 arg2
= (int)(SWIG_As_int(obj1
));
9938 if (SWIG_arg_fail(2)) SWIG_fail
;
9941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9942 (arg1
)->SetFlags(arg2
);
9944 wxPyEndAllowThreads(__tstate
);
9945 if (PyErr_Occurred()) SWIG_fail
;
9947 Py_INCREF(Py_None
); resultobj
= Py_None
;
9954 static PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9955 PyObject
*resultobj
;
9956 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
9958 PyObject
* obj0
= 0 ;
9960 (char *) "self", NULL
9963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
9964 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
9965 if (SWIG_arg_fail(1)) SWIG_fail
;
9967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9968 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
9970 wxPyEndAllowThreads(__tstate
);
9971 if (PyErr_Occurred()) SWIG_fail
;
9974 resultobj
= SWIG_From_int((int)(result
));
9982 static PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9983 PyObject
*resultobj
;
9984 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
9987 PyObject
* obj0
= 0 ;
9988 PyObject
* obj1
= 0 ;
9990 (char *) "self",(char *) "rect", NULL
9993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
9994 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
9995 if (SWIG_arg_fail(1)) SWIG_fail
;
9998 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10002 (arg1
)->SetRect((wxRect
const &)*arg2
);
10004 wxPyEndAllowThreads(__tstate
);
10005 if (PyErr_Occurred()) SWIG_fail
;
10007 Py_INCREF(Py_None
); resultobj
= Py_None
;
10014 static PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10015 PyObject
*resultobj
;
10016 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
10018 PyObject
* obj0
= 0 ;
10019 char *kwnames
[] = {
10020 (char *) "self", NULL
10023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CalculateLayoutEvent_GetRect",kwnames
,&obj0
)) goto fail
;
10024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_EXCEPTION
| 0);
10025 if (SWIG_arg_fail(1)) SWIG_fail
;
10027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10028 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
10030 wxPyEndAllowThreads(__tstate
);
10031 if (PyErr_Occurred()) SWIG_fail
;
10034 wxRect
* resultptr
;
10035 resultptr
= new wxRect((wxRect
&)(result
));
10036 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
10044 static PyObject
* CalculateLayoutEvent_swigregister(PyObject
*, PyObject
*args
) {
10046 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10047 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, obj
);
10049 return Py_BuildValue((char *)"");
10051 static PyObject
*_wrap_new_SashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10052 PyObject
*resultobj
;
10053 wxWindow
*arg1
= (wxWindow
*) 0 ;
10054 int arg2
= (int) -1 ;
10055 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10056 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10057 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10058 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10059 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10060 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
10061 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10062 wxSashLayoutWindow
*result
;
10065 bool temp6
= false ;
10066 PyObject
* obj0
= 0 ;
10067 PyObject
* obj1
= 0 ;
10068 PyObject
* obj2
= 0 ;
10069 PyObject
* obj3
= 0 ;
10070 PyObject
* obj4
= 0 ;
10071 PyObject
* obj5
= 0 ;
10072 char *kwnames
[] = {
10073 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10077 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10078 if (SWIG_arg_fail(1)) SWIG_fail
;
10081 arg2
= (int)(SWIG_As_int(obj1
));
10082 if (SWIG_arg_fail(2)) SWIG_fail
;
10088 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10094 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10099 arg5
= (long)(SWIG_As_long(obj4
));
10100 if (SWIG_arg_fail(5)) SWIG_fail
;
10105 arg6
= wxString_in_helper(obj5
);
10106 if (arg6
== NULL
) SWIG_fail
;
10111 if (!wxPyCheckForApp()) SWIG_fail
;
10112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10113 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10115 wxPyEndAllowThreads(__tstate
);
10116 if (PyErr_Occurred()) SWIG_fail
;
10118 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
10133 static PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10134 PyObject
*resultobj
;
10135 wxSashLayoutWindow
*result
;
10136 char *kwnames
[] = {
10140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSashLayoutWindow",kwnames
)) goto fail
;
10142 if (!wxPyCheckForApp()) SWIG_fail
;
10143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10144 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
10146 wxPyEndAllowThreads(__tstate
);
10147 if (PyErr_Occurred()) SWIG_fail
;
10149 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSashLayoutWindow
, 1);
10156 static PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10157 PyObject
*resultobj
;
10158 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10159 wxWindow
*arg2
= (wxWindow
*) 0 ;
10160 int arg3
= (int) -1 ;
10161 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10162 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10163 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10164 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10165 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10166 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
10167 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10171 bool temp7
= false ;
10172 PyObject
* obj0
= 0 ;
10173 PyObject
* obj1
= 0 ;
10174 PyObject
* obj2
= 0 ;
10175 PyObject
* obj3
= 0 ;
10176 PyObject
* obj4
= 0 ;
10177 PyObject
* obj5
= 0 ;
10178 PyObject
* obj6
= 0 ;
10179 char *kwnames
[] = {
10180 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10185 if (SWIG_arg_fail(1)) SWIG_fail
;
10186 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10187 if (SWIG_arg_fail(2)) SWIG_fail
;
10190 arg3
= (int)(SWIG_As_int(obj2
));
10191 if (SWIG_arg_fail(3)) SWIG_fail
;
10197 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10203 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10208 arg6
= (long)(SWIG_As_long(obj5
));
10209 if (SWIG_arg_fail(6)) SWIG_fail
;
10214 arg7
= wxString_in_helper(obj6
);
10215 if (arg7
== NULL
) SWIG_fail
;
10220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10221 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10223 wxPyEndAllowThreads(__tstate
);
10224 if (PyErr_Occurred()) SWIG_fail
;
10227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10243 static PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10244 PyObject
*resultobj
;
10245 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10246 wxLayoutAlignment result
;
10247 PyObject
* obj0
= 0 ;
10248 char *kwnames
[] = {
10249 (char *) "self", NULL
10252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetAlignment",kwnames
,&obj0
)) goto fail
;
10253 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10254 if (SWIG_arg_fail(1)) SWIG_fail
;
10256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10257 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
10259 wxPyEndAllowThreads(__tstate
);
10260 if (PyErr_Occurred()) SWIG_fail
;
10262 resultobj
= SWIG_From_int((result
));
10269 static PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10270 PyObject
*resultobj
;
10271 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10272 wxLayoutOrientation result
;
10273 PyObject
* obj0
= 0 ;
10274 char *kwnames
[] = {
10275 (char *) "self", NULL
10278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SashLayoutWindow_GetOrientation",kwnames
,&obj0
)) goto fail
;
10279 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10280 if (SWIG_arg_fail(1)) SWIG_fail
;
10282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10283 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
10285 wxPyEndAllowThreads(__tstate
);
10286 if (PyErr_Occurred()) SWIG_fail
;
10288 resultobj
= SWIG_From_int((result
));
10295 static PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10296 PyObject
*resultobj
;
10297 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10298 wxLayoutAlignment arg2
;
10299 PyObject
* obj0
= 0 ;
10300 PyObject
* obj1
= 0 ;
10301 char *kwnames
[] = {
10302 (char *) "self",(char *) "alignment", NULL
10305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
10306 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10307 if (SWIG_arg_fail(1)) SWIG_fail
;
10309 arg2
= (wxLayoutAlignment
)(SWIG_As_int(obj1
));
10310 if (SWIG_arg_fail(2)) SWIG_fail
;
10313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10314 (arg1
)->SetAlignment((wxLayoutAlignment
)arg2
);
10316 wxPyEndAllowThreads(__tstate
);
10317 if (PyErr_Occurred()) SWIG_fail
;
10319 Py_INCREF(Py_None
); resultobj
= Py_None
;
10326 static PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10327 PyObject
*resultobj
;
10328 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10331 PyObject
* obj0
= 0 ;
10332 PyObject
* obj1
= 0 ;
10333 char *kwnames
[] = {
10334 (char *) "self",(char *) "size", NULL
10337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) goto fail
;
10338 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10339 if (SWIG_arg_fail(1)) SWIG_fail
;
10342 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
10345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10346 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
10348 wxPyEndAllowThreads(__tstate
);
10349 if (PyErr_Occurred()) SWIG_fail
;
10351 Py_INCREF(Py_None
); resultobj
= Py_None
;
10358 static PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10359 PyObject
*resultobj
;
10360 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
10361 wxLayoutOrientation arg2
;
10362 PyObject
* obj0
= 0 ;
10363 PyObject
* obj1
= 0 ;
10364 char *kwnames
[] = {
10365 (char *) "self",(char *) "orientation", NULL
10368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
10369 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_EXCEPTION
| 0);
10370 if (SWIG_arg_fail(1)) SWIG_fail
;
10372 arg2
= (wxLayoutOrientation
)(SWIG_As_int(obj1
));
10373 if (SWIG_arg_fail(2)) SWIG_fail
;
10376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10377 (arg1
)->SetOrientation((wxLayoutOrientation
)arg2
);
10379 wxPyEndAllowThreads(__tstate
);
10380 if (PyErr_Occurred()) SWIG_fail
;
10382 Py_INCREF(Py_None
); resultobj
= Py_None
;
10389 static PyObject
* SashLayoutWindow_swigregister(PyObject
*, PyObject
*args
) {
10391 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10392 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow
, obj
);
10394 return Py_BuildValue((char *)"");
10396 static PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10397 PyObject
*resultobj
;
10398 wxLayoutAlgorithm
*result
;
10399 char *kwnames
[] = {
10403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutAlgorithm",kwnames
)) goto fail
;
10405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10406 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
10408 wxPyEndAllowThreads(__tstate
);
10409 if (PyErr_Occurred()) SWIG_fail
;
10411 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutAlgorithm
, 1);
10418 static PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10419 PyObject
*resultobj
;
10420 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10421 PyObject
* obj0
= 0 ;
10422 char *kwnames
[] = {
10423 (char *) "self", NULL
10426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LayoutAlgorithm",kwnames
,&obj0
)) goto fail
;
10427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10428 if (SWIG_arg_fail(1)) SWIG_fail
;
10430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10433 wxPyEndAllowThreads(__tstate
);
10434 if (PyErr_Occurred()) SWIG_fail
;
10436 Py_INCREF(Py_None
); resultobj
= Py_None
;
10443 static PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10444 PyObject
*resultobj
;
10445 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10446 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
10447 wxRect
*arg3
= (wxRect
*) NULL
;
10449 PyObject
* obj0
= 0 ;
10450 PyObject
* obj1
= 0 ;
10451 PyObject
* obj2
= 0 ;
10452 char *kwnames
[] = {
10453 (char *) "self",(char *) "frame",(char *) "rect", NULL
10456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10458 if (SWIG_arg_fail(1)) SWIG_fail
;
10459 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
10460 if (SWIG_arg_fail(2)) SWIG_fail
;
10462 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
10463 if (SWIG_arg_fail(3)) SWIG_fail
;
10466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10467 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
10469 wxPyEndAllowThreads(__tstate
);
10470 if (PyErr_Occurred()) SWIG_fail
;
10473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10481 static PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10482 PyObject
*resultobj
;
10483 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10484 wxFrame
*arg2
= (wxFrame
*) 0 ;
10485 wxWindow
*arg3
= (wxWindow
*) NULL
;
10487 PyObject
* obj0
= 0 ;
10488 PyObject
* obj1
= 0 ;
10489 PyObject
* obj2
= 0 ;
10490 char *kwnames
[] = {
10491 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
10494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10495 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10496 if (SWIG_arg_fail(1)) SWIG_fail
;
10497 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
10498 if (SWIG_arg_fail(2)) SWIG_fail
;
10500 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10501 if (SWIG_arg_fail(3)) SWIG_fail
;
10504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10505 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
10507 wxPyEndAllowThreads(__tstate
);
10508 if (PyErr_Occurred()) SWIG_fail
;
10511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10519 static PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10520 PyObject
*resultobj
;
10521 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
10522 wxWindow
*arg2
= (wxWindow
*) 0 ;
10523 wxWindow
*arg3
= (wxWindow
*) NULL
;
10525 PyObject
* obj0
= 0 ;
10526 PyObject
* obj1
= 0 ;
10527 PyObject
* obj2
= 0 ;
10528 char *kwnames
[] = {
10529 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
10532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10533 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_EXCEPTION
| 0);
10534 if (SWIG_arg_fail(1)) SWIG_fail
;
10535 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10536 if (SWIG_arg_fail(2)) SWIG_fail
;
10538 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10539 if (SWIG_arg_fail(3)) SWIG_fail
;
10542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10543 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
10545 wxPyEndAllowThreads(__tstate
);
10546 if (PyErr_Occurred()) SWIG_fail
;
10549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10557 static PyObject
* LayoutAlgorithm_swigregister(PyObject
*, PyObject
*args
) {
10559 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10560 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm
, obj
);
10562 return Py_BuildValue((char *)"");
10564 static PyObject
*_wrap_new_PopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10565 PyObject
*resultobj
;
10566 wxWindow
*arg1
= (wxWindow
*) 0 ;
10567 int arg2
= (int) wxBORDER_NONE
;
10568 wxPopupWindow
*result
;
10569 PyObject
* obj0
= 0 ;
10570 PyObject
* obj1
= 0 ;
10571 char *kwnames
[] = {
10572 (char *) "parent",(char *) "flags", NULL
10575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
10576 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10577 if (SWIG_arg_fail(1)) SWIG_fail
;
10580 arg2
= (int)(SWIG_As_int(obj1
));
10581 if (SWIG_arg_fail(2)) SWIG_fail
;
10585 if (!wxPyCheckForApp()) SWIG_fail
;
10586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10587 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
10589 wxPyEndAllowThreads(__tstate
);
10590 if (PyErr_Occurred()) SWIG_fail
;
10592 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
10599 static PyObject
*_wrap_new_PrePopupWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10600 PyObject
*resultobj
;
10601 wxPopupWindow
*result
;
10602 char *kwnames
[] = {
10606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupWindow",kwnames
)) goto fail
;
10608 if (!wxPyCheckForApp()) SWIG_fail
;
10609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10610 result
= (wxPopupWindow
*)new wxPopupWindow();
10612 wxPyEndAllowThreads(__tstate
);
10613 if (PyErr_Occurred()) SWIG_fail
;
10615 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPopupWindow
, 1);
10622 static PyObject
*_wrap_PopupWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10623 PyObject
*resultobj
;
10624 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
10625 wxWindow
*arg2
= (wxWindow
*) 0 ;
10626 int arg3
= (int) wxBORDER_NONE
;
10628 PyObject
* obj0
= 0 ;
10629 PyObject
* obj1
= 0 ;
10630 PyObject
* obj2
= 0 ;
10631 char *kwnames
[] = {
10632 (char *) "self",(char *) "parent",(char *) "flags", NULL
10635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10636 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_EXCEPTION
| 0);
10637 if (SWIG_arg_fail(1)) SWIG_fail
;
10638 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10639 if (SWIG_arg_fail(2)) SWIG_fail
;
10642 arg3
= (int)(SWIG_As_int(obj2
));
10643 if (SWIG_arg_fail(3)) SWIG_fail
;
10647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10648 result
= (bool)(arg1
)->Create(arg2
,arg3
);
10650 wxPyEndAllowThreads(__tstate
);
10651 if (PyErr_Occurred()) SWIG_fail
;
10654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10662 static PyObject
*_wrap_PopupWindow_Position(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10663 PyObject
*resultobj
;
10664 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
10665 wxPoint
*arg2
= 0 ;
10669 PyObject
* obj0
= 0 ;
10670 PyObject
* obj1
= 0 ;
10671 PyObject
* obj2
= 0 ;
10672 char *kwnames
[] = {
10673 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
10676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_EXCEPTION
| 0);
10678 if (SWIG_arg_fail(1)) SWIG_fail
;
10681 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
10685 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
10688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10689 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
10691 wxPyEndAllowThreads(__tstate
);
10692 if (PyErr_Occurred()) SWIG_fail
;
10694 Py_INCREF(Py_None
); resultobj
= Py_None
;
10701 static PyObject
* PopupWindow_swigregister(PyObject
*, PyObject
*args
) {
10703 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10704 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow
, obj
);
10706 return Py_BuildValue((char *)"");
10708 static PyObject
*_wrap_new_PopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10709 PyObject
*resultobj
;
10710 wxWindow
*arg1
= (wxWindow
*) 0 ;
10711 int arg2
= (int) wxBORDER_NONE
;
10712 wxPyPopupTransientWindow
*result
;
10713 PyObject
* obj0
= 0 ;
10714 PyObject
* obj1
= 0 ;
10715 char *kwnames
[] = {
10716 (char *) "parent",(char *) "style", NULL
10719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
10720 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10721 if (SWIG_arg_fail(1)) SWIG_fail
;
10724 arg2
= (int)(SWIG_As_int(obj1
));
10725 if (SWIG_arg_fail(2)) SWIG_fail
;
10729 if (!wxPyCheckForApp()) SWIG_fail
;
10730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10731 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
10733 wxPyEndAllowThreads(__tstate
);
10734 if (PyErr_Occurred()) SWIG_fail
;
10736 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
10743 static PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10744 PyObject
*resultobj
;
10745 wxPyPopupTransientWindow
*result
;
10746 char *kwnames
[] = {
10750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePopupTransientWindow",kwnames
)) goto fail
;
10752 if (!wxPyCheckForApp()) SWIG_fail
;
10753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10754 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
10756 wxPyEndAllowThreads(__tstate
);
10757 if (PyErr_Occurred()) SWIG_fail
;
10759 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, 1);
10766 static PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10767 PyObject
*resultobj
;
10768 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
10769 PyObject
*arg2
= (PyObject
*) 0 ;
10770 PyObject
*arg3
= (PyObject
*) 0 ;
10771 PyObject
* obj0
= 0 ;
10772 PyObject
* obj1
= 0 ;
10773 PyObject
* obj2
= 0 ;
10774 char *kwnames
[] = {
10775 (char *) "self",(char *) "self",(char *) "_class", NULL
10778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10779 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_EXCEPTION
| 0);
10780 if (SWIG_arg_fail(1)) SWIG_fail
;
10784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10785 (arg1
)->_setCallbackInfo(arg2
,arg3
);
10787 wxPyEndAllowThreads(__tstate
);
10788 if (PyErr_Occurred()) SWIG_fail
;
10790 Py_INCREF(Py_None
); resultobj
= Py_None
;
10797 static PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10798 PyObject
*resultobj
;
10799 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
10800 wxWindow
*arg2
= (wxWindow
*) NULL
;
10801 PyObject
* obj0
= 0 ;
10802 PyObject
* obj1
= 0 ;
10803 char *kwnames
[] = {
10804 (char *) "self",(char *) "focus", NULL
10807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) goto fail
;
10808 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_EXCEPTION
| 0);
10809 if (SWIG_arg_fail(1)) SWIG_fail
;
10811 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10812 if (SWIG_arg_fail(2)) SWIG_fail
;
10815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10816 (arg1
)->Popup(arg2
);
10818 wxPyEndAllowThreads(__tstate
);
10819 if (PyErr_Occurred()) SWIG_fail
;
10821 Py_INCREF(Py_None
); resultobj
= Py_None
;
10828 static PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10829 PyObject
*resultobj
;
10830 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
10831 PyObject
* obj0
= 0 ;
10832 char *kwnames
[] = {
10833 (char *) "self", NULL
10836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PopupTransientWindow_Dismiss",kwnames
,&obj0
)) goto fail
;
10837 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_EXCEPTION
| 0);
10838 if (SWIG_arg_fail(1)) SWIG_fail
;
10840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10843 wxPyEndAllowThreads(__tstate
);
10844 if (PyErr_Occurred()) SWIG_fail
;
10846 Py_INCREF(Py_None
); resultobj
= Py_None
;
10853 static PyObject
* PopupTransientWindow_swigregister(PyObject
*, PyObject
*args
) {
10855 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10856 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, obj
);
10858 return Py_BuildValue((char *)"");
10860 static PyObject
*_wrap_new_TipWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10861 PyObject
*resultobj
;
10862 wxWindow
*arg1
= (wxWindow
*) 0 ;
10863 wxString
*arg2
= 0 ;
10864 int arg3
= (int) 100 ;
10865 wxRect
*arg4
= (wxRect
*) NULL
;
10866 wxTipWindow
*result
;
10867 bool temp2
= false ;
10868 PyObject
* obj0
= 0 ;
10869 PyObject
* obj1
= 0 ;
10870 PyObject
* obj2
= 0 ;
10871 PyObject
* obj3
= 0 ;
10872 char *kwnames
[] = {
10873 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
10876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10877 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
10878 if (SWIG_arg_fail(1)) SWIG_fail
;
10880 arg2
= wxString_in_helper(obj1
);
10881 if (arg2
== NULL
) SWIG_fail
;
10886 arg3
= (int)(SWIG_As_int(obj2
));
10887 if (SWIG_arg_fail(3)) SWIG_fail
;
10891 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxRect
, SWIG_POINTER_EXCEPTION
| 0);
10892 if (SWIG_arg_fail(4)) SWIG_fail
;
10895 if (!wxPyCheckForApp()) SWIG_fail
;
10896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10897 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
10899 wxPyEndAllowThreads(__tstate
);
10900 if (PyErr_Occurred()) SWIG_fail
;
10902 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipWindow
, 1);
10917 static PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10918 PyObject
*resultobj
;
10919 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
10922 PyObject
* obj0
= 0 ;
10923 PyObject
* obj1
= 0 ;
10924 char *kwnames
[] = {
10925 (char *) "self",(char *) "rectBound", NULL
10928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) goto fail
;
10929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_EXCEPTION
| 0);
10930 if (SWIG_arg_fail(1)) SWIG_fail
;
10933 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10937 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
10939 wxPyEndAllowThreads(__tstate
);
10940 if (PyErr_Occurred()) SWIG_fail
;
10942 Py_INCREF(Py_None
); resultobj
= Py_None
;
10949 static PyObject
*_wrap_TipWindow_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10950 PyObject
*resultobj
;
10951 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
10952 PyObject
* obj0
= 0 ;
10953 char *kwnames
[] = {
10954 (char *) "self", NULL
10957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipWindow_Close",kwnames
,&obj0
)) goto fail
;
10958 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_EXCEPTION
| 0);
10959 if (SWIG_arg_fail(1)) SWIG_fail
;
10961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10964 wxPyEndAllowThreads(__tstate
);
10965 if (PyErr_Occurred()) SWIG_fail
;
10967 Py_INCREF(Py_None
); resultobj
= Py_None
;
10974 static PyObject
* TipWindow_swigregister(PyObject
*, PyObject
*args
) {
10976 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10977 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow
, obj
);
10979 return Py_BuildValue((char *)"");
10981 static PyObject
*_wrap_new_VScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10982 PyObject
*resultobj
;
10983 wxWindow
*arg1
= (wxWindow
*) 0 ;
10984 int arg2
= (int) wxID_ANY
;
10985 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10986 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10987 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10988 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10989 long arg5
= (long) 0 ;
10990 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
10991 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10992 wxPyVScrolledWindow
*result
;
10995 bool temp6
= false ;
10996 PyObject
* obj0
= 0 ;
10997 PyObject
* obj1
= 0 ;
10998 PyObject
* obj2
= 0 ;
10999 PyObject
* obj3
= 0 ;
11000 PyObject
* obj4
= 0 ;
11001 PyObject
* obj5
= 0 ;
11002 char *kwnames
[] = {
11003 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11008 if (SWIG_arg_fail(1)) SWIG_fail
;
11011 arg2
= (int)(SWIG_As_int(obj1
));
11012 if (SWIG_arg_fail(2)) SWIG_fail
;
11018 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11024 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11029 arg5
= (long)(SWIG_As_long(obj4
));
11030 if (SWIG_arg_fail(5)) SWIG_fail
;
11035 arg6
= wxString_in_helper(obj5
);
11036 if (arg6
== NULL
) SWIG_fail
;
11041 if (!wxPyCheckForApp()) SWIG_fail
;
11042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11043 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11045 wxPyEndAllowThreads(__tstate
);
11046 if (PyErr_Occurred()) SWIG_fail
;
11048 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
11063 static PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11064 PyObject
*resultobj
;
11065 wxPyVScrolledWindow
*result
;
11066 char *kwnames
[] = {
11070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVScrolledWindow",kwnames
)) goto fail
;
11072 if (!wxPyCheckForApp()) SWIG_fail
;
11073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11074 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
11076 wxPyEndAllowThreads(__tstate
);
11077 if (PyErr_Occurred()) SWIG_fail
;
11079 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVScrolledWindow
, 1);
11086 static PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11087 PyObject
*resultobj
;
11088 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11089 PyObject
*arg2
= (PyObject
*) 0 ;
11090 PyObject
*arg3
= (PyObject
*) 0 ;
11091 PyObject
* obj0
= 0 ;
11092 PyObject
* obj1
= 0 ;
11093 PyObject
* obj2
= 0 ;
11094 char *kwnames
[] = {
11095 (char *) "self",(char *) "self",(char *) "_class", NULL
11098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11100 if (SWIG_arg_fail(1)) SWIG_fail
;
11104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11105 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11107 wxPyEndAllowThreads(__tstate
);
11108 if (PyErr_Occurred()) SWIG_fail
;
11110 Py_INCREF(Py_None
); resultobj
= Py_None
;
11117 static PyObject
*_wrap_VScrolledWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11118 PyObject
*resultobj
;
11119 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11120 wxWindow
*arg2
= (wxWindow
*) 0 ;
11121 int arg3
= (int) wxID_ANY
;
11122 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11123 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11124 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11125 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11126 long arg6
= (long) 0 ;
11127 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
11128 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11132 bool temp7
= false ;
11133 PyObject
* obj0
= 0 ;
11134 PyObject
* obj1
= 0 ;
11135 PyObject
* obj2
= 0 ;
11136 PyObject
* obj3
= 0 ;
11137 PyObject
* obj4
= 0 ;
11138 PyObject
* obj5
= 0 ;
11139 PyObject
* obj6
= 0 ;
11140 char *kwnames
[] = {
11141 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11146 if (SWIG_arg_fail(1)) SWIG_fail
;
11147 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11148 if (SWIG_arg_fail(2)) SWIG_fail
;
11151 arg3
= (int)(SWIG_As_int(obj2
));
11152 if (SWIG_arg_fail(3)) SWIG_fail
;
11158 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11164 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11169 arg6
= (long)(SWIG_As_long(obj5
));
11170 if (SWIG_arg_fail(6)) SWIG_fail
;
11175 arg7
= wxString_in_helper(obj6
);
11176 if (arg7
== NULL
) SWIG_fail
;
11181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11182 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11184 wxPyEndAllowThreads(__tstate
);
11185 if (PyErr_Occurred()) SWIG_fail
;
11188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11204 static PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11205 PyObject
*resultobj
;
11206 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11208 PyObject
* obj0
= 0 ;
11209 PyObject
* obj1
= 0 ;
11210 char *kwnames
[] = {
11211 (char *) "self",(char *) "count", NULL
11214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) goto fail
;
11215 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11216 if (SWIG_arg_fail(1)) SWIG_fail
;
11218 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11219 if (SWIG_arg_fail(2)) SWIG_fail
;
11222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11223 (arg1
)->SetLineCount(arg2
);
11225 wxPyEndAllowThreads(__tstate
);
11226 if (PyErr_Occurred()) SWIG_fail
;
11228 Py_INCREF(Py_None
); resultobj
= Py_None
;
11235 static PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11236 PyObject
*resultobj
;
11237 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11240 PyObject
* obj0
= 0 ;
11241 PyObject
* obj1
= 0 ;
11242 char *kwnames
[] = {
11243 (char *) "self",(char *) "line", NULL
11246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11248 if (SWIG_arg_fail(1)) SWIG_fail
;
11250 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11251 if (SWIG_arg_fail(2)) SWIG_fail
;
11254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11255 result
= (bool)(arg1
)->ScrollToLine(arg2
);
11257 wxPyEndAllowThreads(__tstate
);
11258 if (PyErr_Occurred()) SWIG_fail
;
11261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11269 static PyObject
*_wrap_VScrolledWindow_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11270 PyObject
*resultobj
;
11271 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11274 PyObject
* obj0
= 0 ;
11275 PyObject
* obj1
= 0 ;
11276 char *kwnames
[] = {
11277 (char *) "self",(char *) "lines", NULL
11280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
11281 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11282 if (SWIG_arg_fail(1)) SWIG_fail
;
11284 arg2
= (int)(SWIG_As_int(obj1
));
11285 if (SWIG_arg_fail(2)) SWIG_fail
;
11288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11289 result
= (bool)(arg1
)->ScrollLines(arg2
);
11291 wxPyEndAllowThreads(__tstate
);
11292 if (PyErr_Occurred()) SWIG_fail
;
11295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11303 static PyObject
*_wrap_VScrolledWindow_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11304 PyObject
*resultobj
;
11305 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11308 PyObject
* obj0
= 0 ;
11309 PyObject
* obj1
= 0 ;
11310 char *kwnames
[] = {
11311 (char *) "self",(char *) "pages", NULL
11314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
11315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11316 if (SWIG_arg_fail(1)) SWIG_fail
;
11318 arg2
= (int)(SWIG_As_int(obj1
));
11319 if (SWIG_arg_fail(2)) SWIG_fail
;
11322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11323 result
= (bool)(arg1
)->ScrollPages(arg2
);
11325 wxPyEndAllowThreads(__tstate
);
11326 if (PyErr_Occurred()) SWIG_fail
;
11329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11337 static PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11338 PyObject
*resultobj
;
11339 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11341 PyObject
* obj0
= 0 ;
11342 PyObject
* obj1
= 0 ;
11343 char *kwnames
[] = {
11344 (char *) "self",(char *) "line", NULL
11347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) goto fail
;
11348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11349 if (SWIG_arg_fail(1)) SWIG_fail
;
11351 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11352 if (SWIG_arg_fail(2)) SWIG_fail
;
11355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11356 (arg1
)->RefreshLine(arg2
);
11358 wxPyEndAllowThreads(__tstate
);
11359 if (PyErr_Occurred()) SWIG_fail
;
11361 Py_INCREF(Py_None
); resultobj
= Py_None
;
11368 static PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11369 PyObject
*resultobj
;
11370 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11373 PyObject
* obj0
= 0 ;
11374 PyObject
* obj1
= 0 ;
11375 PyObject
* obj2
= 0 ;
11376 char *kwnames
[] = {
11377 (char *) "self",(char *) "from",(char *) "to", NULL
11380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11381 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11382 if (SWIG_arg_fail(1)) SWIG_fail
;
11384 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11385 if (SWIG_arg_fail(2)) SWIG_fail
;
11388 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
11389 if (SWIG_arg_fail(3)) SWIG_fail
;
11392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11393 (arg1
)->RefreshLines(arg2
,arg3
);
11395 wxPyEndAllowThreads(__tstate
);
11396 if (PyErr_Occurred()) SWIG_fail
;
11398 Py_INCREF(Py_None
); resultobj
= Py_None
;
11405 static PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11406 PyObject
*resultobj
;
11407 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11411 PyObject
* obj0
= 0 ;
11412 PyObject
* obj1
= 0 ;
11413 PyObject
* obj2
= 0 ;
11414 char *kwnames
[] = {
11415 (char *) "self",(char *) "x",(char *) "y", NULL
11418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11419 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11420 if (SWIG_arg_fail(1)) SWIG_fail
;
11422 arg2
= (int)(SWIG_As_int(obj1
));
11423 if (SWIG_arg_fail(2)) SWIG_fail
;
11426 arg3
= (int)(SWIG_As_int(obj2
));
11427 if (SWIG_arg_fail(3)) SWIG_fail
;
11430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11431 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
11433 wxPyEndAllowThreads(__tstate
);
11434 if (PyErr_Occurred()) SWIG_fail
;
11437 resultobj
= SWIG_From_int((int)(result
));
11445 static PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11446 PyObject
*resultobj
;
11447 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11448 wxPoint
*arg2
= 0 ;
11451 PyObject
* obj0
= 0 ;
11452 PyObject
* obj1
= 0 ;
11453 char *kwnames
[] = {
11454 (char *) "self",(char *) "pt", NULL
11457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
11458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11459 if (SWIG_arg_fail(1)) SWIG_fail
;
11462 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11466 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
11468 wxPyEndAllowThreads(__tstate
);
11469 if (PyErr_Occurred()) SWIG_fail
;
11472 resultobj
= SWIG_From_int((int)(result
));
11480 static PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11481 PyObject
*resultobj
;
11482 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11483 PyObject
* obj0
= 0 ;
11484 char *kwnames
[] = {
11485 (char *) "self", NULL
11488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_RefreshAll",kwnames
,&obj0
)) goto fail
;
11489 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11490 if (SWIG_arg_fail(1)) SWIG_fail
;
11492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11493 (arg1
)->RefreshAll();
11495 wxPyEndAllowThreads(__tstate
);
11496 if (PyErr_Occurred()) SWIG_fail
;
11498 Py_INCREF(Py_None
); resultobj
= Py_None
;
11505 static PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11506 PyObject
*resultobj
;
11507 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11509 PyObject
* obj0
= 0 ;
11510 char *kwnames
[] = {
11511 (char *) "self", NULL
11514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLineCount",kwnames
,&obj0
)) goto fail
;
11515 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11516 if (SWIG_arg_fail(1)) SWIG_fail
;
11518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11519 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
11521 wxPyEndAllowThreads(__tstate
);
11522 if (PyErr_Occurred()) SWIG_fail
;
11525 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11533 static PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11534 PyObject
*resultobj
;
11535 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11537 PyObject
* obj0
= 0 ;
11538 char *kwnames
[] = {
11539 (char *) "self", NULL
11542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames
,&obj0
)) goto fail
;
11543 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11544 if (SWIG_arg_fail(1)) SWIG_fail
;
11546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11547 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
11549 wxPyEndAllowThreads(__tstate
);
11550 if (PyErr_Occurred()) SWIG_fail
;
11553 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11561 static PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11562 PyObject
*resultobj
;
11563 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11565 PyObject
* obj0
= 0 ;
11566 char *kwnames
[] = {
11567 (char *) "self", NULL
11570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames
,&obj0
)) goto fail
;
11571 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11572 if (SWIG_arg_fail(1)) SWIG_fail
;
11574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11575 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
11577 wxPyEndAllowThreads(__tstate
);
11578 if (PyErr_Occurred()) SWIG_fail
;
11581 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11589 static PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11590 PyObject
*resultobj
;
11591 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
11594 PyObject
* obj0
= 0 ;
11595 PyObject
* obj1
= 0 ;
11596 char *kwnames
[] = {
11597 (char *) "self",(char *) "line", NULL
11600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
11601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
11602 if (SWIG_arg_fail(1)) SWIG_fail
;
11604 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11605 if (SWIG_arg_fail(2)) SWIG_fail
;
11608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11609 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
11611 wxPyEndAllowThreads(__tstate
);
11612 if (PyErr_Occurred()) SWIG_fail
;
11615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11623 static PyObject
* VScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
11625 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11626 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow
, obj
);
11628 return Py_BuildValue((char *)"");
11630 static int _wrap_VListBoxNameStr_set(PyObject
*) {
11631 PyErr_SetString(PyExc_TypeError
,"Variable VListBoxNameStr is read-only.");
11636 static PyObject
*_wrap_VListBoxNameStr_get(void) {
11641 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
11643 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
11650 static PyObject
*_wrap_new_VListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11651 PyObject
*resultobj
;
11652 wxWindow
*arg1
= (wxWindow
*) 0 ;
11653 int arg2
= (int) wxID_ANY
;
11654 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
11655 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
11656 wxSize
const &arg4_defvalue
= wxDefaultSize
;
11657 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
11658 long arg5
= (long) 0 ;
11659 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
11660 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
11661 wxPyVListBox
*result
;
11664 bool temp6
= false ;
11665 PyObject
* obj0
= 0 ;
11666 PyObject
* obj1
= 0 ;
11667 PyObject
* obj2
= 0 ;
11668 PyObject
* obj3
= 0 ;
11669 PyObject
* obj4
= 0 ;
11670 PyObject
* obj5
= 0 ;
11671 char *kwnames
[] = {
11672 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
11676 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11677 if (SWIG_arg_fail(1)) SWIG_fail
;
11680 arg2
= (int)(SWIG_As_int(obj1
));
11681 if (SWIG_arg_fail(2)) SWIG_fail
;
11687 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
11693 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
11698 arg5
= (long)(SWIG_As_long(obj4
));
11699 if (SWIG_arg_fail(5)) SWIG_fail
;
11704 arg6
= wxString_in_helper(obj5
);
11705 if (arg6
== NULL
) SWIG_fail
;
11710 if (!wxPyCheckForApp()) SWIG_fail
;
11711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11712 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11714 wxPyEndAllowThreads(__tstate
);
11715 if (PyErr_Occurred()) SWIG_fail
;
11717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
11732 static PyObject
*_wrap_new_PreVListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11733 PyObject
*resultobj
;
11734 wxPyVListBox
*result
;
11735 char *kwnames
[] = {
11739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreVListBox",kwnames
)) goto fail
;
11741 if (!wxPyCheckForApp()) SWIG_fail
;
11742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11743 result
= (wxPyVListBox
*)new wxPyVListBox();
11745 wxPyEndAllowThreads(__tstate
);
11746 if (PyErr_Occurred()) SWIG_fail
;
11748 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyVListBox
, 1);
11755 static PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11756 PyObject
*resultobj
;
11757 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11758 PyObject
*arg2
= (PyObject
*) 0 ;
11759 PyObject
*arg3
= (PyObject
*) 0 ;
11760 PyObject
* obj0
= 0 ;
11761 PyObject
* obj1
= 0 ;
11762 PyObject
* obj2
= 0 ;
11763 char *kwnames
[] = {
11764 (char *) "self",(char *) "self",(char *) "_class", NULL
11767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11769 if (SWIG_arg_fail(1)) SWIG_fail
;
11773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11774 (arg1
)->_setCallbackInfo(arg2
,arg3
);
11776 wxPyEndAllowThreads(__tstate
);
11777 if (PyErr_Occurred()) SWIG_fail
;
11779 Py_INCREF(Py_None
); resultobj
= Py_None
;
11786 static PyObject
*_wrap_VListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11787 PyObject
*resultobj
;
11788 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11789 wxWindow
*arg2
= (wxWindow
*) 0 ;
11790 int arg3
= (int) wxID_ANY
;
11791 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11792 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11793 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11794 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11795 long arg6
= (long) 0 ;
11796 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
11797 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11801 bool temp7
= false ;
11802 PyObject
* obj0
= 0 ;
11803 PyObject
* obj1
= 0 ;
11804 PyObject
* obj2
= 0 ;
11805 PyObject
* obj3
= 0 ;
11806 PyObject
* obj4
= 0 ;
11807 PyObject
* obj5
= 0 ;
11808 PyObject
* obj6
= 0 ;
11809 char *kwnames
[] = {
11810 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11815 if (SWIG_arg_fail(1)) SWIG_fail
;
11816 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
11817 if (SWIG_arg_fail(2)) SWIG_fail
;
11820 arg3
= (int)(SWIG_As_int(obj2
));
11821 if (SWIG_arg_fail(3)) SWIG_fail
;
11827 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11833 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11838 arg6
= (long)(SWIG_As_long(obj5
));
11839 if (SWIG_arg_fail(6)) SWIG_fail
;
11844 arg7
= wxString_in_helper(obj6
);
11845 if (arg7
== NULL
) SWIG_fail
;
11850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11851 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11853 wxPyEndAllowThreads(__tstate
);
11854 if (PyErr_Occurred()) SWIG_fail
;
11857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11873 static PyObject
*_wrap_VListBox_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11874 PyObject
*resultobj
;
11875 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11877 PyObject
* obj0
= 0 ;
11878 char *kwnames
[] = {
11879 (char *) "self", NULL
11882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetItemCount",kwnames
,&obj0
)) goto fail
;
11883 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11884 if (SWIG_arg_fail(1)) SWIG_fail
;
11886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11887 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
11889 wxPyEndAllowThreads(__tstate
);
11890 if (PyErr_Occurred()) SWIG_fail
;
11893 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
11901 static PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11902 PyObject
*resultobj
;
11903 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11905 PyObject
* obj0
= 0 ;
11906 char *kwnames
[] = {
11907 (char *) "self", NULL
11910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_HasMultipleSelection",kwnames
,&obj0
)) goto fail
;
11911 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11912 if (SWIG_arg_fail(1)) SWIG_fail
;
11914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11915 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
11917 wxPyEndAllowThreads(__tstate
);
11918 if (PyErr_Occurred()) SWIG_fail
;
11921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11929 static PyObject
*_wrap_VListBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11930 PyObject
*resultobj
;
11931 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11933 PyObject
* obj0
= 0 ;
11934 char *kwnames
[] = {
11935 (char *) "self", NULL
11938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelection",kwnames
,&obj0
)) goto fail
;
11939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11940 if (SWIG_arg_fail(1)) SWIG_fail
;
11942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11943 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
11945 wxPyEndAllowThreads(__tstate
);
11946 if (PyErr_Occurred()) SWIG_fail
;
11949 resultobj
= SWIG_From_int((int)(result
));
11957 static PyObject
*_wrap_VListBox_IsCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11958 PyObject
*resultobj
;
11959 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11962 PyObject
* obj0
= 0 ;
11963 PyObject
* obj1
= 0 ;
11964 char *kwnames
[] = {
11965 (char *) "self",(char *) "item", NULL
11968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) goto fail
;
11969 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
11970 if (SWIG_arg_fail(1)) SWIG_fail
;
11972 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
11973 if (SWIG_arg_fail(2)) SWIG_fail
;
11976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11977 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
11979 wxPyEndAllowThreads(__tstate
);
11980 if (PyErr_Occurred()) SWIG_fail
;
11983 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11991 static PyObject
*_wrap_VListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11992 PyObject
*resultobj
;
11993 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
11996 PyObject
* obj0
= 0 ;
11997 PyObject
* obj1
= 0 ;
11998 char *kwnames
[] = {
11999 (char *) "self",(char *) "item", NULL
12002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
12003 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12004 if (SWIG_arg_fail(1)) SWIG_fail
;
12006 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12007 if (SWIG_arg_fail(2)) SWIG_fail
;
12010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12011 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
12013 wxPyEndAllowThreads(__tstate
);
12014 if (PyErr_Occurred()) SWIG_fail
;
12017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12025 static PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12026 PyObject
*resultobj
;
12027 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12029 PyObject
* obj0
= 0 ;
12030 char *kwnames
[] = {
12031 (char *) "self", NULL
12034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectedCount",kwnames
,&obj0
)) goto fail
;
12035 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12036 if (SWIG_arg_fail(1)) SWIG_fail
;
12038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12039 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
12041 wxPyEndAllowThreads(__tstate
);
12042 if (PyErr_Occurred()) SWIG_fail
;
12045 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)(result
));
12053 static PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12054 PyObject
*resultobj
;
12055 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12057 PyObject
* obj0
= 0 ;
12058 char *kwnames
[] = {
12059 (char *) "self", NULL
12062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
12063 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12064 if (SWIG_arg_fail(1)) SWIG_fail
;
12066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12067 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
12069 wxPyEndAllowThreads(__tstate
);
12070 if (PyErr_Occurred()) SWIG_fail
;
12072 resultobj
= result
;
12079 static PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12080 PyObject
*resultobj
;
12081 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12082 unsigned long arg2
;
12084 PyObject
* obj0
= 0 ;
12085 PyObject
* obj1
= 0 ;
12086 char *kwnames
[] = {
12087 (char *) "self",(char *) "cookie", NULL
12090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
12091 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12092 if (SWIG_arg_fail(1)) SWIG_fail
;
12094 arg2
= (unsigned long)(SWIG_As_unsigned_SS_long(obj1
));
12095 if (SWIG_arg_fail(2)) SWIG_fail
;
12098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12099 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
12101 wxPyEndAllowThreads(__tstate
);
12102 if (PyErr_Occurred()) SWIG_fail
;
12104 resultobj
= result
;
12111 static PyObject
*_wrap_VListBox_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12112 PyObject
*resultobj
;
12113 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12115 PyObject
* obj0
= 0 ;
12116 char *kwnames
[] = {
12117 (char *) "self", NULL
12120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetMargins",kwnames
,&obj0
)) goto fail
;
12121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12122 if (SWIG_arg_fail(1)) SWIG_fail
;
12124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12125 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
12127 wxPyEndAllowThreads(__tstate
);
12128 if (PyErr_Occurred()) SWIG_fail
;
12131 wxPoint
* resultptr
;
12132 resultptr
= new wxPoint((wxPoint
&)(result
));
12133 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
12141 static PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12142 PyObject
*resultobj
;
12143 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12145 PyObject
* obj0
= 0 ;
12146 char *kwnames
[] = {
12147 (char *) "self", NULL
12150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_GetSelectionBackground",kwnames
,&obj0
)) goto fail
;
12151 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12152 if (SWIG_arg_fail(1)) SWIG_fail
;
12154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12156 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
12157 result
= (wxColour
*) &_result_ref
;
12160 wxPyEndAllowThreads(__tstate
);
12161 if (PyErr_Occurred()) SWIG_fail
;
12163 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
12170 static PyObject
*_wrap_VListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12171 PyObject
*resultobj
;
12172 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12174 PyObject
* obj0
= 0 ;
12175 PyObject
* obj1
= 0 ;
12176 char *kwnames
[] = {
12177 (char *) "self",(char *) "count", NULL
12180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
12181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12182 if (SWIG_arg_fail(1)) SWIG_fail
;
12184 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12185 if (SWIG_arg_fail(2)) SWIG_fail
;
12188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12189 (arg1
)->SetItemCount(arg2
);
12191 wxPyEndAllowThreads(__tstate
);
12192 if (PyErr_Occurred()) SWIG_fail
;
12194 Py_INCREF(Py_None
); resultobj
= Py_None
;
12201 static PyObject
*_wrap_VListBox_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12202 PyObject
*resultobj
;
12203 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12204 PyObject
* obj0
= 0 ;
12205 char *kwnames
[] = {
12206 (char *) "self", NULL
12209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_Clear",kwnames
,&obj0
)) goto fail
;
12210 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12211 if (SWIG_arg_fail(1)) SWIG_fail
;
12213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12216 wxPyEndAllowThreads(__tstate
);
12217 if (PyErr_Occurred()) SWIG_fail
;
12219 Py_INCREF(Py_None
); resultobj
= Py_None
;
12226 static PyObject
*_wrap_VListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12227 PyObject
*resultobj
;
12228 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12230 PyObject
* obj0
= 0 ;
12231 PyObject
* obj1
= 0 ;
12232 char *kwnames
[] = {
12233 (char *) "self",(char *) "selection", NULL
12236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12237 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12238 if (SWIG_arg_fail(1)) SWIG_fail
;
12240 arg2
= (int)(SWIG_As_int(obj1
));
12241 if (SWIG_arg_fail(2)) SWIG_fail
;
12244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12245 (arg1
)->SetSelection(arg2
);
12247 wxPyEndAllowThreads(__tstate
);
12248 if (PyErr_Occurred()) SWIG_fail
;
12250 Py_INCREF(Py_None
); resultobj
= Py_None
;
12257 static PyObject
*_wrap_VListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12258 PyObject
*resultobj
;
12259 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12261 bool arg3
= (bool) true ;
12263 PyObject
* obj0
= 0 ;
12264 PyObject
* obj1
= 0 ;
12265 PyObject
* obj2
= 0 ;
12266 char *kwnames
[] = {
12267 (char *) "self",(char *) "item",(char *) "select", NULL
12270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12271 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12272 if (SWIG_arg_fail(1)) SWIG_fail
;
12274 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12275 if (SWIG_arg_fail(2)) SWIG_fail
;
12279 arg3
= (bool)(SWIG_As_bool(obj2
));
12280 if (SWIG_arg_fail(3)) SWIG_fail
;
12284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12285 result
= (bool)(arg1
)->Select(arg2
,arg3
);
12287 wxPyEndAllowThreads(__tstate
);
12288 if (PyErr_Occurred()) SWIG_fail
;
12291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12299 static PyObject
*_wrap_VListBox_SelectRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12300 PyObject
*resultobj
;
12301 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12305 PyObject
* obj0
= 0 ;
12306 PyObject
* obj1
= 0 ;
12307 PyObject
* obj2
= 0 ;
12308 char *kwnames
[] = {
12309 (char *) "self",(char *) "from",(char *) "to", NULL
12312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12313 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12314 if (SWIG_arg_fail(1)) SWIG_fail
;
12316 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12317 if (SWIG_arg_fail(2)) SWIG_fail
;
12320 arg3
= (size_t)(SWIG_As_unsigned_SS_long(obj2
));
12321 if (SWIG_arg_fail(3)) SWIG_fail
;
12324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12325 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
12327 wxPyEndAllowThreads(__tstate
);
12328 if (PyErr_Occurred()) SWIG_fail
;
12331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12339 static PyObject
*_wrap_VListBox_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12340 PyObject
*resultobj
;
12341 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12343 PyObject
* obj0
= 0 ;
12344 PyObject
* obj1
= 0 ;
12345 char *kwnames
[] = {
12346 (char *) "self",(char *) "item", NULL
12349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
12350 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12351 if (SWIG_arg_fail(1)) SWIG_fail
;
12353 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12354 if (SWIG_arg_fail(2)) SWIG_fail
;
12357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12358 (arg1
)->Toggle(arg2
);
12360 wxPyEndAllowThreads(__tstate
);
12361 if (PyErr_Occurred()) SWIG_fail
;
12363 Py_INCREF(Py_None
); resultobj
= Py_None
;
12370 static PyObject
*_wrap_VListBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12371 PyObject
*resultobj
;
12372 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12374 PyObject
* obj0
= 0 ;
12375 char *kwnames
[] = {
12376 (char *) "self", NULL
12379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_SelectAll",kwnames
,&obj0
)) goto fail
;
12380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12381 if (SWIG_arg_fail(1)) SWIG_fail
;
12383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12384 result
= (bool)(arg1
)->SelectAll();
12386 wxPyEndAllowThreads(__tstate
);
12387 if (PyErr_Occurred()) SWIG_fail
;
12390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12398 static PyObject
*_wrap_VListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12399 PyObject
*resultobj
;
12400 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12402 PyObject
* obj0
= 0 ;
12403 char *kwnames
[] = {
12404 (char *) "self", NULL
12407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VListBox_DeselectAll",kwnames
,&obj0
)) goto fail
;
12408 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12409 if (SWIG_arg_fail(1)) SWIG_fail
;
12411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12412 result
= (bool)(arg1
)->DeselectAll();
12414 wxPyEndAllowThreads(__tstate
);
12415 if (PyErr_Occurred()) SWIG_fail
;
12418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12426 static PyObject
*_wrap_VListBox_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12427 PyObject
*resultobj
;
12428 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12429 wxPoint
*arg2
= 0 ;
12431 PyObject
* obj0
= 0 ;
12432 PyObject
* obj1
= 0 ;
12433 char *kwnames
[] = {
12434 (char *) "self",(char *) "pt", NULL
12437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
12438 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12439 if (SWIG_arg_fail(1)) SWIG_fail
;
12442 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12446 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
12448 wxPyEndAllowThreads(__tstate
);
12449 if (PyErr_Occurred()) SWIG_fail
;
12451 Py_INCREF(Py_None
); resultobj
= Py_None
;
12458 static PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12459 PyObject
*resultobj
;
12460 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12463 PyObject
* obj0
= 0 ;
12464 PyObject
* obj1
= 0 ;
12465 PyObject
* obj2
= 0 ;
12466 char *kwnames
[] = {
12467 (char *) "self",(char *) "x",(char *) "y", NULL
12470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12471 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12472 if (SWIG_arg_fail(1)) SWIG_fail
;
12474 arg2
= (int)(SWIG_As_int(obj1
));
12475 if (SWIG_arg_fail(2)) SWIG_fail
;
12478 arg3
= (int)(SWIG_As_int(obj2
));
12479 if (SWIG_arg_fail(3)) SWIG_fail
;
12482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12483 (arg1
)->SetMargins(arg2
,arg3
);
12485 wxPyEndAllowThreads(__tstate
);
12486 if (PyErr_Occurred()) SWIG_fail
;
12488 Py_INCREF(Py_None
); resultobj
= Py_None
;
12495 static PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12496 PyObject
*resultobj
;
12497 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
12498 wxColour
*arg2
= 0 ;
12500 PyObject
* obj0
= 0 ;
12501 PyObject
* obj1
= 0 ;
12502 char *kwnames
[] = {
12503 (char *) "self",(char *) "col", NULL
12506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
12507 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_EXCEPTION
| 0);
12508 if (SWIG_arg_fail(1)) SWIG_fail
;
12511 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
12514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12515 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
12517 wxPyEndAllowThreads(__tstate
);
12518 if (PyErr_Occurred()) SWIG_fail
;
12520 Py_INCREF(Py_None
); resultobj
= Py_None
;
12527 static PyObject
* VListBox_swigregister(PyObject
*, PyObject
*args
) {
12529 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12530 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox
, obj
);
12532 return Py_BuildValue((char *)"");
12534 static PyObject
*_wrap_new_HtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12535 PyObject
*resultobj
;
12536 wxWindow
*arg1
= (wxWindow
*) 0 ;
12537 int arg2
= (int) wxID_ANY
;
12538 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12539 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12540 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12541 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12542 long arg5
= (long) 0 ;
12543 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
12544 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12545 wxPyHtmlListBox
*result
;
12548 bool temp6
= false ;
12549 PyObject
* obj0
= 0 ;
12550 PyObject
* obj1
= 0 ;
12551 PyObject
* obj2
= 0 ;
12552 PyObject
* obj3
= 0 ;
12553 PyObject
* obj4
= 0 ;
12554 PyObject
* obj5
= 0 ;
12555 char *kwnames
[] = {
12556 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
12560 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12561 if (SWIG_arg_fail(1)) SWIG_fail
;
12564 arg2
= (int)(SWIG_As_int(obj1
));
12565 if (SWIG_arg_fail(2)) SWIG_fail
;
12571 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12577 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12582 arg5
= (long)(SWIG_As_long(obj4
));
12583 if (SWIG_arg_fail(5)) SWIG_fail
;
12588 arg6
= wxString_in_helper(obj5
);
12589 if (arg6
== NULL
) SWIG_fail
;
12594 if (!wxPyCheckForApp()) SWIG_fail
;
12595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12596 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12598 wxPyEndAllowThreads(__tstate
);
12599 if (PyErr_Occurred()) SWIG_fail
;
12601 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
12616 static PyObject
*_wrap_new_PreHtmlListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12617 PyObject
*resultobj
;
12618 wxPyHtmlListBox
*result
;
12619 char *kwnames
[] = {
12623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreHtmlListBox",kwnames
)) goto fail
;
12625 if (!wxPyCheckForApp()) SWIG_fail
;
12626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12627 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
12629 wxPyEndAllowThreads(__tstate
);
12630 if (PyErr_Occurred()) SWIG_fail
;
12632 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyHtmlListBox
, 1);
12639 static PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12640 PyObject
*resultobj
;
12641 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12642 PyObject
*arg2
= (PyObject
*) 0 ;
12643 PyObject
*arg3
= (PyObject
*) 0 ;
12644 PyObject
* obj0
= 0 ;
12645 PyObject
* obj1
= 0 ;
12646 PyObject
* obj2
= 0 ;
12647 char *kwnames
[] = {
12648 (char *) "self",(char *) "self",(char *) "_class", NULL
12651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12653 if (SWIG_arg_fail(1)) SWIG_fail
;
12657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12658 (arg1
)->_setCallbackInfo(arg2
,arg3
);
12660 wxPyEndAllowThreads(__tstate
);
12661 if (PyErr_Occurred()) SWIG_fail
;
12663 Py_INCREF(Py_None
); resultobj
= Py_None
;
12670 static PyObject
*_wrap_HtmlListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12671 PyObject
*resultobj
;
12672 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12673 wxWindow
*arg2
= (wxWindow
*) 0 ;
12674 int arg3
= (int) wxID_ANY
;
12675 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12676 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12677 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12678 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12679 long arg6
= (long) 0 ;
12680 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
12681 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12685 bool temp7
= false ;
12686 PyObject
* obj0
= 0 ;
12687 PyObject
* obj1
= 0 ;
12688 PyObject
* obj2
= 0 ;
12689 PyObject
* obj3
= 0 ;
12690 PyObject
* obj4
= 0 ;
12691 PyObject
* obj5
= 0 ;
12692 PyObject
* obj6
= 0 ;
12693 char *kwnames
[] = {
12694 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
12698 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12699 if (SWIG_arg_fail(1)) SWIG_fail
;
12700 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
12701 if (SWIG_arg_fail(2)) SWIG_fail
;
12704 arg3
= (int)(SWIG_As_int(obj2
));
12705 if (SWIG_arg_fail(3)) SWIG_fail
;
12711 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12717 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12722 arg6
= (long)(SWIG_As_long(obj5
));
12723 if (SWIG_arg_fail(6)) SWIG_fail
;
12728 arg7
= wxString_in_helper(obj6
);
12729 if (arg7
== NULL
) SWIG_fail
;
12734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12735 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12737 wxPyEndAllowThreads(__tstate
);
12738 if (PyErr_Occurred()) SWIG_fail
;
12741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12757 static PyObject
*_wrap_HtmlListBox_RefreshAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12758 PyObject
*resultobj
;
12759 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12760 PyObject
* obj0
= 0 ;
12761 char *kwnames
[] = {
12762 (char *) "self", NULL
12765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_RefreshAll",kwnames
,&obj0
)) goto fail
;
12766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12767 if (SWIG_arg_fail(1)) SWIG_fail
;
12769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12770 (arg1
)->RefreshAll();
12772 wxPyEndAllowThreads(__tstate
);
12773 if (PyErr_Occurred()) SWIG_fail
;
12775 Py_INCREF(Py_None
); resultobj
= Py_None
;
12782 static PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12783 PyObject
*resultobj
;
12784 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12786 PyObject
* obj0
= 0 ;
12787 PyObject
* obj1
= 0 ;
12788 char *kwnames
[] = {
12789 (char *) "self",(char *) "count", NULL
12792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
12793 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12794 if (SWIG_arg_fail(1)) SWIG_fail
;
12796 arg2
= (size_t)(SWIG_As_unsigned_SS_long(obj1
));
12797 if (SWIG_arg_fail(2)) SWIG_fail
;
12800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12801 (arg1
)->SetItemCount(arg2
);
12803 wxPyEndAllowThreads(__tstate
);
12804 if (PyErr_Occurred()) SWIG_fail
;
12806 Py_INCREF(Py_None
); resultobj
= Py_None
;
12813 static PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12814 PyObject
*resultobj
;
12815 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
12816 wxFileSystem
*result
;
12817 PyObject
* obj0
= 0 ;
12818 char *kwnames
[] = {
12819 (char *) "self", NULL
12822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HtmlListBox_GetFileSystem",kwnames
,&obj0
)) goto fail
;
12823 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_EXCEPTION
| 0);
12824 if (SWIG_arg_fail(1)) SWIG_fail
;
12826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12828 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
12829 result
= (wxFileSystem
*) &_result_ref
;
12832 wxPyEndAllowThreads(__tstate
);
12833 if (PyErr_Occurred()) SWIG_fail
;
12835 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileSystem
, 0);
12842 static PyObject
* HtmlListBox_swigregister(PyObject
*, PyObject
*args
) {
12844 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12845 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox
, obj
);
12847 return Py_BuildValue((char *)"");
12849 static PyObject
*_wrap_new_TaskBarIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12850 PyObject
*resultobj
;
12851 wxPyTaskBarIcon
*result
;
12852 char *kwnames
[] = {
12856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TaskBarIcon",kwnames
)) goto fail
;
12858 if (!wxPyCheckForApp()) SWIG_fail
;
12859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12860 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
12862 wxPyEndAllowThreads(__tstate
);
12863 if (PyErr_Occurred()) SWIG_fail
;
12865 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTaskBarIcon
, 1);
12872 static PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12873 PyObject
*resultobj
;
12874 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12875 PyObject
*arg2
= (PyObject
*) 0 ;
12876 PyObject
*arg3
= (PyObject
*) 0 ;
12878 PyObject
* obj0
= 0 ;
12879 PyObject
* obj1
= 0 ;
12880 PyObject
* obj2
= 0 ;
12881 PyObject
* obj3
= 0 ;
12882 char *kwnames
[] = {
12883 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
12886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12888 if (SWIG_arg_fail(1)) SWIG_fail
;
12892 arg4
= (int)(SWIG_As_int(obj3
));
12893 if (SWIG_arg_fail(4)) SWIG_fail
;
12896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12897 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
12899 wxPyEndAllowThreads(__tstate
);
12900 if (PyErr_Occurred()) SWIG_fail
;
12902 Py_INCREF(Py_None
); resultobj
= Py_None
;
12909 static PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12910 PyObject
*resultobj
;
12911 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12912 PyObject
* obj0
= 0 ;
12913 char *kwnames
[] = {
12914 (char *) "self", NULL
12917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_Destroy",kwnames
,&obj0
)) goto fail
;
12918 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12919 if (SWIG_arg_fail(1)) SWIG_fail
;
12921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12922 wxPyTaskBarIcon_Destroy(arg1
);
12924 wxPyEndAllowThreads(__tstate
);
12925 if (PyErr_Occurred()) SWIG_fail
;
12927 Py_INCREF(Py_None
); resultobj
= Py_None
;
12934 static PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12935 PyObject
*resultobj
;
12936 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12938 PyObject
* obj0
= 0 ;
12939 char *kwnames
[] = {
12940 (char *) "self", NULL
12943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsOk",kwnames
,&obj0
)) goto fail
;
12944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12945 if (SWIG_arg_fail(1)) SWIG_fail
;
12947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12948 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
12950 wxPyEndAllowThreads(__tstate
);
12951 if (PyErr_Occurred()) SWIG_fail
;
12954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12962 static PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12963 PyObject
*resultobj
;
12964 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12966 PyObject
* obj0
= 0 ;
12967 char *kwnames
[] = {
12968 (char *) "self", NULL
12971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames
,&obj0
)) goto fail
;
12972 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
12973 if (SWIG_arg_fail(1)) SWIG_fail
;
12975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12976 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
12978 wxPyEndAllowThreads(__tstate
);
12979 if (PyErr_Occurred()) SWIG_fail
;
12982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12990 static PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12991 PyObject
*resultobj
;
12992 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
12994 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12995 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12997 bool temp3
= false ;
12998 PyObject
* obj0
= 0 ;
12999 PyObject
* obj1
= 0 ;
13000 PyObject
* obj2
= 0 ;
13001 char *kwnames
[] = {
13002 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
13005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13007 if (SWIG_arg_fail(1)) SWIG_fail
;
13009 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxIcon
, SWIG_POINTER_EXCEPTION
| 0);
13010 if (SWIG_arg_fail(2)) SWIG_fail
;
13011 if (arg2
== NULL
) {
13012 SWIG_null_ref("wxIcon");
13014 if (SWIG_arg_fail(2)) SWIG_fail
;
13018 arg3
= wxString_in_helper(obj2
);
13019 if (arg3
== NULL
) SWIG_fail
;
13024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13025 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
13027 wxPyEndAllowThreads(__tstate
);
13028 if (PyErr_Occurred()) SWIG_fail
;
13031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13047 static PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13048 PyObject
*resultobj
;
13049 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13051 PyObject
* obj0
= 0 ;
13052 char *kwnames
[] = {
13053 (char *) "self", NULL
13056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TaskBarIcon_RemoveIcon",kwnames
,&obj0
)) goto fail
;
13057 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13058 if (SWIG_arg_fail(1)) SWIG_fail
;
13060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13061 result
= (bool)(arg1
)->RemoveIcon();
13063 wxPyEndAllowThreads(__tstate
);
13064 if (PyErr_Occurred()) SWIG_fail
;
13067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13075 static PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13076 PyObject
*resultobj
;
13077 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
13078 wxMenu
*arg2
= (wxMenu
*) 0 ;
13080 PyObject
* obj0
= 0 ;
13081 PyObject
* obj1
= 0 ;
13082 char *kwnames
[] = {
13083 (char *) "self",(char *) "menu", NULL
13086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
13087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13088 if (SWIG_arg_fail(1)) SWIG_fail
;
13089 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
13090 if (SWIG_arg_fail(2)) SWIG_fail
;
13092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13093 result
= (bool)(arg1
)->PopupMenu(arg2
);
13095 wxPyEndAllowThreads(__tstate
);
13096 if (PyErr_Occurred()) SWIG_fail
;
13099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13107 static PyObject
* TaskBarIcon_swigregister(PyObject
*, PyObject
*args
) {
13109 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13110 SWIG_TypeClientData(SWIGTYPE_p_wxPyTaskBarIcon
, obj
);
13112 return Py_BuildValue((char *)"");
13114 static PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13115 PyObject
*resultobj
;
13117 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
13118 wxTaskBarIconEvent
*result
;
13119 PyObject
* obj0
= 0 ;
13120 PyObject
* obj1
= 0 ;
13121 char *kwnames
[] = {
13122 (char *) "evtType",(char *) "tbIcon", NULL
13125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13127 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
13128 if (SWIG_arg_fail(1)) SWIG_fail
;
13130 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxTaskBarIcon
, SWIG_POINTER_EXCEPTION
| 0);
13131 if (SWIG_arg_fail(2)) SWIG_fail
;
13133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13134 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
13136 wxPyEndAllowThreads(__tstate
);
13137 if (PyErr_Occurred()) SWIG_fail
;
13139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTaskBarIconEvent
, 1);
13146 static PyObject
* TaskBarIconEvent_swigregister(PyObject
*, PyObject
*args
) {
13148 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13149 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent
, obj
);
13151 return Py_BuildValue((char *)"");
13153 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
13154 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
13159 static PyObject
*_wrap_FileSelectorPromptStr_get(void) {
13164 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
13166 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
13173 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
13174 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
13179 static PyObject
*_wrap_DirSelectorPromptStr_get(void) {
13184 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
13186 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
13193 static int _wrap_DirDialogNameStr_set(PyObject
*) {
13194 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogNameStr is read-only.");
13199 static PyObject
*_wrap_DirDialogNameStr_get(void) {
13204 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
13206 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
13213 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
13214 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
13219 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get(void) {
13224 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
13226 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
13233 static int _wrap_GetTextFromUserPromptStr_set(PyObject
*) {
13234 PyErr_SetString(PyExc_TypeError
,"Variable GetTextFromUserPromptStr is read-only.");
13239 static PyObject
*_wrap_GetTextFromUserPromptStr_get(void) {
13244 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
13246 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
13253 static int _wrap_MessageBoxCaptionStr_set(PyObject
*) {
13254 PyErr_SetString(PyExc_TypeError
,"Variable MessageBoxCaptionStr is read-only.");
13259 static PyObject
*_wrap_MessageBoxCaptionStr_get(void) {
13264 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
13266 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
13273 static PyObject
*_wrap_new_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13274 PyObject
*resultobj
;
13275 wxColourData
*result
;
13276 char *kwnames
[] = {
13280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ColourData",kwnames
)) goto fail
;
13282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13283 result
= (wxColourData
*)new wxColourData();
13285 wxPyEndAllowThreads(__tstate
);
13286 if (PyErr_Occurred()) SWIG_fail
;
13288 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 1);
13295 static PyObject
*_wrap_delete_ColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13296 PyObject
*resultobj
;
13297 wxColourData
*arg1
= (wxColourData
*) 0 ;
13298 PyObject
* obj0
= 0 ;
13299 char *kwnames
[] = {
13300 (char *) "self", NULL
13303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ColourData",kwnames
,&obj0
)) goto fail
;
13304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13305 if (SWIG_arg_fail(1)) SWIG_fail
;
13307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13310 wxPyEndAllowThreads(__tstate
);
13311 if (PyErr_Occurred()) SWIG_fail
;
13313 Py_INCREF(Py_None
); resultobj
= Py_None
;
13320 static PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13321 PyObject
*resultobj
;
13322 wxColourData
*arg1
= (wxColourData
*) 0 ;
13324 PyObject
* obj0
= 0 ;
13325 char *kwnames
[] = {
13326 (char *) "self", NULL
13329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetChooseFull",kwnames
,&obj0
)) goto fail
;
13330 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13331 if (SWIG_arg_fail(1)) SWIG_fail
;
13333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13334 result
= (bool)(arg1
)->GetChooseFull();
13336 wxPyEndAllowThreads(__tstate
);
13337 if (PyErr_Occurred()) SWIG_fail
;
13340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13348 static PyObject
*_wrap_ColourData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13349 PyObject
*resultobj
;
13350 wxColourData
*arg1
= (wxColourData
*) 0 ;
13352 PyObject
* obj0
= 0 ;
13353 char *kwnames
[] = {
13354 (char *) "self", NULL
13357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourData_GetColour",kwnames
,&obj0
)) goto fail
;
13358 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13359 if (SWIG_arg_fail(1)) SWIG_fail
;
13361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13362 result
= (arg1
)->GetColour();
13364 wxPyEndAllowThreads(__tstate
);
13365 if (PyErr_Occurred()) SWIG_fail
;
13368 wxColour
* resultptr
;
13369 resultptr
= new wxColour((wxColour
&)(result
));
13370 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13378 static PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13379 PyObject
*resultobj
;
13380 wxColourData
*arg1
= (wxColourData
*) 0 ;
13383 PyObject
* obj0
= 0 ;
13384 PyObject
* obj1
= 0 ;
13385 char *kwnames
[] = {
13386 (char *) "self",(char *) "i", NULL
13389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13390 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13391 if (SWIG_arg_fail(1)) SWIG_fail
;
13393 arg2
= (int)(SWIG_As_int(obj1
));
13394 if (SWIG_arg_fail(2)) SWIG_fail
;
13397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13398 result
= (arg1
)->GetCustomColour(arg2
);
13400 wxPyEndAllowThreads(__tstate
);
13401 if (PyErr_Occurred()) SWIG_fail
;
13404 wxColour
* resultptr
;
13405 resultptr
= new wxColour((wxColour
&)(result
));
13406 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
13414 static PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13415 PyObject
*resultobj
;
13416 wxColourData
*arg1
= (wxColourData
*) 0 ;
13418 PyObject
* obj0
= 0 ;
13419 PyObject
* obj1
= 0 ;
13420 char *kwnames
[] = {
13421 (char *) "self",(char *) "flag", NULL
13424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) goto fail
;
13425 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13426 if (SWIG_arg_fail(1)) SWIG_fail
;
13428 arg2
= (int)(SWIG_As_int(obj1
));
13429 if (SWIG_arg_fail(2)) SWIG_fail
;
13432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13433 (arg1
)->SetChooseFull(arg2
);
13435 wxPyEndAllowThreads(__tstate
);
13436 if (PyErr_Occurred()) SWIG_fail
;
13438 Py_INCREF(Py_None
); resultobj
= Py_None
;
13445 static PyObject
*_wrap_ColourData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13446 PyObject
*resultobj
;
13447 wxColourData
*arg1
= (wxColourData
*) 0 ;
13448 wxColour
*arg2
= 0 ;
13450 PyObject
* obj0
= 0 ;
13451 PyObject
* obj1
= 0 ;
13452 char *kwnames
[] = {
13453 (char *) "self",(char *) "colour", NULL
13456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
13457 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13458 if (SWIG_arg_fail(1)) SWIG_fail
;
13461 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
13464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13465 (arg1
)->SetColour((wxColour
const &)*arg2
);
13467 wxPyEndAllowThreads(__tstate
);
13468 if (PyErr_Occurred()) SWIG_fail
;
13470 Py_INCREF(Py_None
); resultobj
= Py_None
;
13477 static PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13478 PyObject
*resultobj
;
13479 wxColourData
*arg1
= (wxColourData
*) 0 ;
13481 wxColour
*arg3
= 0 ;
13483 PyObject
* obj0
= 0 ;
13484 PyObject
* obj1
= 0 ;
13485 PyObject
* obj2
= 0 ;
13486 char *kwnames
[] = {
13487 (char *) "self",(char *) "i",(char *) "colour", NULL
13490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13491 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13492 if (SWIG_arg_fail(1)) SWIG_fail
;
13494 arg2
= (int)(SWIG_As_int(obj1
));
13495 if (SWIG_arg_fail(2)) SWIG_fail
;
13499 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
13502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13503 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
13505 wxPyEndAllowThreads(__tstate
);
13506 if (PyErr_Occurred()) SWIG_fail
;
13508 Py_INCREF(Py_None
); resultobj
= Py_None
;
13515 static PyObject
* ColourData_swigregister(PyObject
*, PyObject
*args
) {
13517 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13518 SWIG_TypeClientData(SWIGTYPE_p_wxColourData
, obj
);
13520 return Py_BuildValue((char *)"");
13522 static PyObject
*_wrap_new_ColourDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13523 PyObject
*resultobj
;
13524 wxWindow
*arg1
= (wxWindow
*) 0 ;
13525 wxColourData
*arg2
= (wxColourData
*) NULL
;
13526 wxColourDialog
*result
;
13527 PyObject
* obj0
= 0 ;
13528 PyObject
* obj1
= 0 ;
13529 char *kwnames
[] = {
13530 (char *) "parent",(char *) "data", NULL
13533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
13534 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13535 if (SWIG_arg_fail(1)) SWIG_fail
;
13537 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxColourData
, SWIG_POINTER_EXCEPTION
| 0);
13538 if (SWIG_arg_fail(2)) SWIG_fail
;
13541 if (!wxPyCheckForApp()) SWIG_fail
;
13542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13543 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
13545 wxPyEndAllowThreads(__tstate
);
13546 if (PyErr_Occurred()) SWIG_fail
;
13548 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourDialog
, 1);
13555 static PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13556 PyObject
*resultobj
;
13557 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
13558 wxColourData
*result
;
13559 PyObject
* obj0
= 0 ;
13560 char *kwnames
[] = {
13561 (char *) "self", NULL
13564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ColourDialog_GetColourData",kwnames
,&obj0
)) goto fail
;
13565 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_EXCEPTION
| 0);
13566 if (SWIG_arg_fail(1)) SWIG_fail
;
13568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13570 wxColourData
&_result_ref
= (arg1
)->GetColourData();
13571 result
= (wxColourData
*) &_result_ref
;
13574 wxPyEndAllowThreads(__tstate
);
13575 if (PyErr_Occurred()) SWIG_fail
;
13577 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColourData
, 0);
13584 static PyObject
* ColourDialog_swigregister(PyObject
*, PyObject
*args
) {
13586 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13587 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog
, obj
);
13589 return Py_BuildValue((char *)"");
13591 static PyObject
*_wrap_new_DirDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13592 PyObject
*resultobj
;
13593 wxWindow
*arg1
= (wxWindow
*) 0 ;
13594 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
13595 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13596 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13597 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13598 long arg4
= (long) 0 ;
13599 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13600 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13601 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13602 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13603 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
13604 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13605 wxDirDialog
*result
;
13606 bool temp2
= false ;
13607 bool temp3
= false ;
13610 bool temp7
= false ;
13611 PyObject
* obj0
= 0 ;
13612 PyObject
* obj1
= 0 ;
13613 PyObject
* obj2
= 0 ;
13614 PyObject
* obj3
= 0 ;
13615 PyObject
* obj4
= 0 ;
13616 PyObject
* obj5
= 0 ;
13617 PyObject
* obj6
= 0 ;
13618 char *kwnames
[] = {
13619 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
13622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13623 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13624 if (SWIG_arg_fail(1)) SWIG_fail
;
13627 arg2
= wxString_in_helper(obj1
);
13628 if (arg2
== NULL
) SWIG_fail
;
13634 arg3
= wxString_in_helper(obj2
);
13635 if (arg3
== NULL
) SWIG_fail
;
13641 arg4
= (long)(SWIG_As_long(obj3
));
13642 if (SWIG_arg_fail(4)) SWIG_fail
;
13648 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
13654 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13659 arg7
= wxString_in_helper(obj6
);
13660 if (arg7
== NULL
) SWIG_fail
;
13665 if (!wxPyCheckForApp()) SWIG_fail
;
13666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13667 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
13669 wxPyEndAllowThreads(__tstate
);
13670 if (PyErr_Occurred()) SWIG_fail
;
13672 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirDialog
, 1);
13703 static PyObject
*_wrap_DirDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13704 PyObject
*resultobj
;
13705 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13707 PyObject
* obj0
= 0 ;
13708 char *kwnames
[] = {
13709 (char *) "self", NULL
13712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetPath",kwnames
,&obj0
)) goto fail
;
13713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13714 if (SWIG_arg_fail(1)) SWIG_fail
;
13716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13717 result
= (arg1
)->GetPath();
13719 wxPyEndAllowThreads(__tstate
);
13720 if (PyErr_Occurred()) SWIG_fail
;
13724 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13726 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13735 static PyObject
*_wrap_DirDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13736 PyObject
*resultobj
;
13737 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13739 PyObject
* obj0
= 0 ;
13740 char *kwnames
[] = {
13741 (char *) "self", NULL
13744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
13745 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13746 if (SWIG_arg_fail(1)) SWIG_fail
;
13748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13749 result
= (arg1
)->GetMessage();
13751 wxPyEndAllowThreads(__tstate
);
13752 if (PyErr_Occurred()) SWIG_fail
;
13756 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13758 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13767 static PyObject
*_wrap_DirDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13768 PyObject
*resultobj
;
13769 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13771 PyObject
* obj0
= 0 ;
13772 char *kwnames
[] = {
13773 (char *) "self", NULL
13776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DirDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
13777 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13778 if (SWIG_arg_fail(1)) SWIG_fail
;
13780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13781 result
= (long)(arg1
)->GetStyle();
13783 wxPyEndAllowThreads(__tstate
);
13784 if (PyErr_Occurred()) SWIG_fail
;
13787 resultobj
= SWIG_From_long((long)(result
));
13795 static PyObject
*_wrap_DirDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13796 PyObject
*resultobj
;
13797 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13798 wxString
*arg2
= 0 ;
13799 bool temp2
= false ;
13800 PyObject
* obj0
= 0 ;
13801 PyObject
* obj1
= 0 ;
13802 char *kwnames
[] = {
13803 (char *) "self",(char *) "message", NULL
13806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
13807 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13808 if (SWIG_arg_fail(1)) SWIG_fail
;
13810 arg2
= wxString_in_helper(obj1
);
13811 if (arg2
== NULL
) SWIG_fail
;
13815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13816 (arg1
)->SetMessage((wxString
const &)*arg2
);
13818 wxPyEndAllowThreads(__tstate
);
13819 if (PyErr_Occurred()) SWIG_fail
;
13821 Py_INCREF(Py_None
); resultobj
= Py_None
;
13836 static PyObject
*_wrap_DirDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13837 PyObject
*resultobj
;
13838 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
13839 wxString
*arg2
= 0 ;
13840 bool temp2
= false ;
13841 PyObject
* obj0
= 0 ;
13842 PyObject
* obj1
= 0 ;
13843 char *kwnames
[] = {
13844 (char *) "self",(char *) "path", NULL
13847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
13848 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_EXCEPTION
| 0);
13849 if (SWIG_arg_fail(1)) SWIG_fail
;
13851 arg2
= wxString_in_helper(obj1
);
13852 if (arg2
== NULL
) SWIG_fail
;
13856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13857 (arg1
)->SetPath((wxString
const &)*arg2
);
13859 wxPyEndAllowThreads(__tstate
);
13860 if (PyErr_Occurred()) SWIG_fail
;
13862 Py_INCREF(Py_None
); resultobj
= Py_None
;
13877 static PyObject
* DirDialog_swigregister(PyObject
*, PyObject
*args
) {
13879 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13880 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog
, obj
);
13882 return Py_BuildValue((char *)"");
13884 static PyObject
*_wrap_new_FileDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13885 PyObject
*resultobj
;
13886 wxWindow
*arg1
= (wxWindow
*) 0 ;
13887 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
13888 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13889 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13890 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13891 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13892 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13893 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
13894 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
13895 long arg6
= (long) 0 ;
13896 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
13897 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
13898 wxFileDialog
*result
;
13899 bool temp2
= false ;
13900 bool temp3
= false ;
13901 bool temp4
= false ;
13902 bool temp5
= false ;
13904 PyObject
* obj0
= 0 ;
13905 PyObject
* obj1
= 0 ;
13906 PyObject
* obj2
= 0 ;
13907 PyObject
* obj3
= 0 ;
13908 PyObject
* obj4
= 0 ;
13909 PyObject
* obj5
= 0 ;
13910 PyObject
* obj6
= 0 ;
13911 char *kwnames
[] = {
13912 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
13915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
13916 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
13917 if (SWIG_arg_fail(1)) SWIG_fail
;
13920 arg2
= wxString_in_helper(obj1
);
13921 if (arg2
== NULL
) SWIG_fail
;
13927 arg3
= wxString_in_helper(obj2
);
13928 if (arg3
== NULL
) SWIG_fail
;
13934 arg4
= wxString_in_helper(obj3
);
13935 if (arg4
== NULL
) SWIG_fail
;
13941 arg5
= wxString_in_helper(obj4
);
13942 if (arg5
== NULL
) SWIG_fail
;
13948 arg6
= (long)(SWIG_As_long(obj5
));
13949 if (SWIG_arg_fail(6)) SWIG_fail
;
13955 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
13959 if (!wxPyCheckForApp()) SWIG_fail
;
13960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13961 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
13963 wxPyEndAllowThreads(__tstate
);
13964 if (PyErr_Occurred()) SWIG_fail
;
13966 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDialog
, 1);
14005 static PyObject
*_wrap_FileDialog_SetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14006 PyObject
*resultobj
;
14007 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14008 wxString
*arg2
= 0 ;
14009 bool temp2
= false ;
14010 PyObject
* obj0
= 0 ;
14011 PyObject
* obj1
= 0 ;
14012 char *kwnames
[] = {
14013 (char *) "self",(char *) "message", NULL
14016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
14017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14018 if (SWIG_arg_fail(1)) SWIG_fail
;
14020 arg2
= wxString_in_helper(obj1
);
14021 if (arg2
== NULL
) SWIG_fail
;
14025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14026 (arg1
)->SetMessage((wxString
const &)*arg2
);
14028 wxPyEndAllowThreads(__tstate
);
14029 if (PyErr_Occurred()) SWIG_fail
;
14031 Py_INCREF(Py_None
); resultobj
= Py_None
;
14046 static PyObject
*_wrap_FileDialog_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14047 PyObject
*resultobj
;
14048 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14049 wxString
*arg2
= 0 ;
14050 bool temp2
= false ;
14051 PyObject
* obj0
= 0 ;
14052 PyObject
* obj1
= 0 ;
14053 char *kwnames
[] = {
14054 (char *) "self",(char *) "path", NULL
14057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14059 if (SWIG_arg_fail(1)) SWIG_fail
;
14061 arg2
= wxString_in_helper(obj1
);
14062 if (arg2
== NULL
) SWIG_fail
;
14066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14067 (arg1
)->SetPath((wxString
const &)*arg2
);
14069 wxPyEndAllowThreads(__tstate
);
14070 if (PyErr_Occurred()) SWIG_fail
;
14072 Py_INCREF(Py_None
); resultobj
= Py_None
;
14087 static PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14088 PyObject
*resultobj
;
14089 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14090 wxString
*arg2
= 0 ;
14091 bool temp2
= false ;
14092 PyObject
* obj0
= 0 ;
14093 PyObject
* obj1
= 0 ;
14094 char *kwnames
[] = {
14095 (char *) "self",(char *) "dir", NULL
14098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) goto fail
;
14099 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14100 if (SWIG_arg_fail(1)) SWIG_fail
;
14102 arg2
= wxString_in_helper(obj1
);
14103 if (arg2
== NULL
) SWIG_fail
;
14107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14108 (arg1
)->SetDirectory((wxString
const &)*arg2
);
14110 wxPyEndAllowThreads(__tstate
);
14111 if (PyErr_Occurred()) SWIG_fail
;
14113 Py_INCREF(Py_None
); resultobj
= Py_None
;
14128 static PyObject
*_wrap_FileDialog_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14129 PyObject
*resultobj
;
14130 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14131 wxString
*arg2
= 0 ;
14132 bool temp2
= false ;
14133 PyObject
* obj0
= 0 ;
14134 PyObject
* obj1
= 0 ;
14135 char *kwnames
[] = {
14136 (char *) "self",(char *) "name", NULL
14139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
14140 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14141 if (SWIG_arg_fail(1)) SWIG_fail
;
14143 arg2
= wxString_in_helper(obj1
);
14144 if (arg2
== NULL
) SWIG_fail
;
14148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14149 (arg1
)->SetFilename((wxString
const &)*arg2
);
14151 wxPyEndAllowThreads(__tstate
);
14152 if (PyErr_Occurred()) SWIG_fail
;
14154 Py_INCREF(Py_None
); resultobj
= Py_None
;
14169 static PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14170 PyObject
*resultobj
;
14171 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14172 wxString
*arg2
= 0 ;
14173 bool temp2
= false ;
14174 PyObject
* obj0
= 0 ;
14175 PyObject
* obj1
= 0 ;
14176 char *kwnames
[] = {
14177 (char *) "self",(char *) "wildCard", NULL
14180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) goto fail
;
14181 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14182 if (SWIG_arg_fail(1)) SWIG_fail
;
14184 arg2
= wxString_in_helper(obj1
);
14185 if (arg2
== NULL
) SWIG_fail
;
14189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14190 (arg1
)->SetWildcard((wxString
const &)*arg2
);
14192 wxPyEndAllowThreads(__tstate
);
14193 if (PyErr_Occurred()) SWIG_fail
;
14195 Py_INCREF(Py_None
); resultobj
= Py_None
;
14210 static PyObject
*_wrap_FileDialog_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14211 PyObject
*resultobj
;
14212 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14214 PyObject
* obj0
= 0 ;
14215 PyObject
* obj1
= 0 ;
14216 char *kwnames
[] = {
14217 (char *) "self",(char *) "style", NULL
14220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
14221 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14222 if (SWIG_arg_fail(1)) SWIG_fail
;
14224 arg2
= (long)(SWIG_As_long(obj1
));
14225 if (SWIG_arg_fail(2)) SWIG_fail
;
14228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14229 (arg1
)->SetStyle(arg2
);
14231 wxPyEndAllowThreads(__tstate
);
14232 if (PyErr_Occurred()) SWIG_fail
;
14234 Py_INCREF(Py_None
); resultobj
= Py_None
;
14241 static PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14242 PyObject
*resultobj
;
14243 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14245 PyObject
* obj0
= 0 ;
14246 PyObject
* obj1
= 0 ;
14247 char *kwnames
[] = {
14248 (char *) "self",(char *) "filterIndex", NULL
14251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
14252 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14253 if (SWIG_arg_fail(1)) SWIG_fail
;
14255 arg2
= (int)(SWIG_As_int(obj1
));
14256 if (SWIG_arg_fail(2)) SWIG_fail
;
14259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14260 (arg1
)->SetFilterIndex(arg2
);
14262 wxPyEndAllowThreads(__tstate
);
14263 if (PyErr_Occurred()) SWIG_fail
;
14265 Py_INCREF(Py_None
); resultobj
= Py_None
;
14272 static PyObject
*_wrap_FileDialog_GetMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14273 PyObject
*resultobj
;
14274 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14276 PyObject
* obj0
= 0 ;
14277 char *kwnames
[] = {
14278 (char *) "self", NULL
14281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetMessage",kwnames
,&obj0
)) goto fail
;
14282 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14283 if (SWIG_arg_fail(1)) SWIG_fail
;
14285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14286 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
14288 wxPyEndAllowThreads(__tstate
);
14289 if (PyErr_Occurred()) SWIG_fail
;
14293 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14295 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14304 static PyObject
*_wrap_FileDialog_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14305 PyObject
*resultobj
;
14306 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14308 PyObject
* obj0
= 0 ;
14309 char *kwnames
[] = {
14310 (char *) "self", NULL
14313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPath",kwnames
,&obj0
)) goto fail
;
14314 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14315 if (SWIG_arg_fail(1)) SWIG_fail
;
14317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14318 result
= ((wxFileDialog
const *)arg1
)->GetPath();
14320 wxPyEndAllowThreads(__tstate
);
14321 if (PyErr_Occurred()) SWIG_fail
;
14325 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14327 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14336 static PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14337 PyObject
*resultobj
;
14338 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14340 PyObject
* obj0
= 0 ;
14341 char *kwnames
[] = {
14342 (char *) "self", NULL
14345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetDirectory",kwnames
,&obj0
)) goto fail
;
14346 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14347 if (SWIG_arg_fail(1)) SWIG_fail
;
14349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14350 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
14352 wxPyEndAllowThreads(__tstate
);
14353 if (PyErr_Occurred()) SWIG_fail
;
14357 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14359 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14368 static PyObject
*_wrap_FileDialog_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14369 PyObject
*resultobj
;
14370 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14372 PyObject
* obj0
= 0 ;
14373 char *kwnames
[] = {
14374 (char *) "self", NULL
14377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilename",kwnames
,&obj0
)) goto fail
;
14378 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14379 if (SWIG_arg_fail(1)) SWIG_fail
;
14381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14382 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
14384 wxPyEndAllowThreads(__tstate
);
14385 if (PyErr_Occurred()) SWIG_fail
;
14389 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14391 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14400 static PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14401 PyObject
*resultobj
;
14402 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14404 PyObject
* obj0
= 0 ;
14405 char *kwnames
[] = {
14406 (char *) "self", NULL
14409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetWildcard",kwnames
,&obj0
)) goto fail
;
14410 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14411 if (SWIG_arg_fail(1)) SWIG_fail
;
14413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14414 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
14416 wxPyEndAllowThreads(__tstate
);
14417 if (PyErr_Occurred()) SWIG_fail
;
14421 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14423 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14432 static PyObject
*_wrap_FileDialog_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14433 PyObject
*resultobj
;
14434 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14436 PyObject
* obj0
= 0 ;
14437 char *kwnames
[] = {
14438 (char *) "self", NULL
14441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetStyle",kwnames
,&obj0
)) goto fail
;
14442 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14443 if (SWIG_arg_fail(1)) SWIG_fail
;
14445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14446 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
14448 wxPyEndAllowThreads(__tstate
);
14449 if (PyErr_Occurred()) SWIG_fail
;
14452 resultobj
= SWIG_From_long((long)(result
));
14460 static PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14461 PyObject
*resultobj
;
14462 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14464 PyObject
* obj0
= 0 ;
14465 char *kwnames
[] = {
14466 (char *) "self", NULL
14469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
14470 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14471 if (SWIG_arg_fail(1)) SWIG_fail
;
14473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14474 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
14476 wxPyEndAllowThreads(__tstate
);
14477 if (PyErr_Occurred()) SWIG_fail
;
14480 resultobj
= SWIG_From_int((int)(result
));
14488 static PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14489 PyObject
*resultobj
;
14490 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14492 PyObject
* obj0
= 0 ;
14493 char *kwnames
[] = {
14494 (char *) "self", NULL
14497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetFilenames",kwnames
,&obj0
)) goto fail
;
14498 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14499 if (SWIG_arg_fail(1)) SWIG_fail
;
14501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14502 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
14504 wxPyEndAllowThreads(__tstate
);
14505 if (PyErr_Occurred()) SWIG_fail
;
14507 resultobj
= result
;
14514 static PyObject
*_wrap_FileDialog_GetPaths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14515 PyObject
*resultobj
;
14516 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
14518 PyObject
* obj0
= 0 ;
14519 char *kwnames
[] = {
14520 (char *) "self", NULL
14523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDialog_GetPaths",kwnames
,&obj0
)) goto fail
;
14524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_EXCEPTION
| 0);
14525 if (SWIG_arg_fail(1)) SWIG_fail
;
14527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14528 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
14530 wxPyEndAllowThreads(__tstate
);
14531 if (PyErr_Occurred()) SWIG_fail
;
14533 resultobj
= result
;
14540 static PyObject
* FileDialog_swigregister(PyObject
*, PyObject
*args
) {
14542 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14543 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog
, obj
);
14545 return Py_BuildValue((char *)"");
14547 static PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14548 PyObject
*resultobj
;
14549 wxWindow
*arg1
= (wxWindow
*) 0 ;
14550 wxString
*arg2
= 0 ;
14551 wxString
*arg3
= 0 ;
14552 int arg4
= (int) 0 ;
14553 wxString
*arg5
= (wxString
*) NULL
;
14554 long arg6
= (long) wxCHOICEDLG_STYLE
;
14555 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14556 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14557 wxMultiChoiceDialog
*result
;
14558 bool temp2
= false ;
14559 bool temp3
= false ;
14561 PyObject
* obj0
= 0 ;
14562 PyObject
* obj1
= 0 ;
14563 PyObject
* obj2
= 0 ;
14564 PyObject
* obj3
= 0 ;
14565 PyObject
* obj4
= 0 ;
14566 PyObject
* obj5
= 0 ;
14567 char *kwnames
[] = {
14568 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14572 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14573 if (SWIG_arg_fail(1)) SWIG_fail
;
14575 arg2
= wxString_in_helper(obj1
);
14576 if (arg2
== NULL
) SWIG_fail
;
14580 arg3
= wxString_in_helper(obj2
);
14581 if (arg3
== NULL
) SWIG_fail
;
14586 arg4
= PyList_Size(obj3
);
14587 arg5
= wxString_LIST_helper(obj3
);
14588 if (arg5
== NULL
) SWIG_fail
;
14593 arg6
= (long)(SWIG_As_long(obj4
));
14594 if (SWIG_arg_fail(6)) SWIG_fail
;
14600 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
14604 if (!wxPyCheckForApp()) SWIG_fail
;
14605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14606 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
14608 wxPyEndAllowThreads(__tstate
);
14609 if (PyErr_Occurred()) SWIG_fail
;
14611 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMultiChoiceDialog
, 1);
14621 if (arg5
) delete [] arg5
;
14634 if (arg5
) delete [] arg5
;
14640 static PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14641 PyObject
*resultobj
;
14642 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
14643 wxArrayInt
*arg2
= 0 ;
14644 bool temp2
= false ;
14645 PyObject
* obj0
= 0 ;
14646 PyObject
* obj1
= 0 ;
14647 char *kwnames
[] = {
14648 (char *) "self",(char *) "selections", NULL
14651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) goto fail
;
14652 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14653 if (SWIG_arg_fail(1)) SWIG_fail
;
14655 if (! PySequence_Check(obj1
)) {
14656 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
14659 arg2
= new wxArrayInt
;
14661 int i
, len
=PySequence_Length(obj1
);
14662 for (i
=0; i
<len
; i
++) {
14663 PyObject
* item
= PySequence_GetItem(obj1
, i
);
14664 PyObject
* number
= PyNumber_Int(item
);
14665 arg2
->Add(PyInt_AS_LONG(number
));
14671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14672 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
14674 wxPyEndAllowThreads(__tstate
);
14675 if (PyErr_Occurred()) SWIG_fail
;
14677 Py_INCREF(Py_None
); resultobj
= Py_None
;
14679 if (temp2
) delete arg2
;
14684 if (temp2
) delete arg2
;
14690 static PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14691 PyObject
*resultobj
;
14692 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
14694 PyObject
* obj0
= 0 ;
14695 char *kwnames
[] = {
14696 (char *) "self", NULL
14699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MultiChoiceDialog_GetSelections",kwnames
,&obj0
)) goto fail
;
14700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14701 if (SWIG_arg_fail(1)) SWIG_fail
;
14703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14704 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
14706 wxPyEndAllowThreads(__tstate
);
14707 if (PyErr_Occurred()) SWIG_fail
;
14709 resultobj
= result
;
14716 static PyObject
* MultiChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
14718 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14719 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog
, obj
);
14721 return Py_BuildValue((char *)"");
14723 static PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14724 PyObject
*resultobj
;
14725 wxWindow
*arg1
= (wxWindow
*) 0 ;
14726 wxString
*arg2
= 0 ;
14727 wxString
*arg3
= 0 ;
14729 wxString
*arg5
= (wxString
*) 0 ;
14730 long arg6
= (long) wxCHOICEDLG_STYLE
;
14731 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
14732 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
14733 wxSingleChoiceDialog
*result
;
14734 bool temp2
= false ;
14735 bool temp3
= false ;
14737 PyObject
* obj0
= 0 ;
14738 PyObject
* obj1
= 0 ;
14739 PyObject
* obj2
= 0 ;
14740 PyObject
* obj3
= 0 ;
14741 PyObject
* obj4
= 0 ;
14742 PyObject
* obj5
= 0 ;
14743 char *kwnames
[] = {
14744 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
14747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14748 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14749 if (SWIG_arg_fail(1)) SWIG_fail
;
14751 arg2
= wxString_in_helper(obj1
);
14752 if (arg2
== NULL
) SWIG_fail
;
14756 arg3
= wxString_in_helper(obj2
);
14757 if (arg3
== NULL
) SWIG_fail
;
14761 arg4
= PyList_Size(obj3
);
14762 arg5
= wxString_LIST_helper(obj3
);
14763 if (arg5
== NULL
) SWIG_fail
;
14767 arg6
= (long)(SWIG_As_long(obj4
));
14768 if (SWIG_arg_fail(6)) SWIG_fail
;
14774 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
14778 if (!wxPyCheckForApp()) SWIG_fail
;
14779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14780 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
14782 wxPyEndAllowThreads(__tstate
);
14783 if (PyErr_Occurred()) SWIG_fail
;
14785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleChoiceDialog
, 1);
14795 if (arg5
) delete [] arg5
;
14808 if (arg5
) delete [] arg5
;
14814 static PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14815 PyObject
*resultobj
;
14816 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
14818 PyObject
* obj0
= 0 ;
14819 char *kwnames
[] = {
14820 (char *) "self", NULL
14823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetSelection",kwnames
,&obj0
)) goto fail
;
14824 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14825 if (SWIG_arg_fail(1)) SWIG_fail
;
14827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14828 result
= (int)(arg1
)->GetSelection();
14830 wxPyEndAllowThreads(__tstate
);
14831 if (PyErr_Occurred()) SWIG_fail
;
14834 resultobj
= SWIG_From_int((int)(result
));
14842 static PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14843 PyObject
*resultobj
;
14844 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
14846 PyObject
* obj0
= 0 ;
14847 char *kwnames
[] = {
14848 (char *) "self", NULL
14851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames
,&obj0
)) goto fail
;
14852 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14853 if (SWIG_arg_fail(1)) SWIG_fail
;
14855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14856 result
= (arg1
)->GetStringSelection();
14858 wxPyEndAllowThreads(__tstate
);
14859 if (PyErr_Occurred()) SWIG_fail
;
14863 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14865 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14874 static PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14875 PyObject
*resultobj
;
14876 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
14878 PyObject
* obj0
= 0 ;
14879 PyObject
* obj1
= 0 ;
14880 char *kwnames
[] = {
14881 (char *) "self",(char *) "sel", NULL
14884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14885 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_EXCEPTION
| 0);
14886 if (SWIG_arg_fail(1)) SWIG_fail
;
14888 arg2
= (int)(SWIG_As_int(obj1
));
14889 if (SWIG_arg_fail(2)) SWIG_fail
;
14892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14893 (arg1
)->SetSelection(arg2
);
14895 wxPyEndAllowThreads(__tstate
);
14896 if (PyErr_Occurred()) SWIG_fail
;
14898 Py_INCREF(Py_None
); resultobj
= Py_None
;
14905 static PyObject
* SingleChoiceDialog_swigregister(PyObject
*, PyObject
*args
) {
14907 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14908 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog
, obj
);
14910 return Py_BuildValue((char *)"");
14912 static PyObject
*_wrap_new_TextEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14913 PyObject
*resultobj
;
14914 wxWindow
*arg1
= (wxWindow
*) 0 ;
14915 wxString
*arg2
= 0 ;
14916 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
14917 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14918 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14919 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14920 long arg5
= (long) wxTextEntryDialogStyle
;
14921 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
14922 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
14923 wxTextEntryDialog
*result
;
14924 bool temp2
= false ;
14925 bool temp3
= false ;
14926 bool temp4
= false ;
14928 PyObject
* obj0
= 0 ;
14929 PyObject
* obj1
= 0 ;
14930 PyObject
* obj2
= 0 ;
14931 PyObject
* obj3
= 0 ;
14932 PyObject
* obj4
= 0 ;
14933 PyObject
* obj5
= 0 ;
14934 char *kwnames
[] = {
14935 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
14938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14939 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
14940 if (SWIG_arg_fail(1)) SWIG_fail
;
14942 arg2
= wxString_in_helper(obj1
);
14943 if (arg2
== NULL
) SWIG_fail
;
14948 arg3
= wxString_in_helper(obj2
);
14949 if (arg3
== NULL
) SWIG_fail
;
14955 arg4
= wxString_in_helper(obj3
);
14956 if (arg4
== NULL
) SWIG_fail
;
14962 arg5
= (long)(SWIG_As_long(obj4
));
14963 if (SWIG_arg_fail(5)) SWIG_fail
;
14969 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
14973 if (!wxPyCheckForApp()) SWIG_fail
;
14974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14975 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
14977 wxPyEndAllowThreads(__tstate
);
14978 if (PyErr_Occurred()) SWIG_fail
;
14980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextEntryDialog
, 1);
15011 static PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15012 PyObject
*resultobj
;
15013 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
15015 PyObject
* obj0
= 0 ;
15016 char *kwnames
[] = {
15017 (char *) "self", NULL
15020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextEntryDialog_GetValue",kwnames
,&obj0
)) goto fail
;
15021 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_EXCEPTION
| 0);
15022 if (SWIG_arg_fail(1)) SWIG_fail
;
15024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15025 result
= (arg1
)->GetValue();
15027 wxPyEndAllowThreads(__tstate
);
15028 if (PyErr_Occurred()) SWIG_fail
;
15032 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15034 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15043 static PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15044 PyObject
*resultobj
;
15045 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
15046 wxString
*arg2
= 0 ;
15047 bool temp2
= false ;
15048 PyObject
* obj0
= 0 ;
15049 PyObject
* obj1
= 0 ;
15050 char *kwnames
[] = {
15051 (char *) "self",(char *) "value", NULL
15054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
15055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_EXCEPTION
| 0);
15056 if (SWIG_arg_fail(1)) SWIG_fail
;
15058 arg2
= wxString_in_helper(obj1
);
15059 if (arg2
== NULL
) SWIG_fail
;
15063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15064 (arg1
)->SetValue((wxString
const &)*arg2
);
15066 wxPyEndAllowThreads(__tstate
);
15067 if (PyErr_Occurred()) SWIG_fail
;
15069 Py_INCREF(Py_None
); resultobj
= Py_None
;
15084 static PyObject
* TextEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
15086 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15087 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog
, obj
);
15089 return Py_BuildValue((char *)"");
15091 static int _wrap_GetPasswordFromUserPromptStr_set(PyObject
*) {
15092 PyErr_SetString(PyExc_TypeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
15097 static PyObject
*_wrap_GetPasswordFromUserPromptStr_get(void) {
15102 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
15104 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
15111 static PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15112 PyObject
*resultobj
;
15113 wxWindow
*arg1
= (wxWindow
*) 0 ;
15114 wxString
*arg2
= 0 ;
15115 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
15116 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15117 wxString
const &arg4_defvalue
= wxPyEmptyString
;
15118 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
15119 long arg5
= (long) wxTextEntryDialogStyle
;
15120 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
15121 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
15122 wxPasswordEntryDialog
*result
;
15123 bool temp2
= false ;
15124 bool temp3
= false ;
15125 bool temp4
= false ;
15127 PyObject
* obj0
= 0 ;
15128 PyObject
* obj1
= 0 ;
15129 PyObject
* obj2
= 0 ;
15130 PyObject
* obj3
= 0 ;
15131 PyObject
* obj4
= 0 ;
15132 PyObject
* obj5
= 0 ;
15133 char *kwnames
[] = {
15134 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
15137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15138 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15139 if (SWIG_arg_fail(1)) SWIG_fail
;
15141 arg2
= wxString_in_helper(obj1
);
15142 if (arg2
== NULL
) SWIG_fail
;
15147 arg3
= wxString_in_helper(obj2
);
15148 if (arg3
== NULL
) SWIG_fail
;
15154 arg4
= wxString_in_helper(obj3
);
15155 if (arg4
== NULL
) SWIG_fail
;
15161 arg5
= (long)(SWIG_As_long(obj4
));
15162 if (SWIG_arg_fail(5)) SWIG_fail
;
15168 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
15172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15173 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
15175 wxPyEndAllowThreads(__tstate
);
15176 if (PyErr_Occurred()) SWIG_fail
;
15178 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPasswordEntryDialog
, 1);
15209 static PyObject
* PasswordEntryDialog_swigregister(PyObject
*, PyObject
*args
) {
15211 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15212 SWIG_TypeClientData(SWIGTYPE_p_wxPasswordEntryDialog
, obj
);
15214 return Py_BuildValue((char *)"");
15216 static PyObject
*_wrap_new_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15217 PyObject
*resultobj
;
15218 wxFontData
*result
;
15219 char *kwnames
[] = {
15223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FontData",kwnames
)) goto fail
;
15225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15226 result
= (wxFontData
*)new wxFontData();
15228 wxPyEndAllowThreads(__tstate
);
15229 if (PyErr_Occurred()) SWIG_fail
;
15231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 1);
15238 static PyObject
*_wrap_delete_FontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15239 PyObject
*resultobj
;
15240 wxFontData
*arg1
= (wxFontData
*) 0 ;
15241 PyObject
* obj0
= 0 ;
15242 char *kwnames
[] = {
15243 (char *) "self", NULL
15246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FontData",kwnames
,&obj0
)) goto fail
;
15247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15248 if (SWIG_arg_fail(1)) SWIG_fail
;
15250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15253 wxPyEndAllowThreads(__tstate
);
15254 if (PyErr_Occurred()) SWIG_fail
;
15256 Py_INCREF(Py_None
); resultobj
= Py_None
;
15263 static PyObject
*_wrap_FontData_EnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15264 PyObject
*resultobj
;
15265 wxFontData
*arg1
= (wxFontData
*) 0 ;
15267 PyObject
* obj0
= 0 ;
15268 PyObject
* obj1
= 0 ;
15269 char *kwnames
[] = {
15270 (char *) "self",(char *) "enable", NULL
15273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) goto fail
;
15274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15275 if (SWIG_arg_fail(1)) SWIG_fail
;
15277 arg2
= (bool)(SWIG_As_bool(obj1
));
15278 if (SWIG_arg_fail(2)) SWIG_fail
;
15281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15282 (arg1
)->EnableEffects(arg2
);
15284 wxPyEndAllowThreads(__tstate
);
15285 if (PyErr_Occurred()) SWIG_fail
;
15287 Py_INCREF(Py_None
); resultobj
= Py_None
;
15294 static PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15295 PyObject
*resultobj
;
15296 wxFontData
*arg1
= (wxFontData
*) 0 ;
15298 PyObject
* obj0
= 0 ;
15299 char *kwnames
[] = {
15300 (char *) "self", NULL
15303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetAllowSymbols",kwnames
,&obj0
)) goto fail
;
15304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15305 if (SWIG_arg_fail(1)) SWIG_fail
;
15307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15308 result
= (bool)(arg1
)->GetAllowSymbols();
15310 wxPyEndAllowThreads(__tstate
);
15311 if (PyErr_Occurred()) SWIG_fail
;
15314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15322 static PyObject
*_wrap_FontData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15323 PyObject
*resultobj
;
15324 wxFontData
*arg1
= (wxFontData
*) 0 ;
15326 PyObject
* obj0
= 0 ;
15327 char *kwnames
[] = {
15328 (char *) "self", NULL
15331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetColour",kwnames
,&obj0
)) goto fail
;
15332 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15333 if (SWIG_arg_fail(1)) SWIG_fail
;
15335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15336 result
= (arg1
)->GetColour();
15338 wxPyEndAllowThreads(__tstate
);
15339 if (PyErr_Occurred()) SWIG_fail
;
15342 wxColour
* resultptr
;
15343 resultptr
= new wxColour((wxColour
&)(result
));
15344 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
15352 static PyObject
*_wrap_FontData_GetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15353 PyObject
*resultobj
;
15354 wxFontData
*arg1
= (wxFontData
*) 0 ;
15356 PyObject
* obj0
= 0 ;
15357 char *kwnames
[] = {
15358 (char *) "self", NULL
15361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetChosenFont",kwnames
,&obj0
)) goto fail
;
15362 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15363 if (SWIG_arg_fail(1)) SWIG_fail
;
15365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15366 result
= (arg1
)->GetChosenFont();
15368 wxPyEndAllowThreads(__tstate
);
15369 if (PyErr_Occurred()) SWIG_fail
;
15372 wxFont
* resultptr
;
15373 resultptr
= new wxFont((wxFont
&)(result
));
15374 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15382 static PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15383 PyObject
*resultobj
;
15384 wxFontData
*arg1
= (wxFontData
*) 0 ;
15386 PyObject
* obj0
= 0 ;
15387 char *kwnames
[] = {
15388 (char *) "self", NULL
15391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetEnableEffects",kwnames
,&obj0
)) goto fail
;
15392 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15393 if (SWIG_arg_fail(1)) SWIG_fail
;
15395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15396 result
= (bool)(arg1
)->GetEnableEffects();
15398 wxPyEndAllowThreads(__tstate
);
15399 if (PyErr_Occurred()) SWIG_fail
;
15402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15410 static PyObject
*_wrap_FontData_GetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15411 PyObject
*resultobj
;
15412 wxFontData
*arg1
= (wxFontData
*) 0 ;
15414 PyObject
* obj0
= 0 ;
15415 char *kwnames
[] = {
15416 (char *) "self", NULL
15419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetInitialFont",kwnames
,&obj0
)) goto fail
;
15420 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15421 if (SWIG_arg_fail(1)) SWIG_fail
;
15423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15424 result
= (arg1
)->GetInitialFont();
15426 wxPyEndAllowThreads(__tstate
);
15427 if (PyErr_Occurred()) SWIG_fail
;
15430 wxFont
* resultptr
;
15431 resultptr
= new wxFont((wxFont
&)(result
));
15432 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
15440 static PyObject
*_wrap_FontData_GetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15441 PyObject
*resultobj
;
15442 wxFontData
*arg1
= (wxFontData
*) 0 ;
15444 PyObject
* obj0
= 0 ;
15445 char *kwnames
[] = {
15446 (char *) "self", NULL
15449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontData_GetShowHelp",kwnames
,&obj0
)) goto fail
;
15450 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15451 if (SWIG_arg_fail(1)) SWIG_fail
;
15453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15454 result
= (bool)(arg1
)->GetShowHelp();
15456 wxPyEndAllowThreads(__tstate
);
15457 if (PyErr_Occurred()) SWIG_fail
;
15460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15468 static PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15469 PyObject
*resultobj
;
15470 wxFontData
*arg1
= (wxFontData
*) 0 ;
15472 PyObject
* obj0
= 0 ;
15473 PyObject
* obj1
= 0 ;
15474 char *kwnames
[] = {
15475 (char *) "self",(char *) "allowSymbols", NULL
15478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) goto fail
;
15479 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15480 if (SWIG_arg_fail(1)) SWIG_fail
;
15482 arg2
= (bool)(SWIG_As_bool(obj1
));
15483 if (SWIG_arg_fail(2)) SWIG_fail
;
15486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15487 (arg1
)->SetAllowSymbols(arg2
);
15489 wxPyEndAllowThreads(__tstate
);
15490 if (PyErr_Occurred()) SWIG_fail
;
15492 Py_INCREF(Py_None
); resultobj
= Py_None
;
15499 static PyObject
*_wrap_FontData_SetChosenFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15500 PyObject
*resultobj
;
15501 wxFontData
*arg1
= (wxFontData
*) 0 ;
15503 PyObject
* obj0
= 0 ;
15504 PyObject
* obj1
= 0 ;
15505 char *kwnames
[] = {
15506 (char *) "self",(char *) "font", NULL
15509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15510 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15511 if (SWIG_arg_fail(1)) SWIG_fail
;
15513 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15514 if (SWIG_arg_fail(2)) SWIG_fail
;
15515 if (arg2
== NULL
) {
15516 SWIG_null_ref("wxFont");
15518 if (SWIG_arg_fail(2)) SWIG_fail
;
15521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15522 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
15524 wxPyEndAllowThreads(__tstate
);
15525 if (PyErr_Occurred()) SWIG_fail
;
15527 Py_INCREF(Py_None
); resultobj
= Py_None
;
15534 static PyObject
*_wrap_FontData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15535 PyObject
*resultobj
;
15536 wxFontData
*arg1
= (wxFontData
*) 0 ;
15537 wxColour
*arg2
= 0 ;
15539 PyObject
* obj0
= 0 ;
15540 PyObject
* obj1
= 0 ;
15541 char *kwnames
[] = {
15542 (char *) "self",(char *) "colour", NULL
15545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
15546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15547 if (SWIG_arg_fail(1)) SWIG_fail
;
15550 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15554 (arg1
)->SetColour((wxColour
const &)*arg2
);
15556 wxPyEndAllowThreads(__tstate
);
15557 if (PyErr_Occurred()) SWIG_fail
;
15559 Py_INCREF(Py_None
); resultobj
= Py_None
;
15566 static PyObject
*_wrap_FontData_SetInitialFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15567 PyObject
*resultobj
;
15568 wxFontData
*arg1
= (wxFontData
*) 0 ;
15570 PyObject
* obj0
= 0 ;
15571 PyObject
* obj1
= 0 ;
15572 char *kwnames
[] = {
15573 (char *) "self",(char *) "font", NULL
15576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) goto fail
;
15577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15578 if (SWIG_arg_fail(1)) SWIG_fail
;
15580 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFont
, SWIG_POINTER_EXCEPTION
| 0);
15581 if (SWIG_arg_fail(2)) SWIG_fail
;
15582 if (arg2
== NULL
) {
15583 SWIG_null_ref("wxFont");
15585 if (SWIG_arg_fail(2)) SWIG_fail
;
15588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15589 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
15591 wxPyEndAllowThreads(__tstate
);
15592 if (PyErr_Occurred()) SWIG_fail
;
15594 Py_INCREF(Py_None
); resultobj
= Py_None
;
15601 static PyObject
*_wrap_FontData_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15602 PyObject
*resultobj
;
15603 wxFontData
*arg1
= (wxFontData
*) 0 ;
15606 PyObject
* obj0
= 0 ;
15607 PyObject
* obj1
= 0 ;
15608 PyObject
* obj2
= 0 ;
15609 char *kwnames
[] = {
15610 (char *) "self",(char *) "min",(char *) "max", NULL
15613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15614 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15615 if (SWIG_arg_fail(1)) SWIG_fail
;
15617 arg2
= (int)(SWIG_As_int(obj1
));
15618 if (SWIG_arg_fail(2)) SWIG_fail
;
15621 arg3
= (int)(SWIG_As_int(obj2
));
15622 if (SWIG_arg_fail(3)) SWIG_fail
;
15625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15626 (arg1
)->SetRange(arg2
,arg3
);
15628 wxPyEndAllowThreads(__tstate
);
15629 if (PyErr_Occurred()) SWIG_fail
;
15631 Py_INCREF(Py_None
); resultobj
= Py_None
;
15638 static PyObject
*_wrap_FontData_SetShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15639 PyObject
*resultobj
;
15640 wxFontData
*arg1
= (wxFontData
*) 0 ;
15642 PyObject
* obj0
= 0 ;
15643 PyObject
* obj1
= 0 ;
15644 char *kwnames
[] = {
15645 (char *) "self",(char *) "showHelp", NULL
15648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
15649 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15650 if (SWIG_arg_fail(1)) SWIG_fail
;
15652 arg2
= (bool)(SWIG_As_bool(obj1
));
15653 if (SWIG_arg_fail(2)) SWIG_fail
;
15656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15657 (arg1
)->SetShowHelp(arg2
);
15659 wxPyEndAllowThreads(__tstate
);
15660 if (PyErr_Occurred()) SWIG_fail
;
15662 Py_INCREF(Py_None
); resultobj
= Py_None
;
15669 static PyObject
* FontData_swigregister(PyObject
*, PyObject
*args
) {
15671 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15672 SWIG_TypeClientData(SWIGTYPE_p_wxFontData
, obj
);
15674 return Py_BuildValue((char *)"");
15676 static PyObject
*_wrap_new_FontDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15677 PyObject
*resultobj
;
15678 wxWindow
*arg1
= (wxWindow
*) 0 ;
15679 wxFontData
*arg2
= 0 ;
15680 wxFontDialog
*result
;
15681 PyObject
* obj0
= 0 ;
15682 PyObject
* obj1
= 0 ;
15683 char *kwnames
[] = {
15684 (char *) "parent",(char *) "data", NULL
15687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
15688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15689 if (SWIG_arg_fail(1)) SWIG_fail
;
15691 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFontData
, SWIG_POINTER_EXCEPTION
| 0);
15692 if (SWIG_arg_fail(2)) SWIG_fail
;
15693 if (arg2
== NULL
) {
15694 SWIG_null_ref("wxFontData");
15696 if (SWIG_arg_fail(2)) SWIG_fail
;
15699 if (!wxPyCheckForApp()) SWIG_fail
;
15700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15701 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
15703 wxPyEndAllowThreads(__tstate
);
15704 if (PyErr_Occurred()) SWIG_fail
;
15706 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontDialog
, 1);
15713 static PyObject
*_wrap_FontDialog_GetFontData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15714 PyObject
*resultobj
;
15715 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
15716 wxFontData
*result
;
15717 PyObject
* obj0
= 0 ;
15718 char *kwnames
[] = {
15719 (char *) "self", NULL
15722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FontDialog_GetFontData",kwnames
,&obj0
)) goto fail
;
15723 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_EXCEPTION
| 0);
15724 if (SWIG_arg_fail(1)) SWIG_fail
;
15726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15728 wxFontData
&_result_ref
= (arg1
)->GetFontData();
15729 result
= (wxFontData
*) &_result_ref
;
15732 wxPyEndAllowThreads(__tstate
);
15733 if (PyErr_Occurred()) SWIG_fail
;
15735 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFontData
, 0);
15742 static PyObject
* FontDialog_swigregister(PyObject
*, PyObject
*args
) {
15744 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15745 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog
, obj
);
15747 return Py_BuildValue((char *)"");
15749 static PyObject
*_wrap_new_MessageDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15750 PyObject
*resultobj
;
15751 wxWindow
*arg1
= (wxWindow
*) 0 ;
15752 wxString
*arg2
= 0 ;
15753 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
15754 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15755 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
15756 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
15757 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
15758 wxMessageDialog
*result
;
15759 bool temp2
= false ;
15760 bool temp3
= false ;
15762 PyObject
* obj0
= 0 ;
15763 PyObject
* obj1
= 0 ;
15764 PyObject
* obj2
= 0 ;
15765 PyObject
* obj3
= 0 ;
15766 PyObject
* obj4
= 0 ;
15767 char *kwnames
[] = {
15768 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
15771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15773 if (SWIG_arg_fail(1)) SWIG_fail
;
15775 arg2
= wxString_in_helper(obj1
);
15776 if (arg2
== NULL
) SWIG_fail
;
15781 arg3
= wxString_in_helper(obj2
);
15782 if (arg3
== NULL
) SWIG_fail
;
15788 arg4
= (long)(SWIG_As_long(obj3
));
15789 if (SWIG_arg_fail(4)) SWIG_fail
;
15795 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
15799 if (!wxPyCheckForApp()) SWIG_fail
;
15800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15801 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
15803 wxPyEndAllowThreads(__tstate
);
15804 if (PyErr_Occurred()) SWIG_fail
;
15806 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMessageDialog
, 1);
15829 static PyObject
* MessageDialog_swigregister(PyObject
*, PyObject
*args
) {
15831 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15832 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog
, obj
);
15834 return Py_BuildValue((char *)"");
15836 static PyObject
*_wrap_new_ProgressDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15837 PyObject
*resultobj
;
15838 wxString
*arg1
= 0 ;
15839 wxString
*arg2
= 0 ;
15840 int arg3
= (int) 100 ;
15841 wxWindow
*arg4
= (wxWindow
*) NULL
;
15842 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
15843 wxProgressDialog
*result
;
15844 bool temp1
= false ;
15845 bool temp2
= false ;
15846 PyObject
* obj0
= 0 ;
15847 PyObject
* obj1
= 0 ;
15848 PyObject
* obj2
= 0 ;
15849 PyObject
* obj3
= 0 ;
15850 PyObject
* obj4
= 0 ;
15851 char *kwnames
[] = {
15852 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
15855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
15857 arg1
= wxString_in_helper(obj0
);
15858 if (arg1
== NULL
) SWIG_fail
;
15862 arg2
= wxString_in_helper(obj1
);
15863 if (arg2
== NULL
) SWIG_fail
;
15868 arg3
= (int)(SWIG_As_int(obj2
));
15869 if (SWIG_arg_fail(3)) SWIG_fail
;
15873 SWIG_Python_ConvertPtr(obj3
, (void **)&arg4
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
15874 if (SWIG_arg_fail(4)) SWIG_fail
;
15878 arg5
= (int)(SWIG_As_int(obj4
));
15879 if (SWIG_arg_fail(5)) SWIG_fail
;
15883 if (!wxPyCheckForApp()) SWIG_fail
;
15884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15885 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
15887 wxPyEndAllowThreads(__tstate
);
15888 if (PyErr_Occurred()) SWIG_fail
;
15890 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProgressDialog
, 1);
15913 static PyObject
*_wrap_ProgressDialog_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15914 PyObject
*resultobj
;
15915 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
15917 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15918 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15920 bool temp3
= false ;
15921 PyObject
* obj0
= 0 ;
15922 PyObject
* obj1
= 0 ;
15923 PyObject
* obj2
= 0 ;
15924 char *kwnames
[] = {
15925 (char *) "self",(char *) "value",(char *) "newmsg", NULL
15928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15929 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_EXCEPTION
| 0);
15930 if (SWIG_arg_fail(1)) SWIG_fail
;
15932 arg2
= (int)(SWIG_As_int(obj1
));
15933 if (SWIG_arg_fail(2)) SWIG_fail
;
15937 arg3
= wxString_in_helper(obj2
);
15938 if (arg3
== NULL
) SWIG_fail
;
15943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15944 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
15946 wxPyEndAllowThreads(__tstate
);
15947 if (PyErr_Occurred()) SWIG_fail
;
15950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15966 static PyObject
*_wrap_ProgressDialog_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15967 PyObject
*resultobj
;
15968 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
15969 PyObject
* obj0
= 0 ;
15970 char *kwnames
[] = {
15971 (char *) "self", NULL
15974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProgressDialog_Resume",kwnames
,&obj0
)) goto fail
;
15975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_EXCEPTION
| 0);
15976 if (SWIG_arg_fail(1)) SWIG_fail
;
15978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15981 wxPyEndAllowThreads(__tstate
);
15982 if (PyErr_Occurred()) SWIG_fail
;
15984 Py_INCREF(Py_None
); resultobj
= Py_None
;
15991 static PyObject
* ProgressDialog_swigregister(PyObject
*, PyObject
*args
) {
15993 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15994 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog
, obj
);
15996 return Py_BuildValue((char *)"");
15998 static PyObject
*_wrap_new_FindDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15999 PyObject
*resultobj
;
16000 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16001 int arg2
= (int) 0 ;
16002 wxFindDialogEvent
*result
;
16003 PyObject
* obj0
= 0 ;
16004 PyObject
* obj1
= 0 ;
16005 char *kwnames
[] = {
16006 (char *) "commandType",(char *) "id", NULL
16009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16012 arg1
= (wxEventType
)(SWIG_As_int(obj0
));
16013 if (SWIG_arg_fail(1)) SWIG_fail
;
16018 arg2
= (int)(SWIG_As_int(obj1
));
16019 if (SWIG_arg_fail(2)) SWIG_fail
;
16023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16024 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
16026 wxPyEndAllowThreads(__tstate
);
16027 if (PyErr_Occurred()) SWIG_fail
;
16029 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindDialogEvent
, 1);
16036 static PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16037 PyObject
*resultobj
;
16038 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16040 PyObject
* obj0
= 0 ;
16041 char *kwnames
[] = {
16042 (char *) "self", NULL
16045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFlags",kwnames
,&obj0
)) goto fail
;
16046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16047 if (SWIG_arg_fail(1)) SWIG_fail
;
16049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16050 result
= (int)(arg1
)->GetFlags();
16052 wxPyEndAllowThreads(__tstate
);
16053 if (PyErr_Occurred()) SWIG_fail
;
16056 resultobj
= SWIG_From_int((int)(result
));
16064 static PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16065 PyObject
*resultobj
;
16066 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16068 PyObject
* obj0
= 0 ;
16069 char *kwnames
[] = {
16070 (char *) "self", NULL
16073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetFindString",kwnames
,&obj0
)) goto fail
;
16074 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16075 if (SWIG_arg_fail(1)) SWIG_fail
;
16077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16079 wxString
const &_result_ref
= (arg1
)->GetFindString();
16080 result
= (wxString
*) &_result_ref
;
16083 wxPyEndAllowThreads(__tstate
);
16084 if (PyErr_Occurred()) SWIG_fail
;
16088 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16090 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16099 static PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16100 PyObject
*resultobj
;
16101 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16103 PyObject
* obj0
= 0 ;
16104 char *kwnames
[] = {
16105 (char *) "self", NULL
16108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetReplaceString",kwnames
,&obj0
)) goto fail
;
16109 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16110 if (SWIG_arg_fail(1)) SWIG_fail
;
16112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16114 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
16115 result
= (wxString
*) &_result_ref
;
16118 wxPyEndAllowThreads(__tstate
);
16119 if (PyErr_Occurred()) SWIG_fail
;
16123 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16125 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16134 static PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16135 PyObject
*resultobj
;
16136 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16137 wxFindReplaceDialog
*result
;
16138 PyObject
* obj0
= 0 ;
16139 char *kwnames
[] = {
16140 (char *) "self", NULL
16143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindDialogEvent_GetDialog",kwnames
,&obj0
)) goto fail
;
16144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16145 if (SWIG_arg_fail(1)) SWIG_fail
;
16147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16148 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
16150 wxPyEndAllowThreads(__tstate
);
16151 if (PyErr_Occurred()) SWIG_fail
;
16153 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0);
16160 static PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16161 PyObject
*resultobj
;
16162 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16164 PyObject
* obj0
= 0 ;
16165 PyObject
* obj1
= 0 ;
16166 char *kwnames
[] = {
16167 (char *) "self",(char *) "flags", NULL
16170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
16171 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16172 if (SWIG_arg_fail(1)) SWIG_fail
;
16174 arg2
= (int)(SWIG_As_int(obj1
));
16175 if (SWIG_arg_fail(2)) SWIG_fail
;
16178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16179 (arg1
)->SetFlags(arg2
);
16181 wxPyEndAllowThreads(__tstate
);
16182 if (PyErr_Occurred()) SWIG_fail
;
16184 Py_INCREF(Py_None
); resultobj
= Py_None
;
16191 static PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16192 PyObject
*resultobj
;
16193 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16194 wxString
*arg2
= 0 ;
16195 bool temp2
= false ;
16196 PyObject
* obj0
= 0 ;
16197 PyObject
* obj1
= 0 ;
16198 char *kwnames
[] = {
16199 (char *) "self",(char *) "str", NULL
16202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
16203 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16204 if (SWIG_arg_fail(1)) SWIG_fail
;
16206 arg2
= wxString_in_helper(obj1
);
16207 if (arg2
== NULL
) SWIG_fail
;
16211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16212 (arg1
)->SetFindString((wxString
const &)*arg2
);
16214 wxPyEndAllowThreads(__tstate
);
16215 if (PyErr_Occurred()) SWIG_fail
;
16217 Py_INCREF(Py_None
); resultobj
= Py_None
;
16232 static PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16233 PyObject
*resultobj
;
16234 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
16235 wxString
*arg2
= 0 ;
16236 bool temp2
= false ;
16237 PyObject
* obj0
= 0 ;
16238 PyObject
* obj1
= 0 ;
16239 char *kwnames
[] = {
16240 (char *) "self",(char *) "str", NULL
16243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
16244 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_EXCEPTION
| 0);
16245 if (SWIG_arg_fail(1)) SWIG_fail
;
16247 arg2
= wxString_in_helper(obj1
);
16248 if (arg2
== NULL
) SWIG_fail
;
16252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16253 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
16255 wxPyEndAllowThreads(__tstate
);
16256 if (PyErr_Occurred()) SWIG_fail
;
16258 Py_INCREF(Py_None
); resultobj
= Py_None
;
16273 static PyObject
* FindDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
16275 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16276 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent
, obj
);
16278 return Py_BuildValue((char *)"");
16280 static PyObject
*_wrap_new_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16281 PyObject
*resultobj
;
16282 int arg1
= (int) 0 ;
16283 wxFindReplaceData
*result
;
16284 PyObject
* obj0
= 0 ;
16285 char *kwnames
[] = {
16286 (char *) "flags", NULL
16289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) goto fail
;
16292 arg1
= (int)(SWIG_As_int(obj0
));
16293 if (SWIG_arg_fail(1)) SWIG_fail
;
16297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16298 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
16300 wxPyEndAllowThreads(__tstate
);
16301 if (PyErr_Occurred()) SWIG_fail
;
16303 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 1);
16310 static PyObject
*_wrap_delete_FindReplaceData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16311 PyObject
*resultobj
;
16312 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16313 PyObject
* obj0
= 0 ;
16314 char *kwnames
[] = {
16315 (char *) "self", NULL
16318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FindReplaceData",kwnames
,&obj0
)) goto fail
;
16319 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16320 if (SWIG_arg_fail(1)) SWIG_fail
;
16322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16325 wxPyEndAllowThreads(__tstate
);
16326 if (PyErr_Occurred()) SWIG_fail
;
16328 Py_INCREF(Py_None
); resultobj
= Py_None
;
16335 static PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16336 PyObject
*resultobj
;
16337 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16339 PyObject
* obj0
= 0 ;
16340 char *kwnames
[] = {
16341 (char *) "self", NULL
16344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFindString",kwnames
,&obj0
)) goto fail
;
16345 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16346 if (SWIG_arg_fail(1)) SWIG_fail
;
16348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16350 wxString
const &_result_ref
= (arg1
)->GetFindString();
16351 result
= (wxString
*) &_result_ref
;
16354 wxPyEndAllowThreads(__tstate
);
16355 if (PyErr_Occurred()) SWIG_fail
;
16359 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16361 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16370 static PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16371 PyObject
*resultobj
;
16372 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16374 PyObject
* obj0
= 0 ;
16375 char *kwnames
[] = {
16376 (char *) "self", NULL
16379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetReplaceString",kwnames
,&obj0
)) goto fail
;
16380 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16381 if (SWIG_arg_fail(1)) SWIG_fail
;
16383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16385 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
16386 result
= (wxString
*) &_result_ref
;
16389 wxPyEndAllowThreads(__tstate
);
16390 if (PyErr_Occurred()) SWIG_fail
;
16394 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16396 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16405 static PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16406 PyObject
*resultobj
;
16407 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16409 PyObject
* obj0
= 0 ;
16410 char *kwnames
[] = {
16411 (char *) "self", NULL
16414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceData_GetFlags",kwnames
,&obj0
)) goto fail
;
16415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16416 if (SWIG_arg_fail(1)) SWIG_fail
;
16418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16419 result
= (int)(arg1
)->GetFlags();
16421 wxPyEndAllowThreads(__tstate
);
16422 if (PyErr_Occurred()) SWIG_fail
;
16425 resultobj
= SWIG_From_int((int)(result
));
16433 static PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16434 PyObject
*resultobj
;
16435 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16437 PyObject
* obj0
= 0 ;
16438 PyObject
* obj1
= 0 ;
16439 char *kwnames
[] = {
16440 (char *) "self",(char *) "flags", NULL
16443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
16444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16445 if (SWIG_arg_fail(1)) SWIG_fail
;
16447 arg2
= (int)(SWIG_As_int(obj1
));
16448 if (SWIG_arg_fail(2)) SWIG_fail
;
16451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16452 (arg1
)->SetFlags(arg2
);
16454 wxPyEndAllowThreads(__tstate
);
16455 if (PyErr_Occurred()) SWIG_fail
;
16457 Py_INCREF(Py_None
); resultobj
= Py_None
;
16464 static PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16465 PyObject
*resultobj
;
16466 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16467 wxString
*arg2
= 0 ;
16468 bool temp2
= false ;
16469 PyObject
* obj0
= 0 ;
16470 PyObject
* obj1
= 0 ;
16471 char *kwnames
[] = {
16472 (char *) "self",(char *) "str", NULL
16475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) goto fail
;
16476 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16477 if (SWIG_arg_fail(1)) SWIG_fail
;
16479 arg2
= wxString_in_helper(obj1
);
16480 if (arg2
== NULL
) SWIG_fail
;
16484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16485 (arg1
)->SetFindString((wxString
const &)*arg2
);
16487 wxPyEndAllowThreads(__tstate
);
16488 if (PyErr_Occurred()) SWIG_fail
;
16490 Py_INCREF(Py_None
); resultobj
= Py_None
;
16505 static PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16506 PyObject
*resultobj
;
16507 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
16508 wxString
*arg2
= 0 ;
16509 bool temp2
= false ;
16510 PyObject
* obj0
= 0 ;
16511 PyObject
* obj1
= 0 ;
16512 char *kwnames
[] = {
16513 (char *) "self",(char *) "str", NULL
16516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) goto fail
;
16517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16518 if (SWIG_arg_fail(1)) SWIG_fail
;
16520 arg2
= wxString_in_helper(obj1
);
16521 if (arg2
== NULL
) SWIG_fail
;
16525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16526 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
16528 wxPyEndAllowThreads(__tstate
);
16529 if (PyErr_Occurred()) SWIG_fail
;
16531 Py_INCREF(Py_None
); resultobj
= Py_None
;
16546 static PyObject
* FindReplaceData_swigregister(PyObject
*, PyObject
*args
) {
16548 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16549 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData
, obj
);
16551 return Py_BuildValue((char *)"");
16553 static PyObject
*_wrap_new_FindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16554 PyObject
*resultobj
;
16555 wxWindow
*arg1
= (wxWindow
*) 0 ;
16556 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
16557 wxString
*arg3
= 0 ;
16558 int arg4
= (int) 0 ;
16559 wxFindReplaceDialog
*result
;
16560 bool temp3
= false ;
16561 PyObject
* obj0
= 0 ;
16562 PyObject
* obj1
= 0 ;
16563 PyObject
* obj2
= 0 ;
16564 PyObject
* obj3
= 0 ;
16565 char *kwnames
[] = {
16566 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16571 if (SWIG_arg_fail(1)) SWIG_fail
;
16572 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16573 if (SWIG_arg_fail(2)) SWIG_fail
;
16575 arg3
= wxString_in_helper(obj2
);
16576 if (arg3
== NULL
) SWIG_fail
;
16581 arg4
= (int)(SWIG_As_int(obj3
));
16582 if (SWIG_arg_fail(4)) SWIG_fail
;
16586 if (!wxPyCheckForApp()) SWIG_fail
;
16587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16588 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
16590 wxPyEndAllowThreads(__tstate
);
16591 if (PyErr_Occurred()) SWIG_fail
;
16593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
16608 static PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16609 PyObject
*resultobj
;
16610 wxFindReplaceDialog
*result
;
16611 char *kwnames
[] = {
16615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreFindReplaceDialog",kwnames
)) goto fail
;
16617 if (!wxPyCheckForApp()) SWIG_fail
;
16618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16619 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
16621 wxPyEndAllowThreads(__tstate
);
16622 if (PyErr_Occurred()) SWIG_fail
;
16624 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceDialog
, 1);
16631 static PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16632 PyObject
*resultobj
;
16633 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16634 wxWindow
*arg2
= (wxWindow
*) 0 ;
16635 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
16636 wxString
*arg4
= 0 ;
16637 int arg5
= (int) 0 ;
16639 bool temp4
= false ;
16640 PyObject
* obj0
= 0 ;
16641 PyObject
* obj1
= 0 ;
16642 PyObject
* obj2
= 0 ;
16643 PyObject
* obj3
= 0 ;
16644 PyObject
* obj4
= 0 ;
16645 char *kwnames
[] = {
16646 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
16649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16650 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16651 if (SWIG_arg_fail(1)) SWIG_fail
;
16652 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16653 if (SWIG_arg_fail(2)) SWIG_fail
;
16654 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16655 if (SWIG_arg_fail(3)) SWIG_fail
;
16657 arg4
= wxString_in_helper(obj3
);
16658 if (arg4
== NULL
) SWIG_fail
;
16663 arg5
= (int)(SWIG_As_int(obj4
));
16664 if (SWIG_arg_fail(5)) SWIG_fail
;
16668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16669 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
16671 wxPyEndAllowThreads(__tstate
);
16672 if (PyErr_Occurred()) SWIG_fail
;
16675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16691 static PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16692 PyObject
*resultobj
;
16693 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16694 wxFindReplaceData
*result
;
16695 PyObject
* obj0
= 0 ;
16696 char *kwnames
[] = {
16697 (char *) "self", NULL
16700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindReplaceDialog_GetData",kwnames
,&obj0
)) goto fail
;
16701 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16702 if (SWIG_arg_fail(1)) SWIG_fail
;
16704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16705 result
= (wxFindReplaceData
*)(arg1
)->GetData();
16707 wxPyEndAllowThreads(__tstate
);
16708 if (PyErr_Occurred()) SWIG_fail
;
16710 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFindReplaceData
, 0);
16717 static PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16718 PyObject
*resultobj
;
16719 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
16720 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
16721 PyObject
* obj0
= 0 ;
16722 PyObject
* obj1
= 0 ;
16723 char *kwnames
[] = {
16724 (char *) "self",(char *) "data", NULL
16727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
16728 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_EXCEPTION
| 0);
16729 if (SWIG_arg_fail(1)) SWIG_fail
;
16730 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_EXCEPTION
| 0);
16731 if (SWIG_arg_fail(2)) SWIG_fail
;
16733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16734 (arg1
)->SetData(arg2
);
16736 wxPyEndAllowThreads(__tstate
);
16737 if (PyErr_Occurred()) SWIG_fail
;
16739 Py_INCREF(Py_None
); resultobj
= Py_None
;
16746 static PyObject
* FindReplaceDialog_swigregister(PyObject
*, PyObject
*args
) {
16748 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16749 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog
, obj
);
16751 return Py_BuildValue((char *)"");
16753 static PyObject
*_wrap_new_MDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16754 PyObject
*resultobj
;
16755 wxWindow
*arg1
= (wxWindow
*) 0 ;
16756 int arg2
= (int) (int)-1 ;
16757 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16758 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16759 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16760 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16761 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16762 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16763 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
16764 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
16765 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16766 wxMDIParentFrame
*result
;
16767 bool temp3
= false ;
16770 bool temp7
= false ;
16771 PyObject
* obj0
= 0 ;
16772 PyObject
* obj1
= 0 ;
16773 PyObject
* obj2
= 0 ;
16774 PyObject
* obj3
= 0 ;
16775 PyObject
* obj4
= 0 ;
16776 PyObject
* obj5
= 0 ;
16777 PyObject
* obj6
= 0 ;
16778 char *kwnames
[] = {
16779 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16784 if (SWIG_arg_fail(1)) SWIG_fail
;
16787 arg2
= (int const)(SWIG_As_int(obj1
));
16788 if (SWIG_arg_fail(2)) SWIG_fail
;
16793 arg3
= wxString_in_helper(obj2
);
16794 if (arg3
== NULL
) SWIG_fail
;
16801 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16807 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16812 arg6
= (long)(SWIG_As_long(obj5
));
16813 if (SWIG_arg_fail(6)) SWIG_fail
;
16818 arg7
= wxString_in_helper(obj6
);
16819 if (arg7
== NULL
) SWIG_fail
;
16824 if (!wxPyCheckForApp()) SWIG_fail
;
16825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16826 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
16828 wxPyEndAllowThreads(__tstate
);
16829 if (PyErr_Occurred()) SWIG_fail
;
16831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
16854 static PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16855 PyObject
*resultobj
;
16856 wxMDIParentFrame
*result
;
16857 char *kwnames
[] = {
16861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIParentFrame",kwnames
)) goto fail
;
16863 if (!wxPyCheckForApp()) SWIG_fail
;
16864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16865 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
16867 wxPyEndAllowThreads(__tstate
);
16868 if (PyErr_Occurred()) SWIG_fail
;
16870 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIParentFrame
, 1);
16877 static PyObject
*_wrap_MDIParentFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16878 PyObject
*resultobj
;
16879 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16880 wxWindow
*arg2
= (wxWindow
*) 0 ;
16881 int arg3
= (int) (int)-1 ;
16882 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16883 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16884 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16885 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16886 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16887 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16888 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
16889 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
16890 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16892 bool temp4
= false ;
16895 bool temp8
= false ;
16896 PyObject
* obj0
= 0 ;
16897 PyObject
* obj1
= 0 ;
16898 PyObject
* obj2
= 0 ;
16899 PyObject
* obj3
= 0 ;
16900 PyObject
* obj4
= 0 ;
16901 PyObject
* obj5
= 0 ;
16902 PyObject
* obj6
= 0 ;
16903 PyObject
* obj7
= 0 ;
16904 char *kwnames
[] = {
16905 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
16909 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
16910 if (SWIG_arg_fail(1)) SWIG_fail
;
16911 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
16912 if (SWIG_arg_fail(2)) SWIG_fail
;
16915 arg3
= (int const)(SWIG_As_int(obj2
));
16916 if (SWIG_arg_fail(3)) SWIG_fail
;
16921 arg4
= wxString_in_helper(obj3
);
16922 if (arg4
== NULL
) SWIG_fail
;
16929 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16935 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16940 arg7
= (long)(SWIG_As_long(obj6
));
16941 if (SWIG_arg_fail(7)) SWIG_fail
;
16946 arg8
= wxString_in_helper(obj7
);
16947 if (arg8
== NULL
) SWIG_fail
;
16952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16953 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
16955 wxPyEndAllowThreads(__tstate
);
16956 if (PyErr_Occurred()) SWIG_fail
;
16959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16983 static PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16984 PyObject
*resultobj
;
16985 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
16986 PyObject
* obj0
= 0 ;
16987 char *kwnames
[] = {
16988 (char *) "self", NULL
16991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivateNext",kwnames
,&obj0
)) goto fail
;
16992 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
16993 if (SWIG_arg_fail(1)) SWIG_fail
;
16995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16996 (arg1
)->ActivateNext();
16998 wxPyEndAllowThreads(__tstate
);
16999 if (PyErr_Occurred()) SWIG_fail
;
17001 Py_INCREF(Py_None
); resultobj
= Py_None
;
17008 static PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17009 PyObject
*resultobj
;
17010 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17011 PyObject
* obj0
= 0 ;
17012 char *kwnames
[] = {
17013 (char *) "self", NULL
17016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames
,&obj0
)) goto fail
;
17017 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17018 if (SWIG_arg_fail(1)) SWIG_fail
;
17020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17021 (arg1
)->ActivatePrevious();
17023 wxPyEndAllowThreads(__tstate
);
17024 if (PyErr_Occurred()) SWIG_fail
;
17026 Py_INCREF(Py_None
); resultobj
= Py_None
;
17033 static PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17034 PyObject
*resultobj
;
17035 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17036 PyObject
* obj0
= 0 ;
17037 char *kwnames
[] = {
17038 (char *) "self", NULL
17041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames
,&obj0
)) goto fail
;
17042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17043 if (SWIG_arg_fail(1)) SWIG_fail
;
17045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17046 (arg1
)->ArrangeIcons();
17048 wxPyEndAllowThreads(__tstate
);
17049 if (PyErr_Occurred()) SWIG_fail
;
17051 Py_INCREF(Py_None
); resultobj
= Py_None
;
17058 static PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17059 PyObject
*resultobj
;
17060 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17061 PyObject
* obj0
= 0 ;
17062 char *kwnames
[] = {
17063 (char *) "self", NULL
17066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Cascade",kwnames
,&obj0
)) goto fail
;
17067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17068 if (SWIG_arg_fail(1)) SWIG_fail
;
17070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17073 wxPyEndAllowThreads(__tstate
);
17074 if (PyErr_Occurred()) SWIG_fail
;
17076 Py_INCREF(Py_None
); resultobj
= Py_None
;
17083 static PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17084 PyObject
*resultobj
;
17085 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17086 wxMDIChildFrame
*result
;
17087 PyObject
* obj0
= 0 ;
17088 char *kwnames
[] = {
17089 (char *) "self", NULL
17092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetActiveChild",kwnames
,&obj0
)) goto fail
;
17093 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17094 if (SWIG_arg_fail(1)) SWIG_fail
;
17096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17097 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
17099 wxPyEndAllowThreads(__tstate
);
17100 if (PyErr_Occurred()) SWIG_fail
;
17103 resultobj
= wxPyMake_wxObject(result
, 0);
17111 static PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17112 PyObject
*resultobj
;
17113 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17114 wxMDIClientWindow
*result
;
17115 PyObject
* obj0
= 0 ;
17116 char *kwnames
[] = {
17117 (char *) "self", NULL
17120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetClientWindow",kwnames
,&obj0
)) goto fail
;
17121 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17122 if (SWIG_arg_fail(1)) SWIG_fail
;
17124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17125 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
17127 wxPyEndAllowThreads(__tstate
);
17128 if (PyErr_Occurred()) SWIG_fail
;
17131 resultobj
= wxPyMake_wxObject(result
, 0);
17139 static PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17140 PyObject
*resultobj
;
17141 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17143 PyObject
* obj0
= 0 ;
17144 char *kwnames
[] = {
17145 (char *) "self", NULL
17148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetToolBar",kwnames
,&obj0
)) goto fail
;
17149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17150 if (SWIG_arg_fail(1)) SWIG_fail
;
17152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17153 result
= (wxWindow
*)(arg1
)->GetToolBar();
17155 wxPyEndAllowThreads(__tstate
);
17156 if (PyErr_Occurred()) SWIG_fail
;
17159 resultobj
= wxPyMake_wxObject(result
, 0);
17167 static PyObject
*_wrap_MDIParentFrame_GetWindowMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17168 PyObject
*resultobj
;
17169 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17171 PyObject
* obj0
= 0 ;
17172 char *kwnames
[] = {
17173 (char *) "self", NULL
17176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames
,&obj0
)) goto fail
;
17177 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17178 if (SWIG_arg_fail(1)) SWIG_fail
;
17180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17181 result
= (wxMenu
*)(arg1
)->GetWindowMenu();
17183 wxPyEndAllowThreads(__tstate
);
17184 if (PyErr_Occurred()) SWIG_fail
;
17187 resultobj
= wxPyMake_wxObject(result
, 0);
17195 static PyObject
*_wrap_MDIParentFrame_SetWindowMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17196 PyObject
*resultobj
;
17197 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17198 wxMenu
*arg2
= (wxMenu
*) 0 ;
17199 PyObject
* obj0
= 0 ;
17200 PyObject
* obj1
= 0 ;
17201 char *kwnames
[] = {
17202 (char *) "self",(char *) "menu", NULL
17205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
17206 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17207 if (SWIG_arg_fail(1)) SWIG_fail
;
17208 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMenu
, SWIG_POINTER_EXCEPTION
| 0);
17209 if (SWIG_arg_fail(2)) SWIG_fail
;
17211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17212 (arg1
)->SetWindowMenu(arg2
);
17214 wxPyEndAllowThreads(__tstate
);
17215 if (PyErr_Occurred()) SWIG_fail
;
17217 Py_INCREF(Py_None
); resultobj
= Py_None
;
17224 static PyObject
*_wrap_MDIParentFrame_SetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17225 PyObject
*resultobj
;
17226 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17227 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
17228 PyObject
* obj0
= 0 ;
17229 PyObject
* obj1
= 0 ;
17230 char *kwnames
[] = {
17231 (char *) "self",(char *) "toolbar", NULL
17234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetToolBar",kwnames
,&obj0
,&obj1
)) goto fail
;
17235 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17236 if (SWIG_arg_fail(1)) SWIG_fail
;
17237 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxToolBar
, SWIG_POINTER_EXCEPTION
| 0);
17238 if (SWIG_arg_fail(2)) SWIG_fail
;
17240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17241 (arg1
)->SetToolBar(arg2
);
17243 wxPyEndAllowThreads(__tstate
);
17244 if (PyErr_Occurred()) SWIG_fail
;
17246 Py_INCREF(Py_None
); resultobj
= Py_None
;
17253 static PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17254 PyObject
*resultobj
;
17255 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17256 PyObject
* obj0
= 0 ;
17257 char *kwnames
[] = {
17258 (char *) "self", NULL
17261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIParentFrame_Tile",kwnames
,&obj0
)) goto fail
;
17262 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17263 if (SWIG_arg_fail(1)) SWIG_fail
;
17265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17268 wxPyEndAllowThreads(__tstate
);
17269 if (PyErr_Occurred()) SWIG_fail
;
17271 Py_INCREF(Py_None
); resultobj
= Py_None
;
17278 static PyObject
* MDIParentFrame_swigregister(PyObject
*, PyObject
*args
) {
17280 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17281 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame
, obj
);
17283 return Py_BuildValue((char *)"");
17285 static PyObject
*_wrap_new_MDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17286 PyObject
*resultobj
;
17287 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17288 int arg2
= (int) (int)-1 ;
17289 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17290 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17291 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
17292 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
17293 wxSize
const &arg5_defvalue
= wxDefaultSize
;
17294 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
17295 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
17296 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
17297 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17298 wxMDIChildFrame
*result
;
17299 bool temp3
= false ;
17302 bool temp7
= false ;
17303 PyObject
* obj0
= 0 ;
17304 PyObject
* obj1
= 0 ;
17305 PyObject
* obj2
= 0 ;
17306 PyObject
* obj3
= 0 ;
17307 PyObject
* obj4
= 0 ;
17308 PyObject
* obj5
= 0 ;
17309 PyObject
* obj6
= 0 ;
17310 char *kwnames
[] = {
17311 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17315 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17316 if (SWIG_arg_fail(1)) SWIG_fail
;
17319 arg2
= (int const)(SWIG_As_int(obj1
));
17320 if (SWIG_arg_fail(2)) SWIG_fail
;
17325 arg3
= wxString_in_helper(obj2
);
17326 if (arg3
== NULL
) SWIG_fail
;
17333 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
17339 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
17344 arg6
= (long)(SWIG_As_long(obj5
));
17345 if (SWIG_arg_fail(6)) SWIG_fail
;
17350 arg7
= wxString_in_helper(obj6
);
17351 if (arg7
== NULL
) SWIG_fail
;
17356 if (!wxPyCheckForApp()) SWIG_fail
;
17357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17358 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
17360 wxPyEndAllowThreads(__tstate
);
17361 if (PyErr_Occurred()) SWIG_fail
;
17363 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
17386 static PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17387 PyObject
*resultobj
;
17388 wxMDIChildFrame
*result
;
17389 char *kwnames
[] = {
17393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIChildFrame",kwnames
)) goto fail
;
17395 if (!wxPyCheckForApp()) SWIG_fail
;
17396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17397 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
17399 wxPyEndAllowThreads(__tstate
);
17400 if (PyErr_Occurred()) SWIG_fail
;
17402 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIChildFrame
, 1);
17409 static PyObject
*_wrap_MDIChildFrame_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17410 PyObject
*resultobj
;
17411 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17412 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
17413 int arg3
= (int) (int)-1 ;
17414 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17415 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17416 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
17417 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
17418 wxSize
const &arg6_defvalue
= wxDefaultSize
;
17419 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
17420 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
17421 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
17422 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17424 bool temp4
= false ;
17427 bool temp8
= false ;
17428 PyObject
* obj0
= 0 ;
17429 PyObject
* obj1
= 0 ;
17430 PyObject
* obj2
= 0 ;
17431 PyObject
* obj3
= 0 ;
17432 PyObject
* obj4
= 0 ;
17433 PyObject
* obj5
= 0 ;
17434 PyObject
* obj6
= 0 ;
17435 PyObject
* obj7
= 0 ;
17436 char *kwnames
[] = {
17437 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17441 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17442 if (SWIG_arg_fail(1)) SWIG_fail
;
17443 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17444 if (SWIG_arg_fail(2)) SWIG_fail
;
17447 arg3
= (int const)(SWIG_As_int(obj2
));
17448 if (SWIG_arg_fail(3)) SWIG_fail
;
17453 arg4
= wxString_in_helper(obj3
);
17454 if (arg4
== NULL
) SWIG_fail
;
17461 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17467 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17472 arg7
= (long)(SWIG_As_long(obj6
));
17473 if (SWIG_arg_fail(7)) SWIG_fail
;
17478 arg8
= wxString_in_helper(obj7
);
17479 if (arg8
== NULL
) SWIG_fail
;
17484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17485 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
17487 wxPyEndAllowThreads(__tstate
);
17488 if (PyErr_Occurred()) SWIG_fail
;
17491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17515 static PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17516 PyObject
*resultobj
;
17517 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17518 PyObject
* obj0
= 0 ;
17519 char *kwnames
[] = {
17520 (char *) "self", NULL
17523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Activate",kwnames
,&obj0
)) goto fail
;
17524 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17525 if (SWIG_arg_fail(1)) SWIG_fail
;
17527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17528 (arg1
)->Activate();
17530 wxPyEndAllowThreads(__tstate
);
17531 if (PyErr_Occurred()) SWIG_fail
;
17533 Py_INCREF(Py_None
); resultobj
= Py_None
;
17540 static PyObject
*_wrap_MDIChildFrame_Maximize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17541 PyObject
*resultobj
;
17542 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17543 bool arg2
= (bool) true ;
17544 PyObject
* obj0
= 0 ;
17545 PyObject
* obj1
= 0 ;
17546 char *kwnames
[] = {
17547 (char *) "self",(char *) "maximize", NULL
17550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIChildFrame_Maximize",kwnames
,&obj0
,&obj1
)) goto fail
;
17551 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17552 if (SWIG_arg_fail(1)) SWIG_fail
;
17555 arg2
= (bool)(SWIG_As_bool(obj1
));
17556 if (SWIG_arg_fail(2)) SWIG_fail
;
17560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17561 (arg1
)->Maximize(arg2
);
17563 wxPyEndAllowThreads(__tstate
);
17564 if (PyErr_Occurred()) SWIG_fail
;
17566 Py_INCREF(Py_None
); resultobj
= Py_None
;
17573 static PyObject
*_wrap_MDIChildFrame_Restore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17574 PyObject
*resultobj
;
17575 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
17576 PyObject
* obj0
= 0 ;
17577 char *kwnames
[] = {
17578 (char *) "self", NULL
17581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MDIChildFrame_Restore",kwnames
,&obj0
)) goto fail
;
17582 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_EXCEPTION
| 0);
17583 if (SWIG_arg_fail(1)) SWIG_fail
;
17585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17588 wxPyEndAllowThreads(__tstate
);
17589 if (PyErr_Occurred()) SWIG_fail
;
17591 Py_INCREF(Py_None
); resultobj
= Py_None
;
17598 static PyObject
* MDIChildFrame_swigregister(PyObject
*, PyObject
*args
) {
17600 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17601 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame
, obj
);
17603 return Py_BuildValue((char *)"");
17605 static PyObject
*_wrap_new_MDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17606 PyObject
*resultobj
;
17607 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
17608 long arg2
= (long) 0 ;
17609 wxMDIClientWindow
*result
;
17610 PyObject
* obj0
= 0 ;
17611 PyObject
* obj1
= 0 ;
17612 char *kwnames
[] = {
17613 (char *) "parent",(char *) "style", NULL
17616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17617 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17618 if (SWIG_arg_fail(1)) SWIG_fail
;
17621 arg2
= (long)(SWIG_As_long(obj1
));
17622 if (SWIG_arg_fail(2)) SWIG_fail
;
17626 if (!wxPyCheckForApp()) SWIG_fail
;
17627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17628 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
17630 wxPyEndAllowThreads(__tstate
);
17631 if (PyErr_Occurred()) SWIG_fail
;
17633 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
17640 static PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17641 PyObject
*resultobj
;
17642 wxMDIClientWindow
*result
;
17643 char *kwnames
[] = {
17647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreMDIClientWindow",kwnames
)) goto fail
;
17649 if (!wxPyCheckForApp()) SWIG_fail
;
17650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17651 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
17653 wxPyEndAllowThreads(__tstate
);
17654 if (PyErr_Occurred()) SWIG_fail
;
17656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMDIClientWindow
, 1);
17663 static PyObject
*_wrap_MDIClientWindow_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17664 PyObject
*resultobj
;
17665 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
17666 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
17667 long arg3
= (long) 0 ;
17669 PyObject
* obj0
= 0 ;
17670 PyObject
* obj1
= 0 ;
17671 PyObject
* obj2
= 0 ;
17672 char *kwnames
[] = {
17673 (char *) "self",(char *) "parent",(char *) "style", NULL
17676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17677 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_EXCEPTION
| 0);
17678 if (SWIG_arg_fail(1)) SWIG_fail
;
17679 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_EXCEPTION
| 0);
17680 if (SWIG_arg_fail(2)) SWIG_fail
;
17683 arg3
= (long)(SWIG_As_long(obj2
));
17684 if (SWIG_arg_fail(3)) SWIG_fail
;
17688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17689 result
= (bool)(arg1
)->Create(arg2
,arg3
);
17691 wxPyEndAllowThreads(__tstate
);
17692 if (PyErr_Occurred()) SWIG_fail
;
17695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17703 static PyObject
* MDIClientWindow_swigregister(PyObject
*, PyObject
*args
) {
17705 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17706 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow
, obj
);
17708 return Py_BuildValue((char *)"");
17710 static PyObject
*_wrap_new_PyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17711 PyObject
*resultobj
;
17712 wxWindow
*arg1
= (wxWindow
*) 0 ;
17713 int arg2
= (int) (int)-1 ;
17714 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
17715 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
17716 wxSize
const &arg4_defvalue
= wxDefaultSize
;
17717 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
17718 long arg5
= (long) 0 ;
17719 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
17720 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
17721 wxPyWindow
*result
;
17724 bool temp6
= false ;
17725 PyObject
* obj0
= 0 ;
17726 PyObject
* obj1
= 0 ;
17727 PyObject
* obj2
= 0 ;
17728 PyObject
* obj3
= 0 ;
17729 PyObject
* obj4
= 0 ;
17730 PyObject
* obj5
= 0 ;
17731 char *kwnames
[] = {
17732 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
17735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
17737 if (SWIG_arg_fail(1)) SWIG_fail
;
17740 arg2
= (int const)(SWIG_As_int(obj1
));
17741 if (SWIG_arg_fail(2)) SWIG_fail
;
17747 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
17753 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
17758 arg5
= (long)(SWIG_As_long(obj4
));
17759 if (SWIG_arg_fail(5)) SWIG_fail
;
17764 arg6
= wxString_in_helper(obj5
);
17765 if (arg6
== NULL
) SWIG_fail
;
17770 if (!wxPyCheckForApp()) SWIG_fail
;
17771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17772 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
17774 wxPyEndAllowThreads(__tstate
);
17775 if (PyErr_Occurred()) SWIG_fail
;
17777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
17792 static PyObject
*_wrap_new_PrePyWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17793 PyObject
*resultobj
;
17794 wxPyWindow
*result
;
17795 char *kwnames
[] = {
17799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyWindow",kwnames
)) goto fail
;
17801 if (!wxPyCheckForApp()) SWIG_fail
;
17802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17803 result
= (wxPyWindow
*)new wxPyWindow();
17805 wxPyEndAllowThreads(__tstate
);
17806 if (PyErr_Occurred()) SWIG_fail
;
17808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyWindow
, 1);
17815 static PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17816 PyObject
*resultobj
;
17817 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17818 PyObject
*arg2
= (PyObject
*) 0 ;
17819 PyObject
*arg3
= (PyObject
*) 0 ;
17820 PyObject
* obj0
= 0 ;
17821 PyObject
* obj1
= 0 ;
17822 PyObject
* obj2
= 0 ;
17823 char *kwnames
[] = {
17824 (char *) "self",(char *) "self",(char *) "_class", NULL
17827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17828 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17829 if (SWIG_arg_fail(1)) SWIG_fail
;
17833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17834 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17836 wxPyEndAllowThreads(__tstate
);
17837 if (PyErr_Occurred()) SWIG_fail
;
17839 Py_INCREF(Py_None
); resultobj
= Py_None
;
17846 static PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17847 PyObject
*resultobj
;
17848 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17851 PyObject
* obj0
= 0 ;
17852 PyObject
* obj1
= 0 ;
17853 char *kwnames
[] = {
17854 (char *) "self",(char *) "size", NULL
17857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
17858 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17859 if (SWIG_arg_fail(1)) SWIG_fail
;
17862 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
17865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17866 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
17868 wxPyEndAllowThreads(__tstate
);
17869 if (PyErr_Occurred()) SWIG_fail
;
17871 Py_INCREF(Py_None
); resultobj
= Py_None
;
17878 static PyObject
*_wrap_PyWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17879 PyObject
*resultobj
;
17880 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17885 PyObject
* obj0
= 0 ;
17886 PyObject
* obj1
= 0 ;
17887 PyObject
* obj2
= 0 ;
17888 PyObject
* obj3
= 0 ;
17889 PyObject
* obj4
= 0 ;
17890 char *kwnames
[] = {
17891 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
17894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17895 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17896 if (SWIG_arg_fail(1)) SWIG_fail
;
17898 arg2
= (int)(SWIG_As_int(obj1
));
17899 if (SWIG_arg_fail(2)) SWIG_fail
;
17902 arg3
= (int)(SWIG_As_int(obj2
));
17903 if (SWIG_arg_fail(3)) SWIG_fail
;
17906 arg4
= (int)(SWIG_As_int(obj3
));
17907 if (SWIG_arg_fail(4)) SWIG_fail
;
17910 arg5
= (int)(SWIG_As_int(obj4
));
17911 if (SWIG_arg_fail(5)) SWIG_fail
;
17914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17915 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
17917 wxPyEndAllowThreads(__tstate
);
17918 if (PyErr_Occurred()) SWIG_fail
;
17920 Py_INCREF(Py_None
); resultobj
= Py_None
;
17927 static PyObject
*_wrap_PyWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17928 PyObject
*resultobj
;
17929 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17934 int arg6
= (int) wxSIZE_AUTO
;
17935 PyObject
* obj0
= 0 ;
17936 PyObject
* obj1
= 0 ;
17937 PyObject
* obj2
= 0 ;
17938 PyObject
* obj3
= 0 ;
17939 PyObject
* obj4
= 0 ;
17940 PyObject
* obj5
= 0 ;
17941 char *kwnames
[] = {
17942 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
17945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
17946 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17947 if (SWIG_arg_fail(1)) SWIG_fail
;
17949 arg2
= (int)(SWIG_As_int(obj1
));
17950 if (SWIG_arg_fail(2)) SWIG_fail
;
17953 arg3
= (int)(SWIG_As_int(obj2
));
17954 if (SWIG_arg_fail(3)) SWIG_fail
;
17957 arg4
= (int)(SWIG_As_int(obj3
));
17958 if (SWIG_arg_fail(4)) SWIG_fail
;
17961 arg5
= (int)(SWIG_As_int(obj4
));
17962 if (SWIG_arg_fail(5)) SWIG_fail
;
17966 arg6
= (int)(SWIG_As_int(obj5
));
17967 if (SWIG_arg_fail(6)) SWIG_fail
;
17971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17972 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
17974 wxPyEndAllowThreads(__tstate
);
17975 if (PyErr_Occurred()) SWIG_fail
;
17977 Py_INCREF(Py_None
); resultobj
= Py_None
;
17984 static PyObject
*_wrap_PyWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17985 PyObject
*resultobj
;
17986 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
17989 PyObject
* obj0
= 0 ;
17990 PyObject
* obj1
= 0 ;
17991 PyObject
* obj2
= 0 ;
17992 char *kwnames
[] = {
17993 (char *) "self",(char *) "width",(char *) "height", NULL
17996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17997 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
17998 if (SWIG_arg_fail(1)) SWIG_fail
;
18000 arg2
= (int)(SWIG_As_int(obj1
));
18001 if (SWIG_arg_fail(2)) SWIG_fail
;
18004 arg3
= (int)(SWIG_As_int(obj2
));
18005 if (SWIG_arg_fail(3)) SWIG_fail
;
18008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18009 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
18011 wxPyEndAllowThreads(__tstate
);
18012 if (PyErr_Occurred()) SWIG_fail
;
18014 Py_INCREF(Py_None
); resultobj
= Py_None
;
18021 static PyObject
*_wrap_PyWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18022 PyObject
*resultobj
;
18023 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18026 PyObject
* obj0
= 0 ;
18027 PyObject
* obj1
= 0 ;
18028 PyObject
* obj2
= 0 ;
18029 char *kwnames
[] = {
18030 (char *) "self",(char *) "x",(char *) "y", NULL
18033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18034 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18035 if (SWIG_arg_fail(1)) SWIG_fail
;
18037 arg2
= (int)(SWIG_As_int(obj1
));
18038 if (SWIG_arg_fail(2)) SWIG_fail
;
18041 arg3
= (int)(SWIG_As_int(obj2
));
18042 if (SWIG_arg_fail(3)) SWIG_fail
;
18045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18046 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
18048 wxPyEndAllowThreads(__tstate
);
18049 if (PyErr_Occurred()) SWIG_fail
;
18051 Py_INCREF(Py_None
); resultobj
= Py_None
;
18058 static PyObject
*_wrap_PyWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18059 PyObject
*resultobj
;
18060 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18061 int *arg2
= (int *) 0 ;
18062 int *arg3
= (int *) 0 ;
18067 PyObject
* obj0
= 0 ;
18068 char *kwnames
[] = {
18069 (char *) "self", NULL
18072 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18073 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
18075 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18076 if (SWIG_arg_fail(1)) SWIG_fail
;
18078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18079 ((wxPyWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
18081 wxPyEndAllowThreads(__tstate
);
18082 if (PyErr_Occurred()) SWIG_fail
;
18084 Py_INCREF(Py_None
); resultobj
= Py_None
;
18085 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18086 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18087 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18088 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18095 static PyObject
*_wrap_PyWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18096 PyObject
*resultobj
;
18097 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18098 int *arg2
= (int *) 0 ;
18099 int *arg3
= (int *) 0 ;
18104 PyObject
* obj0
= 0 ;
18105 char *kwnames
[] = {
18106 (char *) "self", NULL
18109 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18110 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
18112 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18113 if (SWIG_arg_fail(1)) SWIG_fail
;
18115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18116 ((wxPyWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
18118 wxPyEndAllowThreads(__tstate
);
18119 if (PyErr_Occurred()) SWIG_fail
;
18121 Py_INCREF(Py_None
); resultobj
= Py_None
;
18122 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18123 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18124 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18125 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18132 static PyObject
*_wrap_PyWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18133 PyObject
*resultobj
;
18134 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18135 int *arg2
= (int *) 0 ;
18136 int *arg3
= (int *) 0 ;
18141 PyObject
* obj0
= 0 ;
18142 char *kwnames
[] = {
18143 (char *) "self", NULL
18146 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18147 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
18149 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18150 if (SWIG_arg_fail(1)) SWIG_fail
;
18152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18153 ((wxPyWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
18155 wxPyEndAllowThreads(__tstate
);
18156 if (PyErr_Occurred()) SWIG_fail
;
18158 Py_INCREF(Py_None
); resultobj
= Py_None
;
18159 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18160 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18161 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18162 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18169 static PyObject
*_wrap_PyWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18170 PyObject
*resultobj
;
18171 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18173 PyObject
* obj0
= 0 ;
18174 char *kwnames
[] = {
18175 (char *) "self", NULL
18178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
18179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18180 if (SWIG_arg_fail(1)) SWIG_fail
;
18182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18183 result
= ((wxPyWindow
const *)arg1
)->base_DoGetVirtualSize();
18185 wxPyEndAllowThreads(__tstate
);
18186 if (PyErr_Occurred()) SWIG_fail
;
18189 wxSize
* resultptr
;
18190 resultptr
= new wxSize((wxSize
&)(result
));
18191 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18199 static PyObject
*_wrap_PyWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18200 PyObject
*resultobj
;
18201 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18203 PyObject
* obj0
= 0 ;
18204 char *kwnames
[] = {
18205 (char *) "self", NULL
18208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
18209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18210 if (SWIG_arg_fail(1)) SWIG_fail
;
18212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18213 result
= ((wxPyWindow
const *)arg1
)->base_DoGetBestSize();
18215 wxPyEndAllowThreads(__tstate
);
18216 if (PyErr_Occurred()) SWIG_fail
;
18219 wxSize
* resultptr
;
18220 resultptr
= new wxSize((wxSize
&)(result
));
18221 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18229 static PyObject
*_wrap_PyWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18230 PyObject
*resultobj
;
18231 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18232 PyObject
* obj0
= 0 ;
18233 char *kwnames
[] = {
18234 (char *) "self", NULL
18237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
18238 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18239 if (SWIG_arg_fail(1)) SWIG_fail
;
18241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18242 (arg1
)->base_InitDialog();
18244 wxPyEndAllowThreads(__tstate
);
18245 if (PyErr_Occurred()) SWIG_fail
;
18247 Py_INCREF(Py_None
); resultobj
= Py_None
;
18254 static PyObject
*_wrap_PyWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18255 PyObject
*resultobj
;
18256 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18258 PyObject
* obj0
= 0 ;
18259 char *kwnames
[] = {
18260 (char *) "self", NULL
18263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
18264 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18265 if (SWIG_arg_fail(1)) SWIG_fail
;
18267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18268 result
= (bool)(arg1
)->base_TransferDataToWindow();
18270 wxPyEndAllowThreads(__tstate
);
18271 if (PyErr_Occurred()) SWIG_fail
;
18274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18282 static PyObject
*_wrap_PyWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18283 PyObject
*resultobj
;
18284 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18286 PyObject
* obj0
= 0 ;
18287 char *kwnames
[] = {
18288 (char *) "self", NULL
18291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
18292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18293 if (SWIG_arg_fail(1)) SWIG_fail
;
18295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18296 result
= (bool)(arg1
)->base_TransferDataFromWindow();
18298 wxPyEndAllowThreads(__tstate
);
18299 if (PyErr_Occurred()) SWIG_fail
;
18302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18310 static PyObject
*_wrap_PyWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18311 PyObject
*resultobj
;
18312 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18314 PyObject
* obj0
= 0 ;
18315 char *kwnames
[] = {
18316 (char *) "self", NULL
18319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
18320 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18321 if (SWIG_arg_fail(1)) SWIG_fail
;
18323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18324 result
= (bool)(arg1
)->base_Validate();
18326 wxPyEndAllowThreads(__tstate
);
18327 if (PyErr_Occurred()) SWIG_fail
;
18330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18338 static PyObject
*_wrap_PyWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18339 PyObject
*resultobj
;
18340 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18342 PyObject
* obj0
= 0 ;
18343 char *kwnames
[] = {
18344 (char *) "self", NULL
18347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
18348 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18349 if (SWIG_arg_fail(1)) SWIG_fail
;
18351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18352 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocus();
18354 wxPyEndAllowThreads(__tstate
);
18355 if (PyErr_Occurred()) SWIG_fail
;
18358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18366 static PyObject
*_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18367 PyObject
*resultobj
;
18368 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18370 PyObject
* obj0
= 0 ;
18371 char *kwnames
[] = {
18372 (char *) "self", NULL
18375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
18376 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18377 if (SWIG_arg_fail(1)) SWIG_fail
;
18379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18380 result
= (bool)((wxPyWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
18382 wxPyEndAllowThreads(__tstate
);
18383 if (PyErr_Occurred()) SWIG_fail
;
18386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18394 static PyObject
*_wrap_PyWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18395 PyObject
*resultobj
;
18396 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18398 PyObject
* obj0
= 0 ;
18399 char *kwnames
[] = {
18400 (char *) "self", NULL
18403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
18404 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18405 if (SWIG_arg_fail(1)) SWIG_fail
;
18407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18408 result
= ((wxPyWindow
const *)arg1
)->base_GetMaxSize();
18410 wxPyEndAllowThreads(__tstate
);
18411 if (PyErr_Occurred()) SWIG_fail
;
18414 wxSize
* resultptr
;
18415 resultptr
= new wxSize((wxSize
&)(result
));
18416 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18424 static PyObject
*_wrap_PyWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18425 PyObject
*resultobj
;
18426 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18427 wxWindow
*arg2
= (wxWindow
*) 0 ;
18428 PyObject
* obj0
= 0 ;
18429 PyObject
* obj1
= 0 ;
18430 char *kwnames
[] = {
18431 (char *) "self",(char *) "child", NULL
18434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18435 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18436 if (SWIG_arg_fail(1)) SWIG_fail
;
18437 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18438 if (SWIG_arg_fail(2)) SWIG_fail
;
18440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18441 (arg1
)->base_AddChild(arg2
);
18443 wxPyEndAllowThreads(__tstate
);
18444 if (PyErr_Occurred()) SWIG_fail
;
18446 Py_INCREF(Py_None
); resultobj
= Py_None
;
18453 static PyObject
*_wrap_PyWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18454 PyObject
*resultobj
;
18455 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18456 wxWindow
*arg2
= (wxWindow
*) 0 ;
18457 PyObject
* obj0
= 0 ;
18458 PyObject
* obj1
= 0 ;
18459 char *kwnames
[] = {
18460 (char *) "self",(char *) "child", NULL
18463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
18464 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18465 if (SWIG_arg_fail(1)) SWIG_fail
;
18466 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18467 if (SWIG_arg_fail(2)) SWIG_fail
;
18469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18470 (arg1
)->base_RemoveChild(arg2
);
18472 wxPyEndAllowThreads(__tstate
);
18473 if (PyErr_Occurred()) SWIG_fail
;
18475 Py_INCREF(Py_None
); resultobj
= Py_None
;
18482 static PyObject
*_wrap_PyWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18483 PyObject
*resultobj
;
18484 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18486 PyObject
* obj0
= 0 ;
18487 char *kwnames
[] = {
18488 (char *) "self", NULL
18491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
18492 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18493 if (SWIG_arg_fail(1)) SWIG_fail
;
18495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18496 result
= (bool)((wxPyWindow
const *)arg1
)->base_ShouldInheritColours();
18498 wxPyEndAllowThreads(__tstate
);
18499 if (PyErr_Occurred()) SWIG_fail
;
18502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18510 static PyObject
*_wrap_PyWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18511 PyObject
*resultobj
;
18512 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18513 wxColour
*arg2
= 0 ;
18515 PyObject
* obj0
= 0 ;
18516 PyObject
* obj1
= 0 ;
18517 char *kwnames
[] = {
18518 (char *) "self",(char *) "c", NULL
18521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
18522 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18523 if (SWIG_arg_fail(1)) SWIG_fail
;
18526 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18530 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
18532 wxPyEndAllowThreads(__tstate
);
18533 if (PyErr_Occurred()) SWIG_fail
;
18535 Py_INCREF(Py_None
); resultobj
= Py_None
;
18542 static PyObject
*_wrap_PyWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18543 PyObject
*resultobj
;
18544 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
18545 wxVisualAttributes result
;
18546 PyObject
* obj0
= 0 ;
18547 char *kwnames
[] = {
18548 (char *) "self", NULL
18551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18552 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_EXCEPTION
| 0);
18553 if (SWIG_arg_fail(1)) SWIG_fail
;
18555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18556 result
= (arg1
)->base_GetDefaultAttributes();
18558 wxPyEndAllowThreads(__tstate
);
18559 if (PyErr_Occurred()) SWIG_fail
;
18562 wxVisualAttributes
* resultptr
;
18563 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
18564 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18572 static PyObject
* PyWindow_swigregister(PyObject
*, PyObject
*args
) {
18574 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18575 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow
, obj
);
18577 return Py_BuildValue((char *)"");
18579 static PyObject
*_wrap_new_PyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18580 PyObject
*resultobj
;
18581 wxWindow
*arg1
= (wxWindow
*) 0 ;
18582 int arg2
= (int) (int)-1 ;
18583 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18584 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18585 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18586 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18587 long arg5
= (long) 0 ;
18588 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
18589 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18593 bool temp6
= false ;
18594 PyObject
* obj0
= 0 ;
18595 PyObject
* obj1
= 0 ;
18596 PyObject
* obj2
= 0 ;
18597 PyObject
* obj3
= 0 ;
18598 PyObject
* obj4
= 0 ;
18599 PyObject
* obj5
= 0 ;
18600 char *kwnames
[] = {
18601 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18605 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
18606 if (SWIG_arg_fail(1)) SWIG_fail
;
18609 arg2
= (int const)(SWIG_As_int(obj1
));
18610 if (SWIG_arg_fail(2)) SWIG_fail
;
18616 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18622 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18627 arg5
= (long)(SWIG_As_long(obj4
));
18628 if (SWIG_arg_fail(5)) SWIG_fail
;
18633 arg6
= wxString_in_helper(obj5
);
18634 if (arg6
== NULL
) SWIG_fail
;
18639 if (!wxPyCheckForApp()) SWIG_fail
;
18640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18641 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18643 wxPyEndAllowThreads(__tstate
);
18644 if (PyErr_Occurred()) SWIG_fail
;
18646 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
18661 static PyObject
*_wrap_new_PrePyPanel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18662 PyObject
*resultobj
;
18664 char *kwnames
[] = {
18668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyPanel",kwnames
)) goto fail
;
18670 if (!wxPyCheckForApp()) SWIG_fail
;
18671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18672 result
= (wxPyPanel
*)new wxPyPanel();
18674 wxPyEndAllowThreads(__tstate
);
18675 if (PyErr_Occurred()) SWIG_fail
;
18677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPanel
, 1);
18684 static PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18685 PyObject
*resultobj
;
18686 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18687 PyObject
*arg2
= (PyObject
*) 0 ;
18688 PyObject
*arg3
= (PyObject
*) 0 ;
18689 PyObject
* obj0
= 0 ;
18690 PyObject
* obj1
= 0 ;
18691 PyObject
* obj2
= 0 ;
18692 char *kwnames
[] = {
18693 (char *) "self",(char *) "self",(char *) "_class", NULL
18696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18697 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18698 if (SWIG_arg_fail(1)) SWIG_fail
;
18702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18703 (arg1
)->_setCallbackInfo(arg2
,arg3
);
18705 wxPyEndAllowThreads(__tstate
);
18706 if (PyErr_Occurred()) SWIG_fail
;
18708 Py_INCREF(Py_None
); resultobj
= Py_None
;
18715 static PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18716 PyObject
*resultobj
;
18717 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18720 PyObject
* obj0
= 0 ;
18721 PyObject
* obj1
= 0 ;
18722 char *kwnames
[] = {
18723 (char *) "self",(char *) "size", NULL
18726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18727 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18728 if (SWIG_arg_fail(1)) SWIG_fail
;
18731 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18735 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
18737 wxPyEndAllowThreads(__tstate
);
18738 if (PyErr_Occurred()) SWIG_fail
;
18740 Py_INCREF(Py_None
); resultobj
= Py_None
;
18747 static PyObject
*_wrap_PyPanel_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18748 PyObject
*resultobj
;
18749 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18754 PyObject
* obj0
= 0 ;
18755 PyObject
* obj1
= 0 ;
18756 PyObject
* obj2
= 0 ;
18757 PyObject
* obj3
= 0 ;
18758 PyObject
* obj4
= 0 ;
18759 char *kwnames
[] = {
18760 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
18763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18764 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18765 if (SWIG_arg_fail(1)) SWIG_fail
;
18767 arg2
= (int)(SWIG_As_int(obj1
));
18768 if (SWIG_arg_fail(2)) SWIG_fail
;
18771 arg3
= (int)(SWIG_As_int(obj2
));
18772 if (SWIG_arg_fail(3)) SWIG_fail
;
18775 arg4
= (int)(SWIG_As_int(obj3
));
18776 if (SWIG_arg_fail(4)) SWIG_fail
;
18779 arg5
= (int)(SWIG_As_int(obj4
));
18780 if (SWIG_arg_fail(5)) SWIG_fail
;
18783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18784 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
18786 wxPyEndAllowThreads(__tstate
);
18787 if (PyErr_Occurred()) SWIG_fail
;
18789 Py_INCREF(Py_None
); resultobj
= Py_None
;
18796 static PyObject
*_wrap_PyPanel_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18797 PyObject
*resultobj
;
18798 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18803 int arg6
= (int) wxSIZE_AUTO
;
18804 PyObject
* obj0
= 0 ;
18805 PyObject
* obj1
= 0 ;
18806 PyObject
* obj2
= 0 ;
18807 PyObject
* obj3
= 0 ;
18808 PyObject
* obj4
= 0 ;
18809 PyObject
* obj5
= 0 ;
18810 char *kwnames
[] = {
18811 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
18814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18816 if (SWIG_arg_fail(1)) SWIG_fail
;
18818 arg2
= (int)(SWIG_As_int(obj1
));
18819 if (SWIG_arg_fail(2)) SWIG_fail
;
18822 arg3
= (int)(SWIG_As_int(obj2
));
18823 if (SWIG_arg_fail(3)) SWIG_fail
;
18826 arg4
= (int)(SWIG_As_int(obj3
));
18827 if (SWIG_arg_fail(4)) SWIG_fail
;
18830 arg5
= (int)(SWIG_As_int(obj4
));
18831 if (SWIG_arg_fail(5)) SWIG_fail
;
18835 arg6
= (int)(SWIG_As_int(obj5
));
18836 if (SWIG_arg_fail(6)) SWIG_fail
;
18840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18841 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
18843 wxPyEndAllowThreads(__tstate
);
18844 if (PyErr_Occurred()) SWIG_fail
;
18846 Py_INCREF(Py_None
); resultobj
= Py_None
;
18853 static PyObject
*_wrap_PyPanel_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18854 PyObject
*resultobj
;
18855 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18858 PyObject
* obj0
= 0 ;
18859 PyObject
* obj1
= 0 ;
18860 PyObject
* obj2
= 0 ;
18861 char *kwnames
[] = {
18862 (char *) "self",(char *) "width",(char *) "height", NULL
18865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18866 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18867 if (SWIG_arg_fail(1)) SWIG_fail
;
18869 arg2
= (int)(SWIG_As_int(obj1
));
18870 if (SWIG_arg_fail(2)) SWIG_fail
;
18873 arg3
= (int)(SWIG_As_int(obj2
));
18874 if (SWIG_arg_fail(3)) SWIG_fail
;
18877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18878 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
18880 wxPyEndAllowThreads(__tstate
);
18881 if (PyErr_Occurred()) SWIG_fail
;
18883 Py_INCREF(Py_None
); resultobj
= Py_None
;
18890 static PyObject
*_wrap_PyPanel_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18891 PyObject
*resultobj
;
18892 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18895 PyObject
* obj0
= 0 ;
18896 PyObject
* obj1
= 0 ;
18897 PyObject
* obj2
= 0 ;
18898 char *kwnames
[] = {
18899 (char *) "self",(char *) "x",(char *) "y", NULL
18902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18903 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18904 if (SWIG_arg_fail(1)) SWIG_fail
;
18906 arg2
= (int)(SWIG_As_int(obj1
));
18907 if (SWIG_arg_fail(2)) SWIG_fail
;
18910 arg3
= (int)(SWIG_As_int(obj2
));
18911 if (SWIG_arg_fail(3)) SWIG_fail
;
18914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18915 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
18917 wxPyEndAllowThreads(__tstate
);
18918 if (PyErr_Occurred()) SWIG_fail
;
18920 Py_INCREF(Py_None
); resultobj
= Py_None
;
18927 static PyObject
*_wrap_PyPanel_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18928 PyObject
*resultobj
;
18929 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18930 int *arg2
= (int *) 0 ;
18931 int *arg3
= (int *) 0 ;
18936 PyObject
* obj0
= 0 ;
18937 char *kwnames
[] = {
18938 (char *) "self", NULL
18941 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18942 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
18944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18945 if (SWIG_arg_fail(1)) SWIG_fail
;
18947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18948 ((wxPyPanel
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
18950 wxPyEndAllowThreads(__tstate
);
18951 if (PyErr_Occurred()) SWIG_fail
;
18953 Py_INCREF(Py_None
); resultobj
= Py_None
;
18954 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18955 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18956 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18957 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
18964 static PyObject
*_wrap_PyPanel_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18965 PyObject
*resultobj
;
18966 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
18967 int *arg2
= (int *) 0 ;
18968 int *arg3
= (int *) 0 ;
18973 PyObject
* obj0
= 0 ;
18974 char *kwnames
[] = {
18975 (char *) "self", NULL
18978 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
18979 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
18980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
18981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
18982 if (SWIG_arg_fail(1)) SWIG_fail
;
18984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18985 ((wxPyPanel
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
18987 wxPyEndAllowThreads(__tstate
);
18988 if (PyErr_Occurred()) SWIG_fail
;
18990 Py_INCREF(Py_None
); resultobj
= Py_None
;
18991 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
18992 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
18993 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
18994 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19001 static PyObject
*_wrap_PyPanel_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19002 PyObject
*resultobj
;
19003 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19004 int *arg2
= (int *) 0 ;
19005 int *arg3
= (int *) 0 ;
19010 PyObject
* obj0
= 0 ;
19011 char *kwnames
[] = {
19012 (char *) "self", NULL
19015 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19016 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
19018 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19019 if (SWIG_arg_fail(1)) SWIG_fail
;
19021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19022 ((wxPyPanel
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
19024 wxPyEndAllowThreads(__tstate
);
19025 if (PyErr_Occurred()) SWIG_fail
;
19027 Py_INCREF(Py_None
); resultobj
= Py_None
;
19028 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19029 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19030 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19031 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19038 static PyObject
*_wrap_PyPanel_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19039 PyObject
*resultobj
;
19040 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19042 PyObject
* obj0
= 0 ;
19043 char *kwnames
[] = {
19044 (char *) "self", NULL
19047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
19048 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19049 if (SWIG_arg_fail(1)) SWIG_fail
;
19051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19052 result
= ((wxPyPanel
const *)arg1
)->base_DoGetVirtualSize();
19054 wxPyEndAllowThreads(__tstate
);
19055 if (PyErr_Occurred()) SWIG_fail
;
19058 wxSize
* resultptr
;
19059 resultptr
= new wxSize((wxSize
&)(result
));
19060 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19068 static PyObject
*_wrap_PyPanel_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19069 PyObject
*resultobj
;
19070 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19072 PyObject
* obj0
= 0 ;
19073 char *kwnames
[] = {
19074 (char *) "self", NULL
19077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
19078 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19079 if (SWIG_arg_fail(1)) SWIG_fail
;
19081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19082 result
= ((wxPyPanel
const *)arg1
)->base_DoGetBestSize();
19084 wxPyEndAllowThreads(__tstate
);
19085 if (PyErr_Occurred()) SWIG_fail
;
19088 wxSize
* resultptr
;
19089 resultptr
= new wxSize((wxSize
&)(result
));
19090 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19098 static PyObject
*_wrap_PyPanel_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19099 PyObject
*resultobj
;
19100 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19101 PyObject
* obj0
= 0 ;
19102 char *kwnames
[] = {
19103 (char *) "self", NULL
19106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_InitDialog",kwnames
,&obj0
)) goto fail
;
19107 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19108 if (SWIG_arg_fail(1)) SWIG_fail
;
19110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19111 (arg1
)->base_InitDialog();
19113 wxPyEndAllowThreads(__tstate
);
19114 if (PyErr_Occurred()) SWIG_fail
;
19116 Py_INCREF(Py_None
); resultobj
= Py_None
;
19123 static PyObject
*_wrap_PyPanel_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19124 PyObject
*resultobj
;
19125 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19127 PyObject
* obj0
= 0 ;
19128 char *kwnames
[] = {
19129 (char *) "self", NULL
19132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
19133 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19134 if (SWIG_arg_fail(1)) SWIG_fail
;
19136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19137 result
= (bool)(arg1
)->base_TransferDataToWindow();
19139 wxPyEndAllowThreads(__tstate
);
19140 if (PyErr_Occurred()) SWIG_fail
;
19143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19151 static PyObject
*_wrap_PyPanel_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19152 PyObject
*resultobj
;
19153 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19155 PyObject
* obj0
= 0 ;
19156 char *kwnames
[] = {
19157 (char *) "self", NULL
19160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
19161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19162 if (SWIG_arg_fail(1)) SWIG_fail
;
19164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19165 result
= (bool)(arg1
)->base_TransferDataFromWindow();
19167 wxPyEndAllowThreads(__tstate
);
19168 if (PyErr_Occurred()) SWIG_fail
;
19171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19179 static PyObject
*_wrap_PyPanel_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19180 PyObject
*resultobj
;
19181 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19183 PyObject
* obj0
= 0 ;
19184 char *kwnames
[] = {
19185 (char *) "self", NULL
19188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_Validate",kwnames
,&obj0
)) goto fail
;
19189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19190 if (SWIG_arg_fail(1)) SWIG_fail
;
19192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19193 result
= (bool)(arg1
)->base_Validate();
19195 wxPyEndAllowThreads(__tstate
);
19196 if (PyErr_Occurred()) SWIG_fail
;
19199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19207 static PyObject
*_wrap_PyPanel_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19208 PyObject
*resultobj
;
19209 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19211 PyObject
* obj0
= 0 ;
19212 char *kwnames
[] = {
19213 (char *) "self", NULL
19216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
19217 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19218 if (SWIG_arg_fail(1)) SWIG_fail
;
19220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19221 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocus();
19223 wxPyEndAllowThreads(__tstate
);
19224 if (PyErr_Occurred()) SWIG_fail
;
19227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19235 static PyObject
*_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19236 PyObject
*resultobj
;
19237 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19239 PyObject
* obj0
= 0 ;
19240 char *kwnames
[] = {
19241 (char *) "self", NULL
19244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
19245 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19246 if (SWIG_arg_fail(1)) SWIG_fail
;
19248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19249 result
= (bool)((wxPyPanel
const *)arg1
)->base_AcceptsFocusFromKeyboard();
19251 wxPyEndAllowThreads(__tstate
);
19252 if (PyErr_Occurred()) SWIG_fail
;
19255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19263 static PyObject
*_wrap_PyPanel_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19264 PyObject
*resultobj
;
19265 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19267 PyObject
* obj0
= 0 ;
19268 char *kwnames
[] = {
19269 (char *) "self", NULL
19272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
19273 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19274 if (SWIG_arg_fail(1)) SWIG_fail
;
19276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19277 result
= ((wxPyPanel
const *)arg1
)->base_GetMaxSize();
19279 wxPyEndAllowThreads(__tstate
);
19280 if (PyErr_Occurred()) SWIG_fail
;
19283 wxSize
* resultptr
;
19284 resultptr
= new wxSize((wxSize
&)(result
));
19285 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19293 static PyObject
*_wrap_PyPanel_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19294 PyObject
*resultobj
;
19295 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19296 wxWindow
*arg2
= (wxWindow
*) 0 ;
19297 PyObject
* obj0
= 0 ;
19298 PyObject
* obj1
= 0 ;
19299 char *kwnames
[] = {
19300 (char *) "self",(char *) "child", NULL
19303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19305 if (SWIG_arg_fail(1)) SWIG_fail
;
19306 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19307 if (SWIG_arg_fail(2)) SWIG_fail
;
19309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19310 (arg1
)->base_AddChild(arg2
);
19312 wxPyEndAllowThreads(__tstate
);
19313 if (PyErr_Occurred()) SWIG_fail
;
19315 Py_INCREF(Py_None
); resultobj
= Py_None
;
19322 static PyObject
*_wrap_PyPanel_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19323 PyObject
*resultobj
;
19324 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19325 wxWindow
*arg2
= (wxWindow
*) 0 ;
19326 PyObject
* obj0
= 0 ;
19327 PyObject
* obj1
= 0 ;
19328 char *kwnames
[] = {
19329 (char *) "self",(char *) "child", NULL
19332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
19333 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19334 if (SWIG_arg_fail(1)) SWIG_fail
;
19335 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19336 if (SWIG_arg_fail(2)) SWIG_fail
;
19338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19339 (arg1
)->base_RemoveChild(arg2
);
19341 wxPyEndAllowThreads(__tstate
);
19342 if (PyErr_Occurred()) SWIG_fail
;
19344 Py_INCREF(Py_None
); resultobj
= Py_None
;
19351 static PyObject
*_wrap_PyPanel_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19352 PyObject
*resultobj
;
19353 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19355 PyObject
* obj0
= 0 ;
19356 char *kwnames
[] = {
19357 (char *) "self", NULL
19360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
19361 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19362 if (SWIG_arg_fail(1)) SWIG_fail
;
19364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19365 result
= (bool)((wxPyPanel
const *)arg1
)->base_ShouldInheritColours();
19367 wxPyEndAllowThreads(__tstate
);
19368 if (PyErr_Occurred()) SWIG_fail
;
19371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19379 static PyObject
*_wrap_PyPanel_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19380 PyObject
*resultobj
;
19381 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19382 wxColour
*arg2
= 0 ;
19384 PyObject
* obj0
= 0 ;
19385 PyObject
* obj1
= 0 ;
19386 char *kwnames
[] = {
19387 (char *) "self",(char *) "c", NULL
19390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
19391 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19392 if (SWIG_arg_fail(1)) SWIG_fail
;
19395 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19399 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
19401 wxPyEndAllowThreads(__tstate
);
19402 if (PyErr_Occurred()) SWIG_fail
;
19404 Py_INCREF(Py_None
); resultobj
= Py_None
;
19411 static PyObject
*_wrap_PyPanel_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19412 PyObject
*resultobj
;
19413 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
19414 wxVisualAttributes result
;
19415 PyObject
* obj0
= 0 ;
19416 char *kwnames
[] = {
19417 (char *) "self", NULL
19420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPanel_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
19421 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_EXCEPTION
| 0);
19422 if (SWIG_arg_fail(1)) SWIG_fail
;
19424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19425 result
= (arg1
)->base_GetDefaultAttributes();
19427 wxPyEndAllowThreads(__tstate
);
19428 if (PyErr_Occurred()) SWIG_fail
;
19431 wxVisualAttributes
* resultptr
;
19432 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
19433 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
19441 static PyObject
* PyPanel_swigregister(PyObject
*, PyObject
*args
) {
19443 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19444 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel
, obj
);
19446 return Py_BuildValue((char *)"");
19448 static PyObject
*_wrap_new_PyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19449 PyObject
*resultobj
;
19450 wxWindow
*arg1
= (wxWindow
*) 0 ;
19451 int arg2
= (int) (int)-1 ;
19452 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19453 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19454 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19455 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19456 long arg5
= (long) 0 ;
19457 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
19458 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
19459 wxPyScrolledWindow
*result
;
19462 bool temp6
= false ;
19463 PyObject
* obj0
= 0 ;
19464 PyObject
* obj1
= 0 ;
19465 PyObject
* obj2
= 0 ;
19466 PyObject
* obj3
= 0 ;
19467 PyObject
* obj4
= 0 ;
19468 PyObject
* obj5
= 0 ;
19469 char *kwnames
[] = {
19470 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19474 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
19475 if (SWIG_arg_fail(1)) SWIG_fail
;
19478 arg2
= (int const)(SWIG_As_int(obj1
));
19479 if (SWIG_arg_fail(2)) SWIG_fail
;
19485 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19491 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19496 arg5
= (long)(SWIG_As_long(obj4
));
19497 if (SWIG_arg_fail(5)) SWIG_fail
;
19502 arg6
= wxString_in_helper(obj5
);
19503 if (arg6
== NULL
) SWIG_fail
;
19508 if (!wxPyCheckForApp()) SWIG_fail
;
19509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19510 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
19512 wxPyEndAllowThreads(__tstate
);
19513 if (PyErr_Occurred()) SWIG_fail
;
19515 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
19530 static PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19531 PyObject
*resultobj
;
19532 wxPyScrolledWindow
*result
;
19533 char *kwnames
[] = {
19537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyScrolledWindow",kwnames
)) goto fail
;
19539 if (!wxPyCheckForApp()) SWIG_fail
;
19540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19541 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
19543 wxPyEndAllowThreads(__tstate
);
19544 if (PyErr_Occurred()) SWIG_fail
;
19546 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyScrolledWindow
, 1);
19553 static PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19554 PyObject
*resultobj
;
19555 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19556 PyObject
*arg2
= (PyObject
*) 0 ;
19557 PyObject
*arg3
= (PyObject
*) 0 ;
19558 PyObject
* obj0
= 0 ;
19559 PyObject
* obj1
= 0 ;
19560 PyObject
* obj2
= 0 ;
19561 char *kwnames
[] = {
19562 (char *) "self",(char *) "self",(char *) "_class", NULL
19565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19566 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19567 if (SWIG_arg_fail(1)) SWIG_fail
;
19571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19572 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19574 wxPyEndAllowThreads(__tstate
);
19575 if (PyErr_Occurred()) SWIG_fail
;
19577 Py_INCREF(Py_None
); resultobj
= Py_None
;
19584 static PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19585 PyObject
*resultobj
;
19586 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19589 PyObject
* obj0
= 0 ;
19590 PyObject
* obj1
= 0 ;
19591 char *kwnames
[] = {
19592 (char *) "self",(char *) "size", NULL
19595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19596 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19597 if (SWIG_arg_fail(1)) SWIG_fail
;
19600 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19604 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
19606 wxPyEndAllowThreads(__tstate
);
19607 if (PyErr_Occurred()) SWIG_fail
;
19609 Py_INCREF(Py_None
); resultobj
= Py_None
;
19616 static PyObject
*_wrap_PyScrolledWindow_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19617 PyObject
*resultobj
;
19618 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19623 PyObject
* obj0
= 0 ;
19624 PyObject
* obj1
= 0 ;
19625 PyObject
* obj2
= 0 ;
19626 PyObject
* obj3
= 0 ;
19627 PyObject
* obj4
= 0 ;
19628 char *kwnames
[] = {
19629 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
19632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
19633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19634 if (SWIG_arg_fail(1)) SWIG_fail
;
19636 arg2
= (int)(SWIG_As_int(obj1
));
19637 if (SWIG_arg_fail(2)) SWIG_fail
;
19640 arg3
= (int)(SWIG_As_int(obj2
));
19641 if (SWIG_arg_fail(3)) SWIG_fail
;
19644 arg4
= (int)(SWIG_As_int(obj3
));
19645 if (SWIG_arg_fail(4)) SWIG_fail
;
19648 arg5
= (int)(SWIG_As_int(obj4
));
19649 if (SWIG_arg_fail(5)) SWIG_fail
;
19652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19653 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
19655 wxPyEndAllowThreads(__tstate
);
19656 if (PyErr_Occurred()) SWIG_fail
;
19658 Py_INCREF(Py_None
); resultobj
= Py_None
;
19665 static PyObject
*_wrap_PyScrolledWindow_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19666 PyObject
*resultobj
;
19667 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19672 int arg6
= (int) wxSIZE_AUTO
;
19673 PyObject
* obj0
= 0 ;
19674 PyObject
* obj1
= 0 ;
19675 PyObject
* obj2
= 0 ;
19676 PyObject
* obj3
= 0 ;
19677 PyObject
* obj4
= 0 ;
19678 PyObject
* obj5
= 0 ;
19679 char *kwnames
[] = {
19680 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19684 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19685 if (SWIG_arg_fail(1)) SWIG_fail
;
19687 arg2
= (int)(SWIG_As_int(obj1
));
19688 if (SWIG_arg_fail(2)) SWIG_fail
;
19691 arg3
= (int)(SWIG_As_int(obj2
));
19692 if (SWIG_arg_fail(3)) SWIG_fail
;
19695 arg4
= (int)(SWIG_As_int(obj3
));
19696 if (SWIG_arg_fail(4)) SWIG_fail
;
19699 arg5
= (int)(SWIG_As_int(obj4
));
19700 if (SWIG_arg_fail(5)) SWIG_fail
;
19704 arg6
= (int)(SWIG_As_int(obj5
));
19705 if (SWIG_arg_fail(6)) SWIG_fail
;
19709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19710 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
19712 wxPyEndAllowThreads(__tstate
);
19713 if (PyErr_Occurred()) SWIG_fail
;
19715 Py_INCREF(Py_None
); resultobj
= Py_None
;
19722 static PyObject
*_wrap_PyScrolledWindow_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19723 PyObject
*resultobj
;
19724 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19727 PyObject
* obj0
= 0 ;
19728 PyObject
* obj1
= 0 ;
19729 PyObject
* obj2
= 0 ;
19730 char *kwnames
[] = {
19731 (char *) "self",(char *) "width",(char *) "height", NULL
19734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19735 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19736 if (SWIG_arg_fail(1)) SWIG_fail
;
19738 arg2
= (int)(SWIG_As_int(obj1
));
19739 if (SWIG_arg_fail(2)) SWIG_fail
;
19742 arg3
= (int)(SWIG_As_int(obj2
));
19743 if (SWIG_arg_fail(3)) SWIG_fail
;
19746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19747 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
19749 wxPyEndAllowThreads(__tstate
);
19750 if (PyErr_Occurred()) SWIG_fail
;
19752 Py_INCREF(Py_None
); resultobj
= Py_None
;
19759 static PyObject
*_wrap_PyScrolledWindow_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19760 PyObject
*resultobj
;
19761 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19764 PyObject
* obj0
= 0 ;
19765 PyObject
* obj1
= 0 ;
19766 PyObject
* obj2
= 0 ;
19767 char *kwnames
[] = {
19768 (char *) "self",(char *) "x",(char *) "y", NULL
19771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19772 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19773 if (SWIG_arg_fail(1)) SWIG_fail
;
19775 arg2
= (int)(SWIG_As_int(obj1
));
19776 if (SWIG_arg_fail(2)) SWIG_fail
;
19779 arg3
= (int)(SWIG_As_int(obj2
));
19780 if (SWIG_arg_fail(3)) SWIG_fail
;
19783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19784 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
19786 wxPyEndAllowThreads(__tstate
);
19787 if (PyErr_Occurred()) SWIG_fail
;
19789 Py_INCREF(Py_None
); resultobj
= Py_None
;
19796 static PyObject
*_wrap_PyScrolledWindow_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19797 PyObject
*resultobj
;
19798 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19799 int *arg2
= (int *) 0 ;
19800 int *arg3
= (int *) 0 ;
19805 PyObject
* obj0
= 0 ;
19806 char *kwnames
[] = {
19807 (char *) "self", NULL
19810 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19811 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
19813 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19814 if (SWIG_arg_fail(1)) SWIG_fail
;
19816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19817 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
19819 wxPyEndAllowThreads(__tstate
);
19820 if (PyErr_Occurred()) SWIG_fail
;
19822 Py_INCREF(Py_None
); resultobj
= Py_None
;
19823 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19824 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19825 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19826 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19833 static PyObject
*_wrap_PyScrolledWindow_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19834 PyObject
*resultobj
;
19835 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19836 int *arg2
= (int *) 0 ;
19837 int *arg3
= (int *) 0 ;
19842 PyObject
* obj0
= 0 ;
19843 char *kwnames
[] = {
19844 (char *) "self", NULL
19847 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19848 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
19850 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19851 if (SWIG_arg_fail(1)) SWIG_fail
;
19853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19854 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
19856 wxPyEndAllowThreads(__tstate
);
19857 if (PyErr_Occurred()) SWIG_fail
;
19859 Py_INCREF(Py_None
); resultobj
= Py_None
;
19860 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19861 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19862 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19863 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19870 static PyObject
*_wrap_PyScrolledWindow_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19871 PyObject
*resultobj
;
19872 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19873 int *arg2
= (int *) 0 ;
19874 int *arg3
= (int *) 0 ;
19879 PyObject
* obj0
= 0 ;
19880 char *kwnames
[] = {
19881 (char *) "self", NULL
19884 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
19885 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
19886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
19887 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19888 if (SWIG_arg_fail(1)) SWIG_fail
;
19890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19891 ((wxPyScrolledWindow
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
19893 wxPyEndAllowThreads(__tstate
);
19894 if (PyErr_Occurred()) SWIG_fail
;
19896 Py_INCREF(Py_None
); resultobj
= Py_None
;
19897 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
19898 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
19899 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
19900 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
19907 static PyObject
*_wrap_PyScrolledWindow_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19908 PyObject
*resultobj
;
19909 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19911 PyObject
* obj0
= 0 ;
19912 char *kwnames
[] = {
19913 (char *) "self", NULL
19916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
19917 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19918 if (SWIG_arg_fail(1)) SWIG_fail
;
19920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19921 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetVirtualSize();
19923 wxPyEndAllowThreads(__tstate
);
19924 if (PyErr_Occurred()) SWIG_fail
;
19927 wxSize
* resultptr
;
19928 resultptr
= new wxSize((wxSize
&)(result
));
19929 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19937 static PyObject
*_wrap_PyScrolledWindow_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19938 PyObject
*resultobj
;
19939 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19941 PyObject
* obj0
= 0 ;
19942 char *kwnames
[] = {
19943 (char *) "self", NULL
19946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
19947 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19948 if (SWIG_arg_fail(1)) SWIG_fail
;
19950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19951 result
= ((wxPyScrolledWindow
const *)arg1
)->base_DoGetBestSize();
19953 wxPyEndAllowThreads(__tstate
);
19954 if (PyErr_Occurred()) SWIG_fail
;
19957 wxSize
* resultptr
;
19958 resultptr
= new wxSize((wxSize
&)(result
));
19959 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
19967 static PyObject
*_wrap_PyScrolledWindow_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19968 PyObject
*resultobj
;
19969 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19970 PyObject
* obj0
= 0 ;
19971 char *kwnames
[] = {
19972 (char *) "self", NULL
19975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_InitDialog",kwnames
,&obj0
)) goto fail
;
19976 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
19977 if (SWIG_arg_fail(1)) SWIG_fail
;
19979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19980 (arg1
)->base_InitDialog();
19982 wxPyEndAllowThreads(__tstate
);
19983 if (PyErr_Occurred()) SWIG_fail
;
19985 Py_INCREF(Py_None
); resultobj
= Py_None
;
19992 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19993 PyObject
*resultobj
;
19994 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
19996 PyObject
* obj0
= 0 ;
19997 char *kwnames
[] = {
19998 (char *) "self", NULL
20001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
20002 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20003 if (SWIG_arg_fail(1)) SWIG_fail
;
20005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20006 result
= (bool)(arg1
)->base_TransferDataToWindow();
20008 wxPyEndAllowThreads(__tstate
);
20009 if (PyErr_Occurred()) SWIG_fail
;
20012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20020 static PyObject
*_wrap_PyScrolledWindow_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20021 PyObject
*resultobj
;
20022 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20024 PyObject
* obj0
= 0 ;
20025 char *kwnames
[] = {
20026 (char *) "self", NULL
20029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
20030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20031 if (SWIG_arg_fail(1)) SWIG_fail
;
20033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20034 result
= (bool)(arg1
)->base_TransferDataFromWindow();
20036 wxPyEndAllowThreads(__tstate
);
20037 if (PyErr_Occurred()) SWIG_fail
;
20040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20048 static PyObject
*_wrap_PyScrolledWindow_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20049 PyObject
*resultobj
;
20050 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20052 PyObject
* obj0
= 0 ;
20053 char *kwnames
[] = {
20054 (char *) "self", NULL
20057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_Validate",kwnames
,&obj0
)) goto fail
;
20058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20059 if (SWIG_arg_fail(1)) SWIG_fail
;
20061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20062 result
= (bool)(arg1
)->base_Validate();
20064 wxPyEndAllowThreads(__tstate
);
20065 if (PyErr_Occurred()) SWIG_fail
;
20068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20076 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20077 PyObject
*resultobj
;
20078 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20080 PyObject
* obj0
= 0 ;
20081 char *kwnames
[] = {
20082 (char *) "self", NULL
20085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
20086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20087 if (SWIG_arg_fail(1)) SWIG_fail
;
20089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20090 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocus();
20092 wxPyEndAllowThreads(__tstate
);
20093 if (PyErr_Occurred()) SWIG_fail
;
20096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20104 static PyObject
*_wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20105 PyObject
*resultobj
;
20106 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20108 PyObject
* obj0
= 0 ;
20109 char *kwnames
[] = {
20110 (char *) "self", NULL
20113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
20114 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20115 if (SWIG_arg_fail(1)) SWIG_fail
;
20117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20118 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_AcceptsFocusFromKeyboard();
20120 wxPyEndAllowThreads(__tstate
);
20121 if (PyErr_Occurred()) SWIG_fail
;
20124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20132 static PyObject
*_wrap_PyScrolledWindow_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20133 PyObject
*resultobj
;
20134 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20136 PyObject
* obj0
= 0 ;
20137 char *kwnames
[] = {
20138 (char *) "self", NULL
20141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
20142 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20143 if (SWIG_arg_fail(1)) SWIG_fail
;
20145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20146 result
= ((wxPyScrolledWindow
const *)arg1
)->base_GetMaxSize();
20148 wxPyEndAllowThreads(__tstate
);
20149 if (PyErr_Occurred()) SWIG_fail
;
20152 wxSize
* resultptr
;
20153 resultptr
= new wxSize((wxSize
&)(result
));
20154 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
20162 static PyObject
*_wrap_PyScrolledWindow_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20163 PyObject
*resultobj
;
20164 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20165 wxWindow
*arg2
= (wxWindow
*) 0 ;
20166 PyObject
* obj0
= 0 ;
20167 PyObject
* obj1
= 0 ;
20168 char *kwnames
[] = {
20169 (char *) "self",(char *) "child", NULL
20172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
20173 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20174 if (SWIG_arg_fail(1)) SWIG_fail
;
20175 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20176 if (SWIG_arg_fail(2)) SWIG_fail
;
20178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20179 (arg1
)->base_AddChild(arg2
);
20181 wxPyEndAllowThreads(__tstate
);
20182 if (PyErr_Occurred()) SWIG_fail
;
20184 Py_INCREF(Py_None
); resultobj
= Py_None
;
20191 static PyObject
*_wrap_PyScrolledWindow_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20192 PyObject
*resultobj
;
20193 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20194 wxWindow
*arg2
= (wxWindow
*) 0 ;
20195 PyObject
* obj0
= 0 ;
20196 PyObject
* obj1
= 0 ;
20197 char *kwnames
[] = {
20198 (char *) "self",(char *) "child", NULL
20201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
20202 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20203 if (SWIG_arg_fail(1)) SWIG_fail
;
20204 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
20205 if (SWIG_arg_fail(2)) SWIG_fail
;
20207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20208 (arg1
)->base_RemoveChild(arg2
);
20210 wxPyEndAllowThreads(__tstate
);
20211 if (PyErr_Occurred()) SWIG_fail
;
20213 Py_INCREF(Py_None
); resultobj
= Py_None
;
20220 static PyObject
*_wrap_PyScrolledWindow_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20221 PyObject
*resultobj
;
20222 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20224 PyObject
* obj0
= 0 ;
20225 char *kwnames
[] = {
20226 (char *) "self", NULL
20229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
20230 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20231 if (SWIG_arg_fail(1)) SWIG_fail
;
20233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20234 result
= (bool)((wxPyScrolledWindow
const *)arg1
)->base_ShouldInheritColours();
20236 wxPyEndAllowThreads(__tstate
);
20237 if (PyErr_Occurred()) SWIG_fail
;
20240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20248 static PyObject
*_wrap_PyScrolledWindow_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20249 PyObject
*resultobj
;
20250 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20251 wxColour
*arg2
= 0 ;
20253 PyObject
* obj0
= 0 ;
20254 PyObject
* obj1
= 0 ;
20255 char *kwnames
[] = {
20256 (char *) "self",(char *) "c", NULL
20259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
20260 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20261 if (SWIG_arg_fail(1)) SWIG_fail
;
20264 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20268 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
20270 wxPyEndAllowThreads(__tstate
);
20271 if (PyErr_Occurred()) SWIG_fail
;
20273 Py_INCREF(Py_None
); resultobj
= Py_None
;
20280 static PyObject
*_wrap_PyScrolledWindow_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20281 PyObject
*resultobj
;
20282 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
20283 wxVisualAttributes result
;
20284 PyObject
* obj0
= 0 ;
20285 char *kwnames
[] = {
20286 (char *) "self", NULL
20289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyScrolledWindow_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
20290 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_EXCEPTION
| 0);
20291 if (SWIG_arg_fail(1)) SWIG_fail
;
20293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20294 result
= (arg1
)->base_GetDefaultAttributes();
20296 wxPyEndAllowThreads(__tstate
);
20297 if (PyErr_Occurred()) SWIG_fail
;
20300 wxVisualAttributes
* resultptr
;
20301 resultptr
= new wxVisualAttributes((wxVisualAttributes
&)(result
));
20302 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
20310 static PyObject
* PyScrolledWindow_swigregister(PyObject
*, PyObject
*args
) {
20312 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20313 SWIG_TypeClientData(SWIGTYPE_p_wxPyScrolledWindow
, obj
);
20315 return Py_BuildValue((char *)"");
20317 static int _wrap_PrintoutTitleStr_set(PyObject
*) {
20318 PyErr_SetString(PyExc_TypeError
,"Variable PrintoutTitleStr is read-only.");
20323 static PyObject
*_wrap_PrintoutTitleStr_get(void) {
20328 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
20330 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
20337 static int _wrap_PreviewCanvasNameStr_set(PyObject
*) {
20338 PyErr_SetString(PyExc_TypeError
,"Variable PreviewCanvasNameStr is read-only.");
20343 static PyObject
*_wrap_PreviewCanvasNameStr_get(void) {
20348 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
20350 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
20357 static PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*, PyObject
*args
) {
20358 PyObject
*resultobj
;
20359 wxPrintData
*result
;
20361 if(!PyArg_ParseTuple(args
,(char *)":new_PrintData")) goto fail
;
20363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20364 result
= (wxPrintData
*)new wxPrintData();
20366 wxPyEndAllowThreads(__tstate
);
20367 if (PyErr_Occurred()) SWIG_fail
;
20369 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
20376 static PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*, PyObject
*args
) {
20377 PyObject
*resultobj
;
20378 wxPrintData
*arg1
= 0 ;
20379 wxPrintData
*result
;
20380 PyObject
* obj0
= 0 ;
20382 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintData",&obj0
)) goto fail
;
20384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20385 if (SWIG_arg_fail(1)) SWIG_fail
;
20386 if (arg1
== NULL
) {
20387 SWIG_null_ref("wxPrintData");
20389 if (SWIG_arg_fail(1)) SWIG_fail
;
20392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20393 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
20395 wxPyEndAllowThreads(__tstate
);
20396 if (PyErr_Occurred()) SWIG_fail
;
20398 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 1);
20405 static PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
20410 argc
= PyObject_Length(args
);
20411 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
20412 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20415 return _wrap_new_PrintData__SWIG_0(self
,args
);
20421 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
20429 return _wrap_new_PrintData__SWIG_1(self
,args
);
20433 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
20438 static PyObject
*_wrap_delete_PrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20439 PyObject
*resultobj
;
20440 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20441 PyObject
* obj0
= 0 ;
20442 char *kwnames
[] = {
20443 (char *) "self", NULL
20446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintData",kwnames
,&obj0
)) goto fail
;
20447 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20448 if (SWIG_arg_fail(1)) SWIG_fail
;
20450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20453 wxPyEndAllowThreads(__tstate
);
20454 if (PyErr_Occurred()) SWIG_fail
;
20456 Py_INCREF(Py_None
); resultobj
= Py_None
;
20463 static PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20464 PyObject
*resultobj
;
20465 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20467 PyObject
* obj0
= 0 ;
20468 char *kwnames
[] = {
20469 (char *) "self", NULL
20472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
20473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20474 if (SWIG_arg_fail(1)) SWIG_fail
;
20476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20477 result
= (int)(arg1
)->GetNoCopies();
20479 wxPyEndAllowThreads(__tstate
);
20480 if (PyErr_Occurred()) SWIG_fail
;
20483 resultobj
= SWIG_From_int((int)(result
));
20491 static PyObject
*_wrap_PrintData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20492 PyObject
*resultobj
;
20493 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20495 PyObject
* obj0
= 0 ;
20496 char *kwnames
[] = {
20497 (char *) "self", NULL
20500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetCollate",kwnames
,&obj0
)) goto fail
;
20501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20502 if (SWIG_arg_fail(1)) SWIG_fail
;
20504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20505 result
= (bool)(arg1
)->GetCollate();
20507 wxPyEndAllowThreads(__tstate
);
20508 if (PyErr_Occurred()) SWIG_fail
;
20511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20519 static PyObject
*_wrap_PrintData_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20520 PyObject
*resultobj
;
20521 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20523 PyObject
* obj0
= 0 ;
20524 char *kwnames
[] = {
20525 (char *) "self", NULL
20528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetOrientation",kwnames
,&obj0
)) goto fail
;
20529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20530 if (SWIG_arg_fail(1)) SWIG_fail
;
20532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20533 result
= (int)(arg1
)->GetOrientation();
20535 wxPyEndAllowThreads(__tstate
);
20536 if (PyErr_Occurred()) SWIG_fail
;
20539 resultobj
= SWIG_From_int((int)(result
));
20547 static PyObject
*_wrap_PrintData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20548 PyObject
*resultobj
;
20549 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20551 PyObject
* obj0
= 0 ;
20552 char *kwnames
[] = {
20553 (char *) "self", NULL
20556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_Ok",kwnames
,&obj0
)) goto fail
;
20557 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20558 if (SWIG_arg_fail(1)) SWIG_fail
;
20560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20561 result
= (bool)(arg1
)->Ok();
20563 wxPyEndAllowThreads(__tstate
);
20564 if (PyErr_Occurred()) SWIG_fail
;
20567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20575 static PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20576 PyObject
*resultobj
;
20577 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20579 PyObject
* obj0
= 0 ;
20580 char *kwnames
[] = {
20581 (char *) "self", NULL
20584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterName",kwnames
,&obj0
)) goto fail
;
20585 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20586 if (SWIG_arg_fail(1)) SWIG_fail
;
20588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20590 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
20591 result
= (wxString
*) &_result_ref
;
20594 wxPyEndAllowThreads(__tstate
);
20595 if (PyErr_Occurred()) SWIG_fail
;
20599 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20601 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20610 static PyObject
*_wrap_PrintData_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20611 PyObject
*resultobj
;
20612 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20614 PyObject
* obj0
= 0 ;
20615 char *kwnames
[] = {
20616 (char *) "self", NULL
20619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetColour",kwnames
,&obj0
)) goto fail
;
20620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20621 if (SWIG_arg_fail(1)) SWIG_fail
;
20623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20624 result
= (bool)(arg1
)->GetColour();
20626 wxPyEndAllowThreads(__tstate
);
20627 if (PyErr_Occurred()) SWIG_fail
;
20630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20638 static PyObject
*_wrap_PrintData_GetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20639 PyObject
*resultobj
;
20640 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20641 wxDuplexMode result
;
20642 PyObject
* obj0
= 0 ;
20643 char *kwnames
[] = {
20644 (char *) "self", NULL
20647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetDuplex",kwnames
,&obj0
)) goto fail
;
20648 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20649 if (SWIG_arg_fail(1)) SWIG_fail
;
20651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20652 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
20654 wxPyEndAllowThreads(__tstate
);
20655 if (PyErr_Occurred()) SWIG_fail
;
20657 resultobj
= SWIG_From_int((result
));
20664 static PyObject
*_wrap_PrintData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20665 PyObject
*resultobj
;
20666 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20667 wxPaperSize result
;
20668 PyObject
* obj0
= 0 ;
20669 char *kwnames
[] = {
20670 (char *) "self", NULL
20673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperId",kwnames
,&obj0
)) goto fail
;
20674 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20675 if (SWIG_arg_fail(1)) SWIG_fail
;
20677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20678 result
= (wxPaperSize
)(arg1
)->GetPaperId();
20680 wxPyEndAllowThreads(__tstate
);
20681 if (PyErr_Occurred()) SWIG_fail
;
20683 resultobj
= SWIG_From_int((result
));
20690 static PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20691 PyObject
*resultobj
;
20692 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20694 PyObject
* obj0
= 0 ;
20695 char *kwnames
[] = {
20696 (char *) "self", NULL
20699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
20700 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20701 if (SWIG_arg_fail(1)) SWIG_fail
;
20703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20705 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
20706 result
= (wxSize
*) &_result_ref
;
20709 wxPyEndAllowThreads(__tstate
);
20710 if (PyErr_Occurred()) SWIG_fail
;
20712 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
20719 static PyObject
*_wrap_PrintData_GetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20720 PyObject
*resultobj
;
20721 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20723 PyObject
* obj0
= 0 ;
20724 char *kwnames
[] = {
20725 (char *) "self", NULL
20728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetQuality",kwnames
,&obj0
)) goto fail
;
20729 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20730 if (SWIG_arg_fail(1)) SWIG_fail
;
20732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20733 result
= (int)(arg1
)->GetQuality();
20735 wxPyEndAllowThreads(__tstate
);
20736 if (PyErr_Occurred()) SWIG_fail
;
20739 resultobj
= SWIG_From_int((int)(result
));
20747 static PyObject
*_wrap_PrintData_GetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20748 PyObject
*resultobj
;
20749 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20751 PyObject
* obj0
= 0 ;
20752 char *kwnames
[] = {
20753 (char *) "self", NULL
20756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetBin",kwnames
,&obj0
)) goto fail
;
20757 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20758 if (SWIG_arg_fail(1)) SWIG_fail
;
20760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20761 result
= (wxPrintBin
)(arg1
)->GetBin();
20763 wxPyEndAllowThreads(__tstate
);
20764 if (PyErr_Occurred()) SWIG_fail
;
20766 resultobj
= SWIG_From_int((result
));
20773 static PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20774 PyObject
*resultobj
;
20775 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20776 wxPrintMode result
;
20777 PyObject
* obj0
= 0 ;
20778 char *kwnames
[] = {
20779 (char *) "self", NULL
20782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20783 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20784 if (SWIG_arg_fail(1)) SWIG_fail
;
20786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20787 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
20789 wxPyEndAllowThreads(__tstate
);
20790 if (PyErr_Occurred()) SWIG_fail
;
20792 resultobj
= SWIG_From_int((result
));
20799 static PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20800 PyObject
*resultobj
;
20801 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20803 PyObject
* obj0
= 0 ;
20804 PyObject
* obj1
= 0 ;
20805 char *kwnames
[] = {
20806 (char *) "self",(char *) "v", NULL
20809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
20810 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20811 if (SWIG_arg_fail(1)) SWIG_fail
;
20813 arg2
= (int)(SWIG_As_int(obj1
));
20814 if (SWIG_arg_fail(2)) SWIG_fail
;
20817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20818 (arg1
)->SetNoCopies(arg2
);
20820 wxPyEndAllowThreads(__tstate
);
20821 if (PyErr_Occurred()) SWIG_fail
;
20823 Py_INCREF(Py_None
); resultobj
= Py_None
;
20830 static PyObject
*_wrap_PrintData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20831 PyObject
*resultobj
;
20832 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20834 PyObject
* obj0
= 0 ;
20835 PyObject
* obj1
= 0 ;
20836 char *kwnames
[] = {
20837 (char *) "self",(char *) "flag", NULL
20840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
20841 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20842 if (SWIG_arg_fail(1)) SWIG_fail
;
20844 arg2
= (bool)(SWIG_As_bool(obj1
));
20845 if (SWIG_arg_fail(2)) SWIG_fail
;
20848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20849 (arg1
)->SetCollate(arg2
);
20851 wxPyEndAllowThreads(__tstate
);
20852 if (PyErr_Occurred()) SWIG_fail
;
20854 Py_INCREF(Py_None
); resultobj
= Py_None
;
20861 static PyObject
*_wrap_PrintData_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20862 PyObject
*resultobj
;
20863 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20865 PyObject
* obj0
= 0 ;
20866 PyObject
* obj1
= 0 ;
20867 char *kwnames
[] = {
20868 (char *) "self",(char *) "orient", NULL
20871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
20872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20873 if (SWIG_arg_fail(1)) SWIG_fail
;
20875 arg2
= (int)(SWIG_As_int(obj1
));
20876 if (SWIG_arg_fail(2)) SWIG_fail
;
20879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20880 (arg1
)->SetOrientation(arg2
);
20882 wxPyEndAllowThreads(__tstate
);
20883 if (PyErr_Occurred()) SWIG_fail
;
20885 Py_INCREF(Py_None
); resultobj
= Py_None
;
20892 static PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20893 PyObject
*resultobj
;
20894 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20895 wxString
*arg2
= 0 ;
20896 bool temp2
= false ;
20897 PyObject
* obj0
= 0 ;
20898 PyObject
* obj1
= 0 ;
20899 char *kwnames
[] = {
20900 (char *) "self",(char *) "name", NULL
20903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) goto fail
;
20904 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20905 if (SWIG_arg_fail(1)) SWIG_fail
;
20907 arg2
= wxString_in_helper(obj1
);
20908 if (arg2
== NULL
) SWIG_fail
;
20912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20913 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
20915 wxPyEndAllowThreads(__tstate
);
20916 if (PyErr_Occurred()) SWIG_fail
;
20918 Py_INCREF(Py_None
); resultobj
= Py_None
;
20933 static PyObject
*_wrap_PrintData_SetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20934 PyObject
*resultobj
;
20935 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20937 PyObject
* obj0
= 0 ;
20938 PyObject
* obj1
= 0 ;
20939 char *kwnames
[] = {
20940 (char *) "self",(char *) "colour", NULL
20943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20945 if (SWIG_arg_fail(1)) SWIG_fail
;
20947 arg2
= (bool)(SWIG_As_bool(obj1
));
20948 if (SWIG_arg_fail(2)) SWIG_fail
;
20951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20952 (arg1
)->SetColour(arg2
);
20954 wxPyEndAllowThreads(__tstate
);
20955 if (PyErr_Occurred()) SWIG_fail
;
20957 Py_INCREF(Py_None
); resultobj
= Py_None
;
20964 static PyObject
*_wrap_PrintData_SetDuplex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20965 PyObject
*resultobj
;
20966 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20967 wxDuplexMode arg2
;
20968 PyObject
* obj0
= 0 ;
20969 PyObject
* obj1
= 0 ;
20970 char *kwnames
[] = {
20971 (char *) "self",(char *) "duplex", NULL
20974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) goto fail
;
20975 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
20976 if (SWIG_arg_fail(1)) SWIG_fail
;
20978 arg2
= (wxDuplexMode
)(SWIG_As_int(obj1
));
20979 if (SWIG_arg_fail(2)) SWIG_fail
;
20982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20983 (arg1
)->SetDuplex((wxDuplexMode
)arg2
);
20985 wxPyEndAllowThreads(__tstate
);
20986 if (PyErr_Occurred()) SWIG_fail
;
20988 Py_INCREF(Py_None
); resultobj
= Py_None
;
20995 static PyObject
*_wrap_PrintData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20996 PyObject
*resultobj
;
20997 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
20999 PyObject
* obj0
= 0 ;
21000 PyObject
* obj1
= 0 ;
21001 char *kwnames
[] = {
21002 (char *) "self",(char *) "sizeId", NULL
21005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
21006 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21007 if (SWIG_arg_fail(1)) SWIG_fail
;
21009 arg2
= (wxPaperSize
)(SWIG_As_int(obj1
));
21010 if (SWIG_arg_fail(2)) SWIG_fail
;
21013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21014 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
21016 wxPyEndAllowThreads(__tstate
);
21017 if (PyErr_Occurred()) SWIG_fail
;
21019 Py_INCREF(Py_None
); resultobj
= Py_None
;
21026 static PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21027 PyObject
*resultobj
;
21028 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21031 PyObject
* obj0
= 0 ;
21032 PyObject
* obj1
= 0 ;
21033 char *kwnames
[] = {
21034 (char *) "self",(char *) "sz", NULL
21037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
21038 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21039 if (SWIG_arg_fail(1)) SWIG_fail
;
21042 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21046 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
21048 wxPyEndAllowThreads(__tstate
);
21049 if (PyErr_Occurred()) SWIG_fail
;
21051 Py_INCREF(Py_None
); resultobj
= Py_None
;
21058 static PyObject
*_wrap_PrintData_SetQuality(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21059 PyObject
*resultobj
;
21060 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21062 PyObject
* obj0
= 0 ;
21063 PyObject
* obj1
= 0 ;
21064 char *kwnames
[] = {
21065 (char *) "self",(char *) "quality", NULL
21068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) goto fail
;
21069 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21070 if (SWIG_arg_fail(1)) SWIG_fail
;
21072 arg2
= (int)(SWIG_As_int(obj1
));
21073 if (SWIG_arg_fail(2)) SWIG_fail
;
21076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21077 (arg1
)->SetQuality(arg2
);
21079 wxPyEndAllowThreads(__tstate
);
21080 if (PyErr_Occurred()) SWIG_fail
;
21082 Py_INCREF(Py_None
); resultobj
= Py_None
;
21089 static PyObject
*_wrap_PrintData_SetBin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21090 PyObject
*resultobj
;
21091 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21093 PyObject
* obj0
= 0 ;
21094 PyObject
* obj1
= 0 ;
21095 char *kwnames
[] = {
21096 (char *) "self",(char *) "bin", NULL
21099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) goto fail
;
21100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21101 if (SWIG_arg_fail(1)) SWIG_fail
;
21103 arg2
= (wxPrintBin
)(SWIG_As_int(obj1
));
21104 if (SWIG_arg_fail(2)) SWIG_fail
;
21107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21108 (arg1
)->SetBin((wxPrintBin
)arg2
);
21110 wxPyEndAllowThreads(__tstate
);
21111 if (PyErr_Occurred()) SWIG_fail
;
21113 Py_INCREF(Py_None
); resultobj
= Py_None
;
21120 static PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21121 PyObject
*resultobj
;
21122 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21124 PyObject
* obj0
= 0 ;
21125 PyObject
* obj1
= 0 ;
21126 char *kwnames
[] = {
21127 (char *) "self",(char *) "printMode", NULL
21130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
21131 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21132 if (SWIG_arg_fail(1)) SWIG_fail
;
21134 arg2
= (wxPrintMode
)(SWIG_As_int(obj1
));
21135 if (SWIG_arg_fail(2)) SWIG_fail
;
21138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21139 (arg1
)->SetPrintMode((wxPrintMode
)arg2
);
21141 wxPyEndAllowThreads(__tstate
);
21142 if (PyErr_Occurred()) SWIG_fail
;
21144 Py_INCREF(Py_None
); resultobj
= Py_None
;
21151 static PyObject
*_wrap_PrintData_GetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21152 PyObject
*resultobj
;
21153 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21155 PyObject
* obj0
= 0 ;
21156 char *kwnames
[] = {
21157 (char *) "self", NULL
21160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFilename",kwnames
,&obj0
)) goto fail
;
21161 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21162 if (SWIG_arg_fail(1)) SWIG_fail
;
21164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21165 result
= ((wxPrintData
const *)arg1
)->GetFilename();
21167 wxPyEndAllowThreads(__tstate
);
21168 if (PyErr_Occurred()) SWIG_fail
;
21172 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21174 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21183 static PyObject
*_wrap_PrintData_SetFilename(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21184 PyObject
*resultobj
;
21185 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21186 wxString
*arg2
= 0 ;
21187 bool temp2
= false ;
21188 PyObject
* obj0
= 0 ;
21189 PyObject
* obj1
= 0 ;
21190 char *kwnames
[] = {
21191 (char *) "self",(char *) "filename", NULL
21194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) goto fail
;
21195 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21196 if (SWIG_arg_fail(1)) SWIG_fail
;
21198 arg2
= wxString_in_helper(obj1
);
21199 if (arg2
== NULL
) SWIG_fail
;
21203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21204 (arg1
)->SetFilename((wxString
const &)*arg2
);
21206 wxPyEndAllowThreads(__tstate
);
21207 if (PyErr_Occurred()) SWIG_fail
;
21209 Py_INCREF(Py_None
); resultobj
= Py_None
;
21224 static PyObject
*_wrap_PrintData_GetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21225 PyObject
*resultobj
;
21226 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21228 PyObject
* obj0
= 0 ;
21229 char *kwnames
[] = {
21230 (char *) "self", NULL
21233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterCommand",kwnames
,&obj0
)) goto fail
;
21234 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21235 if (SWIG_arg_fail(1)) SWIG_fail
;
21237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21239 wxString
const &_result_ref
= (arg1
)->GetPrinterCommand();
21240 result
= (wxString
*) &_result_ref
;
21243 wxPyEndAllowThreads(__tstate
);
21244 if (PyErr_Occurred()) SWIG_fail
;
21248 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21250 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21259 static PyObject
*_wrap_PrintData_GetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21260 PyObject
*resultobj
;
21261 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21263 PyObject
* obj0
= 0 ;
21264 char *kwnames
[] = {
21265 (char *) "self", NULL
21268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterOptions",kwnames
,&obj0
)) goto fail
;
21269 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21270 if (SWIG_arg_fail(1)) SWIG_fail
;
21272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21274 wxString
const &_result_ref
= (arg1
)->GetPrinterOptions();
21275 result
= (wxString
*) &_result_ref
;
21278 wxPyEndAllowThreads(__tstate
);
21279 if (PyErr_Occurred()) SWIG_fail
;
21283 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21285 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21294 static PyObject
*_wrap_PrintData_GetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21295 PyObject
*resultobj
;
21296 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21298 PyObject
* obj0
= 0 ;
21299 char *kwnames
[] = {
21300 (char *) "self", NULL
21303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPreviewCommand",kwnames
,&obj0
)) goto fail
;
21304 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21305 if (SWIG_arg_fail(1)) SWIG_fail
;
21307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21309 wxString
const &_result_ref
= (arg1
)->GetPreviewCommand();
21310 result
= (wxString
*) &_result_ref
;
21313 wxPyEndAllowThreads(__tstate
);
21314 if (PyErr_Occurred()) SWIG_fail
;
21318 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21320 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21329 static PyObject
*_wrap_PrintData_GetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21330 PyObject
*resultobj
;
21331 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21333 PyObject
* obj0
= 0 ;
21334 char *kwnames
[] = {
21335 (char *) "self", NULL
21338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetFontMetricPath",kwnames
,&obj0
)) goto fail
;
21339 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21340 if (SWIG_arg_fail(1)) SWIG_fail
;
21342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21344 wxString
const &_result_ref
= (arg1
)->GetFontMetricPath();
21345 result
= (wxString
*) &_result_ref
;
21348 wxPyEndAllowThreads(__tstate
);
21349 if (PyErr_Occurred()) SWIG_fail
;
21353 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21355 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21364 static PyObject
*_wrap_PrintData_GetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21365 PyObject
*resultobj
;
21366 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21368 PyObject
* obj0
= 0 ;
21369 char *kwnames
[] = {
21370 (char *) "self", NULL
21373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleX",kwnames
,&obj0
)) goto fail
;
21374 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21375 if (SWIG_arg_fail(1)) SWIG_fail
;
21377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21378 result
= (double)(arg1
)->GetPrinterScaleX();
21380 wxPyEndAllowThreads(__tstate
);
21381 if (PyErr_Occurred()) SWIG_fail
;
21384 resultobj
= SWIG_From_double((double)(result
));
21392 static PyObject
*_wrap_PrintData_GetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21393 PyObject
*resultobj
;
21394 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21396 PyObject
* obj0
= 0 ;
21397 char *kwnames
[] = {
21398 (char *) "self", NULL
21401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterScaleY",kwnames
,&obj0
)) goto fail
;
21402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21403 if (SWIG_arg_fail(1)) SWIG_fail
;
21405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21406 result
= (double)(arg1
)->GetPrinterScaleY();
21408 wxPyEndAllowThreads(__tstate
);
21409 if (PyErr_Occurred()) SWIG_fail
;
21412 resultobj
= SWIG_From_double((double)(result
));
21420 static PyObject
*_wrap_PrintData_GetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21421 PyObject
*resultobj
;
21422 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21424 PyObject
* obj0
= 0 ;
21425 char *kwnames
[] = {
21426 (char *) "self", NULL
21429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateX",kwnames
,&obj0
)) goto fail
;
21430 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21431 if (SWIG_arg_fail(1)) SWIG_fail
;
21433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21434 result
= (long)(arg1
)->GetPrinterTranslateX();
21436 wxPyEndAllowThreads(__tstate
);
21437 if (PyErr_Occurred()) SWIG_fail
;
21440 resultobj
= SWIG_From_long((long)(result
));
21448 static PyObject
*_wrap_PrintData_GetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21449 PyObject
*resultobj
;
21450 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21452 PyObject
* obj0
= 0 ;
21453 char *kwnames
[] = {
21454 (char *) "self", NULL
21457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintData_GetPrinterTranslateY",kwnames
,&obj0
)) goto fail
;
21458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21459 if (SWIG_arg_fail(1)) SWIG_fail
;
21461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21462 result
= (long)(arg1
)->GetPrinterTranslateY();
21464 wxPyEndAllowThreads(__tstate
);
21465 if (PyErr_Occurred()) SWIG_fail
;
21468 resultobj
= SWIG_From_long((long)(result
));
21476 static PyObject
*_wrap_PrintData_SetPrinterCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21477 PyObject
*resultobj
;
21478 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21479 wxString
*arg2
= 0 ;
21480 bool temp2
= false ;
21481 PyObject
* obj0
= 0 ;
21482 PyObject
* obj1
= 0 ;
21483 char *kwnames
[] = {
21484 (char *) "self",(char *) "command", NULL
21487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
21488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21489 if (SWIG_arg_fail(1)) SWIG_fail
;
21491 arg2
= wxString_in_helper(obj1
);
21492 if (arg2
== NULL
) SWIG_fail
;
21496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21497 (arg1
)->SetPrinterCommand((wxString
const &)*arg2
);
21499 wxPyEndAllowThreads(__tstate
);
21500 if (PyErr_Occurred()) SWIG_fail
;
21502 Py_INCREF(Py_None
); resultobj
= Py_None
;
21517 static PyObject
*_wrap_PrintData_SetPrinterOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21518 PyObject
*resultobj
;
21519 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21520 wxString
*arg2
= 0 ;
21521 bool temp2
= false ;
21522 PyObject
* obj0
= 0 ;
21523 PyObject
* obj1
= 0 ;
21524 char *kwnames
[] = {
21525 (char *) "self",(char *) "options", NULL
21528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterOptions",kwnames
,&obj0
,&obj1
)) goto fail
;
21529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21530 if (SWIG_arg_fail(1)) SWIG_fail
;
21532 arg2
= wxString_in_helper(obj1
);
21533 if (arg2
== NULL
) SWIG_fail
;
21537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21538 (arg1
)->SetPrinterOptions((wxString
const &)*arg2
);
21540 wxPyEndAllowThreads(__tstate
);
21541 if (PyErr_Occurred()) SWIG_fail
;
21543 Py_INCREF(Py_None
); resultobj
= Py_None
;
21558 static PyObject
*_wrap_PrintData_SetPreviewCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21559 PyObject
*resultobj
;
21560 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21561 wxString
*arg2
= 0 ;
21562 bool temp2
= false ;
21563 PyObject
* obj0
= 0 ;
21564 PyObject
* obj1
= 0 ;
21565 char *kwnames
[] = {
21566 (char *) "self",(char *) "command", NULL
21569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPreviewCommand",kwnames
,&obj0
,&obj1
)) goto fail
;
21570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21571 if (SWIG_arg_fail(1)) SWIG_fail
;
21573 arg2
= wxString_in_helper(obj1
);
21574 if (arg2
== NULL
) SWIG_fail
;
21578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21579 (arg1
)->SetPreviewCommand((wxString
const &)*arg2
);
21581 wxPyEndAllowThreads(__tstate
);
21582 if (PyErr_Occurred()) SWIG_fail
;
21584 Py_INCREF(Py_None
); resultobj
= Py_None
;
21599 static PyObject
*_wrap_PrintData_SetFontMetricPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21600 PyObject
*resultobj
;
21601 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21602 wxString
*arg2
= 0 ;
21603 bool temp2
= false ;
21604 PyObject
* obj0
= 0 ;
21605 PyObject
* obj1
= 0 ;
21606 char *kwnames
[] = {
21607 (char *) "self",(char *) "path", NULL
21610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFontMetricPath",kwnames
,&obj0
,&obj1
)) goto fail
;
21611 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21612 if (SWIG_arg_fail(1)) SWIG_fail
;
21614 arg2
= wxString_in_helper(obj1
);
21615 if (arg2
== NULL
) SWIG_fail
;
21619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21620 (arg1
)->SetFontMetricPath((wxString
const &)*arg2
);
21622 wxPyEndAllowThreads(__tstate
);
21623 if (PyErr_Occurred()) SWIG_fail
;
21625 Py_INCREF(Py_None
); resultobj
= Py_None
;
21640 static PyObject
*_wrap_PrintData_SetPrinterScaleX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21641 PyObject
*resultobj
;
21642 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21644 PyObject
* obj0
= 0 ;
21645 PyObject
* obj1
= 0 ;
21646 char *kwnames
[] = {
21647 (char *) "self",(char *) "x", NULL
21650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleX",kwnames
,&obj0
,&obj1
)) goto fail
;
21651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21652 if (SWIG_arg_fail(1)) SWIG_fail
;
21654 arg2
= (double)(SWIG_As_double(obj1
));
21655 if (SWIG_arg_fail(2)) SWIG_fail
;
21658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21659 (arg1
)->SetPrinterScaleX(arg2
);
21661 wxPyEndAllowThreads(__tstate
);
21662 if (PyErr_Occurred()) SWIG_fail
;
21664 Py_INCREF(Py_None
); resultobj
= Py_None
;
21671 static PyObject
*_wrap_PrintData_SetPrinterScaleY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21672 PyObject
*resultobj
;
21673 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21675 PyObject
* obj0
= 0 ;
21676 PyObject
* obj1
= 0 ;
21677 char *kwnames
[] = {
21678 (char *) "self",(char *) "y", NULL
21681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterScaleY",kwnames
,&obj0
,&obj1
)) goto fail
;
21682 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21683 if (SWIG_arg_fail(1)) SWIG_fail
;
21685 arg2
= (double)(SWIG_As_double(obj1
));
21686 if (SWIG_arg_fail(2)) SWIG_fail
;
21689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21690 (arg1
)->SetPrinterScaleY(arg2
);
21692 wxPyEndAllowThreads(__tstate
);
21693 if (PyErr_Occurred()) SWIG_fail
;
21695 Py_INCREF(Py_None
); resultobj
= Py_None
;
21702 static PyObject
*_wrap_PrintData_SetPrinterScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21703 PyObject
*resultobj
;
21704 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21707 PyObject
* obj0
= 0 ;
21708 PyObject
* obj1
= 0 ;
21709 PyObject
* obj2
= 0 ;
21710 char *kwnames
[] = {
21711 (char *) "self",(char *) "x",(char *) "y", NULL
21714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterScaling",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21715 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21716 if (SWIG_arg_fail(1)) SWIG_fail
;
21718 arg2
= (double)(SWIG_As_double(obj1
));
21719 if (SWIG_arg_fail(2)) SWIG_fail
;
21722 arg3
= (double)(SWIG_As_double(obj2
));
21723 if (SWIG_arg_fail(3)) SWIG_fail
;
21726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21727 (arg1
)->SetPrinterScaling(arg2
,arg3
);
21729 wxPyEndAllowThreads(__tstate
);
21730 if (PyErr_Occurred()) SWIG_fail
;
21732 Py_INCREF(Py_None
); resultobj
= Py_None
;
21739 static PyObject
*_wrap_PrintData_SetPrinterTranslateX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21740 PyObject
*resultobj
;
21741 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21743 PyObject
* obj0
= 0 ;
21744 PyObject
* obj1
= 0 ;
21745 char *kwnames
[] = {
21746 (char *) "self",(char *) "x", NULL
21749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames
,&obj0
,&obj1
)) goto fail
;
21750 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21751 if (SWIG_arg_fail(1)) SWIG_fail
;
21753 arg2
= (long)(SWIG_As_long(obj1
));
21754 if (SWIG_arg_fail(2)) SWIG_fail
;
21757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21758 (arg1
)->SetPrinterTranslateX(arg2
);
21760 wxPyEndAllowThreads(__tstate
);
21761 if (PyErr_Occurred()) SWIG_fail
;
21763 Py_INCREF(Py_None
); resultobj
= Py_None
;
21770 static PyObject
*_wrap_PrintData_SetPrinterTranslateY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21771 PyObject
*resultobj
;
21772 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21774 PyObject
* obj0
= 0 ;
21775 PyObject
* obj1
= 0 ;
21776 char *kwnames
[] = {
21777 (char *) "self",(char *) "y", NULL
21780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames
,&obj0
,&obj1
)) goto fail
;
21781 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21782 if (SWIG_arg_fail(1)) SWIG_fail
;
21784 arg2
= (long)(SWIG_As_long(obj1
));
21785 if (SWIG_arg_fail(2)) SWIG_fail
;
21788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21789 (arg1
)->SetPrinterTranslateY(arg2
);
21791 wxPyEndAllowThreads(__tstate
);
21792 if (PyErr_Occurred()) SWIG_fail
;
21794 Py_INCREF(Py_None
); resultobj
= Py_None
;
21801 static PyObject
*_wrap_PrintData_SetPrinterTranslation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21802 PyObject
*resultobj
;
21803 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
21806 PyObject
* obj0
= 0 ;
21807 PyObject
* obj1
= 0 ;
21808 PyObject
* obj2
= 0 ;
21809 char *kwnames
[] = {
21810 (char *) "self",(char *) "x",(char *) "y", NULL
21813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
21815 if (SWIG_arg_fail(1)) SWIG_fail
;
21817 arg2
= (long)(SWIG_As_long(obj1
));
21818 if (SWIG_arg_fail(2)) SWIG_fail
;
21821 arg3
= (long)(SWIG_As_long(obj2
));
21822 if (SWIG_arg_fail(3)) SWIG_fail
;
21825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21826 (arg1
)->SetPrinterTranslation(arg2
,arg3
);
21828 wxPyEndAllowThreads(__tstate
);
21829 if (PyErr_Occurred()) SWIG_fail
;
21831 Py_INCREF(Py_None
); resultobj
= Py_None
;
21838 static PyObject
* PrintData_swigregister(PyObject
*, PyObject
*args
) {
21840 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21841 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData
, obj
);
21843 return Py_BuildValue((char *)"");
21845 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
21846 PyObject
*resultobj
;
21847 wxPageSetupDialogData
*result
;
21849 if(!PyArg_ParseTuple(args
,(char *)":new_PageSetupDialogData")) goto fail
;
21851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21852 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
21854 wxPyEndAllowThreads(__tstate
);
21855 if (PyErr_Occurred()) SWIG_fail
;
21857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21864 static PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
21865 PyObject
*resultobj
;
21866 wxPageSetupDialogData
*arg1
= 0 ;
21867 wxPageSetupDialogData
*result
;
21868 PyObject
* obj0
= 0 ;
21870 if(!PyArg_ParseTuple(args
,(char *)"O:new_PageSetupDialogData",&obj0
)) goto fail
;
21872 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21873 if (SWIG_arg_fail(1)) SWIG_fail
;
21874 if (arg1
== NULL
) {
21875 SWIG_null_ref("wxPageSetupDialogData");
21877 if (SWIG_arg_fail(1)) SWIG_fail
;
21880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21881 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
21883 wxPyEndAllowThreads(__tstate
);
21884 if (PyErr_Occurred()) SWIG_fail
;
21886 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 1);
21893 static PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
21898 argc
= PyObject_Length(args
);
21899 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
21900 argv
[ii
] = PyTuple_GetItem(args
,ii
);
21903 return _wrap_new_PageSetupDialogData__SWIG_0(self
,args
);
21909 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPageSetupDialogData
, 0) == -1) {
21917 return _wrap_new_PageSetupDialogData__SWIG_1(self
,args
);
21921 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
21926 static PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21927 PyObject
*resultobj
;
21928 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21929 PyObject
* obj0
= 0 ;
21930 char *kwnames
[] = {
21931 (char *) "self", NULL
21934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PageSetupDialogData",kwnames
,&obj0
)) goto fail
;
21935 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21936 if (SWIG_arg_fail(1)) SWIG_fail
;
21938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21941 wxPyEndAllowThreads(__tstate
);
21942 if (PyErr_Occurred()) SWIG_fail
;
21944 Py_INCREF(Py_None
); resultobj
= Py_None
;
21951 static PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21952 PyObject
*resultobj
;
21953 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21955 PyObject
* obj0
= 0 ;
21956 PyObject
* obj1
= 0 ;
21957 char *kwnames
[] = {
21958 (char *) "self",(char *) "flag", NULL
21961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
21962 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21963 if (SWIG_arg_fail(1)) SWIG_fail
;
21965 arg2
= (bool)(SWIG_As_bool(obj1
));
21966 if (SWIG_arg_fail(2)) SWIG_fail
;
21969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21970 (arg1
)->EnableHelp(arg2
);
21972 wxPyEndAllowThreads(__tstate
);
21973 if (PyErr_Occurred()) SWIG_fail
;
21975 Py_INCREF(Py_None
); resultobj
= Py_None
;
21982 static PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21983 PyObject
*resultobj
;
21984 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
21986 PyObject
* obj0
= 0 ;
21987 PyObject
* obj1
= 0 ;
21988 char *kwnames
[] = {
21989 (char *) "self",(char *) "flag", NULL
21992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
21993 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
21994 if (SWIG_arg_fail(1)) SWIG_fail
;
21996 arg2
= (bool)(SWIG_As_bool(obj1
));
21997 if (SWIG_arg_fail(2)) SWIG_fail
;
22000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22001 (arg1
)->EnableMargins(arg2
);
22003 wxPyEndAllowThreads(__tstate
);
22004 if (PyErr_Occurred()) SWIG_fail
;
22006 Py_INCREF(Py_None
); resultobj
= Py_None
;
22013 static PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22014 PyObject
*resultobj
;
22015 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22017 PyObject
* obj0
= 0 ;
22018 PyObject
* obj1
= 0 ;
22019 char *kwnames
[] = {
22020 (char *) "self",(char *) "flag", NULL
22023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
22024 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22025 if (SWIG_arg_fail(1)) SWIG_fail
;
22027 arg2
= (bool)(SWIG_As_bool(obj1
));
22028 if (SWIG_arg_fail(2)) SWIG_fail
;
22031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22032 (arg1
)->EnableOrientation(arg2
);
22034 wxPyEndAllowThreads(__tstate
);
22035 if (PyErr_Occurred()) SWIG_fail
;
22037 Py_INCREF(Py_None
); resultobj
= Py_None
;
22044 static PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22045 PyObject
*resultobj
;
22046 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22048 PyObject
* obj0
= 0 ;
22049 PyObject
* obj1
= 0 ;
22050 char *kwnames
[] = {
22051 (char *) "self",(char *) "flag", NULL
22054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) goto fail
;
22055 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22056 if (SWIG_arg_fail(1)) SWIG_fail
;
22058 arg2
= (bool)(SWIG_As_bool(obj1
));
22059 if (SWIG_arg_fail(2)) SWIG_fail
;
22062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22063 (arg1
)->EnablePaper(arg2
);
22065 wxPyEndAllowThreads(__tstate
);
22066 if (PyErr_Occurred()) SWIG_fail
;
22068 Py_INCREF(Py_None
); resultobj
= Py_None
;
22075 static PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22076 PyObject
*resultobj
;
22077 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22079 PyObject
* obj0
= 0 ;
22080 PyObject
* obj1
= 0 ;
22081 char *kwnames
[] = {
22082 (char *) "self",(char *) "flag", NULL
22085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) goto fail
;
22086 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22087 if (SWIG_arg_fail(1)) SWIG_fail
;
22089 arg2
= (bool)(SWIG_As_bool(obj1
));
22090 if (SWIG_arg_fail(2)) SWIG_fail
;
22093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22094 (arg1
)->EnablePrinter(arg2
);
22096 wxPyEndAllowThreads(__tstate
);
22097 if (PyErr_Occurred()) SWIG_fail
;
22099 Py_INCREF(Py_None
); resultobj
= Py_None
;
22106 static PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22107 PyObject
*resultobj
;
22108 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22110 PyObject
* obj0
= 0 ;
22111 char *kwnames
[] = {
22112 (char *) "self", NULL
22115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames
,&obj0
)) goto fail
;
22116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22117 if (SWIG_arg_fail(1)) SWIG_fail
;
22119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22120 result
= (bool)(arg1
)->GetDefaultMinMargins();
22122 wxPyEndAllowThreads(__tstate
);
22123 if (PyErr_Occurred()) SWIG_fail
;
22126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22134 static PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22135 PyObject
*resultobj
;
22136 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22138 PyObject
* obj0
= 0 ;
22139 char *kwnames
[] = {
22140 (char *) "self", NULL
22143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames
,&obj0
)) goto fail
;
22144 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22145 if (SWIG_arg_fail(1)) SWIG_fail
;
22147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22148 result
= (bool)(arg1
)->GetEnableMargins();
22150 wxPyEndAllowThreads(__tstate
);
22151 if (PyErr_Occurred()) SWIG_fail
;
22154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22162 static PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22163 PyObject
*resultobj
;
22164 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22166 PyObject
* obj0
= 0 ;
22167 char *kwnames
[] = {
22168 (char *) "self", NULL
22171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames
,&obj0
)) goto fail
;
22172 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22173 if (SWIG_arg_fail(1)) SWIG_fail
;
22175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22176 result
= (bool)(arg1
)->GetEnableOrientation();
22178 wxPyEndAllowThreads(__tstate
);
22179 if (PyErr_Occurred()) SWIG_fail
;
22182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22190 static PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22191 PyObject
*resultobj
;
22192 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22194 PyObject
* obj0
= 0 ;
22195 char *kwnames
[] = {
22196 (char *) "self", NULL
22199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames
,&obj0
)) goto fail
;
22200 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22201 if (SWIG_arg_fail(1)) SWIG_fail
;
22203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22204 result
= (bool)(arg1
)->GetEnablePaper();
22206 wxPyEndAllowThreads(__tstate
);
22207 if (PyErr_Occurred()) SWIG_fail
;
22210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22218 static PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22219 PyObject
*resultobj
;
22220 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22222 PyObject
* obj0
= 0 ;
22223 char *kwnames
[] = {
22224 (char *) "self", NULL
22227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames
,&obj0
)) goto fail
;
22228 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22229 if (SWIG_arg_fail(1)) SWIG_fail
;
22231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22232 result
= (bool)(arg1
)->GetEnablePrinter();
22234 wxPyEndAllowThreads(__tstate
);
22235 if (PyErr_Occurred()) SWIG_fail
;
22238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22246 static PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22247 PyObject
*resultobj
;
22248 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22250 PyObject
* obj0
= 0 ;
22251 char *kwnames
[] = {
22252 (char *) "self", NULL
22255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
22256 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22257 if (SWIG_arg_fail(1)) SWIG_fail
;
22259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22260 result
= (bool)(arg1
)->GetEnableHelp();
22262 wxPyEndAllowThreads(__tstate
);
22263 if (PyErr_Occurred()) SWIG_fail
;
22266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22274 static PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22275 PyObject
*resultobj
;
22276 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22278 PyObject
* obj0
= 0 ;
22279 char *kwnames
[] = {
22280 (char *) "self", NULL
22283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames
,&obj0
)) goto fail
;
22284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22285 if (SWIG_arg_fail(1)) SWIG_fail
;
22287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22288 result
= (bool)(arg1
)->GetDefaultInfo();
22290 wxPyEndAllowThreads(__tstate
);
22291 if (PyErr_Occurred()) SWIG_fail
;
22294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22302 static PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22303 PyObject
*resultobj
;
22304 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22306 PyObject
* obj0
= 0 ;
22307 char *kwnames
[] = {
22308 (char *) "self", NULL
22311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames
,&obj0
)) goto fail
;
22312 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22313 if (SWIG_arg_fail(1)) SWIG_fail
;
22315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22316 result
= (arg1
)->GetMarginTopLeft();
22318 wxPyEndAllowThreads(__tstate
);
22319 if (PyErr_Occurred()) SWIG_fail
;
22322 wxPoint
* resultptr
;
22323 resultptr
= new wxPoint((wxPoint
&)(result
));
22324 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22332 static PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22333 PyObject
*resultobj
;
22334 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22336 PyObject
* obj0
= 0 ;
22337 char *kwnames
[] = {
22338 (char *) "self", NULL
22341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames
,&obj0
)) goto fail
;
22342 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22343 if (SWIG_arg_fail(1)) SWIG_fail
;
22345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22346 result
= (arg1
)->GetMarginBottomRight();
22348 wxPyEndAllowThreads(__tstate
);
22349 if (PyErr_Occurred()) SWIG_fail
;
22352 wxPoint
* resultptr
;
22353 resultptr
= new wxPoint((wxPoint
&)(result
));
22354 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22362 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22363 PyObject
*resultobj
;
22364 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22366 PyObject
* obj0
= 0 ;
22367 char *kwnames
[] = {
22368 (char *) "self", NULL
22371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames
,&obj0
)) goto fail
;
22372 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22373 if (SWIG_arg_fail(1)) SWIG_fail
;
22375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22376 result
= (arg1
)->GetMinMarginTopLeft();
22378 wxPyEndAllowThreads(__tstate
);
22379 if (PyErr_Occurred()) SWIG_fail
;
22382 wxPoint
* resultptr
;
22383 resultptr
= new wxPoint((wxPoint
&)(result
));
22384 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22392 static PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22393 PyObject
*resultobj
;
22394 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22396 PyObject
* obj0
= 0 ;
22397 char *kwnames
[] = {
22398 (char *) "self", NULL
22401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames
,&obj0
)) goto fail
;
22402 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22403 if (SWIG_arg_fail(1)) SWIG_fail
;
22405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22406 result
= (arg1
)->GetMinMarginBottomRight();
22408 wxPyEndAllowThreads(__tstate
);
22409 if (PyErr_Occurred()) SWIG_fail
;
22412 wxPoint
* resultptr
;
22413 resultptr
= new wxPoint((wxPoint
&)(result
));
22414 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22422 static PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22423 PyObject
*resultobj
;
22424 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22425 wxPaperSize result
;
22426 PyObject
* obj0
= 0 ;
22427 char *kwnames
[] = {
22428 (char *) "self", NULL
22431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperId",kwnames
,&obj0
)) goto fail
;
22432 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22433 if (SWIG_arg_fail(1)) SWIG_fail
;
22435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22436 result
= (wxPaperSize
)(arg1
)->GetPaperId();
22438 wxPyEndAllowThreads(__tstate
);
22439 if (PyErr_Occurred()) SWIG_fail
;
22441 resultobj
= SWIG_From_int((result
));
22448 static PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22449 PyObject
*resultobj
;
22450 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22452 PyObject
* obj0
= 0 ;
22453 char *kwnames
[] = {
22454 (char *) "self", NULL
22457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames
,&obj0
)) goto fail
;
22458 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22459 if (SWIG_arg_fail(1)) SWIG_fail
;
22461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22462 result
= (arg1
)->GetPaperSize();
22464 wxPyEndAllowThreads(__tstate
);
22465 if (PyErr_Occurred()) SWIG_fail
;
22468 wxSize
* resultptr
;
22469 resultptr
= new wxSize((wxSize
&)(result
));
22470 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22478 static PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22479 PyObject
*resultobj
;
22480 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22481 wxPrintData
*result
;
22482 PyObject
* obj0
= 0 ;
22483 char *kwnames
[] = {
22484 (char *) "self", NULL
22487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
22488 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22489 if (SWIG_arg_fail(1)) SWIG_fail
;
22491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22493 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
22494 result
= (wxPrintData
*) &_result_ref
;
22497 wxPyEndAllowThreads(__tstate
);
22498 if (PyErr_Occurred()) SWIG_fail
;
22500 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
22507 static PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22508 PyObject
*resultobj
;
22509 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22511 PyObject
* obj0
= 0 ;
22512 char *kwnames
[] = {
22513 (char *) "self", NULL
22516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialogData_Ok",kwnames
,&obj0
)) goto fail
;
22517 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22518 if (SWIG_arg_fail(1)) SWIG_fail
;
22520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22521 result
= (bool)(arg1
)->Ok();
22523 wxPyEndAllowThreads(__tstate
);
22524 if (PyErr_Occurred()) SWIG_fail
;
22527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22535 static PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22536 PyObject
*resultobj
;
22537 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22539 PyObject
* obj0
= 0 ;
22540 PyObject
* obj1
= 0 ;
22541 char *kwnames
[] = {
22542 (char *) "self",(char *) "flag", NULL
22545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
22546 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22547 if (SWIG_arg_fail(1)) SWIG_fail
;
22549 arg2
= (bool)(SWIG_As_bool(obj1
));
22550 if (SWIG_arg_fail(2)) SWIG_fail
;
22553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22554 (arg1
)->SetDefaultInfo(arg2
);
22556 wxPyEndAllowThreads(__tstate
);
22557 if (PyErr_Occurred()) SWIG_fail
;
22559 Py_INCREF(Py_None
); resultobj
= Py_None
;
22566 static PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22567 PyObject
*resultobj
;
22568 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22570 PyObject
* obj0
= 0 ;
22571 PyObject
* obj1
= 0 ;
22572 char *kwnames
[] = {
22573 (char *) "self",(char *) "flag", NULL
22576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
22577 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22578 if (SWIG_arg_fail(1)) SWIG_fail
;
22580 arg2
= (bool)(SWIG_As_bool(obj1
));
22581 if (SWIG_arg_fail(2)) SWIG_fail
;
22584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22585 (arg1
)->SetDefaultMinMargins(arg2
);
22587 wxPyEndAllowThreads(__tstate
);
22588 if (PyErr_Occurred()) SWIG_fail
;
22590 Py_INCREF(Py_None
); resultobj
= Py_None
;
22597 static PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22598 PyObject
*resultobj
;
22599 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22600 wxPoint
*arg2
= 0 ;
22602 PyObject
* obj0
= 0 ;
22603 PyObject
* obj1
= 0 ;
22604 char *kwnames
[] = {
22605 (char *) "self",(char *) "pt", NULL
22608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22609 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22610 if (SWIG_arg_fail(1)) SWIG_fail
;
22613 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22617 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
22619 wxPyEndAllowThreads(__tstate
);
22620 if (PyErr_Occurred()) SWIG_fail
;
22622 Py_INCREF(Py_None
); resultobj
= Py_None
;
22629 static PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22630 PyObject
*resultobj
;
22631 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22632 wxPoint
*arg2
= 0 ;
22634 PyObject
* obj0
= 0 ;
22635 PyObject
* obj1
= 0 ;
22636 char *kwnames
[] = {
22637 (char *) "self",(char *) "pt", NULL
22640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
22641 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22642 if (SWIG_arg_fail(1)) SWIG_fail
;
22645 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22649 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
22651 wxPyEndAllowThreads(__tstate
);
22652 if (PyErr_Occurred()) SWIG_fail
;
22654 Py_INCREF(Py_None
); resultobj
= Py_None
;
22661 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22662 PyObject
*resultobj
;
22663 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22664 wxPoint
*arg2
= 0 ;
22666 PyObject
* obj0
= 0 ;
22667 PyObject
* obj1
= 0 ;
22668 char *kwnames
[] = {
22669 (char *) "self",(char *) "pt", NULL
22672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
22673 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22674 if (SWIG_arg_fail(1)) SWIG_fail
;
22677 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22681 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
22683 wxPyEndAllowThreads(__tstate
);
22684 if (PyErr_Occurred()) SWIG_fail
;
22686 Py_INCREF(Py_None
); resultobj
= Py_None
;
22693 static PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22694 PyObject
*resultobj
;
22695 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22696 wxPoint
*arg2
= 0 ;
22698 PyObject
* obj0
= 0 ;
22699 PyObject
* obj1
= 0 ;
22700 char *kwnames
[] = {
22701 (char *) "self",(char *) "pt", NULL
22704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
22705 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22706 if (SWIG_arg_fail(1)) SWIG_fail
;
22709 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22713 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
22715 wxPyEndAllowThreads(__tstate
);
22716 if (PyErr_Occurred()) SWIG_fail
;
22718 Py_INCREF(Py_None
); resultobj
= Py_None
;
22725 static PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22726 PyObject
*resultobj
;
22727 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22729 PyObject
* obj0
= 0 ;
22730 PyObject
* obj1
= 0 ;
22731 char *kwnames
[] = {
22732 (char *) "self",(char *) "id", NULL
22735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) goto fail
;
22736 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22737 if (SWIG_arg_fail(1)) SWIG_fail
;
22739 arg2
= (wxPaperSize
)(SWIG_As_int(obj1
));
22740 if (SWIG_arg_fail(2)) SWIG_fail
;
22743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22744 (arg1
)->SetPaperId((wxPaperSize
)arg2
);
22746 wxPyEndAllowThreads(__tstate
);
22747 if (PyErr_Occurred()) SWIG_fail
;
22749 Py_INCREF(Py_None
); resultobj
= Py_None
;
22756 static PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22757 PyObject
*resultobj
;
22758 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22761 PyObject
* obj0
= 0 ;
22762 PyObject
* obj1
= 0 ;
22763 char *kwnames
[] = {
22764 (char *) "self",(char *) "size", NULL
22767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22768 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22769 if (SWIG_arg_fail(1)) SWIG_fail
;
22772 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22776 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
22778 wxPyEndAllowThreads(__tstate
);
22779 if (PyErr_Occurred()) SWIG_fail
;
22781 Py_INCREF(Py_None
); resultobj
= Py_None
;
22788 static PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22789 PyObject
*resultobj
;
22790 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
22791 wxPrintData
*arg2
= 0 ;
22792 PyObject
* obj0
= 0 ;
22793 PyObject
* obj1
= 0 ;
22794 char *kwnames
[] = {
22795 (char *) "self",(char *) "printData", NULL
22798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
22799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22800 if (SWIG_arg_fail(1)) SWIG_fail
;
22802 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
22803 if (SWIG_arg_fail(2)) SWIG_fail
;
22804 if (arg2
== NULL
) {
22805 SWIG_null_ref("wxPrintData");
22807 if (SWIG_arg_fail(2)) SWIG_fail
;
22810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22811 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
22813 wxPyEndAllowThreads(__tstate
);
22814 if (PyErr_Occurred()) SWIG_fail
;
22816 Py_INCREF(Py_None
); resultobj
= Py_None
;
22823 static PyObject
* PageSetupDialogData_swigregister(PyObject
*, PyObject
*args
) {
22825 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22826 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData
, obj
);
22828 return Py_BuildValue((char *)"");
22830 static PyObject
*_wrap_new_PageSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22831 PyObject
*resultobj
;
22832 wxWindow
*arg1
= (wxWindow
*) 0 ;
22833 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
22834 wxPageSetupDialog
*result
;
22835 PyObject
* obj0
= 0 ;
22836 PyObject
* obj1
= 0 ;
22837 char *kwnames
[] = {
22838 (char *) "parent",(char *) "data", NULL
22841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
22842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
22843 if (SWIG_arg_fail(1)) SWIG_fail
;
22845 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_EXCEPTION
| 0);
22846 if (SWIG_arg_fail(2)) SWIG_fail
;
22849 if (!wxPyCheckForApp()) SWIG_fail
;
22850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22851 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
22853 wxPyEndAllowThreads(__tstate
);
22854 if (PyErr_Occurred()) SWIG_fail
;
22856 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialog
, 1);
22863 static PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22864 PyObject
*resultobj
;
22865 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22866 wxPageSetupDialogData
*result
;
22867 PyObject
* obj0
= 0 ;
22868 char *kwnames
[] = {
22869 (char *) "self", NULL
22872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames
,&obj0
)) goto fail
;
22873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22874 if (SWIG_arg_fail(1)) SWIG_fail
;
22876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22878 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
22879 result
= (wxPageSetupDialogData
*) &_result_ref
;
22882 wxPyEndAllowThreads(__tstate
);
22883 if (PyErr_Occurred()) SWIG_fail
;
22885 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
22892 static PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22893 PyObject
*resultobj
;
22894 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22895 wxPageSetupDialogData
*result
;
22896 PyObject
* obj0
= 0 ;
22897 char *kwnames
[] = {
22898 (char *) "self", NULL
22901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_GetPageSetupDialogData",kwnames
,&obj0
)) goto fail
;
22902 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22903 if (SWIG_arg_fail(1)) SWIG_fail
;
22905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22907 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
22908 result
= (wxPageSetupDialogData
*) &_result_ref
;
22911 wxPyEndAllowThreads(__tstate
);
22912 if (PyErr_Occurred()) SWIG_fail
;
22914 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0);
22921 static PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22922 PyObject
*resultobj
;
22923 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
22925 PyObject
* obj0
= 0 ;
22926 char *kwnames
[] = {
22927 (char *) "self", NULL
22930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PageSetupDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
22931 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_EXCEPTION
| 0);
22932 if (SWIG_arg_fail(1)) SWIG_fail
;
22934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22935 result
= (int)(arg1
)->ShowModal();
22937 wxPyEndAllowThreads(__tstate
);
22938 if (PyErr_Occurred()) SWIG_fail
;
22941 resultobj
= SWIG_From_int((int)(result
));
22949 static PyObject
* PageSetupDialog_swigregister(PyObject
*, PyObject
*args
) {
22951 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22952 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog
, obj
);
22954 return Py_BuildValue((char *)"");
22956 static PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*, PyObject
*args
) {
22957 PyObject
*resultobj
;
22958 wxPrintDialogData
*result
;
22960 if(!PyArg_ParseTuple(args
,(char *)":new_PrintDialogData")) goto fail
;
22962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22963 result
= (wxPrintDialogData
*)new wxPrintDialogData();
22965 wxPyEndAllowThreads(__tstate
);
22966 if (PyErr_Occurred()) SWIG_fail
;
22968 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
22975 static PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*, PyObject
*args
) {
22976 PyObject
*resultobj
;
22977 wxPrintData
*arg1
= 0 ;
22978 wxPrintDialogData
*result
;
22979 PyObject
* obj0
= 0 ;
22981 if(!PyArg_ParseTuple(args
,(char *)"O:new_PrintDialogData",&obj0
)) goto fail
;
22983 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
22984 if (SWIG_arg_fail(1)) SWIG_fail
;
22985 if (arg1
== NULL
) {
22986 SWIG_null_ref("wxPrintData");
22988 if (SWIG_arg_fail(1)) SWIG_fail
;
22991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22992 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
22994 wxPyEndAllowThreads(__tstate
);
22995 if (PyErr_Occurred()) SWIG_fail
;
22997 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 1);
23004 static PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
23009 argc
= PyObject_Length(args
);
23010 for (ii
= 0; (ii
< argc
) && (ii
< 1); ii
++) {
23011 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23014 return _wrap_new_PrintDialogData__SWIG_0(self
,args
);
23020 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
23028 return _wrap_new_PrintDialogData__SWIG_1(self
,args
);
23032 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
23037 static PyObject
*_wrap_delete_PrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23038 PyObject
*resultobj
;
23039 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23040 PyObject
* obj0
= 0 ;
23041 char *kwnames
[] = {
23042 (char *) "self", NULL
23045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PrintDialogData",kwnames
,&obj0
)) goto fail
;
23046 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23047 if (SWIG_arg_fail(1)) SWIG_fail
;
23049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23052 wxPyEndAllowThreads(__tstate
);
23053 if (PyErr_Occurred()) SWIG_fail
;
23055 Py_INCREF(Py_None
); resultobj
= Py_None
;
23062 static PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23063 PyObject
*resultobj
;
23064 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23066 PyObject
* obj0
= 0 ;
23067 char *kwnames
[] = {
23068 (char *) "self", NULL
23071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetFromPage",kwnames
,&obj0
)) goto fail
;
23072 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23073 if (SWIG_arg_fail(1)) SWIG_fail
;
23075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23076 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
23078 wxPyEndAllowThreads(__tstate
);
23079 if (PyErr_Occurred()) SWIG_fail
;
23082 resultobj
= SWIG_From_int((int)(result
));
23090 static PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23091 PyObject
*resultobj
;
23092 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23094 PyObject
* obj0
= 0 ;
23095 char *kwnames
[] = {
23096 (char *) "self", NULL
23099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetToPage",kwnames
,&obj0
)) goto fail
;
23100 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23101 if (SWIG_arg_fail(1)) SWIG_fail
;
23103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23104 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
23106 wxPyEndAllowThreads(__tstate
);
23107 if (PyErr_Occurred()) SWIG_fail
;
23110 resultobj
= SWIG_From_int((int)(result
));
23118 static PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23119 PyObject
*resultobj
;
23120 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23122 PyObject
* obj0
= 0 ;
23123 char *kwnames
[] = {
23124 (char *) "self", NULL
23127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMinPage",kwnames
,&obj0
)) goto fail
;
23128 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23129 if (SWIG_arg_fail(1)) SWIG_fail
;
23131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23132 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
23134 wxPyEndAllowThreads(__tstate
);
23135 if (PyErr_Occurred()) SWIG_fail
;
23138 resultobj
= SWIG_From_int((int)(result
));
23146 static PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23147 PyObject
*resultobj
;
23148 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23150 PyObject
* obj0
= 0 ;
23151 char *kwnames
[] = {
23152 (char *) "self", NULL
23155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetMaxPage",kwnames
,&obj0
)) goto fail
;
23156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23157 if (SWIG_arg_fail(1)) SWIG_fail
;
23159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23160 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
23162 wxPyEndAllowThreads(__tstate
);
23163 if (PyErr_Occurred()) SWIG_fail
;
23166 resultobj
= SWIG_From_int((int)(result
));
23174 static PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23175 PyObject
*resultobj
;
23176 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23178 PyObject
* obj0
= 0 ;
23179 char *kwnames
[] = {
23180 (char *) "self", NULL
23183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetNoCopies",kwnames
,&obj0
)) goto fail
;
23184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23185 if (SWIG_arg_fail(1)) SWIG_fail
;
23187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23188 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
23190 wxPyEndAllowThreads(__tstate
);
23191 if (PyErr_Occurred()) SWIG_fail
;
23194 resultobj
= SWIG_From_int((int)(result
));
23202 static PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23203 PyObject
*resultobj
;
23204 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23206 PyObject
* obj0
= 0 ;
23207 char *kwnames
[] = {
23208 (char *) "self", NULL
23211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetAllPages",kwnames
,&obj0
)) goto fail
;
23212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23213 if (SWIG_arg_fail(1)) SWIG_fail
;
23215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23216 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
23218 wxPyEndAllowThreads(__tstate
);
23219 if (PyErr_Occurred()) SWIG_fail
;
23222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23230 static PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23231 PyObject
*resultobj
;
23232 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23234 PyObject
* obj0
= 0 ;
23235 char *kwnames
[] = {
23236 (char *) "self", NULL
23239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSelection",kwnames
,&obj0
)) goto fail
;
23240 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23241 if (SWIG_arg_fail(1)) SWIG_fail
;
23243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23244 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
23246 wxPyEndAllowThreads(__tstate
);
23247 if (PyErr_Occurred()) SWIG_fail
;
23250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23258 static PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23259 PyObject
*resultobj
;
23260 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23262 PyObject
* obj0
= 0 ;
23263 char *kwnames
[] = {
23264 (char *) "self", NULL
23267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetCollate",kwnames
,&obj0
)) goto fail
;
23268 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23269 if (SWIG_arg_fail(1)) SWIG_fail
;
23271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23272 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
23274 wxPyEndAllowThreads(__tstate
);
23275 if (PyErr_Occurred()) SWIG_fail
;
23278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23286 static PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23287 PyObject
*resultobj
;
23288 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23290 PyObject
* obj0
= 0 ;
23291 char *kwnames
[] = {
23292 (char *) "self", NULL
23295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintToFile",kwnames
,&obj0
)) goto fail
;
23296 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23297 if (SWIG_arg_fail(1)) SWIG_fail
;
23299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23300 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
23302 wxPyEndAllowThreads(__tstate
);
23303 if (PyErr_Occurred()) SWIG_fail
;
23306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23314 static PyObject
*_wrap_PrintDialogData_GetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23315 PyObject
*resultobj
;
23316 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23318 PyObject
* obj0
= 0 ;
23319 char *kwnames
[] = {
23320 (char *) "self", NULL
23323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetSetupDialog",kwnames
,&obj0
)) goto fail
;
23324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23325 if (SWIG_arg_fail(1)) SWIG_fail
;
23327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23328 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSetupDialog();
23330 wxPyEndAllowThreads(__tstate
);
23331 if (PyErr_Occurred()) SWIG_fail
;
23334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23342 static PyObject
*_wrap_PrintDialogData_SetSetupDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23343 PyObject
*resultobj
;
23344 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23346 PyObject
* obj0
= 0 ;
23347 PyObject
* obj1
= 0 ;
23348 char *kwnames
[] = {
23349 (char *) "self",(char *) "flag", NULL
23352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
23353 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23354 if (SWIG_arg_fail(1)) SWIG_fail
;
23356 arg2
= (bool)(SWIG_As_bool(obj1
));
23357 if (SWIG_arg_fail(2)) SWIG_fail
;
23360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23361 (arg1
)->SetSetupDialog(arg2
);
23363 wxPyEndAllowThreads(__tstate
);
23364 if (PyErr_Occurred()) SWIG_fail
;
23366 Py_INCREF(Py_None
); resultobj
= Py_None
;
23373 static PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23374 PyObject
*resultobj
;
23375 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23377 PyObject
* obj0
= 0 ;
23378 PyObject
* obj1
= 0 ;
23379 char *kwnames
[] = {
23380 (char *) "self",(char *) "v", NULL
23383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23384 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23385 if (SWIG_arg_fail(1)) SWIG_fail
;
23387 arg2
= (int)(SWIG_As_int(obj1
));
23388 if (SWIG_arg_fail(2)) SWIG_fail
;
23391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23392 (arg1
)->SetFromPage(arg2
);
23394 wxPyEndAllowThreads(__tstate
);
23395 if (PyErr_Occurred()) SWIG_fail
;
23397 Py_INCREF(Py_None
); resultobj
= Py_None
;
23404 static PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23405 PyObject
*resultobj
;
23406 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23408 PyObject
* obj0
= 0 ;
23409 PyObject
* obj1
= 0 ;
23410 char *kwnames
[] = {
23411 (char *) "self",(char *) "v", NULL
23414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23416 if (SWIG_arg_fail(1)) SWIG_fail
;
23418 arg2
= (int)(SWIG_As_int(obj1
));
23419 if (SWIG_arg_fail(2)) SWIG_fail
;
23422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23423 (arg1
)->SetToPage(arg2
);
23425 wxPyEndAllowThreads(__tstate
);
23426 if (PyErr_Occurred()) SWIG_fail
;
23428 Py_INCREF(Py_None
); resultobj
= Py_None
;
23435 static PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23436 PyObject
*resultobj
;
23437 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23439 PyObject
* obj0
= 0 ;
23440 PyObject
* obj1
= 0 ;
23441 char *kwnames
[] = {
23442 (char *) "self",(char *) "v", NULL
23445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23446 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23447 if (SWIG_arg_fail(1)) SWIG_fail
;
23449 arg2
= (int)(SWIG_As_int(obj1
));
23450 if (SWIG_arg_fail(2)) SWIG_fail
;
23453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23454 (arg1
)->SetMinPage(arg2
);
23456 wxPyEndAllowThreads(__tstate
);
23457 if (PyErr_Occurred()) SWIG_fail
;
23459 Py_INCREF(Py_None
); resultobj
= Py_None
;
23466 static PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23467 PyObject
*resultobj
;
23468 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23470 PyObject
* obj0
= 0 ;
23471 PyObject
* obj1
= 0 ;
23472 char *kwnames
[] = {
23473 (char *) "self",(char *) "v", NULL
23476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) goto fail
;
23477 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23478 if (SWIG_arg_fail(1)) SWIG_fail
;
23480 arg2
= (int)(SWIG_As_int(obj1
));
23481 if (SWIG_arg_fail(2)) SWIG_fail
;
23484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23485 (arg1
)->SetMaxPage(arg2
);
23487 wxPyEndAllowThreads(__tstate
);
23488 if (PyErr_Occurred()) SWIG_fail
;
23490 Py_INCREF(Py_None
); resultobj
= Py_None
;
23497 static PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23498 PyObject
*resultobj
;
23499 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23501 PyObject
* obj0
= 0 ;
23502 PyObject
* obj1
= 0 ;
23503 char *kwnames
[] = {
23504 (char *) "self",(char *) "v", NULL
23507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) goto fail
;
23508 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23509 if (SWIG_arg_fail(1)) SWIG_fail
;
23511 arg2
= (int)(SWIG_As_int(obj1
));
23512 if (SWIG_arg_fail(2)) SWIG_fail
;
23515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23516 (arg1
)->SetNoCopies(arg2
);
23518 wxPyEndAllowThreads(__tstate
);
23519 if (PyErr_Occurred()) SWIG_fail
;
23521 Py_INCREF(Py_None
); resultobj
= Py_None
;
23528 static PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23529 PyObject
*resultobj
;
23530 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23532 PyObject
* obj0
= 0 ;
23533 PyObject
* obj1
= 0 ;
23534 char *kwnames
[] = {
23535 (char *) "self",(char *) "flag", NULL
23538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) goto fail
;
23539 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23540 if (SWIG_arg_fail(1)) SWIG_fail
;
23542 arg2
= (bool)(SWIG_As_bool(obj1
));
23543 if (SWIG_arg_fail(2)) SWIG_fail
;
23546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23547 (arg1
)->SetAllPages(arg2
);
23549 wxPyEndAllowThreads(__tstate
);
23550 if (PyErr_Occurred()) SWIG_fail
;
23552 Py_INCREF(Py_None
); resultobj
= Py_None
;
23559 static PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23560 PyObject
*resultobj
;
23561 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23563 PyObject
* obj0
= 0 ;
23564 PyObject
* obj1
= 0 ;
23565 char *kwnames
[] = {
23566 (char *) "self",(char *) "flag", NULL
23569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
23570 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23571 if (SWIG_arg_fail(1)) SWIG_fail
;
23573 arg2
= (bool)(SWIG_As_bool(obj1
));
23574 if (SWIG_arg_fail(2)) SWIG_fail
;
23577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23578 (arg1
)->SetSelection(arg2
);
23580 wxPyEndAllowThreads(__tstate
);
23581 if (PyErr_Occurred()) SWIG_fail
;
23583 Py_INCREF(Py_None
); resultobj
= Py_None
;
23590 static PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23591 PyObject
*resultobj
;
23592 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23594 PyObject
* obj0
= 0 ;
23595 PyObject
* obj1
= 0 ;
23596 char *kwnames
[] = {
23597 (char *) "self",(char *) "flag", NULL
23600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) goto fail
;
23601 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23602 if (SWIG_arg_fail(1)) SWIG_fail
;
23604 arg2
= (bool)(SWIG_As_bool(obj1
));
23605 if (SWIG_arg_fail(2)) SWIG_fail
;
23608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23609 (arg1
)->SetCollate(arg2
);
23611 wxPyEndAllowThreads(__tstate
);
23612 if (PyErr_Occurred()) SWIG_fail
;
23614 Py_INCREF(Py_None
); resultobj
= Py_None
;
23621 static PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23622 PyObject
*resultobj
;
23623 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23625 PyObject
* obj0
= 0 ;
23626 PyObject
* obj1
= 0 ;
23627 char *kwnames
[] = {
23628 (char *) "self",(char *) "flag", NULL
23631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
23632 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23633 if (SWIG_arg_fail(1)) SWIG_fail
;
23635 arg2
= (bool)(SWIG_As_bool(obj1
));
23636 if (SWIG_arg_fail(2)) SWIG_fail
;
23639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23640 (arg1
)->SetPrintToFile(arg2
);
23642 wxPyEndAllowThreads(__tstate
);
23643 if (PyErr_Occurred()) SWIG_fail
;
23645 Py_INCREF(Py_None
); resultobj
= Py_None
;
23652 static PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23653 PyObject
*resultobj
;
23654 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23656 PyObject
* obj0
= 0 ;
23657 PyObject
* obj1
= 0 ;
23658 char *kwnames
[] = {
23659 (char *) "self",(char *) "flag", NULL
23662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) goto fail
;
23663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23664 if (SWIG_arg_fail(1)) SWIG_fail
;
23666 arg2
= (bool)(SWIG_As_bool(obj1
));
23667 if (SWIG_arg_fail(2)) SWIG_fail
;
23670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23671 (arg1
)->EnablePrintToFile(arg2
);
23673 wxPyEndAllowThreads(__tstate
);
23674 if (PyErr_Occurred()) SWIG_fail
;
23676 Py_INCREF(Py_None
); resultobj
= Py_None
;
23683 static PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23684 PyObject
*resultobj
;
23685 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23687 PyObject
* obj0
= 0 ;
23688 PyObject
* obj1
= 0 ;
23689 char *kwnames
[] = {
23690 (char *) "self",(char *) "flag", NULL
23693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
23694 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23695 if (SWIG_arg_fail(1)) SWIG_fail
;
23697 arg2
= (bool)(SWIG_As_bool(obj1
));
23698 if (SWIG_arg_fail(2)) SWIG_fail
;
23701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23702 (arg1
)->EnableSelection(arg2
);
23704 wxPyEndAllowThreads(__tstate
);
23705 if (PyErr_Occurred()) SWIG_fail
;
23707 Py_INCREF(Py_None
); resultobj
= Py_None
;
23714 static PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23715 PyObject
*resultobj
;
23716 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23718 PyObject
* obj0
= 0 ;
23719 PyObject
* obj1
= 0 ;
23720 char *kwnames
[] = {
23721 (char *) "self",(char *) "flag", NULL
23724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) goto fail
;
23725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23726 if (SWIG_arg_fail(1)) SWIG_fail
;
23728 arg2
= (bool)(SWIG_As_bool(obj1
));
23729 if (SWIG_arg_fail(2)) SWIG_fail
;
23732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23733 (arg1
)->EnablePageNumbers(arg2
);
23735 wxPyEndAllowThreads(__tstate
);
23736 if (PyErr_Occurred()) SWIG_fail
;
23738 Py_INCREF(Py_None
); resultobj
= Py_None
;
23745 static PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23746 PyObject
*resultobj
;
23747 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23749 PyObject
* obj0
= 0 ;
23750 PyObject
* obj1
= 0 ;
23751 char *kwnames
[] = {
23752 (char *) "self",(char *) "flag", NULL
23755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
23756 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23757 if (SWIG_arg_fail(1)) SWIG_fail
;
23759 arg2
= (bool)(SWIG_As_bool(obj1
));
23760 if (SWIG_arg_fail(2)) SWIG_fail
;
23763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23764 (arg1
)->EnableHelp(arg2
);
23766 wxPyEndAllowThreads(__tstate
);
23767 if (PyErr_Occurred()) SWIG_fail
;
23769 Py_INCREF(Py_None
); resultobj
= Py_None
;
23776 static PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23777 PyObject
*resultobj
;
23778 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23780 PyObject
* obj0
= 0 ;
23781 char *kwnames
[] = {
23782 (char *) "self", NULL
23785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames
,&obj0
)) goto fail
;
23786 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23787 if (SWIG_arg_fail(1)) SWIG_fail
;
23789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23790 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
23792 wxPyEndAllowThreads(__tstate
);
23793 if (PyErr_Occurred()) SWIG_fail
;
23796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23804 static PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23805 PyObject
*resultobj
;
23806 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23808 PyObject
* obj0
= 0 ;
23809 char *kwnames
[] = {
23810 (char *) "self", NULL
23813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableSelection",kwnames
,&obj0
)) goto fail
;
23814 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23815 if (SWIG_arg_fail(1)) SWIG_fail
;
23817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23818 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
23820 wxPyEndAllowThreads(__tstate
);
23821 if (PyErr_Occurred()) SWIG_fail
;
23824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23832 static PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23833 PyObject
*resultobj
;
23834 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23836 PyObject
* obj0
= 0 ;
23837 char *kwnames
[] = {
23838 (char *) "self", NULL
23841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames
,&obj0
)) goto fail
;
23842 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23843 if (SWIG_arg_fail(1)) SWIG_fail
;
23845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23846 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
23848 wxPyEndAllowThreads(__tstate
);
23849 if (PyErr_Occurred()) SWIG_fail
;
23852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23860 static PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23861 PyObject
*resultobj
;
23862 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23864 PyObject
* obj0
= 0 ;
23865 char *kwnames
[] = {
23866 (char *) "self", NULL
23869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetEnableHelp",kwnames
,&obj0
)) goto fail
;
23870 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23871 if (SWIG_arg_fail(1)) SWIG_fail
;
23873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23874 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
23876 wxPyEndAllowThreads(__tstate
);
23877 if (PyErr_Occurred()) SWIG_fail
;
23880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23888 static PyObject
*_wrap_PrintDialogData_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23889 PyObject
*resultobj
;
23890 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23892 PyObject
* obj0
= 0 ;
23893 char *kwnames
[] = {
23894 (char *) "self", NULL
23897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_Ok",kwnames
,&obj0
)) goto fail
;
23898 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23899 if (SWIG_arg_fail(1)) SWIG_fail
;
23901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23902 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
23904 wxPyEndAllowThreads(__tstate
);
23905 if (PyErr_Occurred()) SWIG_fail
;
23908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23916 static PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23917 PyObject
*resultobj
;
23918 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23919 wxPrintData
*result
;
23920 PyObject
* obj0
= 0 ;
23921 char *kwnames
[] = {
23922 (char *) "self", NULL
23925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialogData_GetPrintData",kwnames
,&obj0
)) goto fail
;
23926 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23927 if (SWIG_arg_fail(1)) SWIG_fail
;
23929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23931 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
23932 result
= (wxPrintData
*) &_result_ref
;
23935 wxPyEndAllowThreads(__tstate
);
23936 if (PyErr_Occurred()) SWIG_fail
;
23938 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
23945 static PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23946 PyObject
*resultobj
;
23947 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
23948 wxPrintData
*arg2
= 0 ;
23949 PyObject
* obj0
= 0 ;
23950 PyObject
* obj1
= 0 ;
23951 char *kwnames
[] = {
23952 (char *) "self",(char *) "printData", NULL
23955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) goto fail
;
23956 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
23957 if (SWIG_arg_fail(1)) SWIG_fail
;
23959 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
23960 if (SWIG_arg_fail(2)) SWIG_fail
;
23961 if (arg2
== NULL
) {
23962 SWIG_null_ref("wxPrintData");
23964 if (SWIG_arg_fail(2)) SWIG_fail
;
23967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23968 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
23970 wxPyEndAllowThreads(__tstate
);
23971 if (PyErr_Occurred()) SWIG_fail
;
23973 Py_INCREF(Py_None
); resultobj
= Py_None
;
23980 static PyObject
* PrintDialogData_swigregister(PyObject
*, PyObject
*args
) {
23982 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23983 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData
, obj
);
23985 return Py_BuildValue((char *)"");
23987 static PyObject
*_wrap_new_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23988 PyObject
*resultobj
;
23989 wxWindow
*arg1
= (wxWindow
*) 0 ;
23990 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
23991 wxPrintDialog
*result
;
23992 PyObject
* obj0
= 0 ;
23993 PyObject
* obj1
= 0 ;
23994 char *kwnames
[] = {
23995 (char *) "parent",(char *) "data", NULL
23998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
23999 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24000 if (SWIG_arg_fail(1)) SWIG_fail
;
24002 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24003 if (SWIG_arg_fail(2)) SWIG_fail
;
24006 if (!wxPyCheckForApp()) SWIG_fail
;
24007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24008 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
24010 wxPyEndAllowThreads(__tstate
);
24011 if (PyErr_Occurred()) SWIG_fail
;
24013 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialog
, 1);
24020 static PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24021 PyObject
*resultobj
;
24022 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24024 PyObject
* obj0
= 0 ;
24025 char *kwnames
[] = {
24026 (char *) "self", NULL
24029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_ShowModal",kwnames
,&obj0
)) goto fail
;
24030 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24031 if (SWIG_arg_fail(1)) SWIG_fail
;
24033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24034 result
= (int)(arg1
)->ShowModal();
24036 wxPyEndAllowThreads(__tstate
);
24037 if (PyErr_Occurred()) SWIG_fail
;
24040 resultobj
= SWIG_From_int((int)(result
));
24048 static PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24049 PyObject
*resultobj
;
24050 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24051 wxPrintDialogData
*result
;
24052 PyObject
* obj0
= 0 ;
24053 char *kwnames
[] = {
24054 (char *) "self", NULL
24057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24058 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24059 if (SWIG_arg_fail(1)) SWIG_fail
;
24061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24063 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
24064 result
= (wxPrintDialogData
*) &_result_ref
;
24067 wxPyEndAllowThreads(__tstate
);
24068 if (PyErr_Occurred()) SWIG_fail
;
24070 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24077 static PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24078 PyObject
*resultobj
;
24079 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24080 wxPrintData
*result
;
24081 PyObject
* obj0
= 0 ;
24082 char *kwnames
[] = {
24083 (char *) "self", NULL
24086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintData",kwnames
,&obj0
)) goto fail
;
24087 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24088 if (SWIG_arg_fail(1)) SWIG_fail
;
24090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24092 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24093 result
= (wxPrintData
*) &_result_ref
;
24096 wxPyEndAllowThreads(__tstate
);
24097 if (PyErr_Occurred()) SWIG_fail
;
24099 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintData
, 0);
24106 static PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24107 PyObject
*resultobj
;
24108 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
24110 PyObject
* obj0
= 0 ;
24111 char *kwnames
[] = {
24112 (char *) "self", NULL
24115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintDialog_GetPrintDC",kwnames
,&obj0
)) goto fail
;
24116 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_EXCEPTION
| 0);
24117 if (SWIG_arg_fail(1)) SWIG_fail
;
24119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24120 result
= (wxDC
*)(arg1
)->GetPrintDC();
24122 wxPyEndAllowThreads(__tstate
);
24123 if (PyErr_Occurred()) SWIG_fail
;
24126 resultobj
= wxPyMake_wxObject(result
, 1);
24134 static PyObject
* PrintDialog_swigregister(PyObject
*, PyObject
*args
) {
24136 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24137 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog
, obj
);
24139 return Py_BuildValue((char *)"");
24141 static PyObject
*_wrap_new_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24142 PyObject
*resultobj
;
24143 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
24145 PyObject
* obj0
= 0 ;
24146 char *kwnames
[] = {
24147 (char *) "data", NULL
24150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) goto fail
;
24152 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
24153 if (SWIG_arg_fail(1)) SWIG_fail
;
24156 if (!wxPyCheckForApp()) SWIG_fail
;
24157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24158 result
= (wxPrinter
*)new wxPrinter(arg1
);
24160 wxPyEndAllowThreads(__tstate
);
24161 if (PyErr_Occurred()) SWIG_fail
;
24163 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrinter
, 1);
24170 static PyObject
*_wrap_delete_Printer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24171 PyObject
*resultobj
;
24172 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24173 PyObject
* obj0
= 0 ;
24174 char *kwnames
[] = {
24175 (char *) "self", NULL
24178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Printer",kwnames
,&obj0
)) goto fail
;
24179 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24180 if (SWIG_arg_fail(1)) SWIG_fail
;
24182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24185 wxPyEndAllowThreads(__tstate
);
24186 if (PyErr_Occurred()) SWIG_fail
;
24188 Py_INCREF(Py_None
); resultobj
= Py_None
;
24195 static PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24196 PyObject
*resultobj
;
24197 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24198 wxWindow
*arg2
= (wxWindow
*) 0 ;
24199 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24201 PyObject
* obj0
= 0 ;
24202 PyObject
* obj1
= 0 ;
24203 PyObject
* obj2
= 0 ;
24204 char *kwnames
[] = {
24205 (char *) "self",(char *) "parent",(char *) "printout", NULL
24208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24209 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24210 if (SWIG_arg_fail(1)) SWIG_fail
;
24211 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24212 if (SWIG_arg_fail(2)) SWIG_fail
;
24213 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24214 if (SWIG_arg_fail(3)) SWIG_fail
;
24216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24217 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
24219 wxPyEndAllowThreads(__tstate
);
24220 if (PyErr_Occurred()) SWIG_fail
;
24223 resultobj
= wxPyMake_wxObject(result
, 0);
24231 static PyObject
*_wrap_Printer_ReportError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24232 PyObject
*resultobj
;
24233 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24234 wxWindow
*arg2
= (wxWindow
*) 0 ;
24235 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24236 wxString
*arg4
= 0 ;
24237 bool temp4
= false ;
24238 PyObject
* obj0
= 0 ;
24239 PyObject
* obj1
= 0 ;
24240 PyObject
* obj2
= 0 ;
24241 PyObject
* obj3
= 0 ;
24242 char *kwnames
[] = {
24243 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
24246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24248 if (SWIG_arg_fail(1)) SWIG_fail
;
24249 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24250 if (SWIG_arg_fail(2)) SWIG_fail
;
24251 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24252 if (SWIG_arg_fail(3)) SWIG_fail
;
24254 arg4
= wxString_in_helper(obj3
);
24255 if (arg4
== NULL
) SWIG_fail
;
24259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24260 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
24262 wxPyEndAllowThreads(__tstate
);
24263 if (PyErr_Occurred()) SWIG_fail
;
24265 Py_INCREF(Py_None
); resultobj
= Py_None
;
24280 static PyObject
*_wrap_Printer_Setup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24281 PyObject
*resultobj
;
24282 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24283 wxWindow
*arg2
= (wxWindow
*) 0 ;
24285 PyObject
* obj0
= 0 ;
24286 PyObject
* obj1
= 0 ;
24287 char *kwnames
[] = {
24288 (char *) "self",(char *) "parent", NULL
24291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) goto fail
;
24292 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24293 if (SWIG_arg_fail(1)) SWIG_fail
;
24294 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24295 if (SWIG_arg_fail(2)) SWIG_fail
;
24297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24298 result
= (bool)(arg1
)->Setup(arg2
);
24300 wxPyEndAllowThreads(__tstate
);
24301 if (PyErr_Occurred()) SWIG_fail
;
24304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24312 static PyObject
*_wrap_Printer_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24313 PyObject
*resultobj
;
24314 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24315 wxWindow
*arg2
= (wxWindow
*) 0 ;
24316 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
24317 bool arg4
= (bool) true ;
24319 PyObject
* obj0
= 0 ;
24320 PyObject
* obj1
= 0 ;
24321 PyObject
* obj2
= 0 ;
24322 PyObject
* obj3
= 0 ;
24323 char *kwnames
[] = {
24324 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
24327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24328 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24329 if (SWIG_arg_fail(1)) SWIG_fail
;
24330 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24331 if (SWIG_arg_fail(2)) SWIG_fail
;
24332 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24333 if (SWIG_arg_fail(3)) SWIG_fail
;
24336 arg4
= (bool)(SWIG_As_bool(obj3
));
24337 if (SWIG_arg_fail(4)) SWIG_fail
;
24341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24342 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
24344 wxPyEndAllowThreads(__tstate
);
24345 if (PyErr_Occurred()) SWIG_fail
;
24348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24356 static PyObject
*_wrap_Printer_PrintDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24357 PyObject
*resultobj
;
24358 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24359 wxWindow
*arg2
= (wxWindow
*) 0 ;
24361 PyObject
* obj0
= 0 ;
24362 PyObject
* obj1
= 0 ;
24363 char *kwnames
[] = {
24364 (char *) "self",(char *) "parent", NULL
24367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24368 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24369 if (SWIG_arg_fail(1)) SWIG_fail
;
24370 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
24371 if (SWIG_arg_fail(2)) SWIG_fail
;
24373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24374 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
24376 wxPyEndAllowThreads(__tstate
);
24377 if (PyErr_Occurred()) SWIG_fail
;
24380 resultobj
= wxPyMake_wxObject(result
, 0);
24388 static PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24389 PyObject
*resultobj
;
24390 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24391 wxPrintDialogData
*result
;
24392 PyObject
* obj0
= 0 ;
24393 char *kwnames
[] = {
24394 (char *) "self", NULL
24397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
24398 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24399 if (SWIG_arg_fail(1)) SWIG_fail
;
24401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24403 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
24404 result
= (wxPrintDialogData
*) &_result_ref
;
24407 wxPyEndAllowThreads(__tstate
);
24408 if (PyErr_Occurred()) SWIG_fail
;
24410 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
24417 static PyObject
*_wrap_Printer_GetAbort(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24418 PyObject
*resultobj
;
24419 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
24421 PyObject
* obj0
= 0 ;
24422 char *kwnames
[] = {
24423 (char *) "self", NULL
24426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printer_GetAbort",kwnames
,&obj0
)) goto fail
;
24427 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrinter
, SWIG_POINTER_EXCEPTION
| 0);
24428 if (SWIG_arg_fail(1)) SWIG_fail
;
24430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24431 result
= (bool)(arg1
)->GetAbort();
24433 wxPyEndAllowThreads(__tstate
);
24434 if (PyErr_Occurred()) SWIG_fail
;
24437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24445 static PyObject
*_wrap_Printer_GetLastError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24446 PyObject
*resultobj
;
24447 wxPrinterError result
;
24448 char *kwnames
[] = {
24452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Printer_GetLastError",kwnames
)) goto fail
;
24454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24455 result
= (wxPrinterError
)wxPrinter::GetLastError();
24457 wxPyEndAllowThreads(__tstate
);
24458 if (PyErr_Occurred()) SWIG_fail
;
24460 resultobj
= SWIG_From_int((result
));
24467 static PyObject
* Printer_swigregister(PyObject
*, PyObject
*args
) {
24469 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24470 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter
, obj
);
24472 return Py_BuildValue((char *)"");
24474 static PyObject
*_wrap_new_Printout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24475 PyObject
*resultobj
;
24476 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
24477 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24478 wxPyPrintout
*result
;
24479 bool temp1
= false ;
24480 PyObject
* obj0
= 0 ;
24481 char *kwnames
[] = {
24482 (char *) "title", NULL
24485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) goto fail
;
24488 arg1
= wxString_in_helper(obj0
);
24489 if (arg1
== NULL
) SWIG_fail
;
24494 if (!wxPyCheckForApp()) SWIG_fail
;
24495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24496 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
24498 wxPyEndAllowThreads(__tstate
);
24499 if (PyErr_Occurred()) SWIG_fail
;
24502 resultobj
= wxPyMake_wxObject(result
, 1);
24518 static PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24519 PyObject
*resultobj
;
24520 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24521 PyObject
*arg2
= (PyObject
*) 0 ;
24522 PyObject
*arg3
= (PyObject
*) 0 ;
24523 PyObject
* obj0
= 0 ;
24524 PyObject
* obj1
= 0 ;
24525 PyObject
* obj2
= 0 ;
24526 char *kwnames
[] = {
24527 (char *) "self",(char *) "self",(char *) "_class", NULL
24530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24531 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24532 if (SWIG_arg_fail(1)) SWIG_fail
;
24536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24537 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24539 wxPyEndAllowThreads(__tstate
);
24540 if (PyErr_Occurred()) SWIG_fail
;
24542 Py_INCREF(Py_None
); resultobj
= Py_None
;
24549 static PyObject
*_wrap_Printout_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24550 PyObject
*resultobj
;
24551 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24553 PyObject
* obj0
= 0 ;
24554 char *kwnames
[] = {
24555 (char *) "self", NULL
24558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetTitle",kwnames
,&obj0
)) goto fail
;
24559 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24560 if (SWIG_arg_fail(1)) SWIG_fail
;
24562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24563 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
24565 wxPyEndAllowThreads(__tstate
);
24566 if (PyErr_Occurred()) SWIG_fail
;
24570 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24572 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24581 static PyObject
*_wrap_Printout_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24582 PyObject
*resultobj
;
24583 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24585 PyObject
* obj0
= 0 ;
24586 char *kwnames
[] = {
24587 (char *) "self", NULL
24590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetDC",kwnames
,&obj0
)) goto fail
;
24591 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24592 if (SWIG_arg_fail(1)) SWIG_fail
;
24594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24595 result
= (wxDC
*)(arg1
)->GetDC();
24597 wxPyEndAllowThreads(__tstate
);
24598 if (PyErr_Occurred()) SWIG_fail
;
24601 resultobj
= wxPyMake_wxObject(result
, 0);
24609 static PyObject
*_wrap_Printout_SetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24610 PyObject
*resultobj
;
24611 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24612 wxDC
*arg2
= (wxDC
*) 0 ;
24613 PyObject
* obj0
= 0 ;
24614 PyObject
* obj1
= 0 ;
24615 char *kwnames
[] = {
24616 (char *) "self",(char *) "dc", NULL
24619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) goto fail
;
24620 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24621 if (SWIG_arg_fail(1)) SWIG_fail
;
24622 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
24623 if (SWIG_arg_fail(2)) SWIG_fail
;
24625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24626 (arg1
)->SetDC(arg2
);
24628 wxPyEndAllowThreads(__tstate
);
24629 if (PyErr_Occurred()) SWIG_fail
;
24631 Py_INCREF(Py_None
); resultobj
= Py_None
;
24638 static PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24639 PyObject
*resultobj
;
24640 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24643 PyObject
* obj0
= 0 ;
24644 PyObject
* obj1
= 0 ;
24645 PyObject
* obj2
= 0 ;
24646 char *kwnames
[] = {
24647 (char *) "self",(char *) "w",(char *) "h", NULL
24650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24651 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24652 if (SWIG_arg_fail(1)) SWIG_fail
;
24654 arg2
= (int)(SWIG_As_int(obj1
));
24655 if (SWIG_arg_fail(2)) SWIG_fail
;
24658 arg3
= (int)(SWIG_As_int(obj2
));
24659 if (SWIG_arg_fail(3)) SWIG_fail
;
24662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24663 (arg1
)->SetPageSizePixels(arg2
,arg3
);
24665 wxPyEndAllowThreads(__tstate
);
24666 if (PyErr_Occurred()) SWIG_fail
;
24668 Py_INCREF(Py_None
); resultobj
= Py_None
;
24675 static PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24676 PyObject
*resultobj
;
24677 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24678 int *arg2
= (int *) 0 ;
24679 int *arg3
= (int *) 0 ;
24684 PyObject
* obj0
= 0 ;
24685 char *kwnames
[] = {
24686 (char *) "self", NULL
24689 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24690 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizePixels",kwnames
,&obj0
)) goto fail
;
24692 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24693 if (SWIG_arg_fail(1)) SWIG_fail
;
24695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24696 (arg1
)->GetPageSizePixels(arg2
,arg3
);
24698 wxPyEndAllowThreads(__tstate
);
24699 if (PyErr_Occurred()) SWIG_fail
;
24701 Py_INCREF(Py_None
); resultobj
= Py_None
;
24702 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24703 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24704 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24705 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24712 static PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24713 PyObject
*resultobj
;
24714 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24717 PyObject
* obj0
= 0 ;
24718 PyObject
* obj1
= 0 ;
24719 PyObject
* obj2
= 0 ;
24720 char *kwnames
[] = {
24721 (char *) "self",(char *) "w",(char *) "h", NULL
24724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24725 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24726 if (SWIG_arg_fail(1)) SWIG_fail
;
24728 arg2
= (int)(SWIG_As_int(obj1
));
24729 if (SWIG_arg_fail(2)) SWIG_fail
;
24732 arg3
= (int)(SWIG_As_int(obj2
));
24733 if (SWIG_arg_fail(3)) SWIG_fail
;
24736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24737 (arg1
)->SetPageSizeMM(arg2
,arg3
);
24739 wxPyEndAllowThreads(__tstate
);
24740 if (PyErr_Occurred()) SWIG_fail
;
24742 Py_INCREF(Py_None
); resultobj
= Py_None
;
24749 static PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24750 PyObject
*resultobj
;
24751 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24752 int *arg2
= (int *) 0 ;
24753 int *arg3
= (int *) 0 ;
24758 PyObject
* obj0
= 0 ;
24759 char *kwnames
[] = {
24760 (char *) "self", NULL
24763 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24764 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPageSizeMM",kwnames
,&obj0
)) goto fail
;
24766 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24767 if (SWIG_arg_fail(1)) SWIG_fail
;
24769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24770 (arg1
)->GetPageSizeMM(arg2
,arg3
);
24772 wxPyEndAllowThreads(__tstate
);
24773 if (PyErr_Occurred()) SWIG_fail
;
24775 Py_INCREF(Py_None
); resultobj
= Py_None
;
24776 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24777 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24778 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24779 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24786 static PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24787 PyObject
*resultobj
;
24788 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24791 PyObject
* obj0
= 0 ;
24792 PyObject
* obj1
= 0 ;
24793 PyObject
* obj2
= 0 ;
24794 char *kwnames
[] = {
24795 (char *) "self",(char *) "x",(char *) "y", NULL
24798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24799 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24800 if (SWIG_arg_fail(1)) SWIG_fail
;
24802 arg2
= (int)(SWIG_As_int(obj1
));
24803 if (SWIG_arg_fail(2)) SWIG_fail
;
24806 arg3
= (int)(SWIG_As_int(obj2
));
24807 if (SWIG_arg_fail(3)) SWIG_fail
;
24810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24811 (arg1
)->SetPPIScreen(arg2
,arg3
);
24813 wxPyEndAllowThreads(__tstate
);
24814 if (PyErr_Occurred()) SWIG_fail
;
24816 Py_INCREF(Py_None
); resultobj
= Py_None
;
24823 static PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24824 PyObject
*resultobj
;
24825 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24826 int *arg2
= (int *) 0 ;
24827 int *arg3
= (int *) 0 ;
24832 PyObject
* obj0
= 0 ;
24833 char *kwnames
[] = {
24834 (char *) "self", NULL
24837 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24838 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIScreen",kwnames
,&obj0
)) goto fail
;
24840 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24841 if (SWIG_arg_fail(1)) SWIG_fail
;
24843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24844 (arg1
)->GetPPIScreen(arg2
,arg3
);
24846 wxPyEndAllowThreads(__tstate
);
24847 if (PyErr_Occurred()) SWIG_fail
;
24849 Py_INCREF(Py_None
); resultobj
= Py_None
;
24850 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24851 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24852 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24853 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24860 static PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24861 PyObject
*resultobj
;
24862 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24865 PyObject
* obj0
= 0 ;
24866 PyObject
* obj1
= 0 ;
24867 PyObject
* obj2
= 0 ;
24868 char *kwnames
[] = {
24869 (char *) "self",(char *) "x",(char *) "y", NULL
24872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24873 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24874 if (SWIG_arg_fail(1)) SWIG_fail
;
24876 arg2
= (int)(SWIG_As_int(obj1
));
24877 if (SWIG_arg_fail(2)) SWIG_fail
;
24880 arg3
= (int)(SWIG_As_int(obj2
));
24881 if (SWIG_arg_fail(3)) SWIG_fail
;
24884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24885 (arg1
)->SetPPIPrinter(arg2
,arg3
);
24887 wxPyEndAllowThreads(__tstate
);
24888 if (PyErr_Occurred()) SWIG_fail
;
24890 Py_INCREF(Py_None
); resultobj
= Py_None
;
24897 static PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24898 PyObject
*resultobj
;
24899 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24900 int *arg2
= (int *) 0 ;
24901 int *arg3
= (int *) 0 ;
24906 PyObject
* obj0
= 0 ;
24907 char *kwnames
[] = {
24908 (char *) "self", NULL
24911 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
24912 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
24913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_GetPPIPrinter",kwnames
,&obj0
)) goto fail
;
24914 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24915 if (SWIG_arg_fail(1)) SWIG_fail
;
24917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24918 (arg1
)->GetPPIPrinter(arg2
,arg3
);
24920 wxPyEndAllowThreads(__tstate
);
24921 if (PyErr_Occurred()) SWIG_fail
;
24923 Py_INCREF(Py_None
); resultobj
= Py_None
;
24924 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
24925 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
24926 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
24927 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
24934 static PyObject
*_wrap_Printout_IsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24935 PyObject
*resultobj
;
24936 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24938 PyObject
* obj0
= 0 ;
24939 char *kwnames
[] = {
24940 (char *) "self", NULL
24943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_IsPreview",kwnames
,&obj0
)) goto fail
;
24944 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24945 if (SWIG_arg_fail(1)) SWIG_fail
;
24947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24948 result
= (bool)(arg1
)->IsPreview();
24950 wxPyEndAllowThreads(__tstate
);
24951 if (PyErr_Occurred()) SWIG_fail
;
24954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24962 static PyObject
*_wrap_Printout_SetIsPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24963 PyObject
*resultobj
;
24964 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24966 PyObject
* obj0
= 0 ;
24967 PyObject
* obj1
= 0 ;
24968 char *kwnames
[] = {
24969 (char *) "self",(char *) "p", NULL
24972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
24973 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
24974 if (SWIG_arg_fail(1)) SWIG_fail
;
24976 arg2
= (bool)(SWIG_As_bool(obj1
));
24977 if (SWIG_arg_fail(2)) SWIG_fail
;
24980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24981 (arg1
)->SetIsPreview(arg2
);
24983 wxPyEndAllowThreads(__tstate
);
24984 if (PyErr_Occurred()) SWIG_fail
;
24986 Py_INCREF(Py_None
); resultobj
= Py_None
;
24993 static PyObject
*_wrap_Printout_base_OnBeginDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24994 PyObject
*resultobj
;
24995 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
24999 PyObject
* obj0
= 0 ;
25000 PyObject
* obj1
= 0 ;
25001 PyObject
* obj2
= 0 ;
25002 char *kwnames
[] = {
25003 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
25006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_base_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25007 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25008 if (SWIG_arg_fail(1)) SWIG_fail
;
25010 arg2
= (int)(SWIG_As_int(obj1
));
25011 if (SWIG_arg_fail(2)) SWIG_fail
;
25014 arg3
= (int)(SWIG_As_int(obj2
));
25015 if (SWIG_arg_fail(3)) SWIG_fail
;
25018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25019 result
= (bool)(arg1
)->base_OnBeginDocument(arg2
,arg3
);
25021 wxPyEndAllowThreads(__tstate
);
25022 if (PyErr_Occurred()) SWIG_fail
;
25025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25033 static PyObject
*_wrap_Printout_base_OnEndDocument(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25034 PyObject
*resultobj
;
25035 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25036 PyObject
* obj0
= 0 ;
25037 char *kwnames
[] = {
25038 (char *) "self", NULL
25041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndDocument",kwnames
,&obj0
)) goto fail
;
25042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25043 if (SWIG_arg_fail(1)) SWIG_fail
;
25045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25046 (arg1
)->base_OnEndDocument();
25048 wxPyEndAllowThreads(__tstate
);
25049 if (PyErr_Occurred()) SWIG_fail
;
25051 Py_INCREF(Py_None
); resultobj
= Py_None
;
25058 static PyObject
*_wrap_Printout_base_OnBeginPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25059 PyObject
*resultobj
;
25060 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25061 PyObject
* obj0
= 0 ;
25062 char *kwnames
[] = {
25063 (char *) "self", NULL
25066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnBeginPrinting",kwnames
,&obj0
)) goto fail
;
25067 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25068 if (SWIG_arg_fail(1)) SWIG_fail
;
25070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25071 (arg1
)->base_OnBeginPrinting();
25073 wxPyEndAllowThreads(__tstate
);
25074 if (PyErr_Occurred()) SWIG_fail
;
25076 Py_INCREF(Py_None
); resultobj
= Py_None
;
25083 static PyObject
*_wrap_Printout_base_OnEndPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25084 PyObject
*resultobj
;
25085 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25086 PyObject
* obj0
= 0 ;
25087 char *kwnames
[] = {
25088 (char *) "self", NULL
25091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnEndPrinting",kwnames
,&obj0
)) goto fail
;
25092 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25093 if (SWIG_arg_fail(1)) SWIG_fail
;
25095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25096 (arg1
)->base_OnEndPrinting();
25098 wxPyEndAllowThreads(__tstate
);
25099 if (PyErr_Occurred()) SWIG_fail
;
25101 Py_INCREF(Py_None
); resultobj
= Py_None
;
25108 static PyObject
*_wrap_Printout_base_OnPreparePrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25109 PyObject
*resultobj
;
25110 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25111 PyObject
* obj0
= 0 ;
25112 char *kwnames
[] = {
25113 (char *) "self", NULL
25116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_OnPreparePrinting",kwnames
,&obj0
)) goto fail
;
25117 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25118 if (SWIG_arg_fail(1)) SWIG_fail
;
25120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25121 (arg1
)->base_OnPreparePrinting();
25123 wxPyEndAllowThreads(__tstate
);
25124 if (PyErr_Occurred()) SWIG_fail
;
25126 Py_INCREF(Py_None
); resultobj
= Py_None
;
25133 static PyObject
*_wrap_Printout_base_HasPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25134 PyObject
*resultobj
;
25135 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25138 PyObject
* obj0
= 0 ;
25139 PyObject
* obj1
= 0 ;
25140 char *kwnames
[] = {
25141 (char *) "self",(char *) "page", NULL
25144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_base_HasPage",kwnames
,&obj0
,&obj1
)) goto fail
;
25145 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25146 if (SWIG_arg_fail(1)) SWIG_fail
;
25148 arg2
= (int)(SWIG_As_int(obj1
));
25149 if (SWIG_arg_fail(2)) SWIG_fail
;
25152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25153 result
= (bool)(arg1
)->base_HasPage(arg2
);
25155 wxPyEndAllowThreads(__tstate
);
25156 if (PyErr_Occurred()) SWIG_fail
;
25159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25167 static PyObject
*_wrap_Printout_base_GetPageInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25168 PyObject
*resultobj
;
25169 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25170 int *arg2
= (int *) 0 ;
25171 int *arg3
= (int *) 0 ;
25172 int *arg4
= (int *) 0 ;
25173 int *arg5
= (int *) 0 ;
25182 PyObject
* obj0
= 0 ;
25183 char *kwnames
[] = {
25184 (char *) "self", NULL
25187 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
25188 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
25189 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
25190 arg5
= &temp5
; res5
= SWIG_NEWOBJ
;
25191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Printout_base_GetPageInfo",kwnames
,&obj0
)) goto fail
;
25192 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25193 if (SWIG_arg_fail(1)) SWIG_fail
;
25195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25196 (arg1
)->base_GetPageInfo(arg2
,arg3
,arg4
,arg5
);
25198 wxPyEndAllowThreads(__tstate
);
25199 if (PyErr_Occurred()) SWIG_fail
;
25201 Py_INCREF(Py_None
); resultobj
= Py_None
;
25202 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
25203 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
25204 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
25205 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
25206 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
25207 SWIG_From_int((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, 0)));
25208 resultobj
= t_output_helper(resultobj
, ((res5
== SWIG_NEWOBJ
) ?
25209 SWIG_From_int((*arg5
)) : SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, 0)));
25216 static PyObject
* Printout_swigregister(PyObject
*, PyObject
*args
) {
25218 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25219 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout
, obj
);
25221 return Py_BuildValue((char *)"");
25223 static PyObject
*_wrap_new_PreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25224 PyObject
*resultobj
;
25225 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25226 wxWindow
*arg2
= (wxWindow
*) 0 ;
25227 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25228 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25229 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25230 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25231 long arg5
= (long) 0 ;
25232 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
25233 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25234 wxPreviewCanvas
*result
;
25237 bool temp6
= false ;
25238 PyObject
* obj0
= 0 ;
25239 PyObject
* obj1
= 0 ;
25240 PyObject
* obj2
= 0 ;
25241 PyObject
* obj3
= 0 ;
25242 PyObject
* obj4
= 0 ;
25243 PyObject
* obj5
= 0 ;
25244 char *kwnames
[] = {
25245 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25249 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25250 if (SWIG_arg_fail(1)) SWIG_fail
;
25251 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25252 if (SWIG_arg_fail(2)) SWIG_fail
;
25256 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25262 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25267 arg5
= (long)(SWIG_As_long(obj4
));
25268 if (SWIG_arg_fail(5)) SWIG_fail
;
25273 arg6
= wxString_in_helper(obj5
);
25274 if (arg6
== NULL
) SWIG_fail
;
25279 if (!wxPyCheckForApp()) SWIG_fail
;
25280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25281 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25283 wxPyEndAllowThreads(__tstate
);
25284 if (PyErr_Occurred()) SWIG_fail
;
25286 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 1);
25301 static PyObject
* PreviewCanvas_swigregister(PyObject
*, PyObject
*args
) {
25303 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25304 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas
, obj
);
25306 return Py_BuildValue((char *)"");
25308 static PyObject
*_wrap_new_PreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25309 PyObject
*resultobj
;
25310 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25311 wxFrame
*arg2
= (wxFrame
*) 0 ;
25312 wxString
*arg3
= 0 ;
25313 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25314 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25315 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25316 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25317 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
25318 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
25319 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25320 wxPreviewFrame
*result
;
25321 bool temp3
= false ;
25324 bool temp7
= false ;
25325 PyObject
* obj0
= 0 ;
25326 PyObject
* obj1
= 0 ;
25327 PyObject
* obj2
= 0 ;
25328 PyObject
* obj3
= 0 ;
25329 PyObject
* obj4
= 0 ;
25330 PyObject
* obj5
= 0 ;
25331 PyObject
* obj6
= 0 ;
25332 char *kwnames
[] = {
25333 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25337 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25338 if (SWIG_arg_fail(1)) SWIG_fail
;
25339 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
25340 if (SWIG_arg_fail(2)) SWIG_fail
;
25342 arg3
= wxString_in_helper(obj2
);
25343 if (arg3
== NULL
) SWIG_fail
;
25349 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25355 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25360 arg6
= (long)(SWIG_As_long(obj5
));
25361 if (SWIG_arg_fail(6)) SWIG_fail
;
25366 arg7
= wxString_in_helper(obj6
);
25367 if (arg7
== NULL
) SWIG_fail
;
25372 if (!wxPyCheckForApp()) SWIG_fail
;
25373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25374 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25376 wxPyEndAllowThreads(__tstate
);
25377 if (PyErr_Occurred()) SWIG_fail
;
25379 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewFrame
, 1);
25402 static PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25403 PyObject
*resultobj
;
25404 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25405 PyObject
* obj0
= 0 ;
25406 char *kwnames
[] = {
25407 (char *) "self", NULL
25410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_Initialize",kwnames
,&obj0
)) goto fail
;
25411 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25412 if (SWIG_arg_fail(1)) SWIG_fail
;
25414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25415 (arg1
)->Initialize();
25417 wxPyEndAllowThreads(__tstate
);
25418 if (PyErr_Occurred()) SWIG_fail
;
25420 Py_INCREF(Py_None
); resultobj
= Py_None
;
25427 static PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25428 PyObject
*resultobj
;
25429 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25430 PyObject
* obj0
= 0 ;
25431 char *kwnames
[] = {
25432 (char *) "self", NULL
25435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateControlBar",kwnames
,&obj0
)) goto fail
;
25436 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25437 if (SWIG_arg_fail(1)) SWIG_fail
;
25439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25440 (arg1
)->CreateControlBar();
25442 wxPyEndAllowThreads(__tstate
);
25443 if (PyErr_Occurred()) SWIG_fail
;
25445 Py_INCREF(Py_None
); resultobj
= Py_None
;
25452 static PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25453 PyObject
*resultobj
;
25454 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25455 PyObject
* obj0
= 0 ;
25456 char *kwnames
[] = {
25457 (char *) "self", NULL
25460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_CreateCanvas",kwnames
,&obj0
)) goto fail
;
25461 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25462 if (SWIG_arg_fail(1)) SWIG_fail
;
25464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25465 (arg1
)->CreateCanvas();
25467 wxPyEndAllowThreads(__tstate
);
25468 if (PyErr_Occurred()) SWIG_fail
;
25470 Py_INCREF(Py_None
); resultobj
= Py_None
;
25477 static PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25478 PyObject
*resultobj
;
25479 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
25480 wxPreviewControlBar
*result
;
25481 PyObject
* obj0
= 0 ;
25482 char *kwnames
[] = {
25483 (char *) "self", NULL
25486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewFrame_GetControlBar",kwnames
,&obj0
)) goto fail
;
25487 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
25488 if (SWIG_arg_fail(1)) SWIG_fail
;
25490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25491 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
25493 wxPyEndAllowThreads(__tstate
);
25494 if (PyErr_Occurred()) SWIG_fail
;
25496 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 0);
25503 static PyObject
* PreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
25505 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25506 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame
, obj
);
25508 return Py_BuildValue((char *)"");
25510 static PyObject
*_wrap_new_PreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25511 PyObject
*resultobj
;
25512 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25514 wxWindow
*arg3
= (wxWindow
*) 0 ;
25515 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25516 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25517 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25518 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25519 long arg6
= (long) wxTAB_TRAVERSAL
;
25520 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
25521 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25522 wxPreviewControlBar
*result
;
25525 bool temp7
= false ;
25526 PyObject
* obj0
= 0 ;
25527 PyObject
* obj1
= 0 ;
25528 PyObject
* obj2
= 0 ;
25529 PyObject
* obj3
= 0 ;
25530 PyObject
* obj4
= 0 ;
25531 PyObject
* obj5
= 0 ;
25532 PyObject
* obj6
= 0 ;
25533 char *kwnames
[] = {
25534 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
25537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25538 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25539 if (SWIG_arg_fail(1)) SWIG_fail
;
25541 arg2
= (long)(SWIG_As_long(obj1
));
25542 if (SWIG_arg_fail(2)) SWIG_fail
;
25544 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
25545 if (SWIG_arg_fail(3)) SWIG_fail
;
25549 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25555 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25560 arg6
= (long)(SWIG_As_long(obj5
));
25561 if (SWIG_arg_fail(6)) SWIG_fail
;
25566 arg7
= wxString_in_helper(obj6
);
25567 if (arg7
== NULL
) SWIG_fail
;
25572 if (!wxPyCheckForApp()) SWIG_fail
;
25573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25574 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
25576 wxPyEndAllowThreads(__tstate
);
25577 if (PyErr_Occurred()) SWIG_fail
;
25579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewControlBar
, 1);
25594 static PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25595 PyObject
*resultobj
;
25596 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25598 PyObject
* obj0
= 0 ;
25599 char *kwnames
[] = {
25600 (char *) "self", NULL
25603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetZoomControl",kwnames
,&obj0
)) goto fail
;
25604 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25605 if (SWIG_arg_fail(1)) SWIG_fail
;
25607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25608 result
= (int)(arg1
)->GetZoomControl();
25610 wxPyEndAllowThreads(__tstate
);
25611 if (PyErr_Occurred()) SWIG_fail
;
25614 resultobj
= SWIG_From_int((int)(result
));
25622 static PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25623 PyObject
*resultobj
;
25624 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25626 PyObject
* obj0
= 0 ;
25627 PyObject
* obj1
= 0 ;
25628 char *kwnames
[] = {
25629 (char *) "self",(char *) "zoom", NULL
25632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
25633 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25634 if (SWIG_arg_fail(1)) SWIG_fail
;
25636 arg2
= (int)(SWIG_As_int(obj1
));
25637 if (SWIG_arg_fail(2)) SWIG_fail
;
25640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25641 (arg1
)->SetZoomControl(arg2
);
25643 wxPyEndAllowThreads(__tstate
);
25644 if (PyErr_Occurred()) SWIG_fail
;
25646 Py_INCREF(Py_None
); resultobj
= Py_None
;
25653 static PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25654 PyObject
*resultobj
;
25655 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25656 wxPrintPreview
*result
;
25657 PyObject
* obj0
= 0 ;
25658 char *kwnames
[] = {
25659 (char *) "self", NULL
25662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames
,&obj0
)) goto fail
;
25663 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25664 if (SWIG_arg_fail(1)) SWIG_fail
;
25666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25667 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
25669 wxPyEndAllowThreads(__tstate
);
25670 if (PyErr_Occurred()) SWIG_fail
;
25672 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 0);
25679 static PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25680 PyObject
*resultobj
;
25681 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25682 PyObject
* obj0
= 0 ;
25683 char *kwnames
[] = {
25684 (char *) "self", NULL
25687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnNext",kwnames
,&obj0
)) goto fail
;
25688 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25689 if (SWIG_arg_fail(1)) SWIG_fail
;
25691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25694 wxPyEndAllowThreads(__tstate
);
25695 if (PyErr_Occurred()) SWIG_fail
;
25697 Py_INCREF(Py_None
); resultobj
= Py_None
;
25704 static PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25705 PyObject
*resultobj
;
25706 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25707 PyObject
* obj0
= 0 ;
25708 char *kwnames
[] = {
25709 (char *) "self", NULL
25712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnPrevious",kwnames
,&obj0
)) goto fail
;
25713 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25714 if (SWIG_arg_fail(1)) SWIG_fail
;
25716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25717 (arg1
)->OnPrevious();
25719 wxPyEndAllowThreads(__tstate
);
25720 if (PyErr_Occurred()) SWIG_fail
;
25722 Py_INCREF(Py_None
); resultobj
= Py_None
;
25729 static PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25730 PyObject
*resultobj
;
25731 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25732 PyObject
* obj0
= 0 ;
25733 char *kwnames
[] = {
25734 (char *) "self", NULL
25737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnFirst",kwnames
,&obj0
)) goto fail
;
25738 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25739 if (SWIG_arg_fail(1)) SWIG_fail
;
25741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25744 wxPyEndAllowThreads(__tstate
);
25745 if (PyErr_Occurred()) SWIG_fail
;
25747 Py_INCREF(Py_None
); resultobj
= Py_None
;
25754 static PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25755 PyObject
*resultobj
;
25756 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25757 PyObject
* obj0
= 0 ;
25758 char *kwnames
[] = {
25759 (char *) "self", NULL
25762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnLast",kwnames
,&obj0
)) goto fail
;
25763 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25764 if (SWIG_arg_fail(1)) SWIG_fail
;
25766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25769 wxPyEndAllowThreads(__tstate
);
25770 if (PyErr_Occurred()) SWIG_fail
;
25772 Py_INCREF(Py_None
); resultobj
= Py_None
;
25779 static PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25780 PyObject
*resultobj
;
25781 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
25782 PyObject
* obj0
= 0 ;
25783 char *kwnames
[] = {
25784 (char *) "self", NULL
25787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PreviewControlBar_OnGoto",kwnames
,&obj0
)) goto fail
;
25788 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
25789 if (SWIG_arg_fail(1)) SWIG_fail
;
25791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25794 wxPyEndAllowThreads(__tstate
);
25795 if (PyErr_Occurred()) SWIG_fail
;
25797 Py_INCREF(Py_None
); resultobj
= Py_None
;
25804 static PyObject
* PreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
25806 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25807 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar
, obj
);
25809 return Py_BuildValue((char *)"");
25811 static PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
25812 PyObject
*resultobj
;
25813 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25814 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25815 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
25816 wxPrintPreview
*result
;
25817 PyObject
* obj0
= 0 ;
25818 PyObject
* obj1
= 0 ;
25819 PyObject
* obj2
= 0 ;
25821 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
25822 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25823 if (SWIG_arg_fail(1)) SWIG_fail
;
25824 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25825 if (SWIG_arg_fail(2)) SWIG_fail
;
25827 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
25828 if (SWIG_arg_fail(3)) SWIG_fail
;
25831 if (!wxPyCheckForApp()) SWIG_fail
;
25832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25833 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
25835 wxPyEndAllowThreads(__tstate
);
25836 if (PyErr_Occurred()) SWIG_fail
;
25838 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
25845 static PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
25846 PyObject
*resultobj
;
25847 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
25848 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
25849 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
25850 wxPrintPreview
*result
;
25851 PyObject
* obj0
= 0 ;
25852 PyObject
* obj1
= 0 ;
25853 PyObject
* obj2
= 0 ;
25855 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
25856 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25857 if (SWIG_arg_fail(1)) SWIG_fail
;
25858 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
25859 if (SWIG_arg_fail(2)) SWIG_fail
;
25860 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
25861 if (SWIG_arg_fail(3)) SWIG_fail
;
25863 if (!wxPyCheckForApp()) SWIG_fail
;
25864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25865 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
25867 wxPyEndAllowThreads(__tstate
);
25868 if (PyErr_Occurred()) SWIG_fail
;
25870 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintPreview
, 1);
25877 static PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
25882 argc
= PyObject_Length(args
);
25883 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
25884 argv
[ii
] = PyTuple_GetItem(args
,ii
);
25886 if ((argc
>= 2) && (argc
<= 3)) {
25890 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25900 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25909 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
25913 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
25921 return _wrap_new_PrintPreview__SWIG_0(self
,args
);
25930 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25940 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
25950 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
25958 return _wrap_new_PrintPreview__SWIG_1(self
,args
);
25964 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
25969 static PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25970 PyObject
*resultobj
;
25971 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
25974 PyObject
* obj0
= 0 ;
25975 PyObject
* obj1
= 0 ;
25976 char *kwnames
[] = {
25977 (char *) "self",(char *) "pageNum", NULL
25980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
25981 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
25982 if (SWIG_arg_fail(1)) SWIG_fail
;
25984 arg2
= (int)(SWIG_As_int(obj1
));
25985 if (SWIG_arg_fail(2)) SWIG_fail
;
25988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25989 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
25991 wxPyEndAllowThreads(__tstate
);
25992 if (PyErr_Occurred()) SWIG_fail
;
25995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26003 static PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26004 PyObject
*resultobj
;
26005 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26007 PyObject
* obj0
= 0 ;
26008 char *kwnames
[] = {
26009 (char *) "self", NULL
26012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
26013 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26014 if (SWIG_arg_fail(1)) SWIG_fail
;
26016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26017 result
= (int)(arg1
)->GetCurrentPage();
26019 wxPyEndAllowThreads(__tstate
);
26020 if (PyErr_Occurred()) SWIG_fail
;
26023 resultobj
= SWIG_From_int((int)(result
));
26031 static PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26032 PyObject
*resultobj
;
26033 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26034 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26035 PyObject
* obj0
= 0 ;
26036 PyObject
* obj1
= 0 ;
26037 char *kwnames
[] = {
26038 (char *) "self",(char *) "printout", NULL
26041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) goto fail
;
26042 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26043 if (SWIG_arg_fail(1)) SWIG_fail
;
26044 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26045 if (SWIG_arg_fail(2)) SWIG_fail
;
26047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26048 (arg1
)->SetPrintout(arg2
);
26050 wxPyEndAllowThreads(__tstate
);
26051 if (PyErr_Occurred()) SWIG_fail
;
26053 Py_INCREF(Py_None
); resultobj
= Py_None
;
26060 static PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26061 PyObject
*resultobj
;
26062 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26063 wxPyPrintout
*result
;
26064 PyObject
* obj0
= 0 ;
26065 char *kwnames
[] = {
26066 (char *) "self", NULL
26069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintout",kwnames
,&obj0
)) goto fail
;
26070 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26071 if (SWIG_arg_fail(1)) SWIG_fail
;
26073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26074 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
26076 wxPyEndAllowThreads(__tstate
);
26077 if (PyErr_Occurred()) SWIG_fail
;
26080 resultobj
= wxPyMake_wxObject(result
, 0);
26088 static PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26089 PyObject
*resultobj
;
26090 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26091 wxPyPrintout
*result
;
26092 PyObject
* obj0
= 0 ;
26093 char *kwnames
[] = {
26094 (char *) "self", NULL
26097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames
,&obj0
)) goto fail
;
26098 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26099 if (SWIG_arg_fail(1)) SWIG_fail
;
26101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26102 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
26104 wxPyEndAllowThreads(__tstate
);
26105 if (PyErr_Occurred()) SWIG_fail
;
26108 resultobj
= wxPyMake_wxObject(result
, 0);
26116 static PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26117 PyObject
*resultobj
;
26118 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26119 wxFrame
*arg2
= (wxFrame
*) 0 ;
26120 PyObject
* obj0
= 0 ;
26121 PyObject
* obj1
= 0 ;
26122 char *kwnames
[] = {
26123 (char *) "self",(char *) "frame", NULL
26126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
26127 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26128 if (SWIG_arg_fail(1)) SWIG_fail
;
26129 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
26130 if (SWIG_arg_fail(2)) SWIG_fail
;
26132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26133 (arg1
)->SetFrame(arg2
);
26135 wxPyEndAllowThreads(__tstate
);
26136 if (PyErr_Occurred()) SWIG_fail
;
26138 Py_INCREF(Py_None
); resultobj
= Py_None
;
26145 static PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26146 PyObject
*resultobj
;
26147 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26148 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26149 PyObject
* obj0
= 0 ;
26150 PyObject
* obj1
= 0 ;
26151 char *kwnames
[] = {
26152 (char *) "self",(char *) "canvas", NULL
26155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
26156 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26157 if (SWIG_arg_fail(1)) SWIG_fail
;
26158 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26159 if (SWIG_arg_fail(2)) SWIG_fail
;
26161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26162 (arg1
)->SetCanvas(arg2
);
26164 wxPyEndAllowThreads(__tstate
);
26165 if (PyErr_Occurred()) SWIG_fail
;
26167 Py_INCREF(Py_None
); resultobj
= Py_None
;
26174 static PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26175 PyObject
*resultobj
;
26176 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26178 PyObject
* obj0
= 0 ;
26179 char *kwnames
[] = {
26180 (char *) "self", NULL
26183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetFrame",kwnames
,&obj0
)) goto fail
;
26184 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26185 if (SWIG_arg_fail(1)) SWIG_fail
;
26187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26188 result
= (wxFrame
*)(arg1
)->GetFrame();
26190 wxPyEndAllowThreads(__tstate
);
26191 if (PyErr_Occurred()) SWIG_fail
;
26194 resultobj
= wxPyMake_wxObject(result
, 0);
26202 static PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26203 PyObject
*resultobj
;
26204 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26205 wxPreviewCanvas
*result
;
26206 PyObject
* obj0
= 0 ;
26207 char *kwnames
[] = {
26208 (char *) "self", NULL
26211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetCanvas",kwnames
,&obj0
)) goto fail
;
26212 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26213 if (SWIG_arg_fail(1)) SWIG_fail
;
26215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26216 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
26218 wxPyEndAllowThreads(__tstate
);
26219 if (PyErr_Occurred()) SWIG_fail
;
26221 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPreviewCanvas
, 0);
26228 static PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26229 PyObject
*resultobj
;
26230 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26231 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26234 PyObject
* obj0
= 0 ;
26235 PyObject
* obj1
= 0 ;
26236 PyObject
* obj2
= 0 ;
26237 char *kwnames
[] = {
26238 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26242 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26243 if (SWIG_arg_fail(1)) SWIG_fail
;
26244 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26245 if (SWIG_arg_fail(2)) SWIG_fail
;
26247 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26248 if (SWIG_arg_fail(3)) SWIG_fail
;
26249 if (arg3
== NULL
) {
26250 SWIG_null_ref("wxDC");
26252 if (SWIG_arg_fail(3)) SWIG_fail
;
26255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26256 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
26258 wxPyEndAllowThreads(__tstate
);
26259 if (PyErr_Occurred()) SWIG_fail
;
26262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26270 static PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26271 PyObject
*resultobj
;
26272 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26273 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26276 PyObject
* obj0
= 0 ;
26277 PyObject
* obj1
= 0 ;
26278 PyObject
* obj2
= 0 ;
26279 char *kwnames
[] = {
26280 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26284 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26285 if (SWIG_arg_fail(1)) SWIG_fail
;
26286 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26287 if (SWIG_arg_fail(2)) SWIG_fail
;
26289 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26290 if (SWIG_arg_fail(3)) SWIG_fail
;
26291 if (arg3
== NULL
) {
26292 SWIG_null_ref("wxDC");
26294 if (SWIG_arg_fail(3)) SWIG_fail
;
26297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26298 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
26300 wxPyEndAllowThreads(__tstate
);
26301 if (PyErr_Occurred()) SWIG_fail
;
26304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26312 static PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26313 PyObject
*resultobj
;
26314 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26317 PyObject
* obj0
= 0 ;
26318 PyObject
* obj1
= 0 ;
26319 char *kwnames
[] = {
26320 (char *) "self",(char *) "pageNum", NULL
26323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26325 if (SWIG_arg_fail(1)) SWIG_fail
;
26327 arg2
= (int)(SWIG_As_int(obj1
));
26328 if (SWIG_arg_fail(2)) SWIG_fail
;
26331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26332 result
= (bool)(arg1
)->RenderPage(arg2
);
26334 wxPyEndAllowThreads(__tstate
);
26335 if (PyErr_Occurred()) SWIG_fail
;
26338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26346 static PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26347 PyObject
*resultobj
;
26348 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26349 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26350 PyObject
* obj0
= 0 ;
26351 PyObject
* obj1
= 0 ;
26352 char *kwnames
[] = {
26353 (char *) "self",(char *) "canvas", NULL
26356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) goto fail
;
26357 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26358 if (SWIG_arg_fail(1)) SWIG_fail
;
26359 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26360 if (SWIG_arg_fail(2)) SWIG_fail
;
26362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26363 (arg1
)->AdjustScrollbars(arg2
);
26365 wxPyEndAllowThreads(__tstate
);
26366 if (PyErr_Occurred()) SWIG_fail
;
26368 Py_INCREF(Py_None
); resultobj
= Py_None
;
26375 static PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26376 PyObject
*resultobj
;
26377 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26378 wxPrintDialogData
*result
;
26379 PyObject
* obj0
= 0 ;
26380 char *kwnames
[] = {
26381 (char *) "self", NULL
26384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetPrintDialogData",kwnames
,&obj0
)) goto fail
;
26385 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26386 if (SWIG_arg_fail(1)) SWIG_fail
;
26388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26390 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
26391 result
= (wxPrintDialogData
*) &_result_ref
;
26394 wxPyEndAllowThreads(__tstate
);
26395 if (PyErr_Occurred()) SWIG_fail
;
26397 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPrintDialogData
, 0);
26404 static PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26405 PyObject
*resultobj
;
26406 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26408 PyObject
* obj0
= 0 ;
26409 PyObject
* obj1
= 0 ;
26410 char *kwnames
[] = {
26411 (char *) "self",(char *) "percent", NULL
26414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
26415 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26416 if (SWIG_arg_fail(1)) SWIG_fail
;
26418 arg2
= (int)(SWIG_As_int(obj1
));
26419 if (SWIG_arg_fail(2)) SWIG_fail
;
26422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26423 (arg1
)->SetZoom(arg2
);
26425 wxPyEndAllowThreads(__tstate
);
26426 if (PyErr_Occurred()) SWIG_fail
;
26428 Py_INCREF(Py_None
); resultobj
= Py_None
;
26435 static PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26436 PyObject
*resultobj
;
26437 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26439 PyObject
* obj0
= 0 ;
26440 char *kwnames
[] = {
26441 (char *) "self", NULL
26444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetZoom",kwnames
,&obj0
)) goto fail
;
26445 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26446 if (SWIG_arg_fail(1)) SWIG_fail
;
26448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26449 result
= (int)(arg1
)->GetZoom();
26451 wxPyEndAllowThreads(__tstate
);
26452 if (PyErr_Occurred()) SWIG_fail
;
26455 resultobj
= SWIG_From_int((int)(result
));
26463 static PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26464 PyObject
*resultobj
;
26465 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26467 PyObject
* obj0
= 0 ;
26468 char *kwnames
[] = {
26469 (char *) "self", NULL
26472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMaxPage",kwnames
,&obj0
)) goto fail
;
26473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26474 if (SWIG_arg_fail(1)) SWIG_fail
;
26476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26477 result
= (int)(arg1
)->GetMaxPage();
26479 wxPyEndAllowThreads(__tstate
);
26480 if (PyErr_Occurred()) SWIG_fail
;
26483 resultobj
= SWIG_From_int((int)(result
));
26491 static PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26492 PyObject
*resultobj
;
26493 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26495 PyObject
* obj0
= 0 ;
26496 char *kwnames
[] = {
26497 (char *) "self", NULL
26500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_GetMinPage",kwnames
,&obj0
)) goto fail
;
26501 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26502 if (SWIG_arg_fail(1)) SWIG_fail
;
26504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26505 result
= (int)(arg1
)->GetMinPage();
26507 wxPyEndAllowThreads(__tstate
);
26508 if (PyErr_Occurred()) SWIG_fail
;
26511 resultobj
= SWIG_From_int((int)(result
));
26519 static PyObject
*_wrap_PrintPreview_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26520 PyObject
*resultobj
;
26521 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26523 PyObject
* obj0
= 0 ;
26524 char *kwnames
[] = {
26525 (char *) "self", NULL
26528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_Ok",kwnames
,&obj0
)) goto fail
;
26529 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26530 if (SWIG_arg_fail(1)) SWIG_fail
;
26532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26533 result
= (bool)(arg1
)->Ok();
26535 wxPyEndAllowThreads(__tstate
);
26536 if (PyErr_Occurred()) SWIG_fail
;
26539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26547 static PyObject
*_wrap_PrintPreview_SetOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26548 PyObject
*resultobj
;
26549 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26551 PyObject
* obj0
= 0 ;
26552 PyObject
* obj1
= 0 ;
26553 char *kwnames
[] = {
26554 (char *) "self",(char *) "ok", NULL
26557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) goto fail
;
26558 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26559 if (SWIG_arg_fail(1)) SWIG_fail
;
26561 arg2
= (bool)(SWIG_As_bool(obj1
));
26562 if (SWIG_arg_fail(2)) SWIG_fail
;
26565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26566 (arg1
)->SetOk(arg2
);
26568 wxPyEndAllowThreads(__tstate
);
26569 if (PyErr_Occurred()) SWIG_fail
;
26571 Py_INCREF(Py_None
); resultobj
= Py_None
;
26578 static PyObject
*_wrap_PrintPreview_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26579 PyObject
*resultobj
;
26580 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26583 PyObject
* obj0
= 0 ;
26584 PyObject
* obj1
= 0 ;
26585 char *kwnames
[] = {
26586 (char *) "self",(char *) "interactive", NULL
26589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
26590 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26591 if (SWIG_arg_fail(1)) SWIG_fail
;
26593 arg2
= (bool)(SWIG_As_bool(obj1
));
26594 if (SWIG_arg_fail(2)) SWIG_fail
;
26597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26598 result
= (bool)(arg1
)->Print(arg2
);
26600 wxPyEndAllowThreads(__tstate
);
26601 if (PyErr_Occurred()) SWIG_fail
;
26604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26612 static PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26613 PyObject
*resultobj
;
26614 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
26615 PyObject
* obj0
= 0 ;
26616 char *kwnames
[] = {
26617 (char *) "self", NULL
26620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PrintPreview_DetermineScaling",kwnames
,&obj0
)) goto fail
;
26621 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26622 if (SWIG_arg_fail(1)) SWIG_fail
;
26624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26625 (arg1
)->DetermineScaling();
26627 wxPyEndAllowThreads(__tstate
);
26628 if (PyErr_Occurred()) SWIG_fail
;
26630 Py_INCREF(Py_None
); resultobj
= Py_None
;
26637 static PyObject
* PrintPreview_swigregister(PyObject
*, PyObject
*args
) {
26639 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26640 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview
, obj
);
26642 return Py_BuildValue((char *)"");
26644 static PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*, PyObject
*args
) {
26645 PyObject
*resultobj
;
26646 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26647 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26648 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
26649 wxPyPrintPreview
*result
;
26650 PyObject
* obj0
= 0 ;
26651 PyObject
* obj1
= 0 ;
26652 PyObject
* obj2
= 0 ;
26654 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26655 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26656 if (SWIG_arg_fail(1)) SWIG_fail
;
26657 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26658 if (SWIG_arg_fail(2)) SWIG_fail
;
26660 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_EXCEPTION
| 0);
26661 if (SWIG_arg_fail(3)) SWIG_fail
;
26664 if (!wxPyCheckForApp()) SWIG_fail
;
26665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26666 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
26668 wxPyEndAllowThreads(__tstate
);
26669 if (PyErr_Occurred()) SWIG_fail
;
26671 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
26678 static PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*, PyObject
*args
) {
26679 PyObject
*resultobj
;
26680 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
26681 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
26682 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
26683 wxPyPrintPreview
*result
;
26684 PyObject
* obj0
= 0 ;
26685 PyObject
* obj1
= 0 ;
26686 PyObject
* obj2
= 0 ;
26688 if(!PyArg_ParseTuple(args
,(char *)"OOO:new_PyPrintPreview",&obj0
,&obj1
,&obj2
)) goto fail
;
26689 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26690 if (SWIG_arg_fail(1)) SWIG_fail
;
26691 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_EXCEPTION
| 0);
26692 if (SWIG_arg_fail(2)) SWIG_fail
;
26693 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxPrintData
, SWIG_POINTER_EXCEPTION
| 0);
26694 if (SWIG_arg_fail(3)) SWIG_fail
;
26696 if (!wxPyCheckForApp()) SWIG_fail
;
26697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26698 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
26700 wxPyEndAllowThreads(__tstate
);
26701 if (PyErr_Occurred()) SWIG_fail
;
26703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPrintPreview
, 1);
26710 static PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
26715 argc
= PyObject_Length(args
);
26716 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
26717 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26719 if ((argc
>= 2) && (argc
<= 3)) {
26723 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26733 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26742 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
26746 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintDialogData
, 0) == -1) {
26754 return _wrap_new_PyPrintPreview__SWIG_0(self
,args
);
26763 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26773 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxPyPrintout
, 0) == -1) {
26783 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxPrintData
, 0) == -1) {
26791 return _wrap_new_PyPrintPreview__SWIG_1(self
,args
);
26797 PyErr_SetString(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
26802 static PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26803 PyObject
*resultobj
;
26804 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26805 PyObject
*arg2
= (PyObject
*) 0 ;
26806 PyObject
*arg3
= (PyObject
*) 0 ;
26807 PyObject
* obj0
= 0 ;
26808 PyObject
* obj1
= 0 ;
26809 PyObject
* obj2
= 0 ;
26810 char *kwnames
[] = {
26811 (char *) "self",(char *) "self",(char *) "_class", NULL
26814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26815 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26816 if (SWIG_arg_fail(1)) SWIG_fail
;
26820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26821 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26823 wxPyEndAllowThreads(__tstate
);
26824 if (PyErr_Occurred()) SWIG_fail
;
26826 Py_INCREF(Py_None
); resultobj
= Py_None
;
26833 static PyObject
*_wrap_PyPrintPreview_base_SetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26834 PyObject
*resultobj
;
26835 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26838 PyObject
* obj0
= 0 ;
26839 PyObject
* obj1
= 0 ;
26840 char *kwnames
[] = {
26841 (char *) "self",(char *) "pageNum", NULL
26844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26845 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26846 if (SWIG_arg_fail(1)) SWIG_fail
;
26848 arg2
= (int)(SWIG_As_int(obj1
));
26849 if (SWIG_arg_fail(2)) SWIG_fail
;
26852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26853 result
= (bool)(arg1
)->base_SetCurrentPage(arg2
);
26855 wxPyEndAllowThreads(__tstate
);
26856 if (PyErr_Occurred()) SWIG_fail
;
26859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26867 static PyObject
*_wrap_PyPrintPreview_base_PaintPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26868 PyObject
*resultobj
;
26869 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26870 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26873 PyObject
* obj0
= 0 ;
26874 PyObject
* obj1
= 0 ;
26875 PyObject
* obj2
= 0 ;
26876 char *kwnames
[] = {
26877 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26881 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26882 if (SWIG_arg_fail(1)) SWIG_fail
;
26883 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26884 if (SWIG_arg_fail(2)) SWIG_fail
;
26886 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26887 if (SWIG_arg_fail(3)) SWIG_fail
;
26888 if (arg3
== NULL
) {
26889 SWIG_null_ref("wxDC");
26891 if (SWIG_arg_fail(3)) SWIG_fail
;
26894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26895 result
= (bool)(arg1
)->base_PaintPage(arg2
,*arg3
);
26897 wxPyEndAllowThreads(__tstate
);
26898 if (PyErr_Occurred()) SWIG_fail
;
26901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26909 static PyObject
*_wrap_PyPrintPreview_base_DrawBlankPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26910 PyObject
*resultobj
;
26911 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26912 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
26915 PyObject
* obj0
= 0 ;
26916 PyObject
* obj1
= 0 ;
26917 PyObject
* obj2
= 0 ;
26918 char *kwnames
[] = {
26919 (char *) "self",(char *) "canvas",(char *) "dc", NULL
26922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26923 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26924 if (SWIG_arg_fail(1)) SWIG_fail
;
26925 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
26926 if (SWIG_arg_fail(2)) SWIG_fail
;
26928 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxDC
, SWIG_POINTER_EXCEPTION
| 0);
26929 if (SWIG_arg_fail(3)) SWIG_fail
;
26930 if (arg3
== NULL
) {
26931 SWIG_null_ref("wxDC");
26933 if (SWIG_arg_fail(3)) SWIG_fail
;
26936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26937 result
= (bool)(arg1
)->base_DrawBlankPage(arg2
,*arg3
);
26939 wxPyEndAllowThreads(__tstate
);
26940 if (PyErr_Occurred()) SWIG_fail
;
26943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26951 static PyObject
*_wrap_PyPrintPreview_base_RenderPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26952 PyObject
*resultobj
;
26953 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26956 PyObject
* obj0
= 0 ;
26957 PyObject
* obj1
= 0 ;
26958 char *kwnames
[] = {
26959 (char *) "self",(char *) "pageNum", NULL
26962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames
,&obj0
,&obj1
)) goto fail
;
26963 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26964 if (SWIG_arg_fail(1)) SWIG_fail
;
26966 arg2
= (int)(SWIG_As_int(obj1
));
26967 if (SWIG_arg_fail(2)) SWIG_fail
;
26970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26971 result
= (bool)(arg1
)->base_RenderPage(arg2
);
26973 wxPyEndAllowThreads(__tstate
);
26974 if (PyErr_Occurred()) SWIG_fail
;
26977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26985 static PyObject
*_wrap_PyPrintPreview_base_SetZoom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26986 PyObject
*resultobj
;
26987 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
26989 PyObject
* obj0
= 0 ;
26990 PyObject
* obj1
= 0 ;
26991 char *kwnames
[] = {
26992 (char *) "self",(char *) "percent", NULL
26995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames
,&obj0
,&obj1
)) goto fail
;
26996 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
26997 if (SWIG_arg_fail(1)) SWIG_fail
;
26999 arg2
= (int)(SWIG_As_int(obj1
));
27000 if (SWIG_arg_fail(2)) SWIG_fail
;
27003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27004 (arg1
)->base_SetZoom(arg2
);
27006 wxPyEndAllowThreads(__tstate
);
27007 if (PyErr_Occurred()) SWIG_fail
;
27009 Py_INCREF(Py_None
); resultobj
= Py_None
;
27016 static PyObject
*_wrap_PyPrintPreview_base_Print(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27017 PyObject
*resultobj
;
27018 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27021 PyObject
* obj0
= 0 ;
27022 PyObject
* obj1
= 0 ;
27023 char *kwnames
[] = {
27024 (char *) "self",(char *) "interactive", NULL
27027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPrintPreview_base_Print",kwnames
,&obj0
,&obj1
)) goto fail
;
27028 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27029 if (SWIG_arg_fail(1)) SWIG_fail
;
27031 arg2
= (bool)(SWIG_As_bool(obj1
));
27032 if (SWIG_arg_fail(2)) SWIG_fail
;
27035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27036 result
= (bool)(arg1
)->base_Print(arg2
);
27038 wxPyEndAllowThreads(__tstate
);
27039 if (PyErr_Occurred()) SWIG_fail
;
27042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27050 static PyObject
*_wrap_PyPrintPreview_base_DetermineScaling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27051 PyObject
*resultobj
;
27052 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
27053 PyObject
* obj0
= 0 ;
27054 char *kwnames
[] = {
27055 (char *) "self", NULL
27058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames
,&obj0
)) goto fail
;
27059 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27060 if (SWIG_arg_fail(1)) SWIG_fail
;
27062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27063 (arg1
)->base_DetermineScaling();
27065 wxPyEndAllowThreads(__tstate
);
27066 if (PyErr_Occurred()) SWIG_fail
;
27068 Py_INCREF(Py_None
); resultobj
= Py_None
;
27075 static PyObject
* PyPrintPreview_swigregister(PyObject
*, PyObject
*args
) {
27077 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27078 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview
, obj
);
27080 return Py_BuildValue((char *)"");
27082 static PyObject
*_wrap_new_PyPreviewFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27083 PyObject
*resultobj
;
27084 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
27085 wxFrame
*arg2
= (wxFrame
*) 0 ;
27086 wxString
*arg3
= 0 ;
27087 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27088 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27089 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27090 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27091 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
27092 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
27093 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27094 wxPyPreviewFrame
*result
;
27095 bool temp3
= false ;
27098 bool temp7
= false ;
27099 PyObject
* obj0
= 0 ;
27100 PyObject
* obj1
= 0 ;
27101 PyObject
* obj2
= 0 ;
27102 PyObject
* obj3
= 0 ;
27103 PyObject
* obj4
= 0 ;
27104 PyObject
* obj5
= 0 ;
27105 PyObject
* obj6
= 0 ;
27106 char *kwnames
[] = {
27107 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27111 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27112 if (SWIG_arg_fail(1)) SWIG_fail
;
27113 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxFrame
, SWIG_POINTER_EXCEPTION
| 0);
27114 if (SWIG_arg_fail(2)) SWIG_fail
;
27116 arg3
= wxString_in_helper(obj2
);
27117 if (arg3
== NULL
) SWIG_fail
;
27123 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27129 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27134 arg6
= (long)(SWIG_As_long(obj5
));
27135 if (SWIG_arg_fail(6)) SWIG_fail
;
27140 arg7
= wxString_in_helper(obj6
);
27141 if (arg7
== NULL
) SWIG_fail
;
27146 if (!wxPyCheckForApp()) SWIG_fail
;
27147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27148 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
27150 wxPyEndAllowThreads(__tstate
);
27151 if (PyErr_Occurred()) SWIG_fail
;
27153 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewFrame
, 1);
27176 static PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27177 PyObject
*resultobj
;
27178 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27179 PyObject
*arg2
= (PyObject
*) 0 ;
27180 PyObject
*arg3
= (PyObject
*) 0 ;
27181 PyObject
* obj0
= 0 ;
27182 PyObject
* obj1
= 0 ;
27183 PyObject
* obj2
= 0 ;
27184 char *kwnames
[] = {
27185 (char *) "self",(char *) "self",(char *) "_class", NULL
27188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27189 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27190 if (SWIG_arg_fail(1)) SWIG_fail
;
27194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27195 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27197 wxPyEndAllowThreads(__tstate
);
27198 if (PyErr_Occurred()) SWIG_fail
;
27200 Py_INCREF(Py_None
); resultobj
= Py_None
;
27207 static PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27208 PyObject
*resultobj
;
27209 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27210 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
27211 PyObject
* obj0
= 0 ;
27212 PyObject
* obj1
= 0 ;
27213 char *kwnames
[] = {
27214 (char *) "self",(char *) "canvas", NULL
27217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) goto fail
;
27218 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27219 if (SWIG_arg_fail(1)) SWIG_fail
;
27220 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_EXCEPTION
| 0);
27221 if (SWIG_arg_fail(2)) SWIG_fail
;
27223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27224 (arg1
)->SetPreviewCanvas(arg2
);
27226 wxPyEndAllowThreads(__tstate
);
27227 if (PyErr_Occurred()) SWIG_fail
;
27229 Py_INCREF(Py_None
); resultobj
= Py_None
;
27236 static PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27237 PyObject
*resultobj
;
27238 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27239 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
27240 PyObject
* obj0
= 0 ;
27241 PyObject
* obj1
= 0 ;
27242 char *kwnames
[] = {
27243 (char *) "self",(char *) "bar", NULL
27246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) goto fail
;
27247 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27248 if (SWIG_arg_fail(1)) SWIG_fail
;
27249 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27250 if (SWIG_arg_fail(2)) SWIG_fail
;
27252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27253 (arg1
)->SetControlBar(arg2
);
27255 wxPyEndAllowThreads(__tstate
);
27256 if (PyErr_Occurred()) SWIG_fail
;
27258 Py_INCREF(Py_None
); resultobj
= Py_None
;
27265 static PyObject
*_wrap_PyPreviewFrame_base_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27266 PyObject
*resultobj
;
27267 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27268 PyObject
* obj0
= 0 ;
27269 char *kwnames
[] = {
27270 (char *) "self", NULL
27273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_Initialize",kwnames
,&obj0
)) goto fail
;
27274 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27275 if (SWIG_arg_fail(1)) SWIG_fail
;
27277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27278 (arg1
)->base_Initialize();
27280 wxPyEndAllowThreads(__tstate
);
27281 if (PyErr_Occurred()) SWIG_fail
;
27283 Py_INCREF(Py_None
); resultobj
= Py_None
;
27290 static PyObject
*_wrap_PyPreviewFrame_base_CreateCanvas(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27291 PyObject
*resultobj
;
27292 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27293 PyObject
* obj0
= 0 ;
27294 char *kwnames
[] = {
27295 (char *) "self", NULL
27298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames
,&obj0
)) goto fail
;
27299 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27300 if (SWIG_arg_fail(1)) SWIG_fail
;
27302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27303 (arg1
)->base_CreateCanvas();
27305 wxPyEndAllowThreads(__tstate
);
27306 if (PyErr_Occurred()) SWIG_fail
;
27308 Py_INCREF(Py_None
); resultobj
= Py_None
;
27315 static PyObject
*_wrap_PyPreviewFrame_base_CreateControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27316 PyObject
*resultobj
;
27317 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
27318 PyObject
* obj0
= 0 ;
27319 char *kwnames
[] = {
27320 (char *) "self", NULL
27323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames
,&obj0
)) goto fail
;
27324 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_EXCEPTION
| 0);
27325 if (SWIG_arg_fail(1)) SWIG_fail
;
27327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27328 (arg1
)->base_CreateControlBar();
27330 wxPyEndAllowThreads(__tstate
);
27331 if (PyErr_Occurred()) SWIG_fail
;
27333 Py_INCREF(Py_None
); resultobj
= Py_None
;
27340 static PyObject
* PyPreviewFrame_swigregister(PyObject
*, PyObject
*args
) {
27342 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27343 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame
, obj
);
27345 return Py_BuildValue((char *)"");
27347 static PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27348 PyObject
*resultobj
;
27349 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
27351 wxWindow
*arg3
= (wxWindow
*) 0 ;
27352 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27353 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27354 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27355 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27356 long arg6
= (long) 0 ;
27357 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
27358 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27359 wxPyPreviewControlBar
*result
;
27362 bool temp7
= false ;
27363 PyObject
* obj0
= 0 ;
27364 PyObject
* obj1
= 0 ;
27365 PyObject
* obj2
= 0 ;
27366 PyObject
* obj3
= 0 ;
27367 PyObject
* obj4
= 0 ;
27368 PyObject
* obj5
= 0 ;
27369 PyObject
* obj6
= 0 ;
27370 char *kwnames
[] = {
27371 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
27374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27375 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27376 if (SWIG_arg_fail(1)) SWIG_fail
;
27378 arg2
= (long)(SWIG_As_long(obj1
));
27379 if (SWIG_arg_fail(2)) SWIG_fail
;
27381 SWIG_Python_ConvertPtr(obj2
, (void **)&arg3
, SWIGTYPE_p_wxWindow
, SWIG_POINTER_EXCEPTION
| 0);
27382 if (SWIG_arg_fail(3)) SWIG_fail
;
27386 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
27392 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
27397 arg6
= (long)(SWIG_As_long(obj5
));
27398 if (SWIG_arg_fail(6)) SWIG_fail
;
27403 arg7
= wxString_in_helper(obj6
);
27404 if (arg7
== NULL
) SWIG_fail
;
27409 if (!wxPyCheckForApp()) SWIG_fail
;
27410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27411 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
27413 wxPyEndAllowThreads(__tstate
);
27414 if (PyErr_Occurred()) SWIG_fail
;
27416 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyPreviewControlBar
, 1);
27431 static PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27432 PyObject
*resultobj
;
27433 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27434 PyObject
*arg2
= (PyObject
*) 0 ;
27435 PyObject
*arg3
= (PyObject
*) 0 ;
27436 PyObject
* obj0
= 0 ;
27437 PyObject
* obj1
= 0 ;
27438 PyObject
* obj2
= 0 ;
27439 char *kwnames
[] = {
27440 (char *) "self",(char *) "self",(char *) "_class", NULL
27443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27444 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27445 if (SWIG_arg_fail(1)) SWIG_fail
;
27449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27450 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27452 wxPyEndAllowThreads(__tstate
);
27453 if (PyErr_Occurred()) SWIG_fail
;
27455 Py_INCREF(Py_None
); resultobj
= Py_None
;
27462 static PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27463 PyObject
*resultobj
;
27464 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27465 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
27466 PyObject
* obj0
= 0 ;
27467 PyObject
* obj1
= 0 ;
27468 char *kwnames
[] = {
27469 (char *) "self",(char *) "preview", NULL
27472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) goto fail
;
27473 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27474 if (SWIG_arg_fail(1)) SWIG_fail
;
27475 SWIG_Python_ConvertPtr(obj1
, (void **)&arg2
, SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_EXCEPTION
| 0);
27476 if (SWIG_arg_fail(2)) SWIG_fail
;
27478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27479 (arg1
)->SetPrintPreview(arg2
);
27481 wxPyEndAllowThreads(__tstate
);
27482 if (PyErr_Occurred()) SWIG_fail
;
27484 Py_INCREF(Py_None
); resultobj
= Py_None
;
27491 static PyObject
*_wrap_PyPreviewControlBar_base_CreateButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27492 PyObject
*resultobj
;
27493 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27494 PyObject
* obj0
= 0 ;
27495 char *kwnames
[] = {
27496 (char *) "self", NULL
27499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames
,&obj0
)) goto fail
;
27500 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27501 if (SWIG_arg_fail(1)) SWIG_fail
;
27503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27504 (arg1
)->base_CreateButtons();
27506 wxPyEndAllowThreads(__tstate
);
27507 if (PyErr_Occurred()) SWIG_fail
;
27509 Py_INCREF(Py_None
); resultobj
= Py_None
;
27516 static PyObject
*_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27517 PyObject
*resultobj
;
27518 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
27520 PyObject
* obj0
= 0 ;
27521 PyObject
* obj1
= 0 ;
27522 char *kwnames
[] = {
27523 (char *) "self",(char *) "zoom", NULL
27526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames
,&obj0
,&obj1
)) goto fail
;
27527 SWIG_Python_ConvertPtr(obj0
, (void **)&arg1
, SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_EXCEPTION
| 0);
27528 if (SWIG_arg_fail(1)) SWIG_fail
;
27530 arg2
= (int)(SWIG_As_int(obj1
));
27531 if (SWIG_arg_fail(2)) SWIG_fail
;
27534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27535 (arg1
)->base_SetZoomControl(arg2
);
27537 wxPyEndAllowThreads(__tstate
);
27538 if (PyErr_Occurred()) SWIG_fail
;
27540 Py_INCREF(Py_None
); resultobj
= Py_None
;
27547 static PyObject
* PyPreviewControlBar_swigregister(PyObject
*, PyObject
*args
) {
27549 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27550 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar
, obj
);
27552 return Py_BuildValue((char *)"");
27554 static PyMethodDef SwigMethods
[] = {
27555 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27556 { (char *)"new_PrePanel", (PyCFunction
) _wrap_new_PrePanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27557 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27558 { (char *)"Panel_InitDialog", (PyCFunction
) _wrap_Panel_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27559 { (char *)"Panel_SetFocus", (PyCFunction
) _wrap_Panel_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27560 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
) _wrap_Panel_SetFocusIgnoringChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27561 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27562 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
27563 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27564 { (char *)"new_PreScrolledWindow", (PyCFunction
) _wrap_new_PreScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27565 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27566 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27567 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27568 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27569 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27570 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27571 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27572 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27573 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
) _wrap_ScrolledWindow_GetViewStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27574 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27575 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
) _wrap_ScrolledWindow_GetScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27576 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
) _wrap_ScrolledWindow_GetScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27577 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
27578 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
27579 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
) _wrap_ScrolledWindow_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27580 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27581 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27582 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_GetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27583 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27584 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_GetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27585 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27586 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27587 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27588 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27589 { (char *)"TopLevelWindow_Restore", (PyCFunction
) _wrap_TopLevelWindow_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27590 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27591 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
) _wrap_TopLevelWindow_IsMaximized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27592 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
) _wrap_TopLevelWindow_IsIconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27593 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
) _wrap_TopLevelWindow_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27594 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27595 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27596 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27597 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
) _wrap_TopLevelWindow_IsFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27598 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27599 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
) _wrap_TopLevelWindow_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27600 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27601 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27602 { (char *)"TopLevelWindow_IsActive", (PyCFunction
) _wrap_TopLevelWindow_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27603 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27604 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacGetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27605 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
27606 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27607 { (char *)"new_PreFrame", (PyCFunction
) _wrap_new_PreFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27608 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27609 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction
) _wrap_Frame_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27610 { (char *)"Frame_SendSizeEvent", (PyCFunction
) _wrap_Frame_SendSizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27611 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27612 { (char *)"Frame_GetMenuBar", (PyCFunction
) _wrap_Frame_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27613 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27614 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27615 { (char *)"Frame_GetStatusBar", (PyCFunction
) _wrap_Frame_GetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27616 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27617 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27618 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27619 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27620 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27621 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27622 { (char *)"Frame_GetStatusBarPane", (PyCFunction
) _wrap_Frame_GetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27623 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27624 { (char *)"Frame_GetToolBar", (PyCFunction
) _wrap_Frame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27625 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27626 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27627 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27628 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27629 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
27630 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27631 { (char *)"new_PreDialog", (PyCFunction
) _wrap_new_PreDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27632 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27633 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27634 { (char *)"Dialog_GetReturnCode", (PyCFunction
) _wrap_Dialog_GetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27635 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27636 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27637 { (char *)"Dialog_IsModal", (PyCFunction
) _wrap_Dialog_IsModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27638 { (char *)"Dialog_ShowModal", (PyCFunction
) _wrap_Dialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27639 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27640 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27641 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
27642 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27643 { (char *)"new_PreMiniFrame", (PyCFunction
) _wrap_new_PreMiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27644 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27645 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
27646 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27647 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27648 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27649 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
27650 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27651 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
) _wrap_SplashScreen_GetSplashStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27652 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
) _wrap_SplashScreen_GetSplashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27653 { (char *)"SplashScreen_GetTimeout", (PyCFunction
) _wrap_SplashScreen_GetTimeout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27654 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
27655 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27656 { (char *)"new_PreStatusBar", (PyCFunction
) _wrap_new_PreStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27657 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27658 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27659 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
) _wrap_StatusBar_GetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27660 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27661 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27662 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27663 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27664 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27665 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27666 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27667 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27668 { (char *)"StatusBar_GetBorderX", (PyCFunction
) _wrap_StatusBar_GetBorderX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27669 { (char *)"StatusBar_GetBorderY", (PyCFunction
) _wrap_StatusBar_GetBorderY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27670 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27671 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
27672 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27673 { (char *)"new_PreSplitterWindow", (PyCFunction
) _wrap_new_PreSplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27674 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27675 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
) _wrap_SplitterWindow_GetWindow1
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27676 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
) _wrap_SplitterWindow_GetWindow2
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27677 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27678 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
) _wrap_SplitterWindow_GetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27679 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27680 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27681 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27682 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27683 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27684 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
) _wrap_SplitterWindow_UpdateSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27685 { (char *)"SplitterWindow_IsSplit", (PyCFunction
) _wrap_SplitterWindow_IsSplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27686 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27687 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27688 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
) _wrap_SplitterWindow_GetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27689 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
) _wrap_SplitterWindow_GetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27690 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27691 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
) _wrap_SplitterWindow_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27692 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27693 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
) _wrap_SplitterWindow_GetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27694 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27695 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_GetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27696 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27697 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
) _wrap_SplitterWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27698 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27699 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_GetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27700 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27701 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
27702 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27703 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27704 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
) _wrap_SplitterEvent_GetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27705 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
) _wrap_SplitterEvent_GetWindowBeingRemoved
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27706 { (char *)"SplitterEvent_GetX", (PyCFunction
) _wrap_SplitterEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27707 { (char *)"SplitterEvent_GetY", (PyCFunction
) _wrap_SplitterEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27708 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
27709 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27710 { (char *)"new_PreSashWindow", (PyCFunction
) _wrap_new_PreSashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27711 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27712 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27713 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27714 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27715 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27716 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27717 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27718 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_GetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27719 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27720 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_GetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27721 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27722 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27723 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27724 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_GetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27725 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27726 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27727 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27728 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_GetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27729 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27730 { (char *)"SashWindow_SizeWindows", (PyCFunction
) _wrap_SashWindow_SizeWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27731 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
27732 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27733 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27734 { (char *)"SashEvent_GetEdge", (PyCFunction
) _wrap_SashEvent_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27735 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27736 { (char *)"SashEvent_GetDragRect", (PyCFunction
) _wrap_SashEvent_GetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27737 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27738 { (char *)"SashEvent_GetDragStatus", (PyCFunction
) _wrap_SashEvent_GetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27739 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
27740 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27741 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27742 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27743 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27744 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27745 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27746 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27747 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27748 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27749 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27750 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27751 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
27752 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27753 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27754 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27755 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27756 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27757 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
27758 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27759 { (char *)"new_PreSashLayoutWindow", (PyCFunction
) _wrap_new_PreSashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27760 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27761 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27762 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27763 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27764 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27765 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27766 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
27767 { (char *)"new_LayoutAlgorithm", (PyCFunction
) _wrap_new_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27768 { (char *)"delete_LayoutAlgorithm", (PyCFunction
) _wrap_delete_LayoutAlgorithm
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27769 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27770 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27771 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27772 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
27773 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27774 { (char *)"new_PrePopupWindow", (PyCFunction
) _wrap_new_PrePopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27775 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27776 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27777 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
27778 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27779 { (char *)"new_PrePopupTransientWindow", (PyCFunction
) _wrap_new_PrePopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27780 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27781 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27782 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
) _wrap_PopupTransientWindow_Dismiss
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27783 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
27784 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27785 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27786 { (char *)"TipWindow_Close", (PyCFunction
) _wrap_TipWindow_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27787 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
27788 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27789 { (char *)"new_PreVScrolledWindow", (PyCFunction
) _wrap_new_PreVScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27790 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27791 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27792 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27793 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27794 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction
) _wrap_VScrolledWindow_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27795 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction
) _wrap_VScrolledWindow_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27796 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27797 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27798 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27799 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27800 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
) _wrap_VScrolledWindow_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27801 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
) _wrap_VScrolledWindow_GetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27802 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetFirstVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27803 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
) _wrap_VScrolledWindow_GetLastVisibleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27804 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27805 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
27806 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27807 { (char *)"new_PreVListBox", (PyCFunction
) _wrap_new_PreVListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27808 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27809 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27810 { (char *)"VListBox_GetItemCount", (PyCFunction
) _wrap_VListBox_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27811 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
) _wrap_VListBox_HasMultipleSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27812 { (char *)"VListBox_GetSelection", (PyCFunction
) _wrap_VListBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27813 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27814 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27815 { (char *)"VListBox_GetSelectedCount", (PyCFunction
) _wrap_VListBox_GetSelectedCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27816 { (char *)"VListBox_GetFirstSelected", (PyCFunction
) _wrap_VListBox_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27817 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27818 { (char *)"VListBox_GetMargins", (PyCFunction
) _wrap_VListBox_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27819 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
) _wrap_VListBox_GetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27820 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27821 { (char *)"VListBox_Clear", (PyCFunction
) _wrap_VListBox_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27822 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27823 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27824 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27825 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27826 { (char *)"VListBox_SelectAll", (PyCFunction
) _wrap_VListBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27827 { (char *)"VListBox_DeselectAll", (PyCFunction
) _wrap_VListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27828 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27829 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27830 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27831 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
27832 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27833 { (char *)"new_PreHtmlListBox", (PyCFunction
) _wrap_new_PreHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27834 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27835 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27836 { (char *)"HtmlListBox_RefreshAll", (PyCFunction
) _wrap_HtmlListBox_RefreshAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27837 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27838 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
) _wrap_HtmlListBox_GetFileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27839 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
27840 { (char *)"new_TaskBarIcon", (PyCFunction
) _wrap_new_TaskBarIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27841 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27842 { (char *)"TaskBarIcon_Destroy", (PyCFunction
) _wrap_TaskBarIcon_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27843 { (char *)"TaskBarIcon_IsOk", (PyCFunction
) _wrap_TaskBarIcon_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27844 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
) _wrap_TaskBarIcon_IsIconInstalled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27845 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27846 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
) _wrap_TaskBarIcon_RemoveIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27847 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27848 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
27849 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27850 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
27851 { (char *)"new_ColourData", (PyCFunction
) _wrap_new_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27852 { (char *)"delete_ColourData", (PyCFunction
) _wrap_delete_ColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27853 { (char *)"ColourData_GetChooseFull", (PyCFunction
) _wrap_ColourData_GetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27854 { (char *)"ColourData_GetColour", (PyCFunction
) _wrap_ColourData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27855 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27856 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27857 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27858 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27859 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
27860 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27861 { (char *)"ColourDialog_GetColourData", (PyCFunction
) _wrap_ColourDialog_GetColourData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27862 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
27863 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27864 { (char *)"DirDialog_GetPath", (PyCFunction
) _wrap_DirDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27865 { (char *)"DirDialog_GetMessage", (PyCFunction
) _wrap_DirDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27866 { (char *)"DirDialog_GetStyle", (PyCFunction
) _wrap_DirDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27867 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27868 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27869 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
27870 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27871 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27872 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27873 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27874 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27875 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27876 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27877 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27878 { (char *)"FileDialog_GetMessage", (PyCFunction
) _wrap_FileDialog_GetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27879 { (char *)"FileDialog_GetPath", (PyCFunction
) _wrap_FileDialog_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27880 { (char *)"FileDialog_GetDirectory", (PyCFunction
) _wrap_FileDialog_GetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27881 { (char *)"FileDialog_GetFilename", (PyCFunction
) _wrap_FileDialog_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27882 { (char *)"FileDialog_GetWildcard", (PyCFunction
) _wrap_FileDialog_GetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27883 { (char *)"FileDialog_GetStyle", (PyCFunction
) _wrap_FileDialog_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27884 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
) _wrap_FileDialog_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27885 { (char *)"FileDialog_GetFilenames", (PyCFunction
) _wrap_FileDialog_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27886 { (char *)"FileDialog_GetPaths", (PyCFunction
) _wrap_FileDialog_GetPaths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27887 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
27888 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27889 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27890 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27891 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
27892 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27893 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27894 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
) _wrap_SingleChoiceDialog_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27895 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27896 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
27897 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27898 { (char *)"TextEntryDialog_GetValue", (PyCFunction
) _wrap_TextEntryDialog_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27899 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27900 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
27901 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27902 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
27903 { (char *)"new_FontData", (PyCFunction
) _wrap_new_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27904 { (char *)"delete_FontData", (PyCFunction
) _wrap_delete_FontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27905 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27906 { (char *)"FontData_GetAllowSymbols", (PyCFunction
) _wrap_FontData_GetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27907 { (char *)"FontData_GetColour", (PyCFunction
) _wrap_FontData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27908 { (char *)"FontData_GetChosenFont", (PyCFunction
) _wrap_FontData_GetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27909 { (char *)"FontData_GetEnableEffects", (PyCFunction
) _wrap_FontData_GetEnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27910 { (char *)"FontData_GetInitialFont", (PyCFunction
) _wrap_FontData_GetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27911 { (char *)"FontData_GetShowHelp", (PyCFunction
) _wrap_FontData_GetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27912 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27913 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27914 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27915 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27916 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27917 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27918 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
27919 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27920 { (char *)"FontDialog_GetFontData", (PyCFunction
) _wrap_FontDialog_GetFontData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27921 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
27922 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27923 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
27924 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27925 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27926 { (char *)"ProgressDialog_Resume", (PyCFunction
) _wrap_ProgressDialog_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27927 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
27928 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27929 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
) _wrap_FindDialogEvent_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27930 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
) _wrap_FindDialogEvent_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27931 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27932 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
) _wrap_FindDialogEvent_GetDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27933 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27934 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27935 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27936 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
27937 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27938 { (char *)"delete_FindReplaceData", (PyCFunction
) _wrap_delete_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27939 { (char *)"FindReplaceData_GetFindString", (PyCFunction
) _wrap_FindReplaceData_GetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27940 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
) _wrap_FindReplaceData_GetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27941 { (char *)"FindReplaceData_GetFlags", (PyCFunction
) _wrap_FindReplaceData_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27942 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27943 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27944 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27945 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
27946 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27947 { (char *)"new_PreFindReplaceDialog", (PyCFunction
) _wrap_new_PreFindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27948 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27949 { (char *)"FindReplaceDialog_GetData", (PyCFunction
) _wrap_FindReplaceDialog_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27950 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27951 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
27952 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27953 { (char *)"new_PreMDIParentFrame", (PyCFunction
) _wrap_new_PreMDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27954 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27955 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
) _wrap_MDIParentFrame_ActivateNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27956 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
) _wrap_MDIParentFrame_ActivatePrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27957 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
) _wrap_MDIParentFrame_ArrangeIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27958 { (char *)"MDIParentFrame_Cascade", (PyCFunction
) _wrap_MDIParentFrame_Cascade
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27959 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
) _wrap_MDIParentFrame_GetActiveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27960 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
) _wrap_MDIParentFrame_GetClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27961 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
) _wrap_MDIParentFrame_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27962 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_GetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27963 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_SetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27964 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction
) _wrap_MDIParentFrame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27965 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27966 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
27967 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27968 { (char *)"new_PreMDIChildFrame", (PyCFunction
) _wrap_new_PreMDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27969 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27970 { (char *)"MDIChildFrame_Activate", (PyCFunction
) _wrap_MDIChildFrame_Activate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27971 { (char *)"MDIChildFrame_Maximize", (PyCFunction
) _wrap_MDIChildFrame_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27972 { (char *)"MDIChildFrame_Restore", (PyCFunction
) _wrap_MDIChildFrame_Restore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27973 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
27974 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27975 { (char *)"new_PreMDIClientWindow", (PyCFunction
) _wrap_new_PreMDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27976 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27977 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
27978 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27979 { (char *)"new_PrePyWindow", (PyCFunction
) _wrap_new_PrePyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27980 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27981 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27982 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27983 { (char *)"PyWindow_base_DoSetSize", (PyCFunction
) _wrap_PyWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27984 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27985 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27986 { (char *)"PyWindow_base_DoGetSize", (PyCFunction
) _wrap_PyWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27987 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27988 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27989 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27990 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27991 { (char *)"PyWindow_base_InitDialog", (PyCFunction
) _wrap_PyWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27992 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27993 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27994 { (char *)"PyWindow_base_Validate", (PyCFunction
) _wrap_PyWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27995 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27996 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27997 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27998 { (char *)"PyWindow_base_AddChild", (PyCFunction
) _wrap_PyWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27999 { (char *)"PyWindow_base_RemoveChild", (PyCFunction
) _wrap_PyWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28000 { (char *)"PyWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28001 { (char *)"PyWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28002 { (char *)"PyWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28003 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
28004 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28005 { (char *)"new_PrePyPanel", (PyCFunction
) _wrap_new_PrePyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28006 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28007 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28008 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28009 { (char *)"PyPanel_base_DoSetSize", (PyCFunction
) _wrap_PyPanel_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28010 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28011 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28012 { (char *)"PyPanel_base_DoGetSize", (PyCFunction
) _wrap_PyPanel_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28013 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction
) _wrap_PyPanel_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28014 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction
) _wrap_PyPanel_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28015 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyPanel_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28016 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction
) _wrap_PyPanel_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28017 { (char *)"PyPanel_base_InitDialog", (PyCFunction
) _wrap_PyPanel_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28018 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28019 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyPanel_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28020 { (char *)"PyPanel_base_Validate", (PyCFunction
) _wrap_PyPanel_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28021 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28022 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyPanel_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28023 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction
) _wrap_PyPanel_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28024 { (char *)"PyPanel_base_AddChild", (PyCFunction
) _wrap_PyPanel_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28025 { (char *)"PyPanel_base_RemoveChild", (PyCFunction
) _wrap_PyPanel_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28026 { (char *)"PyPanel_base_ShouldInheritColours", (PyCFunction
) _wrap_PyPanel_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28027 { (char *)"PyPanel_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyPanel_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28028 { (char *)"PyPanel_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyPanel_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28029 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
28030 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28031 { (char *)"new_PrePyScrolledWindow", (PyCFunction
) _wrap_new_PrePyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28032 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28033 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28034 { (char *)"PyScrolledWindow_base_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28035 { (char *)"PyScrolledWindow_base_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28036 { (char *)"PyScrolledWindow_base_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28037 { (char *)"PyScrolledWindow_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28038 { (char *)"PyScrolledWindow_base_DoGetSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28039 { (char *)"PyScrolledWindow_base_DoGetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28040 { (char *)"PyScrolledWindow_base_DoGetPosition", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28041 { (char *)"PyScrolledWindow_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28042 { (char *)"PyScrolledWindow_base_DoGetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28043 { (char *)"PyScrolledWindow_base_InitDialog", (PyCFunction
) _wrap_PyScrolledWindow_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28044 { (char *)"PyScrolledWindow_base_TransferDataToWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28045 { (char *)"PyScrolledWindow_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyScrolledWindow_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28046 { (char *)"PyScrolledWindow_base_Validate", (PyCFunction
) _wrap_PyScrolledWindow_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28047 { (char *)"PyScrolledWindow_base_AcceptsFocus", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28048 { (char *)"PyScrolledWindow_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyScrolledWindow_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28049 { (char *)"PyScrolledWindow_base_GetMaxSize", (PyCFunction
) _wrap_PyScrolledWindow_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28050 { (char *)"PyScrolledWindow_base_AddChild", (PyCFunction
) _wrap_PyScrolledWindow_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28051 { (char *)"PyScrolledWindow_base_RemoveChild", (PyCFunction
) _wrap_PyScrolledWindow_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28052 { (char *)"PyScrolledWindow_base_ShouldInheritColours", (PyCFunction
) _wrap_PyScrolledWindow_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28053 { (char *)"PyScrolledWindow_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyScrolledWindow_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28054 { (char *)"PyScrolledWindow_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyScrolledWindow_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28055 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
28056 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
28057 { (char *)"delete_PrintData", (PyCFunction
) _wrap_delete_PrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28058 { (char *)"PrintData_GetNoCopies", (PyCFunction
) _wrap_PrintData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28059 { (char *)"PrintData_GetCollate", (PyCFunction
) _wrap_PrintData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28060 { (char *)"PrintData_GetOrientation", (PyCFunction
) _wrap_PrintData_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28061 { (char *)"PrintData_Ok", (PyCFunction
) _wrap_PrintData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28062 { (char *)"PrintData_GetPrinterName", (PyCFunction
) _wrap_PrintData_GetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28063 { (char *)"PrintData_GetColour", (PyCFunction
) _wrap_PrintData_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28064 { (char *)"PrintData_GetDuplex", (PyCFunction
) _wrap_PrintData_GetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28065 { (char *)"PrintData_GetPaperId", (PyCFunction
) _wrap_PrintData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28066 { (char *)"PrintData_GetPaperSize", (PyCFunction
) _wrap_PrintData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28067 { (char *)"PrintData_GetQuality", (PyCFunction
) _wrap_PrintData_GetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28068 { (char *)"PrintData_GetBin", (PyCFunction
) _wrap_PrintData_GetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28069 { (char *)"PrintData_GetPrintMode", (PyCFunction
) _wrap_PrintData_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28070 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28071 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28072 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28073 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28074 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28075 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28076 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28077 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28078 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28079 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28080 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28081 { (char *)"PrintData_GetFilename", (PyCFunction
) _wrap_PrintData_GetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28082 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28083 { (char *)"PrintData_GetPrinterCommand", (PyCFunction
) _wrap_PrintData_GetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28084 { (char *)"PrintData_GetPrinterOptions", (PyCFunction
) _wrap_PrintData_GetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28085 { (char *)"PrintData_GetPreviewCommand", (PyCFunction
) _wrap_PrintData_GetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28086 { (char *)"PrintData_GetFontMetricPath", (PyCFunction
) _wrap_PrintData_GetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28087 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction
) _wrap_PrintData_GetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28088 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction
) _wrap_PrintData_GetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28089 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28090 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_GetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28091 { (char *)"PrintData_SetPrinterCommand", (PyCFunction
) _wrap_PrintData_SetPrinterCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28092 { (char *)"PrintData_SetPrinterOptions", (PyCFunction
) _wrap_PrintData_SetPrinterOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28093 { (char *)"PrintData_SetPreviewCommand", (PyCFunction
) _wrap_PrintData_SetPreviewCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28094 { (char *)"PrintData_SetFontMetricPath", (PyCFunction
) _wrap_PrintData_SetFontMetricPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28095 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction
) _wrap_PrintData_SetPrinterScaleX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28096 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction
) _wrap_PrintData_SetPrinterScaleY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28097 { (char *)"PrintData_SetPrinterScaling", (PyCFunction
) _wrap_PrintData_SetPrinterScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28098 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28099 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction
) _wrap_PrintData_SetPrinterTranslateY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28100 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction
) _wrap_PrintData_SetPrinterTranslation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28101 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
28102 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
28103 { (char *)"delete_PageSetupDialogData", (PyCFunction
) _wrap_delete_PageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28104 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28105 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28106 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28107 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28108 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28109 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28110 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28111 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28112 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28113 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_GetEnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28114 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28115 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_GetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28116 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28117 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28118 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28119 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28120 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28121 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_GetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28122 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28123 { (char *)"PageSetupDialogData_Ok", (PyCFunction
) _wrap_PageSetupDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28124 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28125 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28126 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28127 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28128 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28129 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28130 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28131 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28132 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28133 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
28134 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28135 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28136 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
) _wrap_PageSetupDialog_GetPageSetupDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28137 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
) _wrap_PageSetupDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28138 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
28139 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
28140 { (char *)"delete_PrintDialogData", (PyCFunction
) _wrap_delete_PrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28141 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
) _wrap_PrintDialogData_GetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28142 { (char *)"PrintDialogData_GetToPage", (PyCFunction
) _wrap_PrintDialogData_GetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28143 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
) _wrap_PrintDialogData_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28144 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
) _wrap_PrintDialogData_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28145 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
) _wrap_PrintDialogData_GetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28146 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
) _wrap_PrintDialogData_GetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28147 { (char *)"PrintDialogData_GetSelection", (PyCFunction
) _wrap_PrintDialogData_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28148 { (char *)"PrintDialogData_GetCollate", (PyCFunction
) _wrap_PrintDialogData_GetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28149 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28150 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_GetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28151 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction
) _wrap_PrintDialogData_SetSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28152 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28153 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28154 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28155 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28156 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28157 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28158 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28159 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28160 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28161 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28162 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28163 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28164 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28165 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_GetEnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28166 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
) _wrap_PrintDialogData_GetEnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28167 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_GetEnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28168 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
) _wrap_PrintDialogData_GetEnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28169 { (char *)"PrintDialogData_Ok", (PyCFunction
) _wrap_PrintDialogData_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28170 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
) _wrap_PrintDialogData_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28171 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28172 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
28173 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28174 { (char *)"PrintDialog_ShowModal", (PyCFunction
) _wrap_PrintDialog_ShowModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28175 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
) _wrap_PrintDialog_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28176 { (char *)"PrintDialog_GetPrintData", (PyCFunction
) _wrap_PrintDialog_GetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28177 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
) _wrap_PrintDialog_GetPrintDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28178 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
28179 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28180 { (char *)"delete_Printer", (PyCFunction
) _wrap_delete_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28181 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28182 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28183 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28184 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28185 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28186 { (char *)"Printer_GetPrintDialogData", (PyCFunction
) _wrap_Printer_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28187 { (char *)"Printer_GetAbort", (PyCFunction
) _wrap_Printer_GetAbort
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28188 { (char *)"Printer_GetLastError", (PyCFunction
) _wrap_Printer_GetLastError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28189 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
28190 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28191 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28192 { (char *)"Printout_GetTitle", (PyCFunction
) _wrap_Printout_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28193 { (char *)"Printout_GetDC", (PyCFunction
) _wrap_Printout_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28194 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28195 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28196 { (char *)"Printout_GetPageSizePixels", (PyCFunction
) _wrap_Printout_GetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28197 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28198 { (char *)"Printout_GetPageSizeMM", (PyCFunction
) _wrap_Printout_GetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28199 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28200 { (char *)"Printout_GetPPIScreen", (PyCFunction
) _wrap_Printout_GetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28201 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28202 { (char *)"Printout_GetPPIPrinter", (PyCFunction
) _wrap_Printout_GetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28203 { (char *)"Printout_IsPreview", (PyCFunction
) _wrap_Printout_IsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28204 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28205 { (char *)"Printout_base_OnBeginDocument", (PyCFunction
) _wrap_Printout_base_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28206 { (char *)"Printout_base_OnEndDocument", (PyCFunction
) _wrap_Printout_base_OnEndDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28207 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction
) _wrap_Printout_base_OnBeginPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28208 { (char *)"Printout_base_OnEndPrinting", (PyCFunction
) _wrap_Printout_base_OnEndPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28209 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction
) _wrap_Printout_base_OnPreparePrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28210 { (char *)"Printout_base_HasPage", (PyCFunction
) _wrap_Printout_base_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28211 { (char *)"Printout_base_GetPageInfo", (PyCFunction
) _wrap_Printout_base_GetPageInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28212 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
28213 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28214 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
28215 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28216 { (char *)"PreviewFrame_Initialize", (PyCFunction
) _wrap_PreviewFrame_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28217 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
) _wrap_PreviewFrame_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28218 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
) _wrap_PreviewFrame_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28219 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
) _wrap_PreviewFrame_GetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28220 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
28221 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28222 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_GetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28223 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28224 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
) _wrap_PreviewControlBar_GetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28225 { (char *)"PreviewControlBar_OnNext", (PyCFunction
) _wrap_PreviewControlBar_OnNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28226 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
) _wrap_PreviewControlBar_OnPrevious
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28227 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
) _wrap_PreviewControlBar_OnFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28228 { (char *)"PreviewControlBar_OnLast", (PyCFunction
) _wrap_PreviewControlBar_OnLast
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28229 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
) _wrap_PreviewControlBar_OnGoto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28230 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
28231 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
28232 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28233 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
) _wrap_PrintPreview_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28234 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28235 { (char *)"PrintPreview_GetPrintout", (PyCFunction
) _wrap_PrintPreview_GetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28236 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
) _wrap_PrintPreview_GetPrintoutForPrinting
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28237 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28238 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28239 { (char *)"PrintPreview_GetFrame", (PyCFunction
) _wrap_PrintPreview_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28240 { (char *)"PrintPreview_GetCanvas", (PyCFunction
) _wrap_PrintPreview_GetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28241 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28242 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28243 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28244 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28245 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
) _wrap_PrintPreview_GetPrintDialogData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28246 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28247 { (char *)"PrintPreview_GetZoom", (PyCFunction
) _wrap_PrintPreview_GetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28248 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
) _wrap_PrintPreview_GetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28249 { (char *)"PrintPreview_GetMinPage", (PyCFunction
) _wrap_PrintPreview_GetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28250 { (char *)"PrintPreview_Ok", (PyCFunction
) _wrap_PrintPreview_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28251 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28252 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28253 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
) _wrap_PrintPreview_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28254 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
28255 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
28256 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28257 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction
) _wrap_PyPrintPreview_base_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28258 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction
) _wrap_PyPrintPreview_base_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28259 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction
) _wrap_PyPrintPreview_base_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28260 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction
) _wrap_PyPrintPreview_base_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28261 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction
) _wrap_PyPrintPreview_base_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28262 { (char *)"PyPrintPreview_base_Print", (PyCFunction
) _wrap_PyPrintPreview_base_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28263 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction
) _wrap_PyPrintPreview_base_DetermineScaling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28264 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
28265 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28266 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28267 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28268 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28269 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction
) _wrap_PyPreviewFrame_base_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28270 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28271 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction
) _wrap_PyPreviewFrame_base_CreateControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28272 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
28273 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28274 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28275 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28276 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction
) _wrap_PyPreviewControlBar_base_CreateButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28277 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_base_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28278 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
28279 { NULL
, NULL
, 0, NULL
}
28283 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28285 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
28286 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28288 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
28289 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28291 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
28292 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
28294 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
28295 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
28297 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
28298 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
28300 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
28301 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
28303 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
28304 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
28306 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
28307 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28309 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
28310 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
28312 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
28313 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
28315 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
28316 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
28318 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
28319 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
28321 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
28322 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28324 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
28325 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
28327 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
28328 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
28330 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
28331 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28333 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
28334 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28336 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
28337 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
28339 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
28340 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
28342 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
28343 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
28345 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
28346 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
28348 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
28349 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
28351 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
28352 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
28354 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
28355 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
28357 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
28358 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28360 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
28361 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28363 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
28364 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28366 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
28367 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28369 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
28370 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28372 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
28373 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
28375 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
28376 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
28378 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
28379 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28381 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
28382 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
28384 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
28385 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
28387 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
28388 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
28390 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
28391 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
28393 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
28394 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28396 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
28397 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28399 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
28400 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28402 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
28403 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
28405 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
28406 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
28408 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
28409 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
28411 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
28412 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28414 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
28415 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28417 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
28418 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28420 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
28421 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28423 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
28424 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
28426 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
28427 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
28429 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
28430 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
28432 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
28433 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
28435 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
28436 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
28438 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
28439 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28441 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
28442 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28444 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
28445 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28447 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
28448 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28450 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
28451 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28453 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
28454 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28456 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
28457 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28459 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
28460 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28462 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
28463 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
28465 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
28466 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
28468 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
28469 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28471 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
28472 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
28474 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
28475 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28477 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
28478 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
28480 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
28481 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28483 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
28484 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
28486 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
28487 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
28489 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
28490 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
28492 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
28493 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
28495 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
28496 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
28498 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
28499 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
28501 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
28502 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
28504 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
28505 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28507 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
28508 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
28510 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
28511 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28513 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
28514 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28516 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
28517 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28519 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
28520 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
28522 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
28523 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28525 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
28526 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
28528 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
28529 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28531 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
28532 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28534 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
28535 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28537 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28538 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
28540 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
28541 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
28543 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
28544 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
28546 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
28547 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
28549 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
28550 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
28552 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
28553 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
28555 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
28556 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
28558 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
28559 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
28561 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
28562 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28564 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
28565 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28567 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
28568 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
28570 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
28571 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
28573 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
28574 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
28576 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
28577 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28579 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
28580 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
28582 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
28583 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
28585 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
28586 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
28588 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
28589 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
28591 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
28592 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
28594 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
28595 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
28597 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
28598 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
28600 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
28601 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
28603 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
28604 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
28606 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
28607 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
28609 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
28610 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
28612 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
28613 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
28615 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
28616 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
28618 static void *_p_wxSizerTo_p_wxObject(void *x
) {
28619 return (void *)((wxObject
*) ((wxSizer
*) x
));
28621 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
28622 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
28624 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
28625 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28627 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
28628 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
28630 static void *_p_wxEventTo_p_wxObject(void *x
) {
28631 return (void *)((wxObject
*) ((wxEvent
*) x
));
28633 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
28634 return (void *)((wxObject
*) ((wxFontData
*) x
));
28636 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
28637 return (void *)((wxObject
*) ((wxPrintData
*) x
));
28639 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
28640 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
28642 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
28643 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
28645 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
28646 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
28648 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
28649 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
28651 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
28652 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
28654 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
28655 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
28657 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
28658 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
28660 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
28661 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
28663 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
28664 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28666 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
28667 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28669 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
28670 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28672 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
28673 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28675 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
28676 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
28678 static void *_p_wxControlTo_p_wxObject(void *x
) {
28679 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
28681 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
28682 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
28684 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
28685 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
28687 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
28688 return (void *)((wxObject
*) ((wxFSFile
*) x
));
28690 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
28691 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
28693 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
28694 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
28696 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
28697 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
28699 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
28700 return (void *)((wxObject
*) ((wxColourData
*) x
));
28702 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
28703 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
28705 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
28706 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28708 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
28709 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
28711 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
28712 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
28714 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
28715 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
28717 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
28718 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
28720 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
28721 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
28723 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
28724 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
28726 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
28727 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
28729 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
28730 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
28732 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
28733 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
28735 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
28736 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
28738 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
28739 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
28741 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
28742 return (void *)((wxObject
*) ((wxPrinter
*) x
));
28744 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
28745 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
28747 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
28748 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
28750 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
28751 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28753 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
28754 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28756 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
28757 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
28759 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
28760 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
28762 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
28763 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
28765 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
28766 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
28768 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
28769 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
28771 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
28772 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
28774 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
28775 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
28777 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
28778 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
28780 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
28781 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
28783 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
28784 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
28786 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
28787 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
28789 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
28790 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
28792 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
28793 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
28795 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
28796 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
28798 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
28799 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
28801 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
28802 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
28804 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
28805 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
28807 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
28808 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
28810 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
28811 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
28813 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
28814 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28816 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
28817 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28819 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
28820 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
28822 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
28823 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
28825 static void *_p_wxImageTo_p_wxObject(void *x
) {
28826 return (void *)((wxObject
*) ((wxImage
*) x
));
28828 static void *_p_wxFrameTo_p_wxObject(void *x
) {
28829 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
28831 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
28832 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
28834 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
28835 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
28837 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
28838 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
28840 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
28841 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
28843 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
28844 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
28846 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
28847 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28849 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
28850 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28852 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
28853 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
28855 static void *_p_wxWindowTo_p_wxObject(void *x
) {
28856 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
28858 static void *_p_wxMenuTo_p_wxObject(void *x
) {
28859 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
28861 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
28862 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
28864 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
28865 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
28867 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
28868 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
28870 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
28871 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
28873 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
28874 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
28876 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
28877 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
28879 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
28880 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
28882 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
28883 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
28885 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
28886 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28888 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
28889 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
28891 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
28892 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
28894 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
28895 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
28897 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
28898 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
28900 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
28901 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
28903 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
28904 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
28906 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
28907 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
28909 static void *_p_wxPanelTo_p_wxObject(void *x
) {
28910 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
28912 static void *_p_wxDialogTo_p_wxObject(void *x
) {
28913 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
28915 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
28916 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
28918 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
28919 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
28921 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
28922 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
28924 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
28925 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
28927 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
28928 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
28930 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
28931 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
28933 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
28934 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28936 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
28937 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
28939 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
28940 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
28942 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
28943 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
28945 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
28946 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
28948 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
28949 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
28951 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
28952 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28954 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
28955 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
28957 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
28958 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
28960 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
28961 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
28963 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
28964 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
28966 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
28967 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
28969 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
28970 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28972 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
28973 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28975 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
28976 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
28978 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
28979 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
28981 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
28982 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
28984 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
28985 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
28987 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
28988 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
28990 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
28991 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
28993 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
28994 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
28996 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
28997 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
28999 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
29000 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
29002 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
29003 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
29005 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
29006 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
29008 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
29009 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
29011 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
29012 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
29014 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
29015 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
29017 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
29018 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
29020 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
29021 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
29023 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
29024 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
29026 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
29027 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
29029 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
29030 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
29032 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
29033 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
29035 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
29036 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
29038 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
29039 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29041 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
29042 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
29044 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
29045 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29047 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
29048 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29050 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
29051 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
29053 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
29054 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
29056 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
29057 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
29059 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
29060 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
29062 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
29063 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
29065 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
29066 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
29068 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
29069 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
29071 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29072 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29074 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
29075 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
29077 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
29078 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
29080 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
29081 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
29083 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
29084 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29086 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
29087 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
29089 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
29090 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29092 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
29093 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29095 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
29096 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
29098 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
29099 return (void *)((wxWindow
*) ((wxPanel
*) x
));
29101 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
29102 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
29104 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
29105 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
29107 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
29108 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
29110 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
29111 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
29113 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
29114 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
29116 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
29117 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
29119 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
29120 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
29122 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
29123 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
29125 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
29126 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
29128 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
29129 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
29131 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
29132 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
29134 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
29135 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
29137 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
29138 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29140 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29141 return (void *)((wxWindow
*) ((wxControl
*) x
));
29143 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
29144 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
29146 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
29147 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
29149 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
29150 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
29152 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29153 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29155 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
29156 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
29158 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
29159 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29161 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
29162 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29164 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
29165 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29167 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
29168 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
29170 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
29171 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29173 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
29174 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
29176 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
29177 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
29179 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
29180 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
29182 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
29183 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
29185 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
29186 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
29188 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
29189 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
29191 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
29192 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29194 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
29195 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29197 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
29198 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
29200 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
29201 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
29203 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
29204 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
29206 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
29207 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
29209 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
29210 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
29212 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
29213 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
29215 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
29216 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
29218 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
29219 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
29221 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
29222 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
29224 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
29225 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
29227 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
29228 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
29230 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
29231 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
29233 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
29234 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
29236 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
29237 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
29239 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
29240 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
29242 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
29243 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
29245 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
29246 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
29248 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
29249 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
29251 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
29252 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
29254 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
29255 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29257 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
29258 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29260 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
29261 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
29263 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
29264 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29266 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
29267 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29269 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
29270 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
29272 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
29273 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29275 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
29276 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29278 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
29279 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
29281 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
29282 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29284 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
29285 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29287 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
29288 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
29290 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
29291 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
29293 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29294 static swig_type_info _swigt__p_wxPreviewFrame
[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0, 0, 0, 0},{"_p_wxPreviewFrame", 0, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29295 static swig_type_info _swigt__p_wxPyPreviewFrame
[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0, 0, 0, 0},{"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29296 static swig_type_info _swigt__p_wxPyPanel
[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0, 0, 0, 0},{"_p_wxPyPanel", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29297 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0, 0, 0, 0},{"_p_wxMenu", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29298 static swig_type_info _swigt__p_wxFontData
[] = {{"_p_wxFontData", 0, "wxFontData *", 0, 0, 0, 0},{"_p_wxFontData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29299 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29300 static swig_type_info _swigt__p_wxPrintData
[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0, 0, 0, 0},{"_p_wxPrintData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29301 static swig_type_info _swigt__p_wxTaskBarIcon
[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0, 0, 0, 0},{"_p_wxTaskBarIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29302 static swig_type_info _swigt__p_wxPyTaskBarIcon
[] = {{"_p_wxPyTaskBarIcon", 0, "wxPyTaskBarIcon *", 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29303 static swig_type_info _swigt__p_wxIconBundle
[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0, 0, 0, 0},{"_p_wxIconBundle", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29304 static swig_type_info _swigt__p_wxLayoutAlgorithm
[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29305 static swig_type_info _swigt__p_wxFindDialogEvent
[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0, 0, 0, 0},{"_p_wxFindDialogEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29306 static swig_type_info _swigt__p_wxPreviewCanvas
[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0, 0, 0, 0},{"_p_wxPreviewCanvas", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29307 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29308 static swig_type_info _swigt__p_wxSplitterEvent
[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0, 0, 0, 0},{"_p_wxSplitterEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29309 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0, 0, 0, 0},{"_p_wxRegion", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29310 static swig_type_info _swigt__ptrdiff_t
[] = {{"_ptrdiff_t", 0, "ptrdiff_t", 0, 0, 0, 0},{"_ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29311 static swig_type_info _swigt__std__ptrdiff_t
[] = {{"_std__ptrdiff_t", 0, "std::ptrdiff_t", 0, 0, 0, 0},{"_std__ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29312 static swig_type_info _swigt__p_wxFindReplaceData
[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0, 0, 0, 0},{"_p_wxFindReplaceData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29313 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29314 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0, 0, 0, 0},{"_p_wxSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29315 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0, 0, 0, 0},{"_p_wxDC", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29316 static swig_type_info _swigt__p_wxIcon
[] = {{"_p_wxIcon", 0, "wxIcon *", 0, 0, 0, 0},{"_p_wxIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29317 static swig_type_info _swigt__p_wxVisualAttributes
[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29318 static swig_type_info _swigt__p_wxMDIChildFrame
[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29319 static swig_type_info _swigt__p_wxColourData
[] = {{"_p_wxColourData", 0, "wxColourData *", 0, 0, 0, 0},{"_p_wxColourData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29320 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29321 static swig_type_info _swigt__p_wxPyWindow
[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0, 0, 0, 0},{"_p_wxPyWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29322 static swig_type_info _swigt__p_form_ops_t
[] = {{"_p_form_ops_t", 0, "enum form_ops_t *|form_ops_t *", 0, 0, 0, 0},{"_p_form_ops_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29323 static swig_type_info _swigt__p_wxSplashScreen
[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0, 0, 0, 0},{"_p_wxSplashScreen", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29324 static swig_type_info _swigt__p_wxPasswordEntryDialog
[] = {{"_p_wxPasswordEntryDialog", 0, "wxPasswordEntryDialog *", 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29325 static swig_type_info _swigt__p_wxSingleChoiceDialog
[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29326 static swig_type_info _swigt__p_wxMultiChoiceDialog
[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29327 static swig_type_info _swigt__p_wxFileDialog
[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0, 0, 0, 0},{"_p_wxFileDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29328 static swig_type_info _swigt__p_wxTextEntryDialog
[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0, 0, 0, 0},{"_p_wxTextEntryDialog", 0, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxTextEntryDialog
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29329 static swig_type_info _swigt__p_wxMessageDialog
[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0, 0, 0, 0},{"_p_wxMessageDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29330 static swig_type_info _swigt__p_wxProgressDialog
[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0, 0, 0, 0},{"_p_wxProgressDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29331 static swig_type_info _swigt__p_wxFindReplaceDialog
[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0, 0, 0, 0},{"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29332 static swig_type_info _swigt__p_wxPrinter
[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0, 0, 0, 0},{"_p_wxPrinter", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29333 static swig_type_info _swigt__p_wxArrayInt
[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0, 0, 0, 0},{"_p_wxArrayInt", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29334 static swig_type_info _swigt__p_wxDuplexMode
[] = {{"_p_wxDuplexMode", 0, "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0, 0},{"_p_wxDuplexMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29335 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29336 static swig_type_info _swigt__p_wxCalculateLayoutEvent
[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29337 static swig_type_info _swigt__p_wxPyHtmlListBox
[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0, 0, 0, 0},{"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29338 static swig_type_info _swigt__p_wxPyVListBox
[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0, 0, 0, 0},{"_p_wxPyVListBox", 0, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29339 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0, 0, 0, 0},{"_p_wxRect", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29340 static swig_type_info _swigt__p_char
[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29341 static swig_type_info _swigt__p_wxMiniFrame
[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0, 0, 0, 0},{"_p_wxMiniFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29342 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxFrame", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29343 static swig_type_info _swigt__p_wxPyPrintout
[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0, 0, 0, 0},{"_p_wxPyPrintout", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29344 static swig_type_info _swigt__p_wxTaskBarIconEvent
[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29345 static swig_type_info _swigt__p_wxScrollWinEvent
[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0, 0, 0, 0},{"_p_wxScrollWinEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29346 static swig_type_info _swigt__p_wxPaperSize
[] = {{"_p_wxPaperSize", 0, "enum wxPaperSize *|wxPaperSize *", 0, 0, 0, 0},{"_p_wxPaperSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29347 static swig_type_info _swigt__p_wxStatusBar
[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0, 0, 0, 0},{"_p_wxStatusBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29348 static swig_type_info _swigt__p_wxMDIParentFrame
[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0, 0, 0, 0},{"_p_wxMDIParentFrame", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29349 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0, 0, 0, 0},{"_p_wxPoint", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29350 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29351 static swig_type_info _swigt__p_unsigned_long
[] = {{"_p_unsigned_long", 0, "unsigned long *|wxUIntPtr *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29352 static swig_type_info _swigt__p_wxTipWindow
[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0, 0, 0, 0},{"_p_wxTipWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29353 static swig_type_info _swigt__p_wxSashLayoutWindow
[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0, 0, 0, 0},{"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29354 static swig_type_info _swigt__p_wxSplitterWindow
[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0, 0, 0, 0},{"_p_wxSplitterWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29355 static swig_type_info _swigt__p_wxSplashScreenWindow
[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0, 0, 0, 0},{"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29356 static swig_type_info _swigt__p_wxPyVScrolledWindow
[] = {{"_p_wxPyVScrolledWindow", 0, "wxPyVScrolledWindow *", 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPyVScrolledWindow
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29357 static swig_type_info _swigt__p_wxPyPopupTransientWindow
[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29358 static swig_type_info _swigt__p_wxPopupWindow
[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0, 0, 0, 0},{"_p_wxPopupWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPopupWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29359 static swig_type_info _swigt__p_wxSashWindow
[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0, 0, 0, 0},{"_p_wxSashWindow", 0, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29360 static swig_type_info _swigt__p_wxTopLevelWindow
[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", 0, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29361 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29362 static swig_type_info _swigt__p_wxScrolledWindow
[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxScrolledWindow
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29363 static swig_type_info _swigt__p_wxMenuBar
[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0, 0, 0, 0},{"_p_wxMenuBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29364 static swig_type_info _swigt__p_wxMDIClientWindow
[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0, 0, 0, 0},{"_p_wxMDIClientWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29365 static swig_type_info _swigt__p_wxPyScrolledWindow
[] = {{"_p_wxPyScrolledWindow", 0, "wxPyScrolledWindow *", 0, 0, 0, 0},{"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29366 static swig_type_info _swigt__p_wxPrintPreview
[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0, 0, 0, 0},{"_p_wxPrintPreview", 0, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29367 static swig_type_info _swigt__p_wxSashEvent
[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0, 0, 0, 0},{"_p_wxSashEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29368 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0, 0, 0, 0},{"_p_wxString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29369 static swig_type_info _swigt__p_wxPyPrintPreview
[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0, 0, 0, 0},{"_p_wxPyPrintPreview", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29370 static swig_type_info _swigt__p_wxDirDialog
[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0, 0, 0, 0},{"_p_wxDirDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29371 static swig_type_info _swigt__p_wxColourDialog
[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0, 0, 0, 0},{"_p_wxColourDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29372 static swig_type_info _swigt__p_wxDialog
[] = {{"_p_wxDialog", 0, "wxDialog *", 0, 0, 0, 0},{"_p_wxDialog", 0, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxDialog
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29373 static swig_type_info _swigt__p_wxPanel
[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel
, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29374 static swig_type_info _swigt__p_wxFontDialog
[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0, 0, 0, 0},{"_p_wxFontDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29375 static swig_type_info _swigt__p_wxPageSetupDialog
[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0, 0, 0, 0},{"_p_wxPageSetupDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29376 static swig_type_info _swigt__p_wxPrintDialog
[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0, 0, 0, 0},{"_p_wxPrintDialog", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29377 static swig_type_info _swigt__p_wxFileSystem
[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0, 0, 0, 0},{"_p_wxFileSystem", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29378 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29379 static swig_type_info _swigt__unsigned_int
[] = {{"_unsigned_int", 0, "unsigned int|std::size_t", 0, 0, 0, 0},{"_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29380 static swig_type_info _swigt__p_unsigned_int
[] = {{"_p_unsigned_int", 0, "unsigned int *|time_t *", 0, 0, 0, 0},{"_p_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29381 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *|byte *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29382 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29383 static swig_type_info _swigt__p_wxPreviewControlBar
[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0, 0, 0, 0},{"_p_wxPreviewControlBar", 0, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29384 static swig_type_info _swigt__p_wxPyPreviewControlBar
[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29385 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29386 static swig_type_info _swigt__p_wxToolBar
[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0, 0, 0, 0},{"_p_wxToolBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29387 static swig_type_info _swigt__p_wxPageSetupDialogData
[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0, 0, 0, 0},{"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29388 static swig_type_info _swigt__p_wxPrintDialogData
[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0, 0, 0, 0},{"_p_wxPrintDialogData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29390 static swig_type_info
*swig_types_initial
[] = {
29391 _swigt__p_wxQueryLayoutInfoEvent
,
29392 _swigt__p_wxPreviewFrame
,
29393 _swigt__p_wxPyPreviewFrame
,
29394 _swigt__p_wxPyPanel
,
29396 _swigt__p_wxFontData
,
29398 _swigt__p_wxPrintData
,
29399 _swigt__p_wxTaskBarIcon
,
29400 _swigt__p_wxPyTaskBarIcon
,
29401 _swigt__p_wxIconBundle
,
29402 _swigt__p_wxLayoutAlgorithm
,
29403 _swigt__p_wxFindDialogEvent
,
29404 _swigt__p_wxPreviewCanvas
,
29406 _swigt__p_wxSplitterEvent
,
29407 _swigt__p_wxRegion
,
29409 _swigt__std__ptrdiff_t
,
29410 _swigt__p_wxFindReplaceData
,
29415 _swigt__p_wxVisualAttributes
,
29416 _swigt__p_wxMDIChildFrame
,
29417 _swigt__p_wxColourData
,
29418 _swigt__p_wxNotifyEvent
,
29419 _swigt__p_wxPyWindow
,
29420 _swigt__p_form_ops_t
,
29421 _swigt__p_wxSplashScreen
,
29422 _swigt__p_wxPasswordEntryDialog
,
29423 _swigt__p_wxSingleChoiceDialog
,
29424 _swigt__p_wxMultiChoiceDialog
,
29425 _swigt__p_wxFileDialog
,
29426 _swigt__p_wxTextEntryDialog
,
29427 _swigt__p_wxMessageDialog
,
29428 _swigt__p_wxProgressDialog
,
29429 _swigt__p_wxFindReplaceDialog
,
29430 _swigt__p_wxPrinter
,
29431 _swigt__p_wxArrayInt
,
29432 _swigt__p_wxDuplexMode
,
29433 _swigt__p_wxEvtHandler
,
29434 _swigt__p_wxCalculateLayoutEvent
,
29435 _swigt__p_wxPyHtmlListBox
,
29436 _swigt__p_wxPyVListBox
,
29439 _swigt__p_wxMiniFrame
,
29441 _swigt__p_wxPyPrintout
,
29442 _swigt__p_wxTaskBarIconEvent
,
29443 _swigt__p_wxScrollWinEvent
,
29444 _swigt__p_wxPaperSize
,
29445 _swigt__p_wxStatusBar
,
29446 _swigt__p_wxMDIParentFrame
,
29448 _swigt__p_wxObject
,
29449 _swigt__p_unsigned_long
,
29450 _swigt__p_wxTipWindow
,
29451 _swigt__p_wxSashLayoutWindow
,
29452 _swigt__p_wxSplitterWindow
,
29453 _swigt__p_wxSplashScreenWindow
,
29454 _swigt__p_wxPyVScrolledWindow
,
29455 _swigt__p_wxPyPopupTransientWindow
,
29456 _swigt__p_wxPopupWindow
,
29457 _swigt__p_wxSashWindow
,
29458 _swigt__p_wxTopLevelWindow
,
29459 _swigt__p_wxWindow
,
29460 _swigt__p_wxScrolledWindow
,
29461 _swigt__p_wxMenuBar
,
29462 _swigt__p_wxMDIClientWindow
,
29463 _swigt__p_wxPyScrolledWindow
,
29464 _swigt__p_wxPrintPreview
,
29465 _swigt__p_wxSashEvent
,
29466 _swigt__p_wxString
,
29467 _swigt__p_wxPyPrintPreview
,
29468 _swigt__p_wxDirDialog
,
29469 _swigt__p_wxColourDialog
,
29470 _swigt__p_wxDialog
,
29472 _swigt__p_wxFontDialog
,
29473 _swigt__p_wxPageSetupDialog
,
29474 _swigt__p_wxPrintDialog
,
29475 _swigt__p_wxFileSystem
,
29476 _swigt__p_wxBitmap
,
29477 _swigt__unsigned_int
,
29478 _swigt__p_unsigned_int
,
29479 _swigt__p_unsigned_char
,
29480 _swigt__p_wxCommandEvent
,
29481 _swigt__p_wxPreviewControlBar
,
29482 _swigt__p_wxPyPreviewControlBar
,
29483 _swigt__p_wxColour
,
29484 _swigt__p_wxToolBar
,
29485 _swigt__p_wxPageSetupDialogData
,
29486 _swigt__p_wxPrintDialogData
,
29491 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29493 static swig_const_info swig_const_table
[] = {
29494 {0, 0, 0, 0.0, 0, 0}};
29505 /* Python-specific SWIG API */
29506 #define SWIG_newvarlink() SWIG_Python_newvarlink()
29507 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
29508 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
29510 /* -----------------------------------------------------------------------------
29511 * global variable support code.
29512 * ----------------------------------------------------------------------------- */
29514 typedef struct swig_globalvar
{
29515 char *name
; /* Name of global variable */
29516 PyObject
*(*get_attr
)(); /* Return the current value */
29517 int (*set_attr
)(PyObject
*); /* Set the value */
29518 struct swig_globalvar
*next
;
29521 typedef struct swig_varlinkobject
{
29523 swig_globalvar
*vars
;
29524 } swig_varlinkobject
;
29527 swig_varlink_repr(swig_varlinkobject
*v
) {
29529 return PyString_FromString("<Swig global variables>");
29533 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int flags
) {
29534 swig_globalvar
*var
;
29536 fprintf(fp
,"Swig global variables { ");
29537 for (var
= v
->vars
; var
; var
=var
->next
) {
29538 fprintf(fp
,"%s", var
->name
);
29539 if (var
->next
) fprintf(fp
,", ");
29541 fprintf(fp
," }\n");
29546 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
29547 swig_globalvar
*var
= v
->vars
;
29549 if (strcmp(var
->name
,n
) == 0) {
29550 return (*var
->get_attr
)();
29554 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
29559 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
29560 swig_globalvar
*var
= v
->vars
;
29562 if (strcmp(var
->name
,n
) == 0) {
29563 return (*var
->set_attr
)(p
);
29567 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
29571 static PyTypeObject varlinktype
= {
29572 PyObject_HEAD_INIT(0)
29573 0, /* Number of items in variable part (ob_size) */
29574 (char *)"swigvarlink", /* Type name (tp_name) */
29575 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
29576 0, /* Itemsize (tp_itemsize) */
29577 0, /* Deallocator (tp_dealloc) */
29578 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
29579 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
29580 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
29581 0, /* tp_compare */
29582 (reprfunc
) swig_varlink_repr
, /* tp_repr */
29583 0, /* tp_as_number */
29584 0, /* tp_as_sequence */
29585 0, /* tp_as_mapping */
29589 0, /* tp_getattro */
29590 0, /* tp_setattro */
29591 0, /* tp_as_buffer */
29594 #if PY_VERSION_HEX >= 0x02000000
29595 0, /* tp_traverse */
29598 #if PY_VERSION_HEX >= 0x02010000
29599 0, /* tp_richcompare */
29600 0, /* tp_weaklistoffset */
29602 #if PY_VERSION_HEX >= 0x02020000
29603 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
29605 #if PY_VERSION_HEX >= 0x02030000
29608 #ifdef COUNT_ALLOCS
29609 0,0,0,0 /* tp_alloc -> tp_next */
29613 /* Create a variable linking object for use later */
29615 SWIG_Python_newvarlink(void) {
29616 swig_varlinkobject
*result
= 0;
29617 result
= PyMem_NEW(swig_varlinkobject
,1);
29618 varlinktype
.ob_type
= &PyType_Type
; /* Patch varlinktype into a PyType */
29619 result
->ob_type
= &varlinktype
;
29621 result
->ob_refcnt
= 0;
29622 Py_XINCREF((PyObject
*) result
);
29623 return ((PyObject
*) result
);
29627 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
29628 swig_varlinkobject
*v
;
29629 swig_globalvar
*gv
;
29630 v
= (swig_varlinkobject
*) p
;
29631 gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
29632 gv
->name
= (char *) malloc(strlen(name
)+1);
29633 strcpy(gv
->name
,name
);
29634 gv
->get_attr
= get_attr
;
29635 gv
->set_attr
= set_attr
;
29636 gv
->next
= v
->vars
;
29640 /* -----------------------------------------------------------------------------
29641 * constants/methods manipulation
29642 * ----------------------------------------------------------------------------- */
29644 /* Install Constants */
29646 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
29649 for (i
= 0; constants
[i
].type
; i
++) {
29650 switch(constants
[i
].type
) {
29652 obj
= PyInt_FromLong(constants
[i
].lvalue
);
29654 case SWIG_PY_FLOAT
:
29655 obj
= PyFloat_FromDouble(constants
[i
].dvalue
);
29657 case SWIG_PY_STRING
:
29658 if (constants
[i
].pvalue
) {
29659 obj
= PyString_FromString((char *) constants
[i
].pvalue
);
29661 Py_INCREF(Py_None
);
29665 case SWIG_PY_POINTER
:
29666 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
29668 case SWIG_PY_BINARY
:
29669 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
29676 PyDict_SetItemString(d
,constants
[i
].name
,obj
);
29682 /* -----------------------------------------------------------------------------*/
29683 /* Fix SwigMethods to carry the callback ptrs when needed */
29684 /* -----------------------------------------------------------------------------*/
29687 SWIG_Python_FixMethods(PyMethodDef
*methods
,
29688 swig_const_info
*const_table
,
29689 swig_type_info
**types
,
29690 swig_type_info
**types_initial
) {
29692 for (i
= 0; methods
[i
].ml_name
; ++i
) {
29693 char *c
= methods
[i
].ml_doc
;
29694 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
29696 swig_const_info
*ci
= 0;
29697 char *name
= c
+ 10;
29698 for (j
= 0; const_table
[j
].type
; j
++) {
29699 if (strncmp(const_table
[j
].name
, name
,
29700 strlen(const_table
[j
].name
)) == 0) {
29701 ci
= &(const_table
[j
]);
29706 size_t shift
= (ci
->ptype
) - types
;
29707 swig_type_info
*ty
= types_initial
[shift
];
29708 size_t ldoc
= (c
- methods
[i
].ml_doc
);
29709 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
29710 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
29712 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: (void *)(ci
->lvalue
);
29713 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
29715 strncpy(buff
, "swig_ptr: ", 10);
29717 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
29718 methods
[i
].ml_doc
= ndoc
;
29724 /* -----------------------------------------------------------------------------*
29725 * Initialize type list
29726 * -----------------------------------------------------------------------------*/
29728 #if PY_MAJOR_VERSION < 2
29729 /* PyModule_AddObject function was introduced in Python 2.0. The following function
29730 is copied out of Python/modsupport.c in python version 2.3.4 */
29732 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
29735 if (!PyModule_Check(m
)) {
29736 PyErr_SetString(PyExc_TypeError
,
29737 "PyModule_AddObject() needs module as first arg");
29741 PyErr_SetString(PyExc_TypeError
,
29742 "PyModule_AddObject() needs non-NULL value");
29746 dict
= PyModule_GetDict(m
);
29747 if (dict
== NULL
) {
29748 /* Internal error -- modules must have a dict! */
29749 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
29750 PyModule_GetName(m
));
29753 if (PyDict_SetItemString(dict
, name
, o
))
29760 static swig_type_info
**
29761 SWIG_Python_SetTypeListHandle(swig_type_info
**type_list_handle
) {
29762 static PyMethodDef swig_empty_runtime_method_table
[] = {
29764 NULL
, NULL
, 0, NULL
29768 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
29769 swig_empty_runtime_method_table
);
29770 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) type_list_handle
, NULL
);
29771 if (pointer
&& module) {
29772 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
29774 return type_list_handle
;
29777 static swig_type_info
**
29778 SWIG_Python_LookupTypePointer(swig_type_info
**type_list_handle
) {
29779 swig_type_info
**type_pointer
;
29781 /* first check if module already created */
29782 type_pointer
= SWIG_Python_GetTypeListHandle();
29783 if (type_pointer
) {
29784 return type_pointer
;
29786 /* create a new module and variable */
29787 return SWIG_Python_SetTypeListHandle(type_list_handle
);
29795 /* -----------------------------------------------------------------------------*
29796 * Partial Init method
29797 * -----------------------------------------------------------------------------*/
29799 #ifdef SWIG_LINK_RUNTIME
29803 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
29809 SWIGEXPORT(void) SWIG_init(void) {
29810 static PyObject
*SWIG_globals
= 0;
29811 static int typeinit
= 0;
29814 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
29816 /* Fix SwigMethods to carry the callback ptrs when needed */
29817 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_types_initial
);
29819 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
29820 d
= PyModule_GetDict(m
);
29823 #ifdef SWIG_LINK_RUNTIME
29824 swig_type_list_handle
= (swig_type_info
**) SWIG_ReturnGlobalTypeList(swig_type_list_handle
);
29826 # ifndef SWIG_STATIC_RUNTIME
29827 swig_type_list_handle
= SWIG_Python_LookupTypePointer(swig_type_list_handle
);
29830 for (i
= 0; swig_types_initial
[i
]; i
++) {
29831 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
29835 SWIG_InstallConstants(d
,swig_const_table
);
29837 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
29838 SWIG_addvarlink(SWIG_globals
,(char*)"FrameNameStr",_wrap_FrameNameStr_get
, _wrap_FrameNameStr_set
);
29839 SWIG_addvarlink(SWIG_globals
,(char*)"DialogNameStr",_wrap_DialogNameStr_get
, _wrap_DialogNameStr_set
);
29840 SWIG_addvarlink(SWIG_globals
,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get
, _wrap_StatusLineNameStr_set
);
29841 SWIG_addvarlink(SWIG_globals
,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get
, _wrap_ToolBarNameStr_set
);
29843 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_From_int((int)(wxSTAY_ON_TOP
)));
29846 PyDict_SetItemString(d
,"ICONIZE", SWIG_From_int((int)(wxICONIZE
)));
29849 PyDict_SetItemString(d
,"MINIMIZE", SWIG_From_int((int)(wxMINIMIZE
)));
29852 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_From_int((int)(wxMAXIMIZE
)));
29855 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_From_int((int)(wxCLOSE_BOX
)));
29858 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_From_int((int)(wxTHICK_FRAME
)));
29861 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_From_int((int)(wxSYSTEM_MENU
)));
29864 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_From_int((int)(wxMINIMIZE_BOX
)));
29867 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_From_int((int)(wxMAXIMIZE_BOX
)));
29870 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_From_int((int)(wxTINY_CAPTION_HORIZ
)));
29873 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_From_int((int)(wxTINY_CAPTION_VERT
)));
29876 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_From_int((int)(wxRESIZE_BOX
)));
29879 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_From_int((int)(wxRESIZE_BORDER
)));
29882 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_From_int((int)(wxDIALOG_NO_PARENT
)));
29885 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_From_int((int)(wxDEFAULT_FRAME_STYLE
)));
29888 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_From_int((int)(wxDEFAULT_DIALOG_STYLE
)));
29891 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_From_int((int)(wxFRAME_TOOL_WINDOW
)));
29894 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_From_int((int)(wxFRAME_FLOAT_ON_PARENT
)));
29897 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_From_int((int)(wxFRAME_NO_WINDOW_MENU
)));
29900 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_From_int((int)(wxFRAME_NO_TASKBAR
)));
29903 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_From_int((int)(wxFRAME_SHAPED
)));
29906 PyDict_SetItemString(d
,"FRAME_DRAWER", SWIG_From_int((int)(wxFRAME_DRAWER
)));
29909 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_From_int((int)(wxDIALOG_MODAL
)));
29912 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_From_int((int)(wxDIALOG_MODELESS
)));
29915 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_From_int((int)(wxUSER_COLOURS
)));
29918 PyDict_SetItemString(d
,"NO_3D", SWIG_From_int((int)(wxNO_3D
)));
29921 PyDict_SetItemString(d
,"FULLSCREEN_NOMENUBAR", SWIG_From_int((int)(wxFULLSCREEN_NOMENUBAR
)));
29924 PyDict_SetItemString(d
,"FULLSCREEN_NOTOOLBAR", SWIG_From_int((int)(wxFULLSCREEN_NOTOOLBAR
)));
29927 PyDict_SetItemString(d
,"FULLSCREEN_NOSTATUSBAR", SWIG_From_int((int)(wxFULLSCREEN_NOSTATUSBAR
)));
29930 PyDict_SetItemString(d
,"FULLSCREEN_NOBORDER", SWIG_From_int((int)(wxFULLSCREEN_NOBORDER
)));
29933 PyDict_SetItemString(d
,"FULLSCREEN_NOCAPTION", SWIG_From_int((int)(wxFULLSCREEN_NOCAPTION
)));
29936 PyDict_SetItemString(d
,"FULLSCREEN_ALL", SWIG_From_int((int)(wxFULLSCREEN_ALL
)));
29939 PyDict_SetItemString(d
,"TOPLEVEL_EX_DIALOG", SWIG_From_int((int)(wxTOPLEVEL_EX_DIALOG
)));
29942 PyDict_SetItemString(d
,"USER_ATTENTION_INFO", SWIG_From_int((int)(wxUSER_ATTENTION_INFO
)));
29945 PyDict_SetItemString(d
,"USER_ATTENTION_ERROR", SWIG_From_int((int)(wxUSER_ATTENTION_ERROR
)));
29948 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_PARENT", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_PARENT
)));
29951 PyDict_SetItemString(d
,"SPLASH_CENTRE_ON_SCREEN", SWIG_From_int((int)(wxSPLASH_CENTRE_ON_SCREEN
)));
29954 PyDict_SetItemString(d
,"SPLASH_NO_CENTRE", SWIG_From_int((int)(wxSPLASH_NO_CENTRE
)));
29957 PyDict_SetItemString(d
,"SPLASH_TIMEOUT", SWIG_From_int((int)(wxSPLASH_TIMEOUT
)));
29960 PyDict_SetItemString(d
,"SPLASH_NO_TIMEOUT", SWIG_From_int((int)(wxSPLASH_NO_TIMEOUT
)));
29963 PyDict_SetItemString(d
,"SB_NORMAL", SWIG_From_int((int)(wxSB_NORMAL
)));
29966 PyDict_SetItemString(d
,"SB_FLAT", SWIG_From_int((int)(wxSB_FLAT
)));
29969 PyDict_SetItemString(d
,"SB_RAISED", SWIG_From_int((int)(wxSB_RAISED
)));
29971 SWIG_addvarlink(SWIG_globals
,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get
, _wrap_SplitterNameStr_set
);
29973 PyDict_SetItemString(d
,"SP_NOBORDER", SWIG_From_int((int)(wxSP_NOBORDER
)));
29976 PyDict_SetItemString(d
,"SP_NOSASH", SWIG_From_int((int)(wxSP_NOSASH
)));
29979 PyDict_SetItemString(d
,"SP_PERMIT_UNSPLIT", SWIG_From_int((int)(wxSP_PERMIT_UNSPLIT
)));
29982 PyDict_SetItemString(d
,"SP_LIVE_UPDATE", SWIG_From_int((int)(wxSP_LIVE_UPDATE
)));
29985 PyDict_SetItemString(d
,"SP_3DSASH", SWIG_From_int((int)(wxSP_3DSASH
)));
29988 PyDict_SetItemString(d
,"SP_3DBORDER", SWIG_From_int((int)(wxSP_3DBORDER
)));
29991 PyDict_SetItemString(d
,"SP_NO_XP_THEME", SWIG_From_int((int)(wxSP_NO_XP_THEME
)));
29994 PyDict_SetItemString(d
,"SP_BORDER", SWIG_From_int((int)(wxSP_BORDER
)));
29997 PyDict_SetItemString(d
,"SP_3D", SWIG_From_int((int)(wxSP_3D
)));
30000 PyDict_SetItemString(d
,"SPLIT_HORIZONTAL", SWIG_From_int((int)(wxSPLIT_HORIZONTAL
)));
30003 PyDict_SetItemString(d
,"SPLIT_VERTICAL", SWIG_From_int((int)(wxSPLIT_VERTICAL
)));
30006 PyDict_SetItemString(d
,"SPLIT_DRAG_NONE", SWIG_From_int((int)(wxSPLIT_DRAG_NONE
)));
30009 PyDict_SetItemString(d
,"SPLIT_DRAG_DRAGGING", SWIG_From_int((int)(wxSPLIT_DRAG_DRAGGING
)));
30012 PyDict_SetItemString(d
,"SPLIT_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSPLIT_DRAG_LEFT_DOWN
)));
30014 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
30015 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
30016 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
30017 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
30018 SWIG_addvarlink(SWIG_globals
,(char*)"SashNameStr",_wrap_SashNameStr_get
, _wrap_SashNameStr_set
);
30019 SWIG_addvarlink(SWIG_globals
,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get
, _wrap_SashLayoutNameStr_set
);
30021 PyDict_SetItemString(d
,"SASH_DRAG_NONE", SWIG_From_int((int)(wxSASH_DRAG_NONE
)));
30024 PyDict_SetItemString(d
,"SASH_DRAG_DRAGGING", SWIG_From_int((int)(wxSASH_DRAG_DRAGGING
)));
30027 PyDict_SetItemString(d
,"SASH_DRAG_LEFT_DOWN", SWIG_From_int((int)(wxSASH_DRAG_LEFT_DOWN
)));
30030 PyDict_SetItemString(d
,"SW_NOBORDER", SWIG_From_int((int)(wxSW_NOBORDER
)));
30033 PyDict_SetItemString(d
,"SW_BORDER", SWIG_From_int((int)(wxSW_BORDER
)));
30036 PyDict_SetItemString(d
,"SW_3DSASH", SWIG_From_int((int)(wxSW_3DSASH
)));
30039 PyDict_SetItemString(d
,"SW_3DBORDER", SWIG_From_int((int)(wxSW_3DBORDER
)));
30042 PyDict_SetItemString(d
,"SW_3D", SWIG_From_int((int)(wxSW_3D
)));
30045 PyDict_SetItemString(d
,"SASH_TOP", SWIG_From_int((int)(wxSASH_TOP
)));
30048 PyDict_SetItemString(d
,"SASH_RIGHT", SWIG_From_int((int)(wxSASH_RIGHT
)));
30051 PyDict_SetItemString(d
,"SASH_BOTTOM", SWIG_From_int((int)(wxSASH_BOTTOM
)));
30054 PyDict_SetItemString(d
,"SASH_LEFT", SWIG_From_int((int)(wxSASH_LEFT
)));
30057 PyDict_SetItemString(d
,"SASH_NONE", SWIG_From_int((int)(wxSASH_NONE
)));
30060 PyDict_SetItemString(d
,"SASH_STATUS_OK", SWIG_From_int((int)(wxSASH_STATUS_OK
)));
30063 PyDict_SetItemString(d
,"SASH_STATUS_OUT_OF_RANGE", SWIG_From_int((int)(wxSASH_STATUS_OUT_OF_RANGE
)));
30065 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
30067 PyDict_SetItemString(d
,"LAYOUT_HORIZONTAL", SWIG_From_int((int)(wxLAYOUT_HORIZONTAL
)));
30070 PyDict_SetItemString(d
,"LAYOUT_VERTICAL", SWIG_From_int((int)(wxLAYOUT_VERTICAL
)));
30073 PyDict_SetItemString(d
,"LAYOUT_NONE", SWIG_From_int((int)(wxLAYOUT_NONE
)));
30076 PyDict_SetItemString(d
,"LAYOUT_TOP", SWIG_From_int((int)(wxLAYOUT_TOP
)));
30079 PyDict_SetItemString(d
,"LAYOUT_LEFT", SWIG_From_int((int)(wxLAYOUT_LEFT
)));
30082 PyDict_SetItemString(d
,"LAYOUT_RIGHT", SWIG_From_int((int)(wxLAYOUT_RIGHT
)));
30085 PyDict_SetItemString(d
,"LAYOUT_BOTTOM", SWIG_From_int((int)(wxLAYOUT_BOTTOM
)));
30088 PyDict_SetItemString(d
,"LAYOUT_LENGTH_Y", SWIG_From_int((int)(wxLAYOUT_LENGTH_Y
)));
30091 PyDict_SetItemString(d
,"LAYOUT_LENGTH_X", SWIG_From_int((int)(wxLAYOUT_LENGTH_X
)));
30094 PyDict_SetItemString(d
,"LAYOUT_MRU_LENGTH", SWIG_From_int((int)(wxLAYOUT_MRU_LENGTH
)));
30097 PyDict_SetItemString(d
,"LAYOUT_QUERY", SWIG_From_int((int)(wxLAYOUT_QUERY
)));
30099 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
30100 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
30101 SWIG_addvarlink(SWIG_globals
,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get
, _wrap_VListBoxNameStr_set
);
30103 // Map renamed classes back to their common name for OOR
30104 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
30105 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
30106 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
30108 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
30109 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
30110 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
30111 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
30112 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
30113 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
30114 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
30115 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
30116 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
30117 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get
, _wrap_DirDialogNameStr_set
);
30118 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
30119 SWIG_addvarlink(SWIG_globals
,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get
, _wrap_GetTextFromUserPromptStr_set
);
30120 SWIG_addvarlink(SWIG_globals
,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get
, _wrap_MessageBoxCaptionStr_set
);
30122 PyDict_SetItemString(d
,"CHOICEDLG_STYLE", SWIG_From_int((int)(wxCHOICEDLG_STYLE
)));
30125 PyDict_SetItemString(d
,"TextEntryDialogStyle", SWIG_From_int((int)(wxTextEntryDialogStyle
)));
30127 SWIG_addvarlink(SWIG_globals
,(char*)"GetPasswordFromUserPromptStr",_wrap_GetPasswordFromUserPromptStr_get
, _wrap_GetPasswordFromUserPromptStr_set
);
30129 PyDict_SetItemString(d
,"FR_DOWN", SWIG_From_int((int)(wxFR_DOWN
)));
30132 PyDict_SetItemString(d
,"FR_WHOLEWORD", SWIG_From_int((int)(wxFR_WHOLEWORD
)));
30135 PyDict_SetItemString(d
,"FR_MATCHCASE", SWIG_From_int((int)(wxFR_MATCHCASE
)));
30138 PyDict_SetItemString(d
,"FR_REPLACEDIALOG", SWIG_From_int((int)(wxFR_REPLACEDIALOG
)));
30141 PyDict_SetItemString(d
,"FR_NOUPDOWN", SWIG_From_int((int)(wxFR_NOUPDOWN
)));
30144 PyDict_SetItemString(d
,"FR_NOMATCHCASE", SWIG_From_int((int)(wxFR_NOMATCHCASE
)));
30147 PyDict_SetItemString(d
,"FR_NOWHOLEWORD", SWIG_From_int((int)(wxFR_NOWHOLEWORD
)));
30149 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
30150 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
30151 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
30152 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
30153 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
30155 PyDict_SetItemString(d
,"IDM_WINDOWTILE", SWIG_From_int((int)(4001)));
30158 PyDict_SetItemString(d
,"IDM_WINDOWTILEHOR", SWIG_From_int((int)(4001)));
30161 PyDict_SetItemString(d
,"IDM_WINDOWCASCADE", SWIG_From_int((int)(4002)));
30164 PyDict_SetItemString(d
,"IDM_WINDOWICONS", SWIG_From_int((int)(4003)));
30167 PyDict_SetItemString(d
,"IDM_WINDOWNEXT", SWIG_From_int((int)(4004)));
30170 PyDict_SetItemString(d
,"IDM_WINDOWTILEVERT", SWIG_From_int((int)(4005)));
30173 PyDict_SetItemString(d
,"FIRST_MDI_CHILD", SWIG_From_int((int)(4100)));
30176 PyDict_SetItemString(d
,"LAST_MDI_CHILD", SWIG_From_int((int)(4600)));
30178 SWIG_addvarlink(SWIG_globals
,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get
, _wrap_PrintoutTitleStr_set
);
30179 SWIG_addvarlink(SWIG_globals
,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get
, _wrap_PreviewCanvasNameStr_set
);
30181 PyDict_SetItemString(d
,"PRINT_MODE_NONE", SWIG_From_int((int)(wxPRINT_MODE_NONE
)));
30184 PyDict_SetItemString(d
,"PRINT_MODE_PREVIEW", SWIG_From_int((int)(wxPRINT_MODE_PREVIEW
)));
30187 PyDict_SetItemString(d
,"PRINT_MODE_FILE", SWIG_From_int((int)(wxPRINT_MODE_FILE
)));
30190 PyDict_SetItemString(d
,"PRINT_MODE_PRINTER", SWIG_From_int((int)(wxPRINT_MODE_PRINTER
)));
30193 PyDict_SetItemString(d
,"PRINT_MODE_STREAM", SWIG_From_int((int)(wxPRINT_MODE_STREAM
)));
30196 PyDict_SetItemString(d
,"PRINTBIN_DEFAULT", SWIG_From_int((int)(wxPRINTBIN_DEFAULT
)));
30199 PyDict_SetItemString(d
,"PRINTBIN_ONLYONE", SWIG_From_int((int)(wxPRINTBIN_ONLYONE
)));
30202 PyDict_SetItemString(d
,"PRINTBIN_LOWER", SWIG_From_int((int)(wxPRINTBIN_LOWER
)));
30205 PyDict_SetItemString(d
,"PRINTBIN_MIDDLE", SWIG_From_int((int)(wxPRINTBIN_MIDDLE
)));
30208 PyDict_SetItemString(d
,"PRINTBIN_MANUAL", SWIG_From_int((int)(wxPRINTBIN_MANUAL
)));
30211 PyDict_SetItemString(d
,"PRINTBIN_ENVELOPE", SWIG_From_int((int)(wxPRINTBIN_ENVELOPE
)));
30214 PyDict_SetItemString(d
,"PRINTBIN_ENVMANUAL", SWIG_From_int((int)(wxPRINTBIN_ENVMANUAL
)));
30217 PyDict_SetItemString(d
,"PRINTBIN_AUTO", SWIG_From_int((int)(wxPRINTBIN_AUTO
)));
30220 PyDict_SetItemString(d
,"PRINTBIN_TRACTOR", SWIG_From_int((int)(wxPRINTBIN_TRACTOR
)));
30223 PyDict_SetItemString(d
,"PRINTBIN_SMALLFMT", SWIG_From_int((int)(wxPRINTBIN_SMALLFMT
)));
30226 PyDict_SetItemString(d
,"PRINTBIN_LARGEFMT", SWIG_From_int((int)(wxPRINTBIN_LARGEFMT
)));
30229 PyDict_SetItemString(d
,"PRINTBIN_LARGECAPACITY", SWIG_From_int((int)(wxPRINTBIN_LARGECAPACITY
)));
30232 PyDict_SetItemString(d
,"PRINTBIN_CASSETTE", SWIG_From_int((int)(wxPRINTBIN_CASSETTE
)));
30235 PyDict_SetItemString(d
,"PRINTBIN_FORMSOURCE", SWIG_From_int((int)(wxPRINTBIN_FORMSOURCE
)));
30238 PyDict_SetItemString(d
,"PRINTBIN_USER", SWIG_From_int((int)(wxPRINTBIN_USER
)));
30241 PyDict_SetItemString(d
,"PRINTER_NO_ERROR", SWIG_From_int((int)(wxPRINTER_NO_ERROR
)));
30244 PyDict_SetItemString(d
,"PRINTER_CANCELLED", SWIG_From_int((int)(wxPRINTER_CANCELLED
)));
30247 PyDict_SetItemString(d
,"PRINTER_ERROR", SWIG_From_int((int)(wxPRINTER_ERROR
)));
30250 PyDict_SetItemString(d
,"PREVIEW_PRINT", SWIG_From_int((int)(wxPREVIEW_PRINT
)));
30253 PyDict_SetItemString(d
,"PREVIEW_PREVIOUS", SWIG_From_int((int)(wxPREVIEW_PREVIOUS
)));
30256 PyDict_SetItemString(d
,"PREVIEW_NEXT", SWIG_From_int((int)(wxPREVIEW_NEXT
)));
30259 PyDict_SetItemString(d
,"PREVIEW_ZOOM", SWIG_From_int((int)(wxPREVIEW_ZOOM
)));
30262 PyDict_SetItemString(d
,"PREVIEW_FIRST", SWIG_From_int((int)(wxPREVIEW_FIRST
)));
30265 PyDict_SetItemString(d
,"PREVIEW_LAST", SWIG_From_int((int)(wxPREVIEW_LAST
)));
30268 PyDict_SetItemString(d
,"PREVIEW_GOTO", SWIG_From_int((int)(wxPREVIEW_GOTO
)));
30271 PyDict_SetItemString(d
,"PREVIEW_DEFAULT", SWIG_From_int((int)(wxPREVIEW_DEFAULT
)));
30274 PyDict_SetItemString(d
,"ID_PREVIEW_CLOSE", SWIG_From_int((int)(wxID_PREVIEW_CLOSE
)));
30277 PyDict_SetItemString(d
,"ID_PREVIEW_NEXT", SWIG_From_int((int)(wxID_PREVIEW_NEXT
)));
30280 PyDict_SetItemString(d
,"ID_PREVIEW_PREVIOUS", SWIG_From_int((int)(wxID_PREVIEW_PREVIOUS
)));
30283 PyDict_SetItemString(d
,"ID_PREVIEW_PRINT", SWIG_From_int((int)(wxID_PREVIEW_PRINT
)));
30286 PyDict_SetItemString(d
,"ID_PREVIEW_ZOOM", SWIG_From_int((int)(wxID_PREVIEW_ZOOM
)));
30289 PyDict_SetItemString(d
,"ID_PREVIEW_FIRST", SWIG_From_int((int)(wxID_PREVIEW_FIRST
)));
30292 PyDict_SetItemString(d
,"ID_PREVIEW_LAST", SWIG_From_int((int)(wxID_PREVIEW_LAST
)));
30295 PyDict_SetItemString(d
,"ID_PREVIEW_GOTO", SWIG_From_int((int)(wxID_PREVIEW_GOTO
)));
30298 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");